| От | Scott Marlowe |
|---|---|
| Тема | Re: Optimizing queries that use temporary tables |
| Дата | |
| Msg-id | dcc563d10801221234j3ca441ebs2aee2da9165d1ca3@mail.gmail.com обсуждение |
| Ответ на | Optimizing queries that use temporary tables ("Luiz K. Matsumura" <luiz@planit.com.br>) |
| Список | pgsql-performance |
On Jan 22, 2008 1:32 PM, Luiz K. Matsumura <luiz@planit.com.br> wrote: > Hello, > > I'm developing some routines that will use temporary tables and need > advice on how to not lose performance. > > I will insert data in a temporary table and use this data to generate > new sets that will update or add to the same temporary table. > > I have some questions that I'm concerned about: > > - I can create indexes on this temp table to optimize queries ? Yes > If yes... > - This indexes will be destroyed together (automatic?) the temp table > when the connection is closed ? Yes > - When I insert a lot of new rows, need to run analyze on this temporary > table ? Yes
В списке pgsql-performance по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера