Showing entries 37196 to 37205 of 44811
« 10 Newer Entries | 10 Older Entries »
MySQL DBA boot camp for Oracle DBAs

Got back from the MySQL DBA boot camp in San Francisco. Very nice one-day class, covered a lot. Kudos to Ronald Bradford; he did a great job of it. Good to get a free copy of the MySQL 5.0 certification guide and free passes to the certification exams. Now I have no excuse not to get certified… A lot of it I knew already (from having done this for some months now), but I especially enjoyed the section on tuning, and got some good tips throughout.

One question came up that is to the point of this site: where should an Oracle DBA start? Check out Ronald’s excellent and thorough answer at his site, in his post, “Learning MySQL as an Oracle DBA“. Certainly could not have said it better myself.

new direction for test development

I've been thinking about this today. My attempts thus far to write random queries which stress various parts of the server have worked, and served a purpose - but have been rather huge and clumsy.

For example a 5 union select, each comprising of 7 joins did have it's value.. The problem with huge random queries is simply that the results cannot be verified as easily as they were constructed (unless you run the same on various DBMS). These huge tests are mostly only good for checking if the server crashes.

Now, I wish to try write testcases that have these properties:

  • small
  • results are self-verified
  • each test is random, but reproducible given a seed value

Tonight I'll throw together a code-generator to do simple insert/select and post any interesting results here later.

MySQL Connector/Net 5.0.8 has been released

MySQL Connector/Net 5.0.8 a new version of the all-managed .NET driver for MySQL has been released.  This is a bug fix release for the current production branch of Connector/Net.  Version 5.0.8 is suitable for use with any MySQL version including MySQL-4.1, MySQL-5.0, MySQL-5.1 beta or the MySQL-6.0 Falcon "Preview".


It is now available in source and binary form from the Connector/Net download pages at http://dev.mysql.com/downloads/connector/net/5.0.html and mirror sites (note that not all mirror sites may be up to date at this point of time - if you can't find this version on some mirror, please try again later or choose another download site.)


We moved to a new installer technology for this release.  Please let us know what, if any, problems you have with it.

The full release announcement with change …

[Read more]
Add-On Services to Open Source

Stephen O'Grady, analyst over at RedMonk, has a good posting on how open source companies are coming up with new revenue streams based on automated services. As Stephen points out, we've gone from "How can you make money from open source?" to "How do you make more money?" With companies like Red Hat, MySQL and others, the first question has largely been answered. But there are many ways to skin a cat, so it's worth considering what additional ways open source companies can make money. Stephen gives examples of value-added services including Red Hat Network, Red Hat Exchange, MySQL Monitoring... READ MORE

PHP: mysqli_stmt_get_result()

Have you ever been annoyed about the input and output binding that is part of Prepared Statements? Prepared Statements have their room in PHP and MySQL[i] for some good reasons. Though, I recall that I didn’t like the output binding when I tried them for the first time. I wanted the good old mysqli_fetch_assoc() to be available. Last year in November someone, I think it was Lukas (but don’t blame me, if I’m wrong), suggested to implement mysqli_stmt_get_results() with mysqlnd.

By help of the new function, you can create a …

[Read more]
PHP: mysqli_stmt_get_result()

Have you ever been annoyed about the input and output binding that is part of Prepared Statements? Prepared Statements have their room in PHP and MySQL[i] for some good reasons. Though, I recall that I didn’t like the output binding when I tried them for the first time. I wanted the good old mysqli_fetch_assoc() to be available. Last year in November someone, I think it was Lukas (but don’t blame me, if I’m wrong), suggested to implement mysqli_stmt_get_results() with mysqlnd.

By help of the new function, you can create a …

[Read more]
Dormando's Proxy for MySQL, release 1

original post
second post

http://consoleninja.net/code/dpm/rel/dpm-r1.tar.gz - release 1 of DPM, tarballed sources. Also available via cloning git and tracking the 'release-1' tag

git clone http://consoleninja.net/code/dpm/dpm.git - to get the latest code, always
http://consoleninja.net/code/dpm/dpm-export.tar.gz - a tarball of the latest code, for those unwilling to git it.

I'd still call this a preview release, but it's too juicy to not release in some form. Early and often, right?

This is the first …

[Read more]
Dormando's Proxy for MySQL, release 1

original post
second post

http://consoleninja.net/code/dpm/rel/dpm-r1.tar.gz - release 1 of DPM, tarballed sources. Also available via cloning git and tracking the 'release-1' tag

git clone http://consoleninja.net/code/dpm/dpm.git - to get the latest code, always
http://consoleninja.net/code/dpm/dpm-export.tar.gz - a tarball of the latest code, for those unwilling to git it.

I'd still call this a preview release, but it's too juicy to not release in some form. Early and often, right?

This is the first …

[Read more]
LAMP App Monitoring



Sysadmins love top. Now it's time for mod_top. From the homepage:

mod_top is a production monitoring tool for LAMP applications with user interfaces modeled after the popular unix top. mod_top plans to support PHP, Perl, Ruby, Python, mySQL, Postgres, Apache1+2 on Linux.

 

mod_top is a PHP extension that is able to monitor PHP 4.4.x and PHP 5.x based applications. Sounds cool. Unfortunately it seems there's no source available, but the FAQ says that mod_top is free.

MySQL Backup & Recovery - Part 1

I realized recently from observation that some smaller websites which use MySQL do not have a working backup and recovery strategy. Some may have a backup approach but it will not work in a recovery. As part of a number of discussions on Backup & Recovery here is part 1.

Using straight ‘cp’ for Backup

Using ‘cp’ to simply copy your running database *DOES NOT WORK*. You may be lucky, but in a world of guarantees, this is no guarantee that your can recovery your system. Why is this so.

  • The data is not consistent during the backup. If it takes say 5 minutes to copy your files, they are copied probably in alphabetical order, what if data is written during the backup to a table starting with ‘A’ and a table starting with ‘Z’, the A file has already been copied.
  • When using MyISAM, Indexes are not flushed to disk unlike Table data. This means that while MyISAM has the facility of recover and …
[Read more]
Showing entries 37196 to 37205 of 44811
« 10 Newer Entries | 10 Older Entries »