I just restored a database running on a solaris box to a linux box and queries take forever to execute. The linux box is faster and has twice the memory allocated to postgresql, is there anything obvious that I should look at? It is using a journal file system.
Michael Guerin <guerin@rentec.com> writes:
> I just restored a database running on a solaris box to a linux box
> and queries take forever to execute.
Did you remember to run ANALYZE? Have you applied the same
configuration settings that you were using before?
regards, tom lane
Hi Tom, I don't believe I did run Analyze, I was under the assumption that the statistics would have been up to date when the indexes were created. Thanks for the quick response. -mike Tom Lane wrote: > Michael Guerin <guerin@rentec.com> writes: > > I just restored a database running on a solaris box to a linux box > > and queries take forever to execute. > > Did you remember to run ANALYZE? Have you applied the same > configuration settings that you were using before? > > regards, tom lane
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера