MySQL's User Privileges Model for Access Control
MySQL Access Control is not just about giving your users access to the database by adding their login credentials to the User table. Beyond that there's another layer of access control, based on user...
View ArticleThe Pros and Cons of MySQL Table Locking
It's crucial to know when and how to perform table locking to achieve maximum benefits and avoid having your database slow to a crawl or grind to a halt. This article covers when and how to perform...
View ArticleRunning Commands Against Your MySQL Databases using PowerShell
Are you still using DOS batch files to automate MySQL tasks? It’s time for you to move up to PowerShell, Microsoft Window's newest shell scripting language. It has all the functionality of the .NET...
View ArticleAutomate MySQL Queries with PowerShell
If you're hosting your database(s) on a Windows Operating System, you may want to consider performing batch jobs using PowerShell, rather than DOS or Wsh scripts. Read on to learn how to create a...
View ArticleCreate MySQL Databases and Tables from a PowerShell Script
PowerShell is a great way to run select queries and stored procedures alike. Rob Gravelle shows you how to write your own function to execute queries against the database.
View ArticlePerform Routine Server Checks Using PowerShell
Database administrators tend to perform a lot of routine checks, referred to as sanity checks, on a daily, weekly, and monthly basis. Rob Gravelle shows you how to write some PowerShell scripts to...
View ArticleAutomate Database Backups with MySqlDump and PowerShell
One of the Database Administrator's most important duties is performing regular scheduled database backups. To this end, tools like mysqldump are indispensable. Now, with the introduction of...
View ArticleUnderstanding the MySQL Information Schema Database
The INFORMATION_SCHEMA database is where each MySQL instance stores information about all the other databases that the MySQL server maintains. It's the ideal place to lookup information, the data type...
View ArticleRestore Your MySQL Database from a Backup Using PowerShell
Rob Gravelle explores how to restore a MySQL database from backup using PowerShell commands.
View ArticleEmail Job Failures Report to DBA using PowerShell
MySQL introduced its own brand of job scheduling, called Events, in version 5.1. However, some Database Administrators (DBAs) feel that it isn't quite ready for prime time. This article presents a...
View ArticleHandling Slow Processes in MySQL
Viewing the process list is a key step in debugging many common server problems, including bottlenecks, poor performance, deadlocks, connection issues, and many others. In today’s article, Rob Gravelle...
View ArticleTesting Your MySQL Stored Procedures with MyTAP
If your MySQL database interfaces with applications or is used to generate reports then chances are good that it contains some massive stored procedures. In that case, you had better set up some type...
View ArticleA Case for (Occasional) Denormalization of MySQL Data
The result of slavish adherence to 3NF in database design can lead to over-engineering; the evidence of which include inflexible design schemas and cumbersome data retrieval. Rob Gravelle suggests that...
View ArticleThe Wonderful (and not so Wonderful) Things about MySQL Triggers
While useful in some contexts, database triggers are not the best option in every situation. There are times when a stored procedure is the preferred solution. The trick is of course, when to choose...
View ArticleChallenging MySQL Trigger Operations Made Easy
Rob Gravelle demonstrates how stored procedures can be used in conjunction with triggers to enhance their effectiveness. In doing so, he examines some of the limitations of triggers as implemented in...
View ArticleComparing TokuDB to MySQL 5.5 with InnoDB on Small Databases
Tokutek has developed a new kind of data structure called a Fractal Tree that is purported to achieve insertion rates of five to twenty times faster in large databases, as in 100 million rows and...
View ArticleMapping Data Types between MySQL and SQL Server
With respect to data types, MySQL and MS SQL Server have some important differences. Chances are that you’ll have to do some mapping to get the correct data when migrating from one to the other. To...
View ArticleComparing SQL Server and MySQL Functions
Rob Gravelle examines some of the challenges in porting your databases between MS SQL Server and MySQL. Today's article shows you how functions may require additional effort on your part to produce...
View ArticlePerforming Full-text Searches in MySQL 5.6
Some good news for MySQL users; version 5.6 includes native full-text support. If you’re not using MySQL, maybe this will be just the impetus you need to make the switch. In today’s article, Rob...
View ArticleAll About the MySQL 5.5 LOAD XML INLINE Statement
With version 5.5 of MySQL in full production, the LOAD XML statement greatly simplifies the task of importing data from an XML file into a MySQL table, without having to resort to a stored procedure....
View Article
More Pages to Explore .....