On July 24 at 10 a.m. PDT, I will be delivering a Webinar on Advanced MySQL Query Tuning. I will focus on optimizing the common slow queries with group by and order by. Those queries usually create temporary tables and perform a “filesort” operation. I will show how to optimize those queries so that they will be running significantly faster, which will increase the application performance and decrease MySQL load.
I presented a similar topic in April at the Percona Live MySQL Conference and Expo 2013. This webinar, however, will be more advanced and will also cover some additional topics like “loose and tight index scan”. I will also show some real world examples and solutions for MySQL query optimizations.
You can register for the Webinar here. And that same link will let you register to view the recording of this webinar.
* * *
More info: Tuning MySQL queries and indexes can significantly increase the performance of your application and decrease response times.
Topics in this webinar include:
1. GROUP BY and ORDER BY optimization
2. MySQL temporary tables and filesort
3. Using covered indexes to optimize your queries
4. Loose and tight index scans in MySQL
WHEN: Wednesday, July 24, 2013 10:00am Pacific Daylight Time
Register now to reserve your spot.
I’m unable to ‘attend’ the webinar, but Id love to watch your talk. Please consider offering a youtube or download after the event, thanks!
Hi Paul, all of our webinars are recorded and available for playback anytime here: https://www.percona.com/webinars
Hope that helps.
Tom, Excellent 🙂 Thanks for the reply.
Hey Alexander, will you be scheduling more of these webinars?
I have 5 tables (amazon,ebay,opencart,sears,jet) I want common records from all table on first priority then common records from any of the two ya three tables tables then uncommon records.
my tables and data are as follows:
CREATE TABLE IF NOT EXISTS
amazon
(id
int(11) NOT NULL AUTO_INCREMENT,a_upc
varchar(50) DEFAULT NULL,a_sku
varchar(50) DEFAULT NULL,a_title
varchar(50) DEFAULT NULL,PRIMARY KEY (
id
)) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=3 ;
—
— Dumping data for table
amazon
—
INSERT INTO
amazon
(id
,a_upc
,a_sku
,a_title
) VALUES(1, ‘upc_a’, ‘sku1’, ‘title_a’),
(2, ‘upc1’, ‘sku_a’, ‘title_a_1’);
CREATE TABLE IF NOT EXISTS
jet
(id
int(11) NOT NULL AUTO_INCREMENT,j_upc
varchar(50) DEFAULT NULL,j_sku
varchar(50) DEFAULT NULL,j_title
varchar(50) DEFAULT NULL,PRIMARY KEY (
id
)) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=3 ;
—
— Dumping data for table
jet
—
INSERT INTO
jet
(id
,j_upc
,j_sku
,j_title
) VALUES(1, ‘upc1’, ‘sku_j’, ‘title_j’),
(2, ‘upc_j’, ‘sku_j_1’, ‘title1’);
CREATE TABLE IF NOT EXISTS
ebay
(id
int(11) NOT NULL AUTO_INCREMENT,e_upc
varchar(50) DEFAULT NULL,e_sku
varchar(50) DEFAULT NULL,e_title
varchar(50) DEFAULT NULL,PRIMARY KEY (
id
)) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=4 ;
—
— Dumping data for table
ebay
—
INSERT INTO
ebay
(id
,e_upc
,e_sku
,e_title
) VALUES(1, ‘upc_e’, ‘sku1’, ‘title_e’),
(2, ‘upc1’, ‘sku_e’, ‘title_e_1’),
(3, ‘upc_e_1’, ‘sku2’, ‘title1’);
CREATE TABLE IF NOT EXISTS
opencart
(id
int(11) NOT NULL AUTO_INCREMENT,o_upc
varchar(50) DEFAULT NULL,o_sku
varchar(50) DEFAULT NULL,o_title
varchar(50) DEFAULT NULL,PRIMARY KEY (
id
)) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=3 ;
—
— Dumping data for table
opencart
—
INSERT INTO
opencart
(id
,o_upc
,o_sku
,o_title
) VALUES(1, ‘upc_a’, ‘sku1’, ‘title_o’),
(2, ‘upc1’, ‘sku_o’, ‘title1’);
CREATE TABLE IF NOT EXISTS
sears
(id
int(11) NOT NULL AUTO_INCREMENT,s_upc
varchar(50) DEFAULT NULL,s_sku
varchar(50) DEFAULT NULL,s_title
varchar(50) DEFAULT NULL,PRIMARY KEY (
id
)) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=3 ;
—
— Dumping data for table
sears
—
INSERT INTO
sears
(id
,s_upc
,s_sku
,s_title
) VALUES(1, ‘upc1’, ‘sku_s’, ‘title_s’),
(2, ‘upc_s’, ‘sku_s_1’, ‘title_s_1’);