Re: select and count efficiency (~35 mln rows)

From: Grzegorz Kuczera <grzegorz(dot)kuczera(at)comarch(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: select and count efficiency (~35 mln rows)
Date: 2016-01-05 17:06:40
Message-ID: 568BF820.9060101@comarch.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general


> Please read the links below:
>
> http://www.depesz.com/2007/08/29/better-results-paging-in-postgresql-82/
> https://wiki.postgresql.org/wiki/File:Pagination_Done_the_PostgreSQL_Way.pdf
> https://coderwall.com/p/lkcaag

I am reading the articles right now.

>> >There are about 35 milion records in the table.
> do you really want to show all records, even with pagination? REALLY?
>

There are different accounts and rights in the system, most offen the
number of rows is narrowed down. But there is one account type, which
can see that many results.
And to be precise - problem appears even for the users, who are not able
to access the hole table.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Adrian Klaver 2016-01-05 17:09:33 Re: [SQL] plv8 installation problem
Previous Message Adrian Klaver 2016-01-05 17:06:08 Re: Code of Conduct: Is it time?