Reflect Tom's change

This commit is contained in:
Tatsuo Ishii 2001-12-20 01:56:08 +00:00
parent 8647c14228
commit 71d641cf15
1 changed files with 15 additions and 4 deletions

View File

@ -1,4 +1,4 @@
$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リリース