Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Postgres Presentation

5,550 views

Published on

A polemic regarding the virtues of Postgres compared with MySQL.

Published in: Technology, Education, Business
  • Be the first to comment

Postgres Presentation

  1. 1. MySQL, PostgreSQL and Rails <ul><li>A polemic </li></ul>
  2. 2. Pity the poor programmer
  3. 3. Slaving away in the bit mines
  4. 4. Just store my data!
  5. 5. <polemic>
  6. 6. Network effect
  7. 7. Features
  8. 8. Features PostgreSQL MySQL
  9. 9. Multiple table types Clustering ..? MySQL
  10. 10. PostgreSQL Genetic Query Optimizer Procedural Languages Functional/Partial Indexes Oracle Compatibility Advanced Rules, Stored Procedures, Triggers <ul><li>pgSQL (Oracle) </li></ul><ul><li>Tcl </li></ul><ul><li>Perl </li></ul><ul><li>Python </li></ul><ul><li>Java </li></ul><ul><li>PHP </li></ul><ul><li>R </li></ul><ul><li>Ruby </li></ul><ul><li>Scheme </li></ul><ul><li>sh </li></ul>
  11. 11. Speed
  12. 12. http://tweakers.net/reviews/657/5/database-test-dual-intel-xeon-5160-pagina-5.html
  13. 15. http://www.spec.org/jAppServer2004/results/jAppServer2004.html
  14. 16. Licence
  15. 17. From the MySQL website
  16. 18. From the MySQL website
  17. 19. http://www.kitebird.com/articles/ruby-mysql.html Guess what license?
  18. 20. The PostgreSQL license PostgreSQL Data Base Management System Portions Copyright (c) 1996-2008, PostgreSQL Global Development Group Portions Copyright (c) 1994-1996 Regents of the University of California Permission to use, copy, modify, and distribute this software and its documentation for any purpose, without fee, and without a written agreement is hereby granted, provided that the above copyright notice and this paragraph and the following two paragraphs appear in all copies. IN NO EVENT SHALL THE UNIVERSITY OF CALIFORNIA BE LIABLE TO ANY PARTY FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF THE UNIVERSITY OF CALIFORNIA HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. THE UNIVERSITY OF CALIFORNIA SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON AN &quot;AS IS&quot; BASIS, AND THE UNIVERSITY OF CALIFORNIA HAS NO OBLIGATIONS TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
  19. 21. </polemic>
  20. 22. On clever databases
  21. 23. — DHH We took a pretty radical stand: Stored procedures and all things that make your database clever are evil
  22. 24. Application database
  23. 25. Integration database
  24. 26. Integration database ✔
  25. 27. Complex processes
  26. 28. Recursive structures (etc)
  27. 29. Smart databases & Rails <ul><li>Maintain with migrations </li></ul><ul><li>..? </li></ul>
  28. 30. Fin
  29. 31. Questions
  30. 32. Postgres with Rails

×