vacuum timings

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема vacuum timings
Дата
Msg-id 200001210543.AAA13592@candle.pha.pa.us
обсуждение исходный текст
Ответы Re: vacuum timings  (Tom Lane <tgl@sss.pgh.pa.us>)
RE: [HACKERS] vacuum timings  ("Hiroshi Inoue" <Inoue@tpf.co.jp>)
Список pgsql-hackers
I loaded 10,000,000 rows into CREATE TABLE test (x INTEGER);  Table is
400MB and index is 160MB.

With index on the single in4 column, I got: 78 seconds for a vacuum121 seconds for vacuum after deleting a single
row662seconds for vacuum after deleting the entire table
 

With no index, I got: 43 seconds for a vacuum 43 seconds for vacuum after deleting a single row 43 seconds for vacuum
afterdeleting the entire table
 

I find this quite interesting.

--  Bruce Momjian                        |  http://www.op.net/~candle pgman@candle.pha.pa.us               |  (610)
853-3000+  If your life is a hard drive,     |  830 Blythe Avenue +  Christ can be your backup.        |  Drexel Hill,
Pennsylvania19026
 


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

Предыдущее
От: Thomas Lockhart
Дата:
Сообщение: Re: [HACKERS] timezone problem?
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: [HACKERS] pg_dump disaster