Showing entries 41631 to 41640 of 44937
« 10 Newer Entries | 10 Older Entries »
How to avoid unique index violations on updates in MySQL

There is a bug in MySQL that causes an UPDATE to fail with a unique index violation, even though the statement doesn’t create duplicate values. In this article I’ll explain when this bug can happen, and how to work around it. The bug This is easiest to demonstrate with SQL: create table t (i int not null primary key); insert into t(i) values (1), (2), (3), (4); update t set i = i + 1; -- ERROR 1062 (23000): Duplicate entry '2' for key 1 The bug is caused by MySQL’s method of updating the values.

Serendipity 1.0

Garvin Hicking has released Serendipity 1.0 today.

Congratulations to Garvin and his contributors! Thank you for the best blogging software there is!

Serendipity 1.0

Garvin Hicking has released Serendipity 1.0 today.

Congratulations to Garvin and his contributors! Thank you for the best blogging software there is!

New Documentation Developments

For those interested, there is now a Spanish translation of the MySQL Reference Manual online:

http://dev.mysql.com/doc/refman/5.0/es/index.html

In addition, the Connector/ODBC documentation has been re-worked, you can see it at:

http://dev.mysql.com/doc/refman/5.0/en/myodbc-connector.html

Invitation to join the Hamburg MySQL User Group Meeting on July, 3rd

If you happen to use MySQL and live around Hamburg, Germany, here's your chance to meet with other MySQL users, developers and DBAs: I am happy to announce the second Hamburg MySQL Usergroup Meeting, which will take place on Monday, 3rd of July, 19:00. The location will be the same one as last time, the chinese restaurant Ni Hao in Hamburg-Wandsbek.  The food there is quite excellent and they will provide us with a separate room and video projector again. I'll try to arrange a presentation about MySQL and there will be plenty of time for chatting and discussing. If you'd like to join us, please RSVP via our event page on meetup.com and join the mailing list for further details! Looking forward to meeting you! Some pictures of our last meeting are available …

[Read more]
Now What's that connection string again?

This might be handy

Jeroen Swart, one of the most capable and knowledgable Microsoft .NET Professionals I know, provided me with a pointer to www.connectionstrings.com. This site lists connection string formats for a whole bunch of databases. Of course, Oracle, MySQL and MS SQL are there, as are Postgres and DB2.

But what about Mimer? Lightbase? Right, that's why you might visit them.

Actually, there are also some products missing, like HSQL and SQLite and what have you. And they could pick a nicer Icon for MySQL. Otherwise, handy site.

FreeBSD tests

I'm continuing my experiments with different OS and today I tested FreeBSD 6.0 on my box.
(more details about box and benchmark see here http://www.mysqlperformanceblog.com/2006/06/13/quick-look-at-ubuntu-606/).
Initially I was very pessimistic about FreeBSD, as results were (in transactions/sec, more is better.
for comparison the results from Suse 10.0):

InnoDB
threads FreeBSD 6 Suse 10.0 Suse/ FreeBSD ratio
1 436.97 536.91 1.23
4 322.08 816.27 …
[Read more]
A day in the life of a MySQL documentation team member

As I mentioned here, I?m a member of the documentation team at MySQL, a job I started back in April. I?ve just completed a major tranche of documentation, and thought it would be interesting to let you guys know exactly what happens in a typical day for a member of the documentation team.

read more

Silly copyright proposal in Australia

There are some proposed changes in the Australian copyright law that are just too weird.

Australia has its newish free-trade agreement with the US, and so is now harmonising some of its laws. Unfortunately, things are being tightened without the corresponding "fair use" clauses that are part of the equivalent US legislation, and some flawed US stuff like the DMCA is also finding its way into the Australian proposals... laws have a fairly long cycle. The DMCA may get fixed at some point, but a new Australian law will take years again to pick up any such changes.

So, about the new copyright proposals:The proposed changes include allowing individuals to record a television program but only allowing a single viewing before it must be deleted.
The proposed laws also make it illegal to lend recorded programs to friends …

[Read more]
How to re-index a large database table

In recent articles I explained how I've optimized queries on some large tables at my current employer, and how I've written archiving and purging jobs to trim the tables down to a manageable size. This article explains how I re-indexed some of those tables without taking the server offline.

Showing entries 41631 to 41640 of 44937
« 10 Newer Entries | 10 Older Entries »