Correction on the INSERT DELAYED
In slide
20 I have mentioned that the INSERT DELAYED statement can
increase performance on the slave. This is wrong, since the
DELAYED keyword is ignored by the SQL thread on the slave server.
The INSERT DELAYED statement can increase the overall performance
of an application since the control is returned to the client as
soon as the row is queued into the list of inserts to execute.
The INSERT DELAYED can be used with MyISAM, MEMORY and
ARCHIVE.
Q from Filip: Does master & slave have to be the same
db-version, and the same Operative system?
Not necessarily, you can have different versions and operating
systems
Q from Danilo: Is there a way to load a backup from the
master without locking tables or shutting down the master
database?
Using Innodb, you can use mysqldump to
produce a consistent backup without locking the …
Note: I've edited this post and updated it with more
information / fixed some grammatical errors.
Note 2: Sorry to the planetmysql crowd reading this. I can't seem
to find a way to make it not show up.
Late last year, I started volunteering for couchsurfing.com. I
knew they were suffering from database problems, and I knew that
I could help.
I spent a week at the collective in New Zealand, and I helped add
a few indexes here and there, but I've never really involved
myself as much as I would like to, past the point of diagnosing
what problems need to be fixed. I proposing a few potential
solutions, but it bugs me at times that I'm not more
involved.
This gets me to my point; there are some things I don't like
about the project. I mostly keep quiet about them, because
couchsurfing.com achieves more good …
Before we can install MySQL using bitkeeper, we need certain
tools to be installed.
Download Bitkeeper Client
From Sunfreeware.com
- Install wget-1.10.2-sol10-x86-local .
- Install gcc-3.4.6-sol10-x86-local or
libgcc-3.4.6-sol10-x86-local.gz
- Install libiconv-1.11-sol10-x86-local (required for gcc)
- Install openssl-0.9.8e-sol10-x86-local (required for
wget)
- Install make-3.81-sol10-x86-local (required for
bk-client)
After downloading the above packages, navigate to the directory
and then run
gunzip *.gz
Now you can install the packages one by one.
pkgadd -d libiconv-1.11-sol10-x86-local
# this will install SMCliconv
pkgadd -d gcc-3.4.6-sol10-x86-local
# installs SMCgcc
pkgadd -d …[Read more]
So I've been using Virtual PC 2007 since it was released but was always frustrated with its inferior Linux support. I don't really understand why Microsoft drags their feet on this. With more and more devs moving to vm only development, it's getting easier and easier to change your host platform and still development for Windows. I'm sure Microsoft would much rather you run Windows as your host platform and run Linux in a vm when you need. I've tried VMWare Server but since I run Vista x64 as my host, that's more pain than I really like.
Enter VMWare 6. Sure it installs and runs on Vista x64 like a champ and performance seems great but what really blew me away was the multi-monitor support. I've been using twin 19" monitors for nearly 2 years now and I simply can't imagine life without them. Folks I kid you not. It was easier to get Ubuntu running on two monitors using VMWare 6 than it was …
[Read more]MySQL Table Checksum 1.1.0 adds many improvements, but the most important is a new way to ensure slaves have the same data as their master. Instead of checksumming the slave and the master, it can now insert the checksum results directly on the master via an INSERT.. SELECT statement. This statement will replicate to the slave, where a simple query can find tables that differ from the master. This makes a consistent, lock-free checksum trivially easy.
There are also many other feature improvements and bug fixes, compatibility with MySQL 3.23.2 through 6.0-alpha, and finally I've gotten the documentation finished to my satisfaction.
Since I have been writing these days about working with MySQL on
Solaris 10 virtual machine on Mac Book, I thought why not blog
about a very cool offer by Sun. As a part of their media kit
program, you can get a free Solaris 10 DVD of your choice. The choices
you have are:
1. Solaris 10 Operating System and Sun Developer Tools, or
2. Solaris Express, Developer Edition for x86 systems.
With one request, you can request as many as 9999 licenses. What
a great way to market your product. For those who would be
interested in installing Solaris 10 for your Mac, this is a good
opportunity so you can have a copy of Solaris 10 on DVD.
This is a very cool and smart move by Sun. There are certainly
lessons to be learned here for other open source companies like
MySQL.
One thing I am wondering about is that whether …
The slides for my innotop presentation at the recent MySQL Conference have been posted, along with other presenter's slides, on the conference presentations page. Love that stock photography!
BarcampBrussels 3 is over. By popular Demand I gave the Squeeze the most out of MySQL talk.
I've placed the presentation about MySQL online. As I only had a good 20 minutes there are more slides in the presentation than you've actually seen.
Now that I am happy with my Solaris 10 virtual machine running on
my Mac Book, I can proceed with installing (compiling) MySQL on
it. However as you can expect, the default Solaris 10
installation doesn't install cc compiler by default. We can
confirm that if the following error message is displayed when
running we run cc on Solaris 10 console:
bash-3.00# cc
/usr/ucb/cc: language optional software package not installed
What this means is that we need to install Sun Studio 11 from
Sun site. Before downloading you need to be
logged in. The download file studio11-sol-x86.tar.bz2 is about
332.6MB.
Once you have it installed, check the checksum and then proceed
with decompressing the Sun Studio 11 bz2 file. Note I used the
very verbose and keep option. You may or may …
Solaris 10 currently does not support the RTL8029 network driver
to be emulated in virtual machines. In order for us to have
RTL8029 support on a Solaris 10 virtual machine, we must install
the RTL8029 network adapter driver. This driver can be configured
manually or by running the network.sh script. When Solaris 10
virtual machine is running, we need to connect vmtools.iso to the
CD/DVD ROM drive of Solaris 10 machine. To do this, go to Devices
/ CD/DVD ROM / Connect Image.
Now browse to Library / Parallels / Tools / vmtools.iso and click
open. Then browse to /cdrom/prltools/drivers/network/solaris and
run network.sh.
At this point, you should be able to ping your favorite website …