Let us recap for the audience on how to back up MySQL, or at
least my favorite methods :)
1) Use Mysqldump
2) Shutdown the database or use an LVM snapshot method to back up
the physical bits.
3) Use replication in combination with method 2.
And the winner for me goes to number three. So why is that?
Its cheap, and in a lot of cases I see, its very possible. This
is the point where someone says, but I have 20 terabytes! I am
sure you do, and in this case you can ignore the rest of what I
am about to say.
One linux box with a bunch of disks with either one or multiple
instances all acting as slaves is a cheap solution. From the
point where you have a replication copy, you can make copies of
the database off to tape or just create vectors (aka Monday,
Tuesday, Wednesday... Friday one week ago) from the physical
database. With this method you get live snapshots, but you end up …
This is the long and rambling story of how an extemely inappropriate TShirt found its way to a MySQL social event attended by senior management. The offending item took a tortuous eight year journey from London to Zurich before achieving infamy, or at least for its owner. First, some background.
Originally, I'm from Essex, UK. I've lived in some of the more scenic parts of Surrey and some of the most happening parts of London. However, due to a gap in finances, I'd moved back to my parents' home in Essex. Well, after being independant for a decade, the transition was jarring. So, when a friend telephoned and asked me to house-sit in Brighton, East Sussex, UK, I leapt at the chance. Best of all, I had the place to myself.
Anyhow, I re-located in Brighton. Due to my lack of driving skills, I'd arrived by train with only the stuff I could carry. Due to the vaguries and temporary …
[Read more]There has been some confusion in the media in recent days, following some statements made by European Commission vice president Verheugen at a pro-patent propaganda event in Brussels. Verheugen’s remarks could be interpreted as signs of optimism that the EU Community Patent (a unitary patent for the Single Market) might materialize in the foreseeable future. However, at a closer look it seems that the Commission is already trying to position other legislative measures as the near-term priority. One of them is the London Protocol, which would bring down the language requirements for European patents, and the more important one is the European Patent Litigation Agreement (EPLA).
I have given some comments about this to ZDNet for this article.
…
[Read more]
I was taking math classes at Grossmont Junior College , and developed this
guide to help me stay focused on learning math. I showed it to my
instructor, and he started using it for his classes. I've kept it
up to date, even though I can't take classes at this time -
mainly due to my work schedule. So, I decided to share this out
on the web, maybe other students would find this handy. It mainly
applies to college math courses, but could be useable by high
school students as well.
If you're an instructor, you're more than welcome to us it in
your classes. Please include the copywrite information at the
bottom of the post. You can delete this intro paragraph!
Before Class
Prepare for your class by reading ahead, and working the examples in the book. Understand how the examples are solved. Use 3x5 cards to write down the …
[Read more]With all the recent buzz on Planet MySQL about using LVM to perform "semi-hot" backups of MySQL on Linux, I remembered that we once created such a Perl script for a server project that we worked on in cooperation with a hardware vendor. As this particular backup method was also mentioned and recommended in my talk about MySQL backup and security on Linux and the script hasn't actually been publicly available so far, I offered to take over the ownership and release it under the GPL. The first tarball release (0.1) is now available from …
[Read more]I’ll be giving my Introduction to Database Normalization with MySQL talk tomorrow at the Calgary Linuxfest at 11am.
Location is the University of Calgary ICT building.
Admission is free, so feel free to stop by.
LOL!
Some aftermath from the MySQL Users conference I attended just a
week ago: I just got some 'informative' mail from SCO, promoting their
SCAMP Stack (Google it if you like).
The mail contains a link to a promotional article, advertising the SCAMP stack.
Although I recall that SCO has bad standing due to them
instantiating a lawsuit against IBM and RedHat (among others),
claiming that these companies have violated a non-disclosure
agreement with SCO by donating UNIX code to the Linux community,
I read the paper anyway.
At the bottom, their article contains a graph comparing TCO …
A user just alerted me to an article in
LWN where community editions of various OSS products are
compared with certified editions. MySQL's certified edition came
out with 0 defects. According to the article, the report does
have a defect count for the community edition. That sounded
curious to me, since the certified edition is based on the
community edition of a major version, and then runs on a more
conservative release cycle that only applies critical and
security bugs.
Last year a Coverity report came out where a number of
defects were found, which were promptly fixed in our codebase and
so our community edition should be clean in this respect.
Interestingly, the reported new numbers match up with that
earlier report (0.224 defects per thousand lines of code vs. 1
defect per 4000 lines …