I have written a bit in the past about using INFORMATION_SCHEMA tables, and I use them extensively in stored procedures for performing regular maintenance operations. There are a great many clever and useful things you can do with them. However, recently I have been noticing some performance issues using these tables that puts a damper […]
“Leap seconds” are starting to cause questions on our forums and in some bug reports because ‘2008-12-31 23:59:60′ will be the first leap second in the last 3 years. We have a short answer and a long answer.
The short answer is: it will only cause a problem if you
(
(
(a) arrange so your operating system returns the leap-second
value for MySQL to see,
or
(b) load the appropriate ‘leap second’ tables as described in our
manual,
)
and
(c) do something which uses the NOW() or CURRENT_TIMESTAMP at
precisely midnight UTC on December 31 (remember your local time
is not UTC time!).
)
or
use CONVERT_TZ() or FROM_UNIXTIME().
Even if those unlikely things occur, you can kludge the results next day. So don’t worry. My colleague Dmitri Lenev points out: there are leap -second geeks who are configuring their systems to have non-posix unix …
[Read more]Server Monitoring With munin And monit On CentOS 5.2
In this article I will describe how you can monitor your CentOS 5.2 server with munin and monit. munin produces nifty little graphics about nearly every aspect of your server (load average, memory usage, CPU usage, MySQL throughput, eth0 traffic, etc.) without much configuration, whereas monit checks the availability of services like Apache, MySQL, Postfix and takes the appropriate action such as a restart if it finds a service is not behaving as expected. The combination of the two gives you full monitoring: graphics that lets you recognize current or upcoming problems (like "We need a bigger server soon, our load average is increasing rapidly."), and a watchdog that ensures the availability of the monitored services.
|
I have finally uploaded the rest of my pictures from the OpenSQLCamp. They include some of the shots taken with Dups in Washington. For a detailed account of what happened, see On The Road With The Community. Some of my favorite picks: |
The "splendid effort" to create an application from scratch in 6
hours. They did not succeed, but what a …
|
|
I talked several times about partitioning usability. In my many tests of
partitioning I found myself in need of generating list of
partitions for a given range. I made the Partition Helper to scratch this particular itch, i.e. making partitions reasonably quickly and without thinking too much. |
The Partition Helper is a Perl script that converts some …
[Read more]With the delivery of MySQL 5.1 GA, our release policy sees a couple of changes in relation to that of MySQL 5.0.
First, initially we will deliver both MySQL Enterprise Server and MySQL Community Server in parallel. The bug fixes to the initial MySQL 5.1 GA releases will thus be delivered also in binary form for both MySQL Community Server and MySQL Enterprise Server.
Second, after a period of time, we will revert to the different release schedule for MySQL Enterprise Server and MySQL Community Server that we have been using. MySQL Enterprise Server will have more frequent binary releases. However, at this point, we do not have an exact date or a release number, when the first Enterprise only release will happen.
Third, we have done away with odd and even numbering. Whenever MySQL …
[Read more]A compilation of news of interest:
|
JSF 2.0 went into Public Review Draft and Jim has posted more entries in his series showing how to take advantage of the new functionality. In the first one, he describes how to write an AJAX-aware Editable Text Component - sources are here. The second is a SwitchList - sources for … |
MySQL 5.1 is here! It’s announced! And it’s time for the overall winner, Position 1 in the MySQL 5.1 Use Case Competition.
1. Greg Haase (Lotame Solutions Inc., Elkridge, Maryland, USA): Using Partitioning and Event Scheduler to Prune Archive Tables. See Greg’s DevZone article, and his blog.
Thanks and congratulations, Greg! I absolutely hope you are in a position to take advantage of your free MySQL Conference & Expo 2009 Pass, including a dinner with MySQL …
[Read more]
I saw Monty's latest rant and I told myself "here we
go again." I blogged before about deaf developers, and
here's another symptom of the same disease.
This is another case of a developer, a brilliant one, mind you,
one of the brightest in the open source arena, but a developer
nonetheless, who has a non-user oriented mindset and is
inflicting his view on the users.
I will stay clear of the reasons. Why the co-founder of MySQL
decides to spoil the party on release day and ambushes his
colleagues with a truckload of blame is beyond my
understanding.
What concerns me is the patronizing plea that Monty uses against
the users. "Don't use MySQL 5.1"? Really? What about the ones who
have already been using it for …
Hi all,
Today I'd like to continue a blog series in which I highlight Web application tutorials for NetBeans 6.5. A few changes have been made to tutorials, among which is the featuring of MySQL as the database of choice.
seventh entry in the series will cover the tutorial, "Using Page Fragments".
In this tutorial, you use NetBeans IDE 6.5 to create an application that includes two JSF 1.2 (Woodstock) page fragment components. One fragment holds the application's logo. The second fragment holds links for navigating between the pages in the application.
A new look to a popular tutorial. Cheers!
--James