News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Eran Galperin's Blog:
Database Optimization Techniques You Can Actually Use
March 28, 2011 @ 13:15:57

Eran Galperin has posted a few helpful tips (ones you can "actually use") for optimizing your database and how your application uses it.

I understand the need for simplicity because of the wide audience of Smashing Magazine, but I'd wish they'd give something more than the absolute basics you could find in almost any other site out there [in their recent tutorial]. I also didn't like some of the methods mentioned there for profiling (or the code itself), so I here is my starter guide to optimizing database performance.

Tips included in his post center around a different set of questions:

  • When should you optimize the database?
  • Think about profiling first, optimizing last
  • How EXPLAIN can find the big problems
  • When caching should be used

Some code is included, but only briefly since his point is more about the server than the client (script) side of things.

0 comments voice your opinion now!
database optimize technique explain cache profile


blog comments powered by Disqus

Similar Posts

Christopher Jones' Blog: Highly Scalable Connection Pooling in PHP

Developer.com: PHP 5 OOP - Interfaces Abstract Classes and the Adapter Pattern

O\'Reilly: Designing a database-driven PHP App? Don\'t Forget the Data!!

Community News: phpPgAdmin 4.1.1 Released

Eran Galperin's Blog: Profiling queries with Zend_Db and optimizing them by hand


Community Events

Don't see your event here?
Let us know!


community part2 language project laravel opinion application podcast symfony interview programming series list example introduction php7 framework yii2 api composer

All content copyright, 2015 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework