Re: database corruption help

Поиск
Список
Период
Сортировка
От John Lister
Тема Re: database corruption help
Дата
Msg-id 4994906B.6090408@kickstone.com
обсуждение исходный текст
Ответ на Re: database corruption help  (John Lister <john.lister-ps@kickstone.com>)
Ответы Re: database corruption help
Список pgsql-admin
I seem to have more dead rows now..

doing a vacuum full on pg_class gives me

INFO:  vacuuming "pg_catalog.pg_class"INFO:  "pg_class": found 37
removable, 1845 nonremovable row versions in 18905 pages
DETAIL:  27 dead row versions cannot be removed yet.
Nonremovable row versions range from 160 to 229 bytes long.
There were 933834 unused item pointers.
Total free space (including removable row versions) is 150368692 bytes.
18839 pages are or will become empty, including 0 at the end of the table.
0 pages containing 0 free bytes are potential move destinations.
CPU 0.01s/0.05u sec elapsed 0.17 sec.INFO:  index "pg_class_oid_index"
now contains 1813 row versions in 7 pages
DETAIL:  56 index row versions were removed.
0 index pages have been deleted, 0 are currently reusable.
CPU 0.00s/0.00u sec elapsed 0.00 sec.INFO:  index
"pg_class_relname_nsp_index" now contains 1818 row versions in 24 pages
DETAIL:  63 index row versions were removed.
0 index pages have been deleted, 0 are currently reusable.
CPU 0.00s/0.00u sec elapsed 0.00 sec.WARNING:  index
"pg_class_relname_nsp_index" contains 1818 row versions, but table
contains 1813 row versions
HINT:  Rebuild the index with REINDEX.INFO:  analyzing
"pg_catalog.pg_class"INFO:  "pg_class": scanned 3000 of 18905 pages,
containing 227 live rows and 6 dead rows; 227 rows in sample, 1430
estimated total rows
Total query runtime: 4469 ms.


I've restarted the server which should have got rid of any
outstanding/long running transactions  - which it though was the major
cause of lingering dead rows.

Any ideas how to fix this as i'd like to reduce this from 150+Mb which
can't be good for performance....

Thanks



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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: User defined functions... - Found to be tsearch
Следующее
От: Tom Lane
Дата:
Сообщение: Re: database corruption help