Submit Search
Upload
PostgreSQL 8.3 Update
•
1 like
•
1,494 views
T
Takahiro Itagaki
Follow
PostgreSQL 8.3の新機能のうち、特にHOT更新による高速化について解説します。
Read less
Read more
Technology
Report
Share
Report
Share
1 of 21
Download now
Download to read offline
Recommended
Mateo valero p2
Mateo valero p2
guadalupe.moreno
Mateo valero p1
Mateo valero p1
guadalupe.moreno
Ron perrot
Ron perrot
guadalupe.moreno
Accelerating Scientific Discovery V1
Accelerating Scientific Discovery V1
Shanker Trivedi
Accelerating science with Puppet
Accelerating science with Puppet
Tim Bell
S4495-plasma-turbulence-sims-gyrokinetic-tokamak-solver
S4495-plasma-turbulence-sims-gyrokinetic-tokamak-solver
Praveen Narayanan
AMBER Molecular Dynamics on GPU
AMBER Molecular Dynamics on GPU
Devang Sachdev
GROMACS Molecular Dynamics on GPU
GROMACS Molecular Dynamics on GPU
Devang Sachdev
Recommended
Mateo valero p2
Mateo valero p2
guadalupe.moreno
Mateo valero p1
Mateo valero p1
guadalupe.moreno
Ron perrot
Ron perrot
guadalupe.moreno
Accelerating Scientific Discovery V1
Accelerating Scientific Discovery V1
Shanker Trivedi
Accelerating science with Puppet
Accelerating science with Puppet
Tim Bell
S4495-plasma-turbulence-sims-gyrokinetic-tokamak-solver
S4495-plasma-turbulence-sims-gyrokinetic-tokamak-solver
Praveen Narayanan
AMBER Molecular Dynamics on GPU
AMBER Molecular Dynamics on GPU
Devang Sachdev
GROMACS Molecular Dynamics on GPU
GROMACS Molecular Dynamics on GPU
Devang Sachdev
PostgreSQL 8.4 Update
PostgreSQL 8.4 Update
Takahiro Itagaki
8051 MICROCONTROLLER
8051 MICROCONTROLLER
THANDAIAH PRABU
BFS Distribution Via DCM
BFS Distribution Via DCM
owenlin
Adaptive Query Execution: Speeding Up Spark SQL at Runtime
Adaptive Query Execution: Speeding Up Spark SQL at Runtime
Databricks
110604 2nd SyoueneIT Workshop
110604 2nd SyoueneIT Workshop
Kensuke SAEKI
customization of a deep learning accelerator, based on NVDLA
customization of a deep learning accelerator, based on NVDLA
Shien-Chun Luo
Example Application of GPU
Example Application of GPU
Chakkrit (Kla) Tantithamthavorn
67WS Event FIO Primer
67WS Event FIO Primer
Shigeru Kobayashi
microprocessor
microprocessor
sumit singh
Top500 11/2011 BOF Slides
Top500 11/2011 BOF Slides
top500
25l8005
25l8005
amit swami
Thermal modeling and management of cluster storage systems xunfei jiang 2014
Thermal modeling and management of cluster storage systems xunfei jiang 2014
Xiao Qin
Original PNP Transistors PZT2907A PZT2907 2907 P2F SOT22-3 New On Semiconductor
Original PNP Transistors PZT2907A PZT2907 2907 P2F SOT22-3 New On Semiconductor
authelectroniccom
Cuda 6 performance_report
Cuda 6 performance_report
Michael Zhang
The Data Center and Hadoop
The Data Center and Hadoop
DataWorks Summit
計算力学シミュレーションに GPU は役立つのか?
計算力学シミュレーションに GPU は役立つのか?
Shinnosuke Furuya
Exploring the Huawei HG8010H GPON ONT
Exploring the Huawei HG8010H GPON ONT
Marco d'Itri
Oracle goldengate 11g schema replication from standby database
Oracle goldengate 11g schema replication from standby database
uzzal basak
Researching postgresql
Researching postgresql
Fernando Ike
コミュニティ開発に参加しよう!
コミュニティ開発に参加しよう!
Takahiro Itagaki
textsearch groonga v0.1
textsearch groonga v0.1
Takahiro Itagaki
PostgreSQL 9.0 in OSC@Tokyo,Okinawa
PostgreSQL 9.0 in OSC@Tokyo,Okinawa
Takahiro Itagaki
More Related Content
Similar to PostgreSQL 8.3 Update
PostgreSQL 8.4 Update
PostgreSQL 8.4 Update
Takahiro Itagaki
8051 MICROCONTROLLER
8051 MICROCONTROLLER
THANDAIAH PRABU
BFS Distribution Via DCM
BFS Distribution Via DCM
owenlin
Adaptive Query Execution: Speeding Up Spark SQL at Runtime
Adaptive Query Execution: Speeding Up Spark SQL at Runtime
Databricks
110604 2nd SyoueneIT Workshop
110604 2nd SyoueneIT Workshop
Kensuke SAEKI
customization of a deep learning accelerator, based on NVDLA
customization of a deep learning accelerator, based on NVDLA
Shien-Chun Luo
Example Application of GPU
Example Application of GPU
Chakkrit (Kla) Tantithamthavorn
67WS Event FIO Primer
67WS Event FIO Primer
Shigeru Kobayashi
microprocessor
microprocessor
sumit singh
Top500 11/2011 BOF Slides
Top500 11/2011 BOF Slides
top500
25l8005
25l8005
amit swami
Thermal modeling and management of cluster storage systems xunfei jiang 2014
Thermal modeling and management of cluster storage systems xunfei jiang 2014
Xiao Qin
Original PNP Transistors PZT2907A PZT2907 2907 P2F SOT22-3 New On Semiconductor
Original PNP Transistors PZT2907A PZT2907 2907 P2F SOT22-3 New On Semiconductor
authelectroniccom
Cuda 6 performance_report
Cuda 6 performance_report
Michael Zhang
The Data Center and Hadoop
The Data Center and Hadoop
DataWorks Summit
計算力学シミュレーションに GPU は役立つのか?
計算力学シミュレーションに GPU は役立つのか?
Shinnosuke Furuya
Exploring the Huawei HG8010H GPON ONT
Exploring the Huawei HG8010H GPON ONT
Marco d'Itri
Oracle goldengate 11g schema replication from standby database
Oracle goldengate 11g schema replication from standby database
uzzal basak
Researching postgresql
Researching postgresql
Fernando Ike
コミュニティ開発に参加しよう!
コミュニティ開発に参加しよう!
Takahiro Itagaki
Similar to PostgreSQL 8.3 Update
(20)
PostgreSQL 8.4 Update
PostgreSQL 8.4 Update
8051 MICROCONTROLLER
8051 MICROCONTROLLER
BFS Distribution Via DCM
BFS Distribution Via DCM
Adaptive Query Execution: Speeding Up Spark SQL at Runtime
Adaptive Query Execution: Speeding Up Spark SQL at Runtime
110604 2nd SyoueneIT Workshop
110604 2nd SyoueneIT Workshop
customization of a deep learning accelerator, based on NVDLA
customization of a deep learning accelerator, based on NVDLA
Example Application of GPU
Example Application of GPU
67WS Event FIO Primer
67WS Event FIO Primer
microprocessor
microprocessor
Top500 11/2011 BOF Slides
Top500 11/2011 BOF Slides
25l8005
25l8005
Thermal modeling and management of cluster storage systems xunfei jiang 2014
Thermal modeling and management of cluster storage systems xunfei jiang 2014
Original PNP Transistors PZT2907A PZT2907 2907 P2F SOT22-3 New On Semiconductor
Original PNP Transistors PZT2907A PZT2907 2907 P2F SOT22-3 New On Semiconductor
Cuda 6 performance_report
Cuda 6 performance_report
The Data Center and Hadoop
The Data Center and Hadoop
計算力学シミュレーションに GPU は役立つのか?
計算力学シミュレーションに GPU は役立つのか?
Exploring the Huawei HG8010H GPON ONT
Exploring the Huawei HG8010H GPON ONT
Oracle goldengate 11g schema replication from standby database
Oracle goldengate 11g schema replication from standby database
Researching postgresql
Researching postgresql
コミュニティ開発に参加しよう!
コミュニティ開発に参加しよう!
More from Takahiro Itagaki
textsearch groonga v0.1
textsearch groonga v0.1
Takahiro Itagaki
PostgreSQL 9.0 in OSC@Tokyo,Okinawa
PostgreSQL 9.0 in OSC@Tokyo,Okinawa
Takahiro Itagaki
問合せ最適化インサイド
問合せ最適化インサイド
Takahiro Itagaki
Wish list from PostgreSQL - Linux Kernel Summit 2009
Wish list from PostgreSQL - Linux Kernel Summit 2009
Takahiro Itagaki
PostgreSQL 9.0 Update ~ホット・スタンバイがやってきた!~
PostgreSQL 9.0 Update ~ホット・スタンバイがやってきた!~
Takahiro Itagaki
PostgreSQLのこれまで、9.0、そしてこれから
PostgreSQLのこれまで、9.0、そしてこれから
Takahiro Itagaki
More from Takahiro Itagaki
(6)
textsearch groonga v0.1
textsearch groonga v0.1
PostgreSQL 9.0 in OSC@Tokyo,Okinawa
PostgreSQL 9.0 in OSC@Tokyo,Okinawa
問合せ最適化インサイド
問合せ最適化インサイド
Wish list from PostgreSQL - Linux Kernel Summit 2009
Wish list from PostgreSQL - Linux Kernel Summit 2009
PostgreSQL 9.0 Update ~ホット・スタンバイがやってきた!~
PostgreSQL 9.0 Update ~ホット・スタンバイがやってきた!~
PostgreSQLのこれまで、9.0、そしてこれから
PostgreSQLのこれまで、9.0、そしてこれから
Recently uploaded
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
The Digital Insurer
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Drew Madelung
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
Malak Abu Hammad
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
Enterprise Knowledge
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
The Digital Insurer
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
Safe Software
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
HampshireHUG
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Katpro Technologies
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Igalia
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc
Slack Application Development 101 Slides
Slack Application Development 101 Slides
praypatel2
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
wesley chun
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
Delhi Call girls
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
wesley chun
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
Martijn de Jong
How to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
naman860154
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
Enterprise Knowledge
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024
Results
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
apidays
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
hans926745
Recently uploaded
(20)
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
Slack Application Development 101 Slides
Slack Application Development 101 Slides
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
How to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
PostgreSQL 8.3 Update
1.
2007.DB
http://www.ospn.jp/osc2007.db/ PostgreSQL 8.3 Update 8.3 PostgreSQL / NTT OSS 2007.6.23 1
2.
8.1 8.3
autovacuum 8.1 fillfactor GIN 8.2 HOT XML autovacuum 8.3 2
3.
8.1 8.2
autovacuum 8.1 fillfactor GIN 8.2 HOT XML autovacuum 8.3 3
4.
CPU バ
TPC-C(OLTP) CPU ー 5 ジ 8.2 ョ 8.0 ン 8CPU ご 4 8.1 と 8.2 NUMA の 、 C 3 P U 1 個 2 8.1 SMP に 4CPU 対 (8CPU ) す 1 る 8.0 相 2CPU 対 性 0 能 1 2 4 8 12 16 20 24 28 32 core Scaling PostgreSQL on SMP Architectures Doug Tolbert (Unisys), PGCon 2007, Ottawa, 2007-05-24 4 http://www.pgcon.org/2007/schedule/events/16.en.html
5.
• tsearch2
: SELECT isbn,title FROM books WHERE fts @@ to_tsquery(‘word1 & word2’); – GiST, GIN: 2 – , tsearch2 GiST GIN GiST 112ms 280ms 176s 146MB • → GiST GIN 39ms 3344ms 532s 306MB • → GIN ×0.35 ×11.94 ×3.02 ×2.10 • Full-Text Search in PostgreSQL Oleg Bartunov PGCon 2007, Ottawa, 2007/5/23 5 http://www.pgcon.org/2007/schedule/events/13.en.html
6.
VACUUM •
UPDATE – – VACUUM 6
7.
PostgreSQL 8.3 1.
– HOT OLTP 2. – 3. – WAL 4. VACUUM – VACUUM autovacuum 7
8.
(1) 8.3 •
HOT FillFactor Fill Factor TPS TPS – 280 – pgbench 260 40% 240 • 220 40%UP! – 200 – VACUUM • VACUUM 180 160 HOT • FillFactor 140 – 120 HOT – 100%( ) 100 90~95% 70 75 80 85 90 95 100 • ALTER TABLE name Fill Factor (%) SET (fillfactor=95); pgbench -s400 (5GB) NTT OSS Center 8
9.
HOT
(1) • 8.2 UPDATE ID 001 A 10 … 002 B 8→7 003 C 20 004 D 12 9
10.
HOT
(2) • 8.2 UPDATE ID 001 A 10 002 B 8 003 C 20 UPDATE 004 D 12 ×2 002 B 7 (CPU) ×3 (I/O) 10
11.
HOT
(3) • 8.3 HOT UPDATE → ID 1 001 A 10 002 B 8 UPDATE Heap 002 B 7 Only 003 C 20 Tuple 004 D 12 HOT ×1 (CPU) 1/2 ×1 (I/O) 1/3 11
12.
HOT
(4) • 8.3 HOT UPDATE HOT ID VACUUM 001 A 10 002 B 6 UPDATE 002 B 7 003 C 20 004 D 12 HOT ×1 (CPU) ×1 VACUUM (I/O) 12
13.
HOT • UPDATE
– DELETE+INSERT • – – • – FillFactor – VACUUM VACUUM 13
14.
PostgreSQL 8.3 1.
– HOT OLTP 2. – 3. – WAL 4. VACUUM – VACUUM autovacuum 14
15.
(2) 8.3 •
(LDC) EnterpriseDB Performance Testing 15 http://community.enterprisedb.com/ldc/
16.
•
– (write) – (fsync) 8.2 8.3 PostgreSQL I/O I/O 16
17.
PostgreSQL 8.3 1.
– HOT OLTP 2. – 3. – WAL 4. VACUUM – VACUUM autovacuum 17
18.
(3) 8.3 •
– WAL I/O 1/2 BEGIN; TRUNCATE t; 35% COPY t FROM …; 0 20 40 60 80 COMMIT; pgbench -i -s30 ( COPY ) NTT OSS Center • ( ) – • InfoFrame DB Maintenance (NEC) • pg_bulkload ( , pgFoundry) 8.3 18
19.
(4) 8.3
VACUUM • autovacuum VACUUM – (autovacuum_max_workers) 1 8.2 → VACUUM 8.3 A B VACUUM 19
20.
autovacuum 8.1
fillfactor GIN 8.2 HOT XML autovacuum 8.3 20
21.
PostgreSQL 8.3 –
• HOT OLTP – • VACUUM, Background Writer ( ) – • SQL/XML, , , etc. 21
Download now