Showing entries 37191 to 37200 of 44864
« 10 Newer Entries | 10 Older Entries »
MySQL Proxy: Tracking Parallel Queries

In the Enterprise Team we had the need to track how many connections to the MySQL server in parallel. By "used" I mean running queries and not just idling around.

And to make it more complicated we needed the information not just every few seconds (while true; do echo "SHOW PROCESSLIST" | mysql; sleep 1;done) but when it happens.

Proxy to the rescue we now have a script which tracks the global state of all connections going through the proxy and dump them to stdout when their state changes:

2007-08-28 21:39:55
  #connections: 20, #active trx: 3, max(active trx): 4
  [792] (merlin@merlin) (COM_QUERY) "SET autocommit=0" (state=started)
  [794] (merlin@merlin) (COM_QUERY) "SET autocommit=1" (state=started)
  [795] (merlin@merlin) (COM_QUERY) "SET autocommit=1" (state=started)
  • when the query comes in, we add it with its thread-id to the global table
  • when the query is done, we track …
[Read more]
Digging Mondrian

On Friday I committed code to 3.0 trunk to allow people to execute an MDX query on a Mondrian server and get the result back in a tabular format. This particular code to “flatten” an OLAP cube into rows was written by Julian Hyde, the lead developer and founder of Mondrian OLAP a.k.a. Pentaho analyses.

If you run the Pentaho demo on your box and then look at the Analyses sample, you could see something like this:

Suppose you wanted to get this exact data to work with, create analytical data, exports, … Well, now you have the option of doing it in Kettle:

What you do is create a database connection to the database that Mondrian reads from, hand it the location of the Mondrian schema (catalog). You then click on the MDX button in JPivot and copy the MDX query to the “Mondrian Input” step in Kettle. That’s all it takes.

You then can preview …

[Read more]
solidDB for MySQL 5.0.45-0077 is available

 

Solid has released 5.0.45-0077. New features include full support for prefix indexes and support for multiple NULLs on unique indexes. This release also has a number of bug fixes. For the full detailed list of bug fixes and enhancements, please see the ChangeLog. Check it out at http://dev.soliddb.com/download

What exactly is "Enterprise" software?

First of all, I'd like to start my first blog entry with a special thanks to Edwin De Souza from MySQL. I would not be blogging if it wasn't for his kind advice. Thanks!

Now to the subject in question. It seems like the word "enterprise" is now just a marketing term that really means nothing and its added freely to all sorts of software. Since we emphasize jbilling as an enterprise billing system, I'd like to clarify my understanding of what enterprise means, at least to me.

Common associations with the term are "large", "for businesses" or even "serious". Indeed, an enterprise application could be (and commonly is) all of the above. But it doesn't have to be. The software that runs the avionics of a plane can be very serious and very complex. Yet, it is not an enterprise application.

So, you can write very important, very complex and very advance software and still not be writing enterprise software. Enterprise …

[Read more]
What exactly is "Enterprise" software?

First of all, I'd like to start my first blog entry with a special thanks to Edwin De Souza from MySQL. I would not be blogging if it wasn't for his kind advice. Thanks!

Now to the subject in question. It seems like the word "enterprise" is now just a marketing term that really means nothing and its added freely to all sorts of software. Since we emphasize jbilling as an enterprise billing system, I'd like to clarify my understanding of what enterprise means, at least to me.

Common associations with the term are "large", "for businesses" or even "serious". Indeed, an enterprise application could be (and commonly is) all of the above. But it doesn't have to be. The software that runs the avionics of a plane can be very serious and very complex. Yet, it is not an enterprise application.

So, you can write very important, very complex and very advance software and still not be writing enterprise software. Enterprise …

[Read more]
Hi-Media to acquire Fotolog for approx. $90 million


Today, Hi-Media (HIM.PA), a French publicly traded company, has announced that it is acquiring Fotolog (my employer) for approximately $90 million in a 23% cash and 77% stock transaction.

Hi-Media was founded in 1996 and currently the Hi-Media Network is the French leader in interactive marketing and the third largest in Europe.

Last year, in April, we had 3 million members and 100 million photos. Today, the number is more than 10.5 million. We are also very close to reaching 300 million photos.

" …

[Read more]
MySQL Dump in Java

I started work on a Java class that mimics the functionality of the mysqldump command today.
My goal is to create a standalone application to begin with, but design the class such that it can be plugged into any other Java application requiring MySQL backup capability.

After completing the initial prototype of the dump_table method (minus blob support), I began to wonder what the performance would be like compared to the bundled mysqldump application (written in C).

As this was a prototype with no optimisations, the results were not that bad. The following figures were obtained from running both the C-based mysqldump and the MySQLDump.java app against a fairly large innodb …

[Read more]
ActiveRecord-JDBC 0.5 - simplified database configuration

ActiveRecord-JDBC 0.5 is now available. As mentioned earlier, one of the main features in this release is simplified database configuration for JRuby-on-Rails applications. From the release notes:

It is no longer necessary to specify :driver and :url configuration parameters for the mysql,  postgresql, oracle, derby, hsqldb, and h2 adapters.

This means that if you deploy a Rails application as a WAR file on GlassFish as described …

[Read more]
FrOSCon 2007



Last weekend saw the second installment of the Free and Open Source Software Conference (FrOSCon) in Sankt Augustin. The conference revolved around a rich schedule of talks, highlighting current topics in Free Software and Open Source. Moreover, Open Source projects took the opportunity to organize their own meetings or even their own lineup of events. Just like last year, the PHP usergroups of Dortmund and …

[Read more]
PHP: mysqlnd saves 40% memory, finally (new tuning options)!

mysqlnd saves memory. It consumes half as much memory as libmysql. This is what we have been convinced of. This is what we taught you. Then I tried to test it and made Andrey get nervous for a few hours… Meanwhile he is fine again and we can announce: mysqlnd saves memory, not only in theory, we tested it - we can proof it, can we?

The read-only variable trick

In theory it is so simple. libmysql is not part of PHP. If libmysql fetches any data from the MySQL Server, it puts the data into its own buffers. Then the data gets copied from the libmysql buffers into the ext/mysql resp. ext/mysqli data structures. Those data structures are “zvals“. “zval” is the name of the data structure that PHP uses internally - on the C level - to implement user variables. So, you have the data twice in memory: 1x inside the libmysql buffers and 1x inside …

[Read more]
Showing entries 37191 to 37200 of 44864
« 10 Newer Entries | 10 Older Entries »