» Gabriel Harper's Blog
» Browsing posts tagged "mysql"
mysql
Browsing 7 posts tagged "
mysql"
Posted 2012-07-21 in Databases
Recently I had a website that was getting hammered with traffic. Every hit on the website requires multiple MySQL SELECT statements. While SELECTs are typically quite fast, the database in question has several million records. Upgrading hardware...
Posted 2012-07-17 in Databases
Every once in a while you want to add some text to a text field in a MySQL database, but it's not always convenient to invoke PHP for such a task. Wouldn't it be nice to use an SQL statement to take care of it for you?
Fortunately, there is just...
If you've ever tried to fetch all the tags for a Wordpress post in a single SQL statement, you've realized that tags aren't simply stored in an extra field in the posts table.
Wordpress post tags are part of the taxonomy system and have a...
I use a lot of different software in my job, but there are five software tools in particular that I can do nearly all of my Web development with. The best part is they are allcompletely free applications. You can download and install everything you...
This is a completely portable PHP script that fetches similar threads from a vBulletin forum. It does not require global.php or any other vBulletin scripts to run. The script uses full score matching, and supports search engine friendly URLs made by...
Posted 2009-04-12 in Databases
I was recently using phpMyAdmin to export some records from an URL shortener I'm working on. As usual I verified that "Complete inserts" and "Extended inserts" were enabled for the SQL dump. Why? Using both of these options reduces your SQL filesize...
Posted 2004-04-07 in Databases
Data modeling is the practice of representing data structures and their relationships through conceptual modeling. The benefits of implementing this process during the design phase of your database project include improved data integrity, a more...