Community journal

The latest from the MySQL community

Ideas, releases, practical guides, and perspectives from the people building with MySQL.

Follow the feed
Showing entries 35951 to 35960 of 45505 « Previous | Next »
Salmiakki - the official MySQL Drink

The official MySQL Drink. How to make it:
Continue reading "Salmiakki - the official MySQL Drink"

I`m Going to Fosdem

thnx Christophe

MySQL MyISAM and Merge Tables Incompatibility - II

Few months back we noticed the incompatibility change related to MyISAM that was introduced in 4.1.23 and recent 5.0 and 5.1 MySQL versions which breaks when one wants to upgrade to 4.1.23 or latest 5.0 or 5.1 when the MyISAM or Merga table is created with 4.0 or earlier 4.1 version.

I reported a bug to MySQL team way back; and looks like they now pushed a patch to 5.1.

This happens even with Merge tables and looks like merge tables are overlooked in that bug report and I am not 100% sure if the patch fixes the merge table issue. This bug is triggered only when the MyISAM table is created with a key column and Merge is associated with …

[Read more]
Will next billion dollar open source acquisition come in 12-18 months?

Found this quote from Michael Tiemann on Matt Asay's blog:
"I would not be surprised to see another $1B deal of some sort in the next 12-18 months. The reason is simple economics...."
Will this come true? Very unlikely, especially within that time frame. Statements like this make MySQL's billion dollar acquisition look like a walk in the park. The reality is that MySQL is a leader in creating an innovative model that brings them pretty decent revenue. It has taken a lot of work from the leadership at MySQL to get it where it is.

So why is it 'simple economics'?
open source beats proprietary software as a development platform and as a value-delivery platform, and given how many millions of dollars companies are seeing wasted on proprietary software, it's only a matter of time before the majority …

[Read more]
How to check running queries and stats in postgres ?

You want to know what query is slowing the database or want to check what's going on with a query you
just run, well in mysql just need to type 'show processlist;', but in postgres you must enable two variables
to check this and other stats.

Edit your postgres.conf which should be on /var/lib/pgsql/data/postgresql.conf for *nix installations and add or change this:

stats_start_collector = true

This must be set to true for the statistics collector to be launched at all.

stats_command_string = true

This enables monitoring of the current command being executed by any server process. The statistics collector subprocess need not be running to enable this feature.


After restarting postgres the following query will show currently running queries

/etc/init.d/postgresql restart


…

[Read more]
The next $1 billion open source acquisition? Give it 12-18 months

Michael Tiemann's Cygnus Solutions held the open-source valuation record for nearly a decade at $674 million. A few weeks back, Sun broke that record by paying $1 billion for MySQL. So how long does Michael think MySQL will hold the record?

Not very long.

...I would not be surprised to see another $1B deal of some sort in the next 12-18 months. The reason is simple economics:

...

Why to Acquire? Random'ish thoughts on Yahoo

From Business Week:
http://www.businessweek.com/magazine/content/08_07/b4071000908736.htm

The quote that really brought my intention to the article was this:
Ballmer says: "Yahoo, the brand, will live."

What does this mean to me?

Microsoft is willing to dump $45 billion dollars into the market to take the second position. Technology? They do not care one bit about it. What Yahoo uses and develops is at odds with what Microsoft promotes.

Whether redirects to MS's front pages will last long term is an excellent question. I have some real doubts about that. It would also seem that Yahoo could take a number of directions to poison pill this.

Jabber Yahoo could move their IM to Jabber and open up the valves of the IM market. Effectively commoditizing the IM …

[Read more]
No Two Hash are Equal

I have almost always found that the Hsieh alogrithm for hashing turns out to be the fast. So this morning while waiting for a compile I popped it into Memcached to see what the improvement would be:

With Hsieh:
Testing generate_pairs 2.396 [ ok ]
Testing generate_data 5.100 [ ok ]
Testing get_read 5.491 [ ok ]
Testing delete_generate 4.587 [ ok ]
Testing generate_buffer_data 1.361 [ ok ]
Testing delete_buffer 0.880 [ ok ]
Testing generate_data 4.984 [ ok ]
Testing mget_read 1.817 [ ok ]
Testing mget_read_result 1.743 [ ok ]
Testing mget_read_function 1.782 [ ok ]
Testing cleanup 0.046 [ ok ]
Testing generate_large_pairs 0.390 [ ok ]
Testing generate_data 39.899 [ ok ]
Testing generate_buffer_data 0.058 [ ok ]
Testing cleanup 0.001 [ ok ]

With default:
Testing generate_pairs 2.405 [ ok ]
Testing …

[Read more]
Log Buffer #83: a Carnival of the Vanities for DBAs

Welcome to the 83rd edition of Log Buffer, the weekly review of database blogs.

Little things can make big differences. Archimedes (no blogger, but a very smart guy) said, “Give me a lever long enough and a fulcrum on which to place it, and I shall move the world,” and With CLUE as (Select * from Random_Thought ORDER BY Common_Sense DESC) proves him right with a story of leverage: “This story is how changing one character in a 300 line stored procedure removed 90% of the impact of the worst single query on the entire server.”

On Third Abnormal Form, Paul McMillan shows that in SQL Server 2005, …

[Read more]
PBXT & DBT2: Dubugging C/C++ 101

Yesterday I starting testing PBXT using the DBT2 benchmark. Following the implementation of durability and SELECT FOR UPDATE for the engine I was more interested in the benchmark as a test for stability and concurrency than performance. I was not disappointed...

Which bug first?

Well I immediately ran into 3 bugs. Isn't it funny how bugs often come in batches, which leaves you thinking: "Oh sh.. where do I start?". Here's my advice: start with the bug that is most likely to disappear if you fix the others!

A simple example, you have 2 bugs: an unexpected exception is occurring, and you're loosing memory. First look for the memory loss, because it may disappear when you fix the exception (because you may be loosing memory in the error handler).

Take things one problem at time:

Another thing: once you have decided for one of the bugs, stick with it (no matter how hard it gets) …

[Read more]