Showing entries 40796 to 40805 of 44022
« 10 Newer Entries | 10 Older Entries »
MySQL 5.0 manages the bug turnaround

For the first time since the release of MySQL 5.0 the developers can keep up with the number of bugs reported: During May 2006 a total of 245 new bugs has been opened while 265 reports have been closed.

According to the MySQL Bug Statistics, that's the first month during which more bugs have been closed than opened, since MySQL 5.0 was announced production ready in October 2005. Before last month the number of open bugs had been increasing continuously.

The interesting thing is, that the turnaround wasn't only achieved because the rate of incoming bugs decreased during the last few months, but also because the rate at which reports could be resolved was steadily increased. This could be due to an improvement in bug handling and more work force assigned but also to the decreasing complexity of later bug reports.

This is definitely a major turnaround. There is …

[Read more]
PHP - Populate HTML Select Element

There is many ways to populate vales into a HTML select element. Here is one example I’ve come up with.

PHP Code Example

1
2
3
4
5
6
7
8
9
10
11
12
13
14
      <select size="1" name="szFooBar[]" multiple="multiple">
< ?php
$i=0;
while($obResults = mysql_fetch_row($saResults))
{
    if ($_POST['szFooBar'] == $obResults[0])
    { $szSelectedValue[$i] = " selected=\"selected\""; }
    else { $szSelectedValue[$i] = ""; }
 
    printf("<option value=\"%s\"%s>%s\n",$obResults[0], $szSelectedValue[$i], $obResults[1]);
    $i++;
}
?>                                                   
</select>

[Read more]
One worker in one country

A recent article at CNN talks about how MySQL operates.

As one of the MySQL team, I can attest that works, but it requires a significant amount of coordination, and lots of online communication through email, IRC, Skype and other methods to keep everbody talking and all the projects working together.

The flip side to that process is that we all get involved in different areas, and you tend to be much more aware of what is going on company wide. There is also better cooperation - because we can all get involved we can all provide our experience and expertise to a wide range of problems and projects. Also, because we come from such a wide range of backgrounds and environments, we have a much wider perspective.

So not only does remote, and earth-wide staffing work, but it provides us with a level of cooperation …

[Read more]
Lenovo to drop Linux support

Many of the MySQL team use IBM computers by preference to do their developing on; and I know that, for some, a lot of the reason was the support for Linux.

Now Lenovo owns IBM’s hardware business, but it seems they are dropping support for Linux (that’s a Slashdot link, because, as always, the comments are as interesting as the story).

read more

Call for Comments on MySQL Online Backup API

As some of you may already know, there are plans afoot (actually well underway) to standardize the myriad tools currently used to manage MySQL backup and restores into a generalized online backup API. Those regular readers of SysAdmin magazine will have noticed the excellent dual-part article by Thomas Weeks in the May and June 2006 editions. In both articles, Weeks hints at the online backup API in the works at MySQL.

One of the frustrations that MySQL DBAs currently have is the lack of a consistent, recommended backup strategy that is storage-engine agnostic. Currently, you have a wealth of choices which work best depending on your use of MyISAM, InnoDB, as well as the size of your data set and the downtime interval you can afford.

Greg Lehey, a senior software engineer at MySQL, has been tasked with the design and implementation of a generic online backup API for MySQL. …

[Read more]
the special level of hell

“reserved for child molesters and people who talk at the theatre”

(also Malcolm Reynolds if he takes sexual advantage of “Mrs. Reynolds”[1])

I’d like to add to that people who don’t merge their patches.

Special hell.

[1] If you don’t get the Firefly reference you haven’t watched Firefly enough. Go do that. Now. No, you can’t do work first. Firefly, now!

it’s also good to note that this is mostly tongue in cheek. although MERGE YOUR FRIGGEN PATCHES BEFORE PUSHING. Every time you don’t, a cute bunny and baby dies.

Help on the Windows Front

One of the things that MySQL is particularly good at it is supporting many different platforms, from Linux to Windows to Mac to really weird flavors of operating systems. In general, our documentation and, especially, our community ecosystem of authors and article contributions does tend to be heavily biased towards the *nix operating systems.

However, download statistics show that a significant (>40%) of MySQL Community Edition server downloads are for the Windows platform. My gut instinct is that a large percentage of these downloads are from developers who use Windows as their main development platform, regardless of whether their production platform runs on Windows.

Over the past six months or so, I have heard a number of complaints regarding the lack of quality articles and documentation that specifically focus on the Windows platform, from either an administrative or development angle. The MySQL forums for …

[Read more]
Do you MySQL 5? (.0.21)

Knoppix 5.0.1 available:
It looks quite nice, although some of the packages are very up to date and others are quite old. MySQL comes with 5.0.21, so there’s probably no distribution with a more recent MySQL version at the moment.

No Markus, Ubuntu 6.06 Dapper actually comes with 5.0.21 just as well. On June 1. And with their new Casper system, the CD you download is actually a LiveCD and an Install CD all rolled into one! 5.0.22 is a security release, for what its worth…

Get In The Middle Of A Chain Reaction! Part One

After reading about recursion and stack frames, I decided that I'd re-implement a computer strategy game. This fun game has various implementations and various names, including Chain Reaction and Atom Smasher. However, few, if any, have implemented a network version with the game logic written in MySQL stored procedures.

This strategy game is addictive, hard to describe and simple to play. The board consists of a number of territories. The objective is to win all of the territory. Players gain territory by placing counters in territories, one per turn. Once a territory is claimed by a player, a competing player cannot claim the territory directly. Instead, when a player's turn causes counters to exceed the number of adjacent territories then counters are redistributed among adjacent territories and the adjacent territory is gained by the player. (In some …

[Read more]
InnoDB thread concurrency

InnoDB has a mechanism to regulate count of threads working inside InnoDB.
innodb_thread_concurrency is variable which set this count, and there are two friendly variables
innodb_thread_sleep_delay and innodb_concurrency_tickets. I'll try to explain how it works.

MySQL has pluginable architecture which divides work between mysql common code
(parser, optimizer) and storage engine. From storage engine's point of view it works how
(very simplified):
mysql calls storage engine's methods:

read_row (there are a couple of methods like read by index or sequential read or random read);
write_row;
update_row;
delete_row;

At start of each of these methods InnoDB checks count of already entered threads,
and if this count is over innodb_thread_concurrency then the thread …

[Read more]
Showing entries 40796 to 40805 of 44022
« 10 Newer Entries | 10 Older Entries »