Showing entries 31871 to 31880 of 45395
« 10 Newer Entries | 10 Older Entries »
Nice MySQL Workbench Tutorial - Creating A MySQL Forum Database

For everybody interested, please check out this very descriptive tutorial written by Adrian ‘yEnS’ Mato Gondelle. It shows how to create a database schema design with MySQL Workbench.

If you have written your own tutorials or blog posts about MySQL Workbench please drop us an email and we might feature it on our blog.

Optimizer Edge cases

I love teaching EXPLAIN in training classes with the world.sql sample database. One of my favorite edge cases to try and explain to students is:

SELECT Name FROM Country WHERE continent = 'Asia' AND population > 1 000 000 000;



If you add an index on Continent,Population and Population, MyISAM will choose to use the composite index (Continent,Population), whereas InnoDB will choose just the Population index.

It's a simple geography question... all of the countries in the world with > 1B people *are* in Asia. Since both indexes are equally effective, InnoDB chooses to use the one with the shorter key_len, despite the fact it will have to do a second stage check on the data rows to verify this.

I think that this decision (shorter index) is the right one - since unless the database has index pinning, it should …

[Read more]
Optimizer Edge cases

I love teaching EXPLAIN in training classes with the world.sql sample database. One of my favorite edge cases to try and explain to students is:

SELECT Name FROM Country WHERE continent = 'Asia' AND population > 1 000 000 000;



If you add an index on Continent,Population and Population, MyISAM will choose to use the composite index (Continent,Population), whereas InnoDB will choose just the Population index.

It's a simple geography question... all of the countries in the world with > 1B people *are* in Asia. Since both indexes are equally effective, InnoDB chooses to use the one with the shorter key_len, despite the fact it will have to do a second stage check on the data rows to verify this.

I think that this decision (shorter index) is the right one - since unless the database has index pinning, it should …

[Read more]
Take poll on backup futures

If you haven’t done so already, please take the new quickpoll that’s on the MySQL dev zone.  We’re gathering feedback on what features you’d like to see most after the first cut of the new MySQL backup is released in version 6.0.

If you haven’t kicked the tires of the new backup yet, you can download it here.  And if you want to see the new backup in action, you can check out the article I wrote on it here.

Thanks for your feedback!

foss.my open for participation


What started as some chat about having a one-day event, after MyGOSSCon, on the 26th of September 2008, about open source, has turned into a full-blown conference, to be pulled off in about a month, affectionately known as foss.my. Its being held at APIIT from November 8-9 2008, and is touted to be the most technical conference of its kind in South East Asia.

We want people to participate as speakers, delegates, sponsors, or volunteers. This is a grassroots event, and its purely non-commercial - no vendor talks, or marketing gimmicks are permitted. Largely the motto is very foss.in/linux.conf.au-ish - both community events I truly enjoy going to, and wouldn’t miss for the world.

The …

[Read more]
Prolificity

I woke up today at 4:45 am, which is a completely worthless time to be awake. I lay there for twenty minutes tracking post-REM phosphenes and thinking random thoughts. Here's one of them.

The Planet MySQL aggregator ranks blogs according to 'activity', or number of posts in the last month. I typically care little for such things because unnecessary attention attracts unwanted expectation. However, were one to care about such things, this method of ranking favors those who tend to post like this:
Sunday, October 5
I broke my pencil but that's ok because I have another pencil.

Monday, October 6
I like Drizzle.

Tuesday, October 7
I like, drizzle.

Wednesday, October 8
I believe I lost my shoes, Clyde. I think the dog got 'em.

Free idea: Rank blogs using a Prolificity factor that …

[Read more]
Some Perspective on Recent Events

[This has nothing to do with the financial crisis or the McCain/FeyPalin ticket. Sorry.]

Last Wednesday began innocently enough. Philip's email to the Falcon team, "Regarding Falcon Recovery", lamented the lack of progress in fixing recovery bugs. He detailed specific failures that he was seeing, many of them new, and pointed out that that the number of recovery bugs was increasing. He closed with"All of this means that the recovery problems must be tackled immediately and head-on. A database without functioning recovery can be at most alpha-quality software."He was, of course, absolutely right. The lack of reliable database recovery is like flying with non-locking landing gear, so we took a hard look at the problem.

Then all hell broke loose.

Falcon Recovery …

[Read more]
Sebastian visits Sydney! Quality Assurance in PHP Projects

Back on popular demand, Sebastian Bergmann will teach his 3-day workshop Quality Assurance in PHP Projects in Australia again! It's scheduled 8-10 December in Sydney.

Many applications using MySQL are written in PHP... this three-day workshop will introduce/update PHP Developers to writing unit tests for the backend and system tests for the frontend of a web application as well as managing the quality from development to deployment and maintainance using tools such as PHPUnit, Selenium RC, phpUnderControl, PHP_CodeSniffer, and …

[Read more]
Using the event scheduler to purge the process list



Two of the most common tasks for database administrators are cleaning the process list from unresponsive queries and remove idle connections that are filling the connection pool.
Both tasks are related to poor usage of the database. In a perfect world, users would only run queries designed, tested, and benchmarked by the DBA or the project manager, and the application servers would never allocate more connections than planned.

But users are human, and an unpredictable amount of unplanned events can happen everywhere. When I was consulting, the above cases were quite common.
Before MySQL 5.1, the only method to clean up the process list was by hand, or using a cron job to do it from time to time.
MySQL 5.1 …

[Read more]
Open Query goes Eventum

I didn't really evaluate other issue tracking tools this time. I know Eventum from my time at MySQL when it got acquired from Joao Prado Maia. It's currently maintained by Bryan Alsdorf (lordrashmi on Freenode IRC #eventum) who is very helpful. It works well, it has a pretty decent user interface, I knew it would do the job for OQ, and I got a local company (with Eventum experience) to do the necessary customisation and integration stuff.

So now any incoming general mail or form ends up there, which properly removes me (and my inbox) as a communication bottleneck for Open Query's effective growth. It also allows everybody (including myself) to work more efficiently, since tasks have a clear status and "owner" that is not dependent on email tagging, flagging or location. Threads and issue can't just get lost - not that they were, but it takes time, effort and brainpower to make …

[Read more]
Showing entries 31871 to 31880 of 45395
« 10 Newer Entries | 10 Older Entries »