MySQL Forums
Forum List  »  Memory Storage Engine

Re: MEMORY FORMAT=DYNAMIC
Posted by: Ingo Strüwing
Date: February 16, 2007 04:56AM

Hi.

The memory pointer for blobs is an in-memory representation for record that is in works currently. In the data file the blob goes inline with the record.

Your idea sounds interesting. I added to our internal todo list:
"
Add a pointer to the fixed length record for every blob. Store the blob elsewhere. While records are stored bottom up in the tables memory pool, we could perhaps allocate blobs top down. The table is full when they meet in the middle. To reduce fragmentation, we could store the blobs in chunks of record size. Perhaps even link them in a chain so that fragments can be reused. OPTIMIZE could move lower fragments up into gaps so that more records can be added.

The charm of the idea is that we won't need to implement "real" variable length records. This should make things much simpler.
"
However this is just an idea. I don't know when we implement it nor if we implement it this way. Thanks for your idea anyway. If you want to implement it, you are welcome. See http://forge.mysql.com/contribute/ .

What is the problem with ndb blobs?

Regards
Ingo

Ingo Strüwing, Senior Software Developer - Storage Engines
MySQL AB, www.mysql.com

Options: ReplyQuote


Subject
Views
Written By
Posted
12524
December 12, 2006 07:02AM
6773
December 18, 2006 09:40AM
8045
February 15, 2007 08:49AM
Re: MEMORY FORMAT=DYNAMIC
6479
February 16, 2007 04:56AM
6247
February 16, 2007 06:52AM
6236
February 16, 2007 09:01AM
5631
April 17, 2008 09:41AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.