June 19, 2013

Comment: Blob Storage in Innodb

…Tony — Why store blobs in DB rather as opposed to plain files in a filesystem? I agree with you in general, but there are applications… data from the blob query just that single row from your blob table. What you achieve: 1) A single large file in the filesystem for that 1 InnoDB table that holds the blob. Queries…

Post: Data compression in InnoDB for text and blob fields

… 768 bytes of variable length columns (BLOB, VARCHAR, TEXT) in the index record, and the remainder stored in overflow pages.  COMPACT became the… the 20 byte pointer stored in the index page).  Based on our analysis 75% of the blobs stored in the table were over… the  dynamic variable innodb_file_format=BARRACUDA (don’t forget to set it in my.cnf!): SET GLOBAL innodb_file_format=BARRACUDA; One…

Post: Quickly preloading Innodb tables in the buffer pool

… go through .ibd file sequentially and inject pages in the buffer pool. This would make preload done using sequential file scan even if… tables) but it does not preload indexes in memory neither it does externally stored objects – BLOB and TEXT fields. If you would… use first query I mentioned because scanning potentially externally stored blobs will also scan Clustered key Anyway. Now, say you have…

Post: Real-Life Use Case for "Barracuda" InnoDB File Format

… some information about possible benefits from using new InnoDB file format but in this post I’d like to share some real…,5 hours of conversion we’ve got 58Gb data file and 30% drop in our I/O load. This was related to… to keep an entire PRIMARY index in memory (TEXT and BLOB fields are stored off-page in this format) and all our lookups…

Post: Adventures in archiving

…) -> BLOB for the intentions of using compress() ) compressed_row (The row format being set to compressed, ensure you have innodb_file_format… file adventures_in_archiving_data.sql (4GB) if it does not exist in the current folder. Subsequently loading the payload into the adventures_in… order by id desc limit 1; +———+ | id | +———+ | 1143883 | +———+ 1 row in set (2.04 sec) mysql> select id from compressed_row…

Post: Percona Server 5.1.50-rel12.1

…” file using ”innodb_expand_export”. (Yasufumi Kinoshita) remove_eol_carret – Implemented a MySQL client option to handle end-of-line in BLOB fields… end-of-line in BLOB fields in the MySQL client. (Sasha Pachev) Bug #640924 – Fixed a crash caused by innodb_doublewrite_file. (Yasufumi Kinoshita…

Comment: How to calculate a good InnoDB log file size

… innodb_additional_mem_pool_size = 20M innodb_log_file_size = 512M innodb_log_files_in_group = 2 innodb_log_buffer_size = 8M innodb…_logfile1 size to 5 MB InnoDB: Database physically writes the file full: wait… InnoDB: Doublewrite buffer not found: creating new InnoDB… you are using big BLOB or TEXT rows, you must set the InnoDB: combined size of log files at least 10 times…

Post: Announcing Percona Server for MySQL version 5.5.29-30.0

… been introduced for handling the XtraDB changed page tracking log files. In addition to the –debug build option for build-binary.sh… an INSERT or UPDATE statement containing BLOB values for a compressed table. This regression was introduced in Percona Server 5.5.28… had the same file name. Bug fixed #1111144 (Laurynas Biveinis). A server would stop with an assertion error in I/O and…

Comment: Cache Performance Comparison

… the max open files limit which exists in many operating systems while storing it as blobs in mysql would only use 3 file handles (or… gets something like 100.000 files in a single directory or more. A third thing is that storing in mysql you can have… can optimize searches using LIKE on a table with singlewords? In my case my search engine has extracted all unique searchwords…

Post: What to tune in MySQL Server after installation

…this question, and how many servers are where in wild which are running with default settings. …memory Innodb allocates for misc needs. innodb_log_file_size Very important for write intensive workloads … have update activity spikes however or work with blobs a lot you might want to increase it…