Chris Nizzardini

Salt Lake City, Utah Developer / Human / Blogger

mysql

MySQL Optimization Tip: Checking for Differences in Queries.

I’ve been going through the MySQL slow query log at my new job to optimize our applications performance. It’s a bit more scary making changes when you’re the “new guy” because there are a lot of “gotchas” you haven’t quite figured out in the new platform. Well one of the queries that I wanted to [...]

, ,

Unscientific Benchmarking of Type Casting, is_numeric, and regex in PHP

I performed some unscientific PHP benchmarks today pitting casting to an integer against is_numeric against preg_replace. The point was to see which is the fastest way of quickly cleaning user input before passing to a SQL query to prevent against SQL injection. Obviously this would only work on database fields that are integers. To be [...]

, , , , , , , ,

MySQL Slow Query Log – Analyzing, Parsing, and Optimizing Slow Queries

Simple methods for analyzing and parsing information out of the MySQL slow query log and then optimizing the slow queries.

, , ,

MySQL Temporary Tables Example – Optimizing PHP Applications

Learn how MySQL temporary tables can optimize your web application.

, , , , ,

MySQL Trigger – How To, Example, Tutorial, and Syntax

How to create MySQL Triggers including examples, tutorials, and syntax on creating MySQL Triggers.

,

Enable or Disable MySQL 5.0 Slow Query Log Dynamically Without a Server Restart

There is a way to effectively disable the MySQL slow query log dynamically without restarting the mysql daemon. Find out how by reading this blog.

,

Random Musings on MySQL Order By Optimizations

Some ideas on improving MySQL ORDER BY. How to optimize MySQL ORDER BY and other MySQL musings.

,

MySQL INNER JOIN on Multiple Parameters and Condtions

How to Optimize MySQL for multiple parameters and conditions on JOINS statements. Learn how in this blog.

, ,

What is PDO Error HY093: Debug/Fix MySql PHP PDO Error HY093

What is PDO (PHP Data Objects) Error HY093? HY093 defines an improperly binded a data type. Learn about how to fix MySQL PHP PDO Error HY093 in this blog.

, , ,

Use MySQL HAVING to Get Past Error 1111 Invalid Use of Group Function

Learn how to fix MySQL Error 1111 – Invalid Use of Group Function in this blog post.

, , ,

Previous Posts