MySQL Backup Script has been around for a long time. I have
used it on and off for years but now I’ve needed to make
some improvements. This script is based on VER.
2.6 – http://sourceforge.net/projects/automysqlbackup/
Copyright (c) 2002-2003 wipe_out@lycos.co.uk.
I have added my own Copyright (c) 2010 mark@grennan.com –
http://www.mysqlfanboy.com/Files/automysqlbackup.sh.
But as the code says: This program is distributed in the
hope that it will be useful, but WITHOUT ANY WARRANTY;
without even the implied warranty of MERCHANTABILITY or FITNESS
FOR A PARTICULAR PURPOSE. See the GNU General Public
License for more details.
My improvements include:
# VER 2.6 Beta 5 – MTG – (2010-04-18)
# …
I get ask, by application developers, “how do you optimize MySQL”. I do lots of things that don’t really relate to a developer. I analyze the percent of queries are being pulled from cache for instance. What a developer can do to optimize the SQL they develop is a different questions. So here is a quick list of things applications developers should know about MySQL.
Explain will analyze your query.
This example shows the possible indexes (keys) that could be used and the index that was selected. 2,262 rows where selected and then sorted (Using file sorts) and one record was returned (limit 1).
mysql> explain SELECT 5/9*(temp_F-32) as t, 5/9*(dewpt_F-32) as td, speed_mps as spd, dir > where stn='KLDM' and date_time<'2010-02-12 18:15' and …[Read more]
I have uploaded my three presentations from the 2010 MySQL Users Conference in Santa Clara, California which was my 5th consecutive year appearing as a speaker.
- IGNITION – MySQLCamp for Oracle DBA – Volume I
- LIFTOFF – MySQLCamp for Oracle DBA – Volume 2
- 10x Performance Improvements – A Case Study
A full history of my MySQL presentations can be found on the Presenting page.
…
[Read more]I haven’t been blogging much about the changes in MySQL for a while. But the MySQL and InnoDB engineers have been doing a ton of work over the last couple years, and now it’s seeing the light of day, so it’s time to offer words of congratulations and appreciation about that.
I was holding my breath for a big-splash 5.5 GA announcement at last week’s conference, but I was wrong. Still, there’s a lot to talk about in 5.5, with a dozen or more substantial blog posts from the InnoDB and MySQL teams alone over the last week or so! Here are a few choice tidbits of the good, the bad, and the ugly.
InnoDB is the default storage engine
“No big deal,” I thought. “Serious users do this anyway.” But then Morgan Tocker pointed out that it really is a big deal. This is going to cause a sea change in the way MySQL is …
[Read more]
As far as I know, nobody who was at the MySQL User
Conference and lives in Europe has made it back home
yet!
Please leave a comment on this blog as soon as you get home. I am
interested to know...
My flight was yesterday, so I have the worst prospects. I am
booked on a flight for next week Wednesday (10 days delay)! No
joke! :(
Randy Kennedy at the New York Times covered the Seven on Seven event and my collaboration with Evan Roth which resulted in Surprise Me on WordPress.com. There was also coverage in BusinessWeek. Hat tips to Niall and Noel for some day-of bug fixes and debugging.
I haven’t been blogging much about the changes in MySQL for a while. But the MySQL and InnoDB engineers have been doing a ton of work over the last couple years, and now it’s seeing the light of day, so it’s time to offer words of congratulations and appreciation about that. I was holding my breath for a big-splash 5.5 GA announcement at last week’s conference, but I was wrong.
I’ve been keeping my eye open and my ears to the ground with
regards to the Oracle purchase of MySQL. I was waiting for the
O’Reilly conference to get a better idea of what might happen to
MySQL in the future.
After watching the presentations from the conference I can
conclude that from what I saw - people are still generally
worried about MySQL.
Those people are divided into two camps. On the left side you
have the people that say, Oracle has a lot of money and lets make
the best out of a bad situation. On the right side, you have
people saying that we should band around MySQL and continue
adding to the community version.
What I understood from Oracle is that they would like to continue
supporting MySQL and they would like to move MySQL into their
stack. Meaning that Oracle would like to be the main provider of
backup, monitoring and support - the areas where you can make
money around MySQL. You can think of …
I got a couple of questions and comments about OpenSQL Camp in the past week, and I thought it would be worth noting down the history, because I think there is some difference in perception and memory about this series of events. The following is only my point of view.
What is OpenSQL Camp?
I can say what I had in mind when I created the original event, but this is bigger than me, so I don’t get to dictate anything. I wanted a free technical event created entirely by and for a community of open-source databases, in an inclusive sense. Not created or heavily influenced by someone employed by a corporation whose job title includes the word “Community,” but really by a community themselves. There’s nothing wrong with Community So-And-So employed at a corporation, but they are by nature a liaison with that company, and it’s not the same thing. My original …
[Read more]