CA BD NY
  • Categories

  • Recent Posts

  • User Services

  • RSS Apache Hacker

  • RSS CentOS Hacker

  • RSS miniCTO

  • Spam Blocked

  •  Subscribe in a reader

    Add to Google Reader or Homepage

    Enter your email address:

  • Our Tweets

  • Archive for the PHP Category


    Debugging a MySQL Issue with PHP Using XMP instead of PRE

    Published June 26th, 2009

    Recently, I was helping a co-worker debug a MySrQL issue with an old app that started breaking after the dev team switched the app’s textareas to TinyMCE editor.  Typically, for quick-and-dirty debugging sessions that we want to wrap in minutes, we use a simple dumpQuery() function in PHP that prints out any query used in [...]

    Understanding MySQL Query Cache for PHP Developers (Part I)

    Published December 13th, 2008

    Understanding MySQL Query Cache for PHP Developers

    Using SQL Directives to Control Query Performance

    Published November 9th, 2008

    How to use MySQL directives to enhance your query performance

    Using mytop to Interactively Monitor MySQL Processes

    Published November 8th, 2008

    How to use mytop and ajaxMyTop to monitor mysql processes.

    Beware of MySQL View Filtering in Your PHP Code

    Published October 31st, 2008

    Why MySQL VIEW filtering (i.e. applying WHERE clause) might be a bad for performance.

    Using SHOW FULL PROCESSLIST to Debug PHP Query

    Published October 30th, 2008

    How to debug MySQL queries using SHOW FULL PROCESSLIST and a comment trick.