I encountered this weird SQL error / anomaly.
I have 5 replication slaves with one master. On the master, an
insert statement was issued and it was replicated to all of the
slaves except to one which I will call weird_slave. The
weird_slave (MyISAM) complained that there was some SQL syntax
error. I checked the insert statement and it looks pretty
simple.
Also, the weird_slave has already been running for more than a
couple of months now and it has received some variation of the
insert statement.
I was thinking that the table could be corrupt and issued a check
table and everything returned okay.
So, the question is why would the weird_slave complain about an
SQL syntax error while the other slaves were okay with it. Sadly,
I could not reproduce the error again. Also, I've tried to
re-insert the same SQL statement on the weird_slave again and
again and it was accepting it without …
If you are new to MySQL and would like to get an overview about some best practices for securing a MySQL server and some commonly used backup techniques, consider attending this webinar (in german), held by yours truly. It will take place this Tuesday (2008-06-17) at 15:00 CEST - participation is free of charge! This is my first attempt to perform a webinar, I usually give talks in front of a live audience... Let's see how it goes.
Dave reports that IDC's latest report "Worldwide Standalone Open Source Software 2008?2012 Forecast: A Preliminary View" estimates that the stand-alone OSS market will grow from $1.73B in 2007 to $4.83B in 2012. That's a 23 percent annual growth rate to 2012 vs. 7.7 percent annual growth for the overall software market. Interesting to note that $4.8B represents 1.3 percent of the overall software market. The previous version of the IDC data suggested that stand-alone OSS spending would come in at 1.8 percent of the total 2011 market spending. (Don't try to reconcile the two figures, as forecasting is difficult and... READ MORE
It has been quite some time since the last 0.0.3 release, and now QOT 0.0.4 is finally available.
Here’s the ChangeLog of the new release:
- added ORDER BY analysis for index generation
- added an ORDER BY-specific rewrite (const-field removal)
- added ORDER BY-specific static checks (unoptimizable ORDER BY
cases)
- added table and field alias support
- improved error reporting
- fixed: bug 0000002: Segfault if query-file doesn’t start with
create database and use commands general
- fixed: bug 0000003: Segfault for queries that use table
alias
- fixed: bug 0000005: Various segfaults
- fixed: bug 0000006: crash with bigint, datetime, enum field
types
- minor output formatting improvements
- improved covering indexes gneeration algorithm
I was pretty excited when OpenLogic announced the Open Source Census. A key feature of the census was a tool that scanned respondents' servers to determine which open source products/packages were actually being used. Anonymous data from these individual scans was going to be shared with the public in order to revolutionize our understanding of OSS usage. This data-sharing would be very important for companies whose IT leaders don't know that they are using OSS. However, to date, only ~= about 1300 machines have been scanned. News from InfoWorld today that Microsoft has also sponsored the Open Source Census is... READ MORE
It’s been a while since the MySQL Management Plug-in 0.42 was released. Since then, I quietly updated it to version 1.0. The changes were very few; the biggest news was that the plug-in was certified by Oracle and added to OTN Oracle 10g Grid Control Extensions Exchange (see at the bottom).
I think the next version is due, as a few people have come back to me with some issues. The biggest was compatibility with Windows. Since I used the command line MySQL client, *nix and Windows shell incompatibilities were a major headache to solve, and I still couldn’t make it work reliably. I wanted to use DBI and DBD:MySQL, but it required installing and compiling Perl packages, which makes the deployment process very …
[Read more]
The event had an ominous start. Apparently, nobody among the
geeks who organized it had paid any close attention to the date
to see if it had any significance, and nobody noticed that it was
one of the dates when Italian football team was playing a game in
the European championship!
I was reminded of a similar case, during FrOSCon 2006, which was
held during the World cup. Lenz gave a speech in front of 5
people, all friends and colleagues! So we were afraid that we
could face a similar debacle.
Our fears were swept away when the event started, and the room
was filled in to capacity by a very dedicated audience, welcomed
by professor Giulio Concas, our generous host, who also
introduced a project on software quality metrics.
Domenico Minchella, a passionate Solaris ambassador, made a
convincing demonstration of ZFS crash recovery. He is never …
Most of the users who work with distributions such as: centos, fedora, redhat, etc use yum as a package update/installer. Most of them know how to do “yum update [packagename]” (to update all or [certain packages]) or they do “yum install packagename” to install certain package(s). But yum can do so much more. Here are some options you may find useful:
Following command will search for the string you specified. Generally this will give you all of the packages which has specified string in title or description. Most of the time you will have to look through a lot of output to find what you are looking for.
yum search string
Probably one of the most important options for yum is provides/whatprovides. If you know what command you need, you can find out what package you have to install in order to have that command available to you.
yum provides (or whatprovides) command
Folks, we're counting down the final hours of the survey! If
you're a MySQL DBA or developer, we'd love for you to take our
little survey. It doesn't take long to complete. Results will be
published in the summer issue of MySQL Magazine.
Have you surveyed?MySQL DBA & Programming Blog
by Mark Schoonover
Folks, we're counting down the final hours of the survey! If
you're a MySQL DBA or developer, we'd love for you to take our
little survey. It doesn't take long to complete. Results will be
published in the summer issue of MySQL Magazine.
Have you surveyed?MySQL DBA & Programming Blog
by Mark Schoonover