Showing entries 35721 to 35730 of 44876
« 10 Newer Entries | 10 Older Entries »
MySQL, JBoss, Zimbra...What is an open-source company worth?

A friend and I were talking about the relative valuations for open-source companies. Over on his blog, JBoss founder Marc Fleury had joked that, after seeing MySQL's valuation, he realized he clearly had "undersold."

But as it turns out, JBoss' valuation multiple was not much different from that of MySQL--which was snagged by Sun Microsystems this week for $1 billion.

The 451 Group is reporting MySQL's numbers as follows:

While MySQL has not disclosed revenue for 2007, it is believed that its revenue in 2006 was $34 million, up from $16 million in 2005 and $14 million in 2004. We estimate trailing 12-month (i.e., 2007) revenue to be about $48 million, and if we assume slightly slower growth in 2008, we get to about $65 million....Given that, it would …

[Read more]
Of Suns and...Dolphins?

Alright so I thought I might throw my $0.02 into the whole fanfare about Sun acquiring MySQL. I think it was a surprising but good move. Sun has a lot to provide, is likely looking to strengthen their platform, and appears to be committed to open source. While it remains to be seen whether their promise of keeping MySQL relatively unchanged still needs to be proven, I tend to believe that they understand the value of MySQL (they certainly should given the price tag) and would not do anything to jeopardize that. MySQL is, after all, the world's most popular open source database (according to MySQL, but I think that is still true).

This move I think is good for MySQL as well (maybe even better). For one, it seems like it would protect them for a buyout by a competitor. Now realistically, if Oracle bought out MySQL, the GPL'd parts of it would be forked off quite quick and the remaining alienated users would likely move to PostgreSQL or …

[Read more]
Database, Application and Middleware Wars
Sparse files

Read here how you can create them, how you can find them and what is the problem with them...

Shinguz's Blog (en): Sparse files

What is a sparse file?

"A sparse file is a file where space has been allocated but not actually filled with data. These space is not written to the file system. Instead, brief information about these empty regions is stored, which takes up much less disk space. These regions are only written to disk at their actual size when data is written to them. The file system transparently converts reads from empty sections into blocks filled with zero bytes at runtime." [1]

In other words: Files are not as big as expected.

With databases this can be seen often: For example the MySQL Cluster REDO log files are created as sparse files or some ORACLE tablespace files.

But first let us create such a sparse file:

 # dd if=/dev/zero of=sparsefile count=0 obs=1 seek=100G
 
 # ls -lah sparsefile
 -rw-r--r-- 1 oli users 100G 2007-10-24 11:18 sparsefile
 
 # df -h .
 Filesystem            Size  Used Avail Use% Mounted on …
[Read more]
The Trouble with Point Queries

Insertion and Queries

Databases are complicated beasts, but I’d like to focus on the storage engine, just the part that talks to the storage system, and doesn’t have to worry about SQL, etc.: just transactions, concurrency, compression, updates and queries.  In the next couple of blog entry, I’d like to just focus on updates (insertions and deletions) and queries (point and range).  (This delineation between the
front end and the storage engine is clearly architected in MySQL.) And in particular, I’d like to explore which features of a disk limit performance for which operations.

The question is how fast can these operations go?  Point queries are the slow ones, so let’s start with them first.  Suppose you have data on a disk—say a 1TB Hitachi Deskstar 7K1000.  It has a disk seek time 14ms and transfer rate of around 69MB/s [See tomshardware.com] Now imagine filling the disk with a …

[Read more]
O_DIRECT + EXT3 Update

A few days ago I wrote about O_DIRECT + EXT3 not working.

This is not a wide-spread problem, and may be isolated to 2.6.9. So, it makes sense that others who run O_DIRECT with EXT3 do not see the issue. I will use this post for future updates.

Ok here is the research that I did, and found the cause of my O_DIRECT problem

RHEL Bug ID Description
161985 O_DIRECT on RHEL v4 may not return correct number of bytes when concurrent I/O
178084 Last AIO read of a file opened with O_DIRECT returns wrong length
178720 O_DIRECT bug when reading last block …
[Read more]
Why buy an open source company?

As Mark Hinkle has already noted, The 451 Group recently published a brief on open source mergers and acquisitions, written by open source research director, Raven Zachary, and financial analyst Brenon Daly. It is a happy coincidence that the report was published the day before Sun announced its acquisition of MySQL.

Clearly the report does not take the Sun/MySQL deal into account, but this is clearly something that we are tracking on a long term basis. Expect some further and deeper analysis in the future to take in the MySQL deal as well as any others that follow.

Additionally, it …

[Read more]
Ranking in MySQL results

How can I have a ranking on a result with MySQL? The answer you can find here...

Shinguz's Blog (en): Ranking in MySQL results

A friend of me asked me long time ago: "How can I have a ranking on a result with MySQL?". Now I found some time to write it down:

Lets do first some preparation for the example:

 CREATE TABLE sales (
     id     INT UNSIGNED NOT NULL AUTO_INCREMENT PRIMARY KEY
   , fruit  VARCHAR(32)
   , amount DECIMAL
 );
 
 INSERT INTO sales
 VALUES (NULL, 'apple', 12.75), (NULL, 'orange', 1.89), (NULL, 'pear', 19.23)
      , (NULL, 'banana', 4.25), (NULL, 'cherry', 123.75), (NULL, 'plum', 23.15)
 ;


Now lets query:

 SELECT fruit, amount
   FROM sales
  ORDER BY amount DESC
 ;
 
 +--------+--------+
 | fruit  | amount |
 +--------+--------+
 | cherry |    124 |
 | plum   |     23 |
 | pear   |     19 |
 | apple  |     13 |
 | banana |      4 |
 | orange |      2 |
 +--------+--------+


Hmmmm...., this not yet what we want!

And now with ranking:

 SET @rank=0;
 
 SELECT @rank:=@rank+1 AS rank, fruit, …
[Read more]
Showing entries 35721 to 35730 of 44876
« 10 Newer Entries | 10 Older Entries »