Quantcast
Channel: Databases – Sheeri Dot Org
Browsing all 42 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

MySQL Workbench “Clean up SQL” Feature

I was playing around with MySQL Workbench earlier in the week, and ran across the “clean up SQL” feature, which I thought was neat. Here’s a picture-based demonstration – you can click on the pictures...

View Article


Image may be NSFW.
Clik here to view.

A Tale of Two MySQL Upgrades

At the beginning of 2013, Mozilla’s MySQL databases were a mix of MySQL 5.0, Percona’s patched MySQL 5.1, Percona’s patched MySQL 5.5 and MariaDB 5.5. MySQL 5.1 was released in November 2008 – so at...

View Article


Upgrading from MySQL 5.1 to MariaDB 5.5

In my last post, a tale of two MySQL upgrades, a few folks asked if I would outline the process we used to upgrade, and what kind of downtime we had. Well, the processes were different for each...

View Article

Image may be NSFW.
Clik here to view.

Why does the MySQL optimizer not do what I think it should?

In May, I presented two talks – one called “Are you getting the best out of your indexes?” and “Optimizing Queries Using EXPLAIN”. I now have slides and video for both of them. The first talk about...

View Article

Query Reviews (part 2): pt-query-digest

Query reviews (part 1): Overview The 1st post in the series gave an overview of what a query review is and the value they can bring you. So now let’s talk about how one is done, specifically, how to do...

View Article


Cost/Benefit Analysis of a MySQL Index

We all know that if we add a MySQL index to speed up a read, we end up making writes slower. How often do we do the analysis to look at how much more work is done? Recently, a developer came to me and...

View Article

Image may be NSFW.
Clik here to view.

MySQL Marinate – So you want to learn MySQL! – START HERE

Want to learn or refresh yourself on MySQL? MySQL Marinate is the FREE virtual self-study group is for you! MySQL Marinate quick links if you know what it is all about. This is for beginners – If you...

View Article

Lesson 06: Working with Database Structures

Notes/errata/updates for Chapter 6: See the official book errata at http://tahaghoghi.com/LearningMySQL/errata.php – Chapter 6 includes pages 179 – 222. Other notes: At the end of the “Creating Tables”...

View Article


Lesson 07: Advanced MySQL Querying

Notes/errata/updates for Chapter 7: See the official book errata at http://tahaghoghi.com/LearningMySQL/errata.php – Chapter 7 includes pages 223 – 275. Supplemental blog post – ORDER BY NULL – read...

View Article


MySQL 5.7 InnoDB Temporary Tablespace – but why?

So, recently we had a runaway query eat up all sorts of temporary table space on our machines. Several machines had several terabytes in their ibtmp1 file after this happened. So I set out to find out...

View Article

Lesson 09: Managing Users and Privileges in MySQL

Notes/errata/updates for Chapter 9: See the official book errata at http://tahaghoghi.com/LearningMySQL/errata.php – Chapter 9 includes pages 297 – 350. In the fourth paragraph of this chapter,...

View Article

LDAP with auth_pam and Python to authenticate against MySQL

If that title looks familiar, it is because a few months ago I posted about LDAP with auth_pam and PHP to authenticate against MySQL. The good news is that recompiling the connector for Python is a lot...

View Article

Image may be NSFW.
Clik here to view.

Why does the MySQL optimizer not do what I think it should?

In May, I presented two talks – one called “Are you getting the best out of your indexes?” and “Optimizing Queries Using EXPLAIN”. I now have slides and video for both of them. The first talk about...

View Article


Query Reviews (part 2): pt-query-digest

Query reviews (part 1): Overview The 1st post in the series gave an overview of what a query review is and the value they can bring you. So now let’s talk about how one is done, specifically, how to do...

View Article

Cost/Benefit Analysis of a MySQL Index

We all know that if we add a MySQL index to speed up a read, we end up making writes slower. How often do we do the analysis to look at how much more work is done? Recently, a developer came to me and...

View Article


Image may be NSFW.
Clik here to view.

MySQL Marinate – So you want to learn MySQL! – START HERE

Want to learn or refresh yourself on MySQL? MySQL Marinate is the FREE virtual self-study group is for you! MySQL Marinate quick links if you know what it is all about. This is for beginners – If you...

View Article

Lesson 06: Working with Database Structures

Notes/errata/updates for Chapter 6: See the official book errata at http://tahaghoghi.com/LearningMySQL/errata.php – Chapter 6 includes pages 179 – 222. Other notes: At the end of the “Creating Tables”...

View Article


Lesson 07: Advanced MySQL Querying

Notes/errata/updates for Chapter 7: See the official book errata at http://tahaghoghi.com/LearningMySQL/errata.php – Chapter 7 includes pages 223 – 275. Supplemental blog post – ORDER BY NULL – read...

View Article

MySQL 5.7 InnoDB Temporary Tablespace – but why?

So, recently we had a runaway query eat up all sorts of temporary table space on our machines. Several machines had several terabytes in their ibtmp1 file after this happened. So I set out to find out...

View Article

Lesson 09: Managing Users and Privileges in MySQL

Notes/errata/updates for Chapter 9: See the official book errata at http://tahaghoghi.com/LearningMySQL/errata.php – Chapter 9 includes pages 297 – 350. In the fourth paragraph of this chapter,...

View Article
Browsing all 42 articles
Browse latest View live