Database Journal
MS SQL Oracle DB2 Access MySQL PostgreSQL Sybase PHP SQL Etc SQL Scripts & Samples Tips Database Forum

» Database Journal Home
» Database Articles
» Database Tutorials
MS SQL
Oracle
DB2
MS Access
MySQL
» RESOURCES
Database Tools
SQL Scripts & Samples
Tips
» Database Forum
» Slideshows
» Sitemap
Free Newsletters:
DatabaseDaily  
News Via RSS Feed


follow us on Twitter
Database Journal |DBA Support |SQLCourse |SQLCourse2
 

MySQL management, tutorials, scripts, coding, programming and tips for database administrators

MySQL

Real-time MySQL Performance Monitoring 08/10/2017

A key part of keeping your MySQL database running smoothly is the regular monitoring of performance metrics. There are literally hundreds of metrics that can be measured that can enable you to gain real-time insight into your database’s health and performance. Several MySQL monitoring tools have been developed to make performance monitoring easier. In today’s article, we’ll use Monyog to measure a few of the more important metrics.

Navicat 12: An Overview 07/10/2017

Navicat Premium 12 is a robust solution that is geared towards DBAs who would benefit from being able to connect to multiple databases simultaneously as well as migrate data between them in a seamless and consistent way. Rob Gravelle reviews this product from the perspective of a MySQL developer who occasionally imports data from other database products.

Speeding up MySQL Data Imports 06/08/2017

Previous articles have described a way to overcome MySQL's import restrictions using the "proc-friendly" Load_File() and ExtractValue() functions. Now it’s time to take a step back and ask ourselves how to best load large amounts of external data into our MySQL database(s) as efficiently as possible.

Implement a Secure WordPress Search 05/08/2017

Rolling your own search is especially advantageous for WordPress sites that include a lot of custom post types. Rob Gravelle shows you how to build a query that searches by post_title and taxonomy metadata.

Working with WordPress Result Sets 04/10/2017

Whether you’re fetching a single row or an entire result set, WordPress offers plenty of array types to work with. Read on to learn how to employ WordPress’ $wpdb’s get_row() and get_results() methods.

Querying the WordPress Database 03/06/2017

You can easily work with WordPress without ever seeing the database, but should your site grow to a certain level of complexity, you will almost certainly have to get in there. In fact, if you’re especially knowledgeable about MySQL and SQL, you can gain some noticeable performance benefits from crafting SQL statements yourself. To that end, today’s article will give a brief overview of the WordPress database schema and how to execute queries against it.

Pivot Aggregate Counts on Months in MySQL 02/09/2017

A cross tabulation query is used to display the result of an aggregation on two or more fields. The trick to this type of query is the transformation of rows of data to columns. Follow along with Rob Gravelle as he creates a crosstab query for the Sakila sample database that counts the number of movie rentals for each customer aggregated by month.

Applying MySQL’s GROUP_CONCAT Function to Multiple Columns 01/09/2017

Rob Gravelle delves into the full syntax of the MySQL GROUP_CONCAT function and provides some guidance on how to use the GROUP_CONCAT function to chain together data from multiple columns in a way that’s both easy to read and parse with a script or application.

Why You Should be Using the MySQL GROUP_CONCAT Function 12/08/2016

Learn about MySQL’s GROUP_CONCAT function and, more importantly, how it just might change how you work with query result sets forever - especially if your database feeds an application.

Listing Duplicate Values by Group 11/10/2016

Without question, one of the most common tasks performed by Database Administrators (DBAs) is identifying and weeding out duplicate values in tables. Despite the inordinate number of queries written by other DBAs to locate duplicate values in their database tables, the real challenge is in locating a useable SQL statement to go by. Rob Gravelle presents a few solutions that will save you some time down the road.

Top 6 MySQL DBA Mistakes 10/10/2016

To err is human, or so the saying goes. Unfortunately, in the world of IT, innocuous mistakes made early on can lead to really daunting problems down the road. In today’s article, we’ll go over a few of the most common DBA mistakes to avoid. Some of these relate specifically to MySQL, while others may be applicable to any RDBMS.

Selecting the Top N Results by Group in MySQL 09/08/2016

A common business requirement is to fetch the top N rows of each group, for example, largest cities for each country. Unfortunately many solutions utilize non-MySQL vendor-specific functions. Rob Gravelle covers a couple of approaches that will work with MySQL.

MySQL Archives




Latest Forum Threads
MySQL Forum
Topic By Replies Updated
MySQL in high availability and transction secure banking application klamor 1 August 28th, 10:24 AM
MySQL rollback UAL225 1 August 28th, 10:15 AM
Browsing a DB file that uses MySql finleytech 1 July 26th, 10:51 AM
php cookie won't pass variable to next page ITdevGirl 0 June 22nd, 12:13 PM