Skip to content
Snippets Groups Projects
Commit 71d641cf authored by Tatsuo Ishii's avatar Tatsuo Ishii
Browse files

Reflect Tom's change

parent 8647c142
Branches
Tags
No related merge requests found
$Id: README.pgstattuple.euc_jp,v 1.1 2001/10/01 01:52:38 ishii Exp $
$Id: README.pgstattuple.euc_jp,v 1.2 2001/12/20 01:56:08 ishii Exp $
pgstattuple README 2001/10/01 石井達夫
......@@ -54,9 +54,12 @@ NOTICE: physical length: 0.08MB live tuples: 20 (0.00MB, 1.17%) dead tuples: 32
関数の戻りはUPDATEやDELETEで作られたテーブルのゴミ領域の大きさで,
テーブルの物理的な大きさに対する割合(パーセント)で返却します.
なお,pgstattupleはテーブルに一切ロックをかけないので,pgstattuple
を実行中に該当テーブルに更新や削除が発生すると,正しくない結果を返
す可能性があります.
なお,pgstattupleはテーブルにAccessShareLockしかかけないので,
pgstattuple を実行中に該当テーブルに更新や削除が発生すると,正しく
ない結果を返す可能性があります.
pgstattupleがタプルを「ゴミ」と判断する基準は,
HeapTupleSatisfiesNow()が偽を返したときです.
4. pgstattupleのライセンス条件について
......@@ -66,5 +69,13 @@ NOTICE: physical length: 0.08MB live tuples: 20 (0.00MB, 1.17%) dead tuples: 32
5. 改訂履歴
2001/12/20 Tom Laneによる修正
Fix pgstattuple to acquire a read lock on the target table. This
prevents embarassments such as having the table dropped or truncated
partway through the scan. Also, fix free space calculation to include
pages that currently contain no tuples.
2001/10/01 PostgreSQL 7.2 用contrib moduleに登録
2001/08/30 pgstattuple バージョン 0.1リリース
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment