pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Kevin Grittner <Kevin.Grittner@wicourts.gov>
To: Neil Whelchel <neil.whelchel@gmail.com>
To: pgsql-performance@postgresql.org <pgsql-performance@postgresql.org>
Subject: Re: Slow count(*) again...
Date: Tue, 12 Oct 2010 08:56:33 -0500
Message-ID: <4CB422C102000025000367F7@gw.wicourts.gov> (raw)
In-Reply-To: <201010111936.46207.neil.whelchel@gmail.com>
References: <201010091626.18636.neil.whelchel@gmail.com>
	<201010111254.58479.neil.whelchel@gmail.com>
	<4CB3A2CC.9070009@vmsinfo.com>
	<201010111936.46207.neil.whelchel@gmail.com>

Neil Whelchel <neil.whelchel@gmail.com> wrote:
 
> What is the best method to make a page of results and a list of
> links to other pages of results?
 
For our most heavily used web app we decided to have the renderer
just read the list of cases and render the pages to disk, and then
present the first one.  We set a limit of 500 entries on the list;
if we get past 500 we put up a page telling them to refine their
search criteria.  That won't work for all circumstances, but it
works well for out web app.
 
-Kevin



view thread (246+ messages)  latest in thread

Message-ID: <4CB422C102000025000367F7@gw.wicourts.gov>
Permalink:  ../4CB422C102000025000367F7@gw.wicourts.gov/
Also on:    postgresql.org/message-id/4CB422C102000025000367F7@gw.wicourts.gov

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-performance@postgresql.org
  Cc: Kevin.Grittner@wicourts.gov, neil.whelchel@gmail.com
  Subject: Re: Slow count(*) again...
  In-Reply-To: <4CB422C102000025000367F7@gw.wicourts.gov>
  References: <201010091626.18636.neil.whelchel@gmail.com> <201010111254.58479.neil.whelchel@gmail.com> <4CB3A2CC.9070009@vmsinfo.com> <201010111936.46207.neil.whelchel@gmail.com> <4CB422C102000025000367F7@gw.wicourts.gov>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox