Re: ETL optimization
От | Bricklen Anderson |
---|---|
Тема | Re: ETL optimization |
Дата | |
Msg-id | 42BB18B2.4040009@PresiNET.com обсуждение исходный текст |
Ответ на | Re: ETL optimization (Meetesh Karia <meetesh.karia@gmail.com>) |
Список | pgsql-performance |
Meetesh Karia wrote: > I don't know what this will change wrt how often you need to run VACUUM > (I'm a SQL Server guy), but instead of an update and insert, try a > delete and insert. You'll only have to find the duplicate rows once and > your insert doesn't need a where clause. > > Meetesh > Vacuum analyze in generally run about once an hour. You know, I didn't even think to try a delete + insert combo (which will not be visible to the other queries that are occurring). Truncate is out of the question, because of the aforementioned queries, but I'll give the d+i a shot. Thanks! -- _______________________________ This e-mail may be privileged and/or confidential, and the sender does not waive any related rights and obligations. Any distribution, use or copying of this e-mail or the information it contains by other than an intended recipient is unauthorized. If you received this e-mail in error, please advise me (by return e-mail or otherwise) immediately. _______________________________
В списке pgsql-performance по дате отправления: