what postgresql could learn from mysqlwhat postgresql could learn from mysql the learning continues...
TRANSCRIPT
![Page 1: What PostgreSQL could learn from MySQLWhat PostgreSQL could learn from MySQL The learning continues ... Susanne Ebrecht PostgreSQL User Group Germany MySQL Support Engineer PGCon 2008©](https://reader030.vdocument.in/reader030/viewer/2022041014/5ec48850e1667e2901752409/html5/thumbnails/1.jpg)
What PostgreSQL could learn from MySQL
The learning continues ...
Susanne Ebrecht
PostgreSQL User Group GermanyMySQL Support Engineer
PGCon 2008
![Page 2: What PostgreSQL could learn from MySQLWhat PostgreSQL could learn from MySQL The learning continues ... Susanne Ebrecht PostgreSQL User Group Germany MySQL Support Engineer PGCon 2008©](https://reader030.vdocument.in/reader030/viewer/2022041014/5ec48850e1667e2901752409/html5/thumbnails/2.jpg)
© Mai 2008, MySQL/PostgreSQL User Group Germany, Author: Susanne Ebrecht
2
Main questions
Why get MySQL so popular?
What are they doing to stay popular?
Lets start analysing this ...
![Page 3: What PostgreSQL could learn from MySQLWhat PostgreSQL could learn from MySQL The learning continues ... Susanne Ebrecht PostgreSQL User Group Germany MySQL Support Engineer PGCon 2008©](https://reader030.vdocument.in/reader030/viewer/2022041014/5ec48850e1667e2901752409/html5/thumbnails/3.jpg)
© Mai 2008, MySQL/PostgreSQL User Group Germany, Author: Susanne Ebrecht
3
Market
Where can you find the most users?
Windows
Linux
For what could they need a RDBMS?
World Wild Web / Intranet
PHP
Private issues
![Page 4: What PostgreSQL could learn from MySQLWhat PostgreSQL could learn from MySQL The learning continues ... Susanne Ebrecht PostgreSQL User Group Germany MySQL Support Engineer PGCon 2008©](https://reader030.vdocument.in/reader030/viewer/2022041014/5ec48850e1667e2901752409/html5/thumbnails/4.jpg)
© Mai 2008, MySQL/PostgreSQL User Group Germany, Author: Susanne Ebrecht
4
Easy to use
![Page 5: What PostgreSQL could learn from MySQLWhat PostgreSQL could learn from MySQL The learning continues ... Susanne Ebrecht PostgreSQL User Group Germany MySQL Support Engineer PGCon 2008©](https://reader030.vdocument.in/reader030/viewer/2022041014/5ec48850e1667e2901752409/html5/thumbnails/5.jpg)
© Mai 2008, MySQL/PostgreSQL User Group Germany, Author: Susanne Ebrecht
5
Packaging
![Page 6: What PostgreSQL could learn from MySQLWhat PostgreSQL could learn from MySQL The learning continues ... Susanne Ebrecht PostgreSQL User Group Germany MySQL Support Engineer PGCon 2008©](https://reader030.vdocument.in/reader030/viewer/2022041014/5ec48850e1667e2901752409/html5/thumbnails/6.jpg)
© Mai 2008, MySQL/PostgreSQL User Group Germany, Author: Susanne Ebrecht
6
Knowledge about basics
Normalisation3NF
Entity Relationship Model
Referential IntegritySQL
Background
Transactions Trigger
Functions
![Page 7: What PostgreSQL could learn from MySQLWhat PostgreSQL could learn from MySQL The learning continues ... Susanne Ebrecht PostgreSQL User Group Germany MySQL Support Engineer PGCon 2008©](https://reader030.vdocument.in/reader030/viewer/2022041014/5ec48850e1667e2901752409/html5/thumbnails/7.jpg)
© Mai 2008, MySQL/PostgreSQL User Group Germany, Author: Susanne Ebrecht
7
Documentation
Eine Datenbank ist eine strukturierte Sammlung von Daten.
A database is a structured collection of data.
Une base de données est un ensemble organisé de données.
Una base de datos es una colección estruturada de datos.
Books Books
![Page 8: What PostgreSQL could learn from MySQLWhat PostgreSQL could learn from MySQL The learning continues ... Susanne Ebrecht PostgreSQL User Group Germany MySQL Support Engineer PGCon 2008©](https://reader030.vdocument.in/reader030/viewer/2022041014/5ec48850e1667e2901752409/html5/thumbnails/8.jpg)
© Mai 2008, MySQL/PostgreSQL User Group Germany, Author: Susanne Ebrecht
8
Combination with others
Agreement with PHP to implement MySQL as default
LAMP
Tries to get an agreement with OpenOffice
Tries to get agreements with others
![Page 9: What PostgreSQL could learn from MySQLWhat PostgreSQL could learn from MySQL The learning continues ... Susanne Ebrecht PostgreSQL User Group Germany MySQL Support Engineer PGCon 2008©](https://reader030.vdocument.in/reader030/viewer/2022041014/5ec48850e1667e2901752409/html5/thumbnails/9.jpg)
© Mai 2008, MySQL/PostgreSQL User Group Germany, Author: Susanne Ebrecht
9
Users
![Page 10: What PostgreSQL could learn from MySQLWhat PostgreSQL could learn from MySQL The learning continues ... Susanne Ebrecht PostgreSQL User Group Germany MySQL Support Engineer PGCon 2008©](https://reader030.vdocument.in/reader030/viewer/2022041014/5ec48850e1667e2901752409/html5/thumbnails/10.jpg)
© Mai 2008, MySQL/PostgreSQL User Group Germany, Author: Susanne Ebrecht
10
Advantages
No Transactions at MyISAM
Mail (Greylisting)
Call center (out calls)
Games
No strict error behaviour
February, 31st
No check of referential integrity
![Page 11: What PostgreSQL could learn from MySQLWhat PostgreSQL could learn from MySQL The learning continues ... Susanne Ebrecht PostgreSQL User Group Germany MySQL Support Engineer PGCon 2008©](https://reader030.vdocument.in/reader030/viewer/2022041014/5ec48850e1667e2901752409/html5/thumbnails/11.jpg)
© Mai 2008, MySQL/PostgreSQL User Group Germany, Author: Susanne Ebrecht
11
Upgrade version
![Page 12: What PostgreSQL could learn from MySQLWhat PostgreSQL could learn from MySQL The learning continues ... Susanne Ebrecht PostgreSQL User Group Germany MySQL Support Engineer PGCon 2008©](https://reader030.vdocument.in/reader030/viewer/2022041014/5ec48850e1667e2901752409/html5/thumbnails/12.jpg)
© Mai 2008, MySQL/PostgreSQL User Group Germany, Author: Susanne Ebrecht
12
Backward Compatibility
Strict mode not default
Behaviour of February, 31st
Only default on Windows
Users don't have to change their software
Old behaviours won't changed by default
New options and behaviourscan be configured by user
![Page 13: What PostgreSQL could learn from MySQLWhat PostgreSQL could learn from MySQL The learning continues ... Susanne Ebrecht PostgreSQL User Group Germany MySQL Support Engineer PGCon 2008©](https://reader030.vdocument.in/reader030/viewer/2022041014/5ec48850e1667e2901752409/html5/thumbnails/13.jpg)
© Mai 2008, MySQL/PostgreSQL User Group Germany, Author: Susanne Ebrecht13
Eierlegende Wollmilchsaueggs, wool and milk spending pic
![Page 14: What PostgreSQL could learn from MySQLWhat PostgreSQL could learn from MySQL The learning continues ... Susanne Ebrecht PostgreSQL User Group Germany MySQL Support Engineer PGCon 2008©](https://reader030.vdocument.in/reader030/viewer/2022041014/5ec48850e1667e2901752409/html5/thumbnails/14.jpg)
© Mai 2008, MySQL/PostgreSQL User Group Germany, Author: Susanne Ebrecht
14
Replication / Cluster
Simple statement based replication
Simple row based replication
Simple master <-> master replication
Simple clustering
All in only one package
![Page 15: What PostgreSQL could learn from MySQLWhat PostgreSQL could learn from MySQL The learning continues ... Susanne Ebrecht PostgreSQL User Group Germany MySQL Support Engineer PGCon 2008©](https://reader030.vdocument.in/reader030/viewer/2022041014/5ec48850e1667e2901752409/html5/thumbnails/15.jpg)
© Mai 2008, MySQL/PostgreSQL User Group Germany, Author: Susanne Ebrecht
15
Perfection
Step by step development
Replication
Cluster
Connectors
Other features
Release before feature is perfect(good enough feature)
Continuous development
![Page 16: What PostgreSQL could learn from MySQLWhat PostgreSQL could learn from MySQL The learning continues ... Susanne Ebrecht PostgreSQL User Group Germany MySQL Support Engineer PGCon 2008©](https://reader030.vdocument.in/reader030/viewer/2022041014/5ec48850e1667e2901752409/html5/thumbnails/16.jpg)
© Mai 2008, MySQL/PostgreSQL User Group Germany, Author: Susanne Ebrecht
16
Release
Release often
Release early
Don't try to be perfect
Fix bugs after release
![Page 17: What PostgreSQL could learn from MySQLWhat PostgreSQL could learn from MySQL The learning continues ... Susanne Ebrecht PostgreSQL User Group Germany MySQL Support Engineer PGCon 2008©](https://reader030.vdocument.in/reader030/viewer/2022041014/5ec48850e1667e2901752409/html5/thumbnails/17.jpg)
© Mai 2008, MySQL/PostgreSQL User Group Germany, Author: Susanne Ebrecht
17
Feature Release
![Page 18: What PostgreSQL could learn from MySQLWhat PostgreSQL could learn from MySQL The learning continues ... Susanne Ebrecht PostgreSQL User Group Germany MySQL Support Engineer PGCon 2008©](https://reader030.vdocument.in/reader030/viewer/2022041014/5ec48850e1667e2901752409/html5/thumbnails/18.jpg)
© Mai 2008, MySQL/PostgreSQL User Group Germany, Author: Susanne Ebrecht
18
Nice to have
A good marketing that is able to sell bugs as features
![Page 19: What PostgreSQL could learn from MySQLWhat PostgreSQL could learn from MySQL The learning continues ... Susanne Ebrecht PostgreSQL User Group Germany MySQL Support Engineer PGCon 2008©](https://reader030.vdocument.in/reader030/viewer/2022041014/5ec48850e1667e2901752409/html5/thumbnails/19.jpg)
© Mai 2008, MySQL/PostgreSQL User Group Germany, Author: Susanne Ebrecht
19
Bug tracking
![Page 20: What PostgreSQL could learn from MySQLWhat PostgreSQL could learn from MySQL The learning continues ... Susanne Ebrecht PostgreSQL User Group Germany MySQL Support Engineer PGCon 2008©](https://reader030.vdocument.in/reader030/viewer/2022041014/5ec48850e1667e2901752409/html5/thumbnails/20.jpg)
© Mai 2008, MySQL/PostgreSQL User Group Germany, Author: Susanne Ebrecht
20
Warnings
Don't implement encoding stuff by your own
Don't stop strong code review
Stay being such a great community
![Page 21: What PostgreSQL could learn from MySQLWhat PostgreSQL could learn from MySQL The learning continues ... Susanne Ebrecht PostgreSQL User Group Germany MySQL Support Engineer PGCon 2008©](https://reader030.vdocument.in/reader030/viewer/2022041014/5ec48850e1667e2901752409/html5/thumbnails/21.jpg)
© Mai 2008, MySQL/PostgreSQL User Group Germany, Author: Susanne Ebrecht
21
Closing Words
Thank you ...
MySQL community for helping to prepare this talk
Josh Berkus for motivating me
Thanks for listening