PostgreSQL What's Next

14
PostgreSQL - What s Next? Satoshi Nagayasu [email protected] pgDay @ LW/SF2008

description

Lightning-Talk slides in pgDay @ LinuxWorld 2008/SanFrancisco

Transcript of PostgreSQL What's Next

Page 1: PostgreSQL What's Next

PostgreSQL - What’s Next?

Satoshi Nagayasu

[email protected]

pgDay @ LW/SF2008

Page 2: PostgreSQL What's Next

PostgreSQL - What's Next? 2

Who am I?

• Current– Datacenter Business Development (NTT DATA Corp. Ltd.)

• Past– OpenSource Database Engineer (NTT DATA Corp. Ltd.)– Public Relations Director (Japan PostgreSQL Users Group)– Database Developer (Fujitsu)– Web Programmer (Crayfish Co. Ltd.)

Page 3: PostgreSQL What's Next

PostgreSQL - What's Next? 3

PostgreSQL’s past topics

• Performance– No problem. Excellent.

• Scalability (Scaling up & Scaling out)– PostgreSQL works well on 16-way SMP.– We have some scaling-out replication solutions.– A built-in replication is coming. (Thanks hackers!)

• Availability– We have a warm-standby feature.– Also we have some replication solutions.

• Vacuum– We have a “HOT” feature.

Page 4: PostgreSQL What's Next

PostgreSQL - What's Next? 4

What’s next?

What’s next?

Page 5: PostgreSQL What's Next

PostgreSQL - What's Next? 5

PostgreSQL’s next topic is…

Monitoring

&

Administration

(just my opinion)

Page 6: PostgreSQL What's Next

PostgreSQL - What's Next? 6

“Cloud” Generation Computing

• Lots of servers

–Multi-core processors

– Commodity (cheaper) hardware

• Lots of software

–We love OSS!

• … needs lots of admins?

Page 7: PostgreSQL What's Next

PostgreSQL - What's Next? 7

“Cloud” Generation Administration

• “Cloud” is a datacenter-centric architecture.

• In “Cloud” generation, we have to do many

admin tasks on many virtual/physical servers and many software, with fewer admins.

• So “Monitoring and Administration” is the key

to the next generation infrastructure.

Page 8: PostgreSQL What's Next

PostgreSQL - What's Next? 8

Monitoring and Administration requirements

• We need to monitor and check…– Processor and memory usage

– Database size and I/O traffics

– Cache hit ratio

– Transactions and backend activity

– Slow queries

– etc, etc, …

I want to do them easily on many servers and software.

Page 9: PostgreSQL What's Next

PostgreSQL - What's Next? 9

Examples

Oracle Enterprise Manager

MySQL Enterprise Monitor

Page 10: PostgreSQL What's Next

PostgreSQL - What's Next? 10

About my personal projects…

My personal projects

Page 11: PostgreSQL What's Next

PostgreSQL - What's Next? 11

pgconsole

• Prototype of workload monitoring tool

Page 12: PostgreSQL What's Next

PostgreSQL - What's Next? 12

pgperf/StatsKit

• pgperf/StatsKit consists of several SQL scripts and shell scripts to report PG stats.– Inspired by Oracle StatsPack ☺

Page 13: PostgreSQL What's Next

PostgreSQL - What's Next? 13

Project Goal (Future plan)

• Performance monitoring as a web service– supports DBA’s management tasks.

Performance analysisWeb service

ClientUpload

database stats

Client

View performance stats with chart

InternetInternet

(Historical datarepository)

Page 14: PostgreSQL What's Next

PostgreSQL - What's Next? 14

Thanks

Thanks