際際滷

際際滷Share a Scribd company logo
Whats Vacuum ?
焔 レ り Reindex  覦覲伎
 覿覿 Index B-tree 螻襴讀 伎, B-tree 蟲譟磯 覲   蟾.

 B-tree 蠏(Balance)襯  襷豢蠍 覓語 朱Μ 蠏殊 覈 .
 Reindex  Index 企 覈谿襯 螳煙 訖企.
 Reindex 襯 り 伎 ろ 蠏殊 螳讌 .

PostgreSQL  貎朱Μ  一螻 Index襯  伎り 朱
Disk I/O 襯 譴伎 覈詩覃 焔レ 伎 り 覺 .
PostgreSQL Disk 
 覈 一危磯 Disk .
 覈 一危磯 Disk  暑.
  一危(Live Tuple) 襷 Disk 譟伎 蟇 .
覿 一危(Dead Tuple) 蟷 譟伎.

 Dead Tuple  一危 蠏殊  曙朱 譬, PostgreSQL  暑.
Dead Tuple

Live Tuple
Tuple ????
 MVCC(れ覯煙) 蟲 伎 Tuple 螳 .
 Row(轟 Record)  覯.
Rows Version 1

Dead Tuple

Rows

Update Query

Copy
Rows Version 2

Select Query
Complete

Update Query

Live Tuple
Dead Tuple ????


PostgreSQL Row  れ ろ 豌襴 讌 螻  襷 .



れ 覓朱Μろ 蠏碁襦 一危郁  .



讌襯狩覃 Dead Tuple蟾讌 れ.
Dead Tuple

ver1

ver2

ver3

ver4

ver5

Live Tuple

ver6

Disk Read

ver7

ver8

ver9

ver10

ver11
Dead Tuple 語 襷れ伎?
 Update, Delete .
 碁(Transaction) .

蟆郁記, Update, Delete, 碁 襷  PostgreSQL
Dead Tuple  讀螳螻 企 Disk I/O 讀螳襦 誤伎
螳 螳襦 焔レ襯 螳讌螻 .
 Pg_Catalog  覈 覲願 碁.
 Tuple 覲企 企 企ゼ  一危磯伎   螳
Tuple 覲 至鍵
 Pg Catalog 企, 觀磯ゼ 牛伎 詞  .
  覲.
SELECT c.relname, pg_stat_get_live_tuples(c.oid) + pg_stat_get_dead_tuples(c.oid) as t_tup,
pg_stat_get_live_tuples(c.oid) AS n_live_tup,
pg_stat_get_dead_tuples(c.oid) AS n_dead_tup,
round(100*pg_stat_get_live_tuples(c.oid) / (pg_stat_get_live_tuples(c.oid) + pg_stat_get_dead_tuples(c.oid)),2) as live_tuple_rate,
round(100*pg_stat_get_dead_tuples(c.oid) / (pg_stat_get_live_tuples(c.oid) + pg_stat_get_dead_tuples(c.oid)),2) as dead_tuple_rate,
pg_size_pretty(pg_total_relation_size(c.oid)) as total_rel_size,
pg_size_pretty(pg_relation_size(c.oid)) as rel_size
FROM pg_class as c
WHERE pg_stat_get_live_tuples(c.oid) > 0
AND c.relname NOT LIKE 'pg_%' ORDER BY n_dead_tup DESC;
relname | t_tup | n_live_tup | n_dead_tup | live_tuple_rate | dead_tuple_rate | total_rel_size | rel_size
------------+-------+------------+------------+-----------------+-----------------+----------------+---------tuple_test | 1200 |

1100 |

100 |

91.00 |

8.00 | 136 kB

| 56 kB

(1 row)

 PostgreSQL Stat Collertor 襦語る 螳譬 覲企ゼ 讌.
 讌 覲企 Query Plan .
 朱 覲 一危碁ゼ 螻 矩る Analyze 襯 伎.
Vacuum
Dead Tuple 豌 豌襴.



ろ I/O レ



PostgreSQL 8.x 覯 FSM(Free Space Map) れ 襷讌 朱  .



PostgreSQL 9.0 伎覿 Vacuum 螻襴讀 覲蟆曙朱 螳 豢 .(FSM .)
企 襷れ Live Tuple襯 谿朱 螻 る覃 Index襯 蟇瑚  企 企襦 蟲豌.

Live Tuple襯 谿朱 曙
 企 谿朱 .

tuples

Index



PostgreSQL 9.0 伎覿 Vacuum   譟郁唄 企 煙 
覓朱Μ ろ 螻糾企.



VACUUM  一危磯伎,企 OID 螳 覲蟆暑.
Thank you

豪(orion_203@naver.com)

More Related Content

What's hot (20)

5 碁碁 襭 郁規貉豸
 5   碁碁 襭 郁規貉豸 5   碁碁 襭 郁規貉豸
5 碁碁 襭 郁規貉豸
EXEM
9 碁碁 襭 郁規貉豸
 9   碁碁 襭 郁規貉豸 9   碁碁 襭 郁規貉豸
9 碁碁 襭 郁規貉豸
EXEM
[Foss4 g2013 korea]postgis geoserver襯 伎 螻糾一危 蠍磯 手鍵 觜 蟲豢 襦
[Foss4 g2013 korea]postgis geoserver襯 伎  螻糾一危 蠍磯 手鍵 觜 蟲豢 襦[Foss4 g2013 korea]postgis geoserver襯 伎  螻糾一危 蠍磯 手鍵 觜 蟲豢 襦
[Foss4 g2013 korea]postgis geoserver襯 伎 螻糾一危 蠍磯 手鍵 觜 蟲豢 襦
BJ Jang
Amazon aurora 2
Amazon aurora 2Amazon aurora 2
Amazon aurora 2
EXEM
7 碁碁 襭 郁規貉豸
 7   碁碁 襭 郁規貉豸 7   碁碁 襭 郁規貉豸
7 碁碁 襭 郁規貉豸
EXEM
SW1谿 襦 Hive 豕譬覦
SW1谿 襦 Hive 豕譬覦SW1谿 襦 Hive 豕譬覦
SW1谿 襦 Hive 豕譬覦
Sinhyub Kim
伎 一危磯伎 郁屋 1
伎 一危磯伎 郁屋 1伎 一危磯伎 郁屋 1
伎 一危磯伎 郁屋 1
SeongHyun Ahn
伎 一危磯伎 郁屋 2
伎 一危磯伎 郁屋 2伎 一危磯伎 郁屋 2
伎 一危磯伎 郁屋 2
SeongHyun Ahn
[FOSS4G Korea 2016] GeoHash襯 伎 讌 覲讌 螻 蟯襴
[FOSS4G Korea 2016] GeoHash襯 伎 讌 覲讌 螻 蟯襴[FOSS4G Korea 2016] GeoHash襯 伎 讌 覲讌 螻 蟯襴
[FOSS4G Korea 2016] GeoHash襯 伎 讌 覲讌 螻 蟯襴
BJ Jang
Mapreduce tuning
Mapreduce tuningMapreduce tuning
Mapreduce tuning
Gruter
Hive begins
Hive beginsHive begins
Hive begins
SungMin OH
れ(覿磯)
 れ(覿磯) れ(覿磯)
れ(覿磯)
Kwangyoung Jeon
20141029 2.5 hiveれ 覦
20141029 2.5 hiveれ 覦 20141029 2.5 hiveれ 覦
20141029 2.5 hiveれ 覦
Tae Young Lee
螻 襷
 螻 襷 螻 襷
螻 襷
讌 覦
20140522 uc讌螻 覩殊_覦襭_豕譬
20140522 uc讌螻 覩殊_覦襭_豕譬20140522 uc讌螻 覩殊_覦襭_豕譬
20140522 uc讌螻 覩殊_覦襭_豕譬
覩殊 覩殊
[2015-07-20-れ譴] Oracle 焔 蟯襴 2
[2015-07-20-れ譴] Oracle 焔 蟯襴 2[2015-07-20-れ譴] Oracle 焔 蟯襴 2
[2015-07-20-れ譴] Oracle 焔 蟯襴 2
Seok-joon Yun
矧♀感帝Μ
矧♀感帝Μ矧♀感帝Μ
矧♀感帝Μ
Choonghyun Yang
5 碁碁 襭 郁規貉豸
 5   碁碁 襭 郁規貉豸 5   碁碁 襭 郁規貉豸
5 碁碁 襭 郁規貉豸
EXEM
9 碁碁 襭 郁規貉豸
 9   碁碁 襭 郁規貉豸 9   碁碁 襭 郁規貉豸
9 碁碁 襭 郁規貉豸
EXEM
[Foss4 g2013 korea]postgis geoserver襯 伎 螻糾一危 蠍磯 手鍵 觜 蟲豢 襦
[Foss4 g2013 korea]postgis geoserver襯 伎  螻糾一危 蠍磯 手鍵 觜 蟲豢 襦[Foss4 g2013 korea]postgis geoserver襯 伎  螻糾一危 蠍磯 手鍵 觜 蟲豢 襦
[Foss4 g2013 korea]postgis geoserver襯 伎 螻糾一危 蠍磯 手鍵 觜 蟲豢 襦
BJ Jang
Amazon aurora 2
Amazon aurora 2Amazon aurora 2
Amazon aurora 2
EXEM
7 碁碁 襭 郁規貉豸
 7   碁碁 襭 郁規貉豸 7   碁碁 襭 郁規貉豸
7 碁碁 襭 郁規貉豸
EXEM
SW1谿 襦 Hive 豕譬覦
SW1谿 襦 Hive 豕譬覦SW1谿 襦 Hive 豕譬覦
SW1谿 襦 Hive 豕譬覦
Sinhyub Kim
伎 一危磯伎 郁屋 1
伎 一危磯伎 郁屋 1伎 一危磯伎 郁屋 1
伎 一危磯伎 郁屋 1
SeongHyun Ahn
伎 一危磯伎 郁屋 2
伎 一危磯伎 郁屋 2伎 一危磯伎 郁屋 2
伎 一危磯伎 郁屋 2
SeongHyun Ahn
[FOSS4G Korea 2016] GeoHash襯 伎 讌 覲讌 螻 蟯襴
[FOSS4G Korea 2016] GeoHash襯 伎 讌 覲讌 螻 蟯襴[FOSS4G Korea 2016] GeoHash襯 伎 讌 覲讌 螻 蟯襴
[FOSS4G Korea 2016] GeoHash襯 伎 讌 覲讌 螻 蟯襴
BJ Jang
Mapreduce tuning
Mapreduce tuningMapreduce tuning
Mapreduce tuning
Gruter
Hive begins
Hive beginsHive begins
Hive begins
SungMin OH
20141029 2.5 hiveれ 覦
20141029 2.5 hiveれ 覦 20141029 2.5 hiveれ 覦
20141029 2.5 hiveれ 覦
Tae Young Lee
螻 襷
 螻 襷 螻 襷
螻 襷
讌 覦
20140522 uc讌螻 覩殊_覦襭_豕譬
20140522 uc讌螻 覩殊_覦襭_豕譬20140522 uc讌螻 覩殊_覦襭_豕譬
20140522 uc讌螻 覩殊_覦襭_豕譬
覩殊 覩殊
[2015-07-20-れ譴] Oracle 焔 蟯襴 2
[2015-07-20-れ譴] Oracle 焔 蟯襴 2[2015-07-20-れ譴] Oracle 焔 蟯襴 2
[2015-07-20-れ譴] Oracle 焔 蟯襴 2
Seok-joon Yun

Viewers also liked (12)

PostgreSQL 伎手鍵
PostgreSQL 伎手鍵PostgreSQL 伎手鍵
PostgreSQL 伎手鍵
I Goo Lee
PostgreSQL
PostgreSQLPostgreSQL
PostgreSQL
Reuven Lerner
PostgreSQL 9.6 蠍磯 螳
PostgreSQL 9.6  蠍磯 螳PostgreSQL 9.6  蠍磯 螳
PostgreSQL 9.6 蠍磯 螳
PgDay.Seoul
蟲蟲 譴襴 D.N.A 2014 襴 谿暑曙 覦 襭 - 襴 ろ磯()
蟲蟲 譴襴 D.N.A 2014 襴 谿暑曙 覦 襭 - 襴 ろ磯()蟲蟲 譴襴 D.N.A 2014 襴 谿暑曙 覦 襭 - 襴 ろ磯()
蟲蟲 譴襴 D.N.A 2014 襴 谿暑曙 覦 襭 - 襴 ろ磯()
dgu_DNA
2015 7 D.PARTY_ 企語 覦襴 覦襭
2015 7 D.PARTY_ 企語 覦襴  覦襭 2015 7 D.PARTY_ 企語 覦襴  覦襭
2015 7 D.PARTY_ 企語 覦襴 覦襭
D.CAMP
2014 ChattingCat service architecture
2014 ChattingCat service architecture2014 ChattingCat service architecture
2014 ChattingCat service architecture
chattingcat
誤觜 語 譬譯殊姶 蟯襴ろ(2)
誤觜 語 譬譯殊姶 蟯襴ろ(2)誤觜 語 譬譯殊姶 蟯襴ろ(2)
誤觜 語 譬譯殊姶 蟯襴ろ(2)
guest2d7179e
襴 殊企 れ #1
襴 殊企 れ #1襴 殊企 れ #1
襴 殊企 れ #1
Sangho Park
svn ルレ襯 git 螳 螳企
svn ルレ襯  git 螳 螳企svn ルレ襯  git 螳 螳企
svn ルレ襯 git 螳 螳企
Insub Lee
Git 襾瑚蒔? GitHub 襾語?
Git 襾瑚蒔? GitHub  襾語?Git 襾瑚蒔? GitHub  襾語?
Git 襾瑚蒔? GitHub 襾語?
Ian Choi
IoT 觜 ろ豌 覿 覦 Case Study-Innovation Seminar
IoT 觜 ろ豌 覿 覦 Case Study-Innovation SeminarIoT 觜 ろ豌 覿 覦 Case Study-Innovation Seminar
IoT 觜 ろ豌 覿 覦 Case Study-Innovation Seminar
覯蟯襴襯 れ企蓋 れ DVCS - Git
覯蟯襴襯 れ企蓋  れ  DVCS - Git覯蟯襴襯 れ企蓋  れ  DVCS - Git
覯蟯襴襯 れ企蓋 れ DVCS - Git
覩狩 蟾
PostgreSQL 伎手鍵
PostgreSQL 伎手鍵PostgreSQL 伎手鍵
PostgreSQL 伎手鍵
I Goo Lee
PostgreSQL 9.6 蠍磯 螳
PostgreSQL 9.6  蠍磯 螳PostgreSQL 9.6  蠍磯 螳
PostgreSQL 9.6 蠍磯 螳
PgDay.Seoul
蟲蟲 譴襴 D.N.A 2014 襴 谿暑曙 覦 襭 - 襴 ろ磯()
蟲蟲 譴襴 D.N.A 2014 襴 谿暑曙 覦 襭 - 襴 ろ磯()蟲蟲 譴襴 D.N.A 2014 襴 谿暑曙 覦 襭 - 襴 ろ磯()
蟲蟲 譴襴 D.N.A 2014 襴 谿暑曙 覦 襭 - 襴 ろ磯()
dgu_DNA
2015 7 D.PARTY_ 企語 覦襴 覦襭
2015 7 D.PARTY_ 企語 覦襴  覦襭 2015 7 D.PARTY_ 企語 覦襴  覦襭
2015 7 D.PARTY_ 企語 覦襴 覦襭
D.CAMP
2014 ChattingCat service architecture
2014 ChattingCat service architecture2014 ChattingCat service architecture
2014 ChattingCat service architecture
chattingcat
誤觜 語 譬譯殊姶 蟯襴ろ(2)
誤觜 語 譬譯殊姶 蟯襴ろ(2)誤觜 語 譬譯殊姶 蟯襴ろ(2)
誤觜 語 譬譯殊姶 蟯襴ろ(2)
guest2d7179e
襴 殊企 れ #1
襴 殊企 れ #1襴 殊企 れ #1
襴 殊企 れ #1
Sangho Park
svn ルレ襯 git 螳 螳企
svn ルレ襯  git 螳 螳企svn ルレ襯  git 螳 螳企
svn ルレ襯 git 螳 螳企
Insub Lee
Git 襾瑚蒔? GitHub 襾語?
Git 襾瑚蒔? GitHub  襾語?Git 襾瑚蒔? GitHub  襾語?
Git 襾瑚蒔? GitHub 襾語?
Ian Choi
IoT 觜 ろ豌 覿 覦 Case Study-Innovation Seminar
IoT 觜 ろ豌 覿 覦 Case Study-Innovation SeminarIoT 觜 ろ豌 覿 覦 Case Study-Innovation Seminar
IoT 觜 ろ豌 覿 覦 Case Study-Innovation Seminar
覯蟯襴襯 れ企蓋 れ DVCS - Git
覯蟯襴襯 れ企蓋  れ  DVCS - Git覯蟯襴襯 れ企蓋  れ  DVCS - Git
覯蟯襴襯 れ企蓋 れ DVCS - Git
覩狩 蟾

Similar to PostgreSql vaccum (11)

貊ろ 蟆 蠍 2譯殊姶 ろ磯 - 襴ろ_襴
貊ろ 蟆 蠍 2譯殊姶 ろ磯 - 襴ろ_襴貊ろ 蟆 蠍 2譯殊姶 ろ磯 - 襴ろ_襴
貊ろ 蟆 蠍 2譯殊姶 ろ磯 - 襴ろ_襴
ultrasuperrok
PyCon Korea 2015: 朱 一危 覿蠍
PyCon Korea 2015: 朱  一危 覿蠍PyCon Korea 2015: 朱  一危 覿蠍
PyCon Korea 2015: 朱 一危 覿蠍
Hyeshik Chang
From MSSQL to MySQL
From MSSQL to MySQLFrom MSSQL to MySQL
From MSSQL to MySQL
I Goo Lee
amugona study 2nd
amugona study 2ndamugona study 2nd
amugona study 2nd
who7117
[pgday.Seoul 2022] PostgreSQL蟲譟 - れ煙
[pgday.Seoul 2022] PostgreSQL蟲譟 - れ煙[pgday.Seoul 2022] PostgreSQL蟲譟 - れ煙
[pgday.Seoul 2022] PostgreSQL蟲譟 - れ煙
PgDay.Seoul
SQL-on-Hadoop with Apache Tajo, and application case of SK Telecom
SQL-on-Hadoop with Apache Tajo,  and application case of SK TelecomSQL-on-Hadoop with Apache Tajo,  and application case of SK Telecom
SQL-on-Hadoop with Apache Tajo, and application case of SK Telecom
Gruter
SQL performance and UDF
SQL performance and UDFSQL performance and UDF
SQL performance and UDF
JAEGEUN YU
Data Structures
Data StructuresData Structures
Data Structures
skku_npc
LSTM ろ語 危危蠍
LSTM ろ語 危危蠍LSTM ろ語 危危蠍
LSTM ろ語 危危蠍
Mad Scientists
Gpdb best practices v a01 20150313
Gpdb best practices v a01 20150313Gpdb best practices v a01 20150313
Gpdb best practices v a01 20150313
Sanghee Lee
sqlserver7.0 一危覯伎
sqlserver7.0 一危覯伎sqlserver7.0 一危覯伎
sqlserver7.0 一危覯伎
貊ろ 蟆 蠍 2譯殊姶 ろ磯 - 襴ろ_襴
貊ろ 蟆 蠍 2譯殊姶 ろ磯 - 襴ろ_襴貊ろ 蟆 蠍 2譯殊姶 ろ磯 - 襴ろ_襴
貊ろ 蟆 蠍 2譯殊姶 ろ磯 - 襴ろ_襴
ultrasuperrok
PyCon Korea 2015: 朱 一危 覿蠍
PyCon Korea 2015: 朱  一危 覿蠍PyCon Korea 2015: 朱  一危 覿蠍
PyCon Korea 2015: 朱 一危 覿蠍
Hyeshik Chang
From MSSQL to MySQL
From MSSQL to MySQLFrom MSSQL to MySQL
From MSSQL to MySQL
I Goo Lee
amugona study 2nd
amugona study 2ndamugona study 2nd
amugona study 2nd
who7117
[pgday.Seoul 2022] PostgreSQL蟲譟 - れ煙
[pgday.Seoul 2022] PostgreSQL蟲譟 - れ煙[pgday.Seoul 2022] PostgreSQL蟲譟 - れ煙
[pgday.Seoul 2022] PostgreSQL蟲譟 - れ煙
PgDay.Seoul
SQL-on-Hadoop with Apache Tajo, and application case of SK Telecom
SQL-on-Hadoop with Apache Tajo,  and application case of SK TelecomSQL-on-Hadoop with Apache Tajo,  and application case of SK Telecom
SQL-on-Hadoop with Apache Tajo, and application case of SK Telecom
Gruter
SQL performance and UDF
SQL performance and UDFSQL performance and UDF
SQL performance and UDF
JAEGEUN YU
Data Structures
Data StructuresData Structures
Data Structures
skku_npc
LSTM ろ語 危危蠍
LSTM ろ語 危危蠍LSTM ろ語 危危蠍
LSTM ろ語 危危蠍
Mad Scientists
Gpdb best practices v a01 20150313
Gpdb best practices v a01 20150313Gpdb best practices v a01 20150313
Gpdb best practices v a01 20150313
Sanghee Lee
sqlserver7.0 一危覯伎
sqlserver7.0 一危覯伎sqlserver7.0 一危覯伎
sqlserver7.0 一危覯伎

PostgreSql vaccum

  • 2. 焔 レ り Reindex 覦覲伎 覿覿 Index B-tree 螻襴讀 伎, B-tree 蟲譟磯 覲 蟾. B-tree 蠏(Balance)襯 襷豢蠍 覓語 朱Μ 蠏殊 覈 . Reindex Index 企 覈谿襯 螳煙 訖企. Reindex 襯 り 伎 ろ 蠏殊 螳讌 . PostgreSQL 貎朱Μ 一螻 Index襯 伎り 朱 Disk I/O 襯 譴伎 覈詩覃 焔レ 伎 り 覺 .
  • 3. PostgreSQL Disk 覈 一危磯 Disk . 覈 一危磯 Disk 暑. 一危(Live Tuple) 襷 Disk 譟伎 蟇 . 覿 一危(Dead Tuple) 蟷 譟伎. Dead Tuple 一危 蠏殊 曙朱 譬, PostgreSQL 暑. Dead Tuple Live Tuple
  • 4. Tuple ???? MVCC(れ覯煙) 蟲 伎 Tuple 螳 . Row(轟 Record) 覯. Rows Version 1 Dead Tuple Rows Update Query Copy Rows Version 2 Select Query Complete Update Query Live Tuple
  • 5. Dead Tuple ???? PostgreSQL Row れ ろ 豌襴 讌 螻 襷 . れ 覓朱Μろ 蠏碁襦 一危郁 . 讌襯狩覃 Dead Tuple蟾讌 れ. Dead Tuple ver1 ver2 ver3 ver4 ver5 Live Tuple ver6 Disk Read ver7 ver8 ver9 ver10 ver11
  • 6. Dead Tuple 語 襷れ伎? Update, Delete . 碁(Transaction) . 蟆郁記, Update, Delete, 碁 襷 PostgreSQL Dead Tuple 讀螳螻 企 Disk I/O 讀螳襦 誤伎 螳 螳襦 焔レ襯 螳讌螻 . Pg_Catalog 覈 覲願 碁. Tuple 覲企 企 企ゼ 一危磯伎 螳
  • 7. Tuple 覲 至鍵 Pg Catalog 企, 觀磯ゼ 牛伎 詞 . 覲. SELECT c.relname, pg_stat_get_live_tuples(c.oid) + pg_stat_get_dead_tuples(c.oid) as t_tup, pg_stat_get_live_tuples(c.oid) AS n_live_tup, pg_stat_get_dead_tuples(c.oid) AS n_dead_tup, round(100*pg_stat_get_live_tuples(c.oid) / (pg_stat_get_live_tuples(c.oid) + pg_stat_get_dead_tuples(c.oid)),2) as live_tuple_rate, round(100*pg_stat_get_dead_tuples(c.oid) / (pg_stat_get_live_tuples(c.oid) + pg_stat_get_dead_tuples(c.oid)),2) as dead_tuple_rate, pg_size_pretty(pg_total_relation_size(c.oid)) as total_rel_size, pg_size_pretty(pg_relation_size(c.oid)) as rel_size FROM pg_class as c WHERE pg_stat_get_live_tuples(c.oid) > 0 AND c.relname NOT LIKE 'pg_%' ORDER BY n_dead_tup DESC; relname | t_tup | n_live_tup | n_dead_tup | live_tuple_rate | dead_tuple_rate | total_rel_size | rel_size ------------+-------+------------+------------+-----------------+-----------------+----------------+---------tuple_test | 1200 | 1100 | 100 | 91.00 | 8.00 | 136 kB | 56 kB (1 row) PostgreSQL Stat Collertor 襦語る 螳譬 覲企ゼ 讌. 讌 覲企 Query Plan . 朱 覲 一危碁ゼ 螻 矩る Analyze 襯 伎.
  • 8. Vacuum Dead Tuple 豌 豌襴. ろ I/O レ PostgreSQL 8.x 覯 FSM(Free Space Map) れ 襷讌 朱 . PostgreSQL 9.0 伎覿 Vacuum 螻襴讀 覲蟆曙朱 螳 豢 .(FSM .) 企 襷れ Live Tuple襯 谿朱 螻 る覃 Index襯 蟇瑚 企 企襦 蟲豌. Live Tuple襯 谿朱 曙 企 谿朱 . tuples Index PostgreSQL 9.0 伎覿 Vacuum 譟郁唄 企 煙 覓朱Μ ろ 螻糾企. VACUUM 一危磯伎,企 OID 螳 覲蟆暑.