scott.marlowe wrote:On Tue, 13 Jan 2004, David Shadovitz wrote: Greetings! The count(*) can get evaluated with any arbitrary combination in whre clause how do you plan to store that information ? In a typical application pagination could be required in n number of contexts . I would be interested to know more about this trick and its applicability in such situations. Offtopic: Does PostgreSQL optimise repeated execution of similar queries ie queries on same table or set of tables (in a join) with same where clause and only differing in LIMIT and OFFSET. I dont know much about MySQL, Is their "Query Cache" achieving better results in such cases? and do we have anything similar in PostgreSQL ? I think the most recently accessed tables anyways get loaded in shared buffers in PostgreSQL so that its not accessed from the disk. But is the "Query Cache" really different from this. Can anyone knowing a little better about the working of MySQLs' query cache throw some light? Regds Mallah.
|
- [PERFORM] COUNT & Pagination David Shadovitz
- Re: [PERFORM] COUNT & Pagination Jeff Fitzmyers
- Re: [PERFORM] COUNT & Pagination Christopher Kings-Lynne
- Re: [PERFORM] COUNT & Pagination Richard Huxton
- Re: [PERFORM] COUNT & Pagination mallah
- Re: [PERFORM] COUNT & Pagination David Shadovitz
- Re: [PERFORM] COUNT & Pagination scott.marlowe
- Re: [PERFORM] COUNT & Paginat... Rajesh Kumar Mallah
- Re: [PERFORM] COUNT & Pa... scott.marlowe
- Re: [PERFORM] COUNT &... Neil Conway
- Re: [PERFORM] COUNT & Pagination CoL
- Re: [PERFORM] COUNT & Pagination David Shadovitz
- Re: [PERFORM] COUNT & Pagination Robert Treat
