Re: large tables and simple "= constant" queries using indexes
От | John Beaver |
---|---|
Тема | Re: large tables and simple "= constant" queries using indexes |
Дата | |
Msg-id | 47FE4259.7030704@gmail.com обсуждение исходный текст |
Ответ на | large tables and simple "= constant" queries using indexes (John Beaver <john.e.beaver@gmail.com>) |
Ответы |
Re: large tables and simple "= constant" queries using
indexes
|
Список | pgsql-performance |
Thanks Eric and Gaestano - interesting, and both examples of my naivite. :)<br /><br /> I tried running large select(*)queries on other tables followed by another try at the offending query, and it was still fast. Just to be absolutelysure this is a scalable solution, I'll try restarting my computer in a few hours to see if it affects anythingcache-wise.<br /><br /><br /> Gaetano Mendola wrote: <blockquote cite="mid:47FE3DC7.4010700@gmail.com" type="cite"><prewrap="">John Beaver wrote: </pre><blockquote type="cite"><pre wrap="">- Trying the same constant a second time gave an instantaneous result, I'm guessing because of query/result caching. </pre></blockquote><pre wrap=""> AFAIK no query/result caching is in place in postgres, what you are experiencing is OS disk/memory caching. Regards Gaetano Mendola </pre></blockquote>
В списке pgsql-performance по дате отправления: