Re: same question little different test MSSQL vrs Postgres

Поиск
Список
Период
Сортировка
От Mischa
Тема Re: same question little different test MSSQL vrs Postgres
Дата
Msg-id 1106978334.41fb261e28ac2@webmail.telus.net
обсуждение исходный текст
Ответ на Re: same question little different test MSSQL vrs Postgres  (Dennis Sacks <dennis@illusions.com>)
Список pgsql-sql
Quoting Dennis Sacks <dennis@illusions.com>:
> Bruno Wolff III wrote:
> >On Tue, Jan 25, 2005 at 21:21:08 -0700,
> >  Dennis Sacks <dennis@illusions.com> wrote:
> >>One of the things you'll want to do regularly is run a "vacuum analyze". 
> >>You can read up on this in the postgresql docs. This is essential to the 
> >>indexes being used properly. At a bare minimum, after you import a large 
> >>amount of data, you'll want to run vacuum analyze.
> >
> Good point! Analyze after bulk inserts, vacuum analyze after 
> updates/deletes and inserts. :)

Hmmm ... in performance tests of bulk inserts into a table with six indexes, I
found that without vacuum analyze (rather than analyze), insertion slowed down
albeit something less than linearly. Table of 6M rows, about 3GB (including
index files).
This is 7.4.1 on SuSE Linux, RAID5 Xeon(sigh) 2.8GHz 4GB nothing else running.
The inserts were always done with an existing record check (LEFT JOIN ... WHERE
joinkey IS NULL).
-- 
"Dreams come true, not free."



В списке pgsql-sql по дате отправления:

Предыдущее
От: Alex Turner
Дата:
Сообщение: Re: [PERFORM] OFFSET impact on Performance???
Следующее
От: cpp@world-online.no
Дата:
Сообщение: Need SELECT rights to UPDATE/DELETE WHERE?