Re: INSERT performance tuning experiences
От | Simon Riggs |
---|---|
Тема | Re: INSERT performance tuning experiences |
Дата | |
Msg-id | CA+U5nMJjG5Y6XtR9f_GVDYcB9H-k1icMJNbA7iZZJ7vVW_i_iQ@mail.gmail.com обсуждение исходный текст |
Ответ на | INSERT performance tuning experiences (Robert Burgholzer <rburghol@vt.edu>) |
Ответы |
Re: INSERT performance tuning experiences
|
Список | pgsql-admin |
On 21 November 2013 15:27, Robert Burgholzer <rburghol@vt.edu> wrote: > Just thought I would relate this, since it is tangible evidence of what is > reported in the manuals under WAL tweaking - hope someone finds it useful. > > My performance was 76 seconds before tuning versus 7 seconds after tuning. > > TASK: Create and populate a table with 30 columns, adding 8,000 rows METHOD: > Only INSERT statements (accessed via php which does not allow COPY > statements) > SYSTEM: Using an 8.3 install (I know, I know) > WAL CONFIG: changed the default setting of "synchronous_commit = off" to > "synchronous_commit = on" Good, that is exactly the numbers I would expect and precisely the reason we added that feature. You might find a couple of good features in later releases also... -- Simon Riggs http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Training & Services
В списке pgsql-admin по дате отправления: