Quantcast
Browsing all 151 articles
Browse latest View live

New Query Optimizer Features in MySQL 5.6

One of MySQL 5.6's many optimizations apply to the processing of queries that contain subqueries. These involve transforming a subquery into a semi-join operation, and then treating it like just...

View Article


MySQL General Security Tips

Ease of use and speedy performance are just two of the many features that make MySQL one of the most popular databases in use today. Unfortunately, a high adoption rate makes MySQL a target for many...

View Article


MySQL Cursors and Loops

A loop is a programming construct that executes a block of code repeatedly based on a condition. Cursors, on the other hand, are utilized to process each row returned by a SELECT statement. Read on to...

View Article

Perform Row Operations Using MySQL Cursors

Robert Gravelle explores the use of cursors and their role in stored procedure programming.

View Article

Using the InnoDB Memcached Plugin with MySQL 5.6

The MySQL 5.6 memcached plugin for InnoDB uses a daemon that automatically stores and retrieves data from InnoDB tables, without the overhead of SQL. Rob Gravelle goes over some of its uses and benefits.

View Article


Three Handy MySQL Numerical Functions

One of the tenets of Third Normal Form (3NF) database normalization is that calculations should not be stored in a table. In MySQL, calculations are made easier by a number of built-in functions. In...

View Article

DIY Number Rounding For MySQL

Although MySQL does provide its own Round() function, for those times that it doesn't provide the results that you're looking for, you'll be happy to know that implementing your own rounding function...

View Article

Locating Instances of a Word or Expression within a MySQL Database

Most of us have to take care of a database that we don't know like the back of our hand at some point or another. Should you have to look up a value it helps tremendously to have the capability to...

View Article


Rounding Down, Bankers Rounding, and Random Rounding in MySQL

Over time, applying the same rounding algorithm to many numbers can lead to a condition known as rounding bias. Rob Gravelle presents some rounding implementations in MySQL that attempt to eliminate...

View Article


Converting Between Data Types in MySQL

There are a lot of occasions for converting one data type to another in MySQL. All of these can be achieved using MySQL's native CONVERT() and CAST() functions. Read on to learn how to use both.

View Article

Assigning Roles to MySQL Users

Ever since Oracle became the owner of MySQL when it acquired Sun Microsystems in 2010, improvements to the software haven’t been as forthcoming as one might hope. There still doesn’t seem to be...

View Article

Importing XML Data into MySQL Tables Using a Stored Procedure

In theory, it would seem that a stored procedure would be the perfect vehicle for importing XML data from a file, and yet, the LOAD XML INFILE statement cannot be run within a Stored Procedure....

View Article

Enhance Your MySQL XML Import Procedures using Prepared Statements

In the Importing XML Data into MySQL Tables Using a Stored Procedure article, Rob Gravelle outlined some ways to work around MySQL's restrictions on stored procedures to import XML data into your MySQL...

View Article


Importing XML, CSV, Text, and MS Excel Files into MySQL

For MySQL administrators who would rather not write and maintain their own import code, there are tools that can markedly simplify the importing of data from various sources. Rob Gravelle demonstrates...

View Article

Importing Into MySQL from Other Databases

Importing into MySQL from databases of different types is challenging because vendors have their own proprietary tools and SQL extensions. Rob Gravelle presents some software products that can abstract...

View Article


MySQL Numeric Overflow Gotcha

Rob Gravelle highlights a gotcha related to MySQL's overflow handling of numeric values that are outside the permissible range of the column data type.

View Article

MySQL Date Gotchas

Rob Gravelle explores the perils of working with dates in MySQL.

View Article


MySQL Goes Mobile: A Roundup of Popular MySQL Mobile Apps for iOS

Being one of the most popular databases on the planet, MySQL administration has been made a whole lot easier thanks to a number of new mobile apps. Rob Gravelle picks out some of the more promising new...

View Article

Manage your MySQL Data on the Go with Navicat Cloud and iOS

Gone are the days that a Database Administrator (DBA) spends his or her time between a desktop workstation and database server(s). Today, DBAs require tools that will allow them to perform...

View Article

An Overview of the MySQL Performance Schema

MySQL's Performance Schema provides a way to troubleshoot a lot of common performance issues without having to rely on specialized third-party solutions.  The fact that it uses regular SQL is also a...

View Article
Browsing all 151 articles
Browse latest View live