Re: Query Performance SQL Server vs. Postgresql

Поиск
Список
Период
Сортировка
Искать
От
tv@fuzzy.cz
Тема
Re: Query Performance SQL Server vs. Postgresql
Дата
Msg-id
fe8b9f344e9575056f79658e6c639d4d.squirrel@sq.gransy.com
Ответ на
Список
Дерево обсуждения
Humair Mohammed <humairm@hotmail.com>
Re: Mark Kirkwood <mark.kirkwood@catalyst.net.nz>
Re: Pavel Stehule <pavel.stehule@gmail.com>
Re: Query Performance SQL Server vs. Postgresql Humair Mohammed <humairm@hotmail.com>
Re: Query Performance SQL Server vs. Postgresql Pavel Stehule <pavel.stehule@gmail.com>
Re: Query Performance SQL Server vs. Postgresql Tomas Vondra <tv@fuzzy.cz>
Re: Query Performance SQL Server vs. Postgresql Rich <rhdyes@gmail.com>
Re: Query Performance SQL Server vs. Postgresql Humair Mohammed <humairm@hotmail.com>
Re: Query Performance SQL Server vs. Postgresql Tom Lane <tgl@sss.pgh.pa.us>
Re: Query Performance SQL Server vs. Postgresql "Kevin Grittner" <Kevin.Grittner@wicourts.gov>
Re: Query Performance SQL Server vs. Postgresql Pavel Stehule <pavel.stehule@gmail.com>
Re: Query Performance SQL Server vs. Postgresql Humair Mohammed <humairm@hotmail.com>
Re: Query Performance SQL Server vs. Postgresql Pavel Stehule <pavel.stehule@gmail.com>
Re: Query Performance SQL Server vs. Postgresql Humair Mohammed <humairm@hotmail.com>
Re: Query Performance SQL Server vs. Postgresql Pavel Stehule <pavel.stehule@gmail.com>
Re: Query Performance SQL Server vs. Postgresql tv@fuzzy.cz
Re: Query Performance SQL Server vs. Postgresql tv@fuzzy.cz
Re: Query Performance SQL Server vs. Postgresql Humair Mohammed <humairm@hotmail.com>
Re: Query Performance SQL Server vs. Postgresql tv@fuzzy.cz
Re: Query Performance SQL Server vs. Postgresql Tom Lane <tgl@sss.pgh.pa.us>
Re: Query Performance SQL Server vs. Postgresql Robert Haas <robertmhaas@gmail.com>
Re: Query Performance SQL Server vs. Postgresql Humair Mohammed <humairm@hotmail.com>
Re: Query Performance SQL Server vs. Postgresql tv@fuzzy.cz
Re: Query Performance SQL Server vs. Postgresql Humair Mohammed <humairm@hotmail.com>
Re: Query Performance SQL Server vs. Postgresql Merlin Moncure <mmoncure@gmail.com>
Re: Query Performance SQL Server vs. Postgresql Samuel Gendler <sgendler@ideasculptor.com>
Re: Query Performance SQL Server vs. Postgresql tv@fuzzy.cz
Re: Query Performance SQL Server vs. Postgresql Pavel Stehule <pavel.stehule@gmail.com>
Re: Jayadevan M <Jayadevan.Maymala@ibsplc.com>
> I believe you can set work_mem to a different value just for the duration
> of
> a single query, so you needn't have work_mem set so high if for every
> query
> on the system.  A single query may well use a multiple of work_mem, so you
> really probably don't want it that high all the time unless all of your
> queries are structured similarly.  Just set work_mem='2047MB'; query;
> reset
> all;

Yes, executing "set work_mem='64MB'" right before the query should be just
fine. Setting work_mem to 2GB is an overkill most of the time (99.99999%).

Tomas

В списке pgsql-performance по дате отправления
От: Samuel Gendler
Дата:
От: Kevin Grittner
Дата:
Сообщение: Re: Slow SELECT on small table
FAQ