June 19, 2013

Comment: Falcon Storage Engine Design Review

…, which hasn’t happened yet. It’s worth noting that InnoDB allows a transaction to overwrite changes that are not returned… doesn’t even come close to working. With checksums, the InnoDB double page write might be a good thing to add…€™t materialize blobs unless the blob is referenced and doesn’t rewrite blobs during an update unless the blob itself has changed. Blobs are also…

Comment: Blob Storage in Innodb

… your blob table. What you achieve: 1) A single large file in the filesystem for that 1 InnoDB table that holds the blob… for indexing or searching. If you think you need multiple blob columns, then as Peter suggested, consider combining them into 1 blob and on the application side splitting up the blobs. That might not so easy either…

Post: Falcon Storage Engine Design Review

… to transparent gzip page compression which is being implemented for Innodb right now. [-] Tablespace per database You may notice right now… may end up in non-recoverable stage. This is why Innodb has “innodb double write buffer”. Jim does not believe this is… often. [+] Blob handling optimizations Jim loves BLOBs as his own child, so Falcon is optimized in Blob handling for example having direct blob writes…

Post: Data Corruption, DRBD and story of bug

… to InnoDB-plugin/XtraDB, but not to regular InnoDB ( i.e in MySQL 5.0) In short, if you use big BLOBS ( TEXT… blob and rolling back transaction twice ( on the same row) The keywords that diagnose you hit this bug is InnoDB: Serious error! InnoDB… let me reiterate my points: – if you have BLOB/TEXT fields in your InnoDB-plugin schema, it is recommended to upgrade to…

Comment: When should you store serialized objects in the database?

InnoDB, so having lots of null columns is not a reason to use E-Blob. Postgres is also very good at storing blobs… time, or between customer installations; b) the data in the blob is almost always retrieved, read, and updated all-at-once…: 1) the above-mentioned update cost: update an entire 1K blob to change one value; 2) complete inability to enforce meaningful…

Post: MySQL Server Memory Usage

… where – these are key_buffer_size, innodb_buffer_pool_size, innodb_additional_memory_pool_size, innodb_log_buffer_size, query_cache_size. If… of them still can have very large memory consumption Innodb Table Cache. Innodb has its own table cache in which meta data… have unbound memory requirements retriving result sets from remove queries. Blobs may require 3x time of memory. This is important if…

Comment: Falcon Storage Engine Design Review

… Cache: Yes I see it also improves row lookup speed. Innodb uses alternative approach with adaptive hash indexes. Two sizes: Right… would emphasize it in current Limits section though. Isolation Modes: Innodb, Oracle, PostgreSQL also support MVCC but frequently offer it in… may throw an error. Blob Handling: Just regarding your comment about blob materialization – Innodb also will only read the blob if it is accessed…

Post: When should you store serialized objects in the database?

… columns to serializing data and just storing it inside TEXT/BLOB columns. It seems that since then, the technique has gotten…-plugin simple operations like adding a secondary index on an InnoDB table require the whole table to be rebuilt (now just… I recommend? Josh Berkus (of PgExperts) calls this serialization E-blob. Much like EAV, he criticizes this as one of 10…

Post: Identifying the load with the help of pt-query-digest and Percona Server

…: 0 # InnoDB_IO_r_ops: 984 InnoDB_IO_r_bytes: 16121856 InnoDB_IO_r_wait: 0.001414 # InnoDB_rec_lock_wait: 0.000000 InnoDB_queue_wait: 0.000000 # InnoDB_pages…, probably selecting only the needed columns which could exclude the blob ones. Conclusion The only conclusion, I can make out is…

Post: What exactly is read_rnd_buffer_size

… – which are offsets for MyISAM and primary key values for Innodb or storing full data which is being retrieved (good for… length can be converted to fixed size (basically everything but BLOB/TEXT) MySQL can use read_rnd_buffer to optimize data… see how it really impacts performance both for MyISAM and Innodb.