June 19, 2013

Post: How to recover table structure from InnoDB dictionary

… even .frm files is not an option: Table was dropped and innodb_file_per_table is ON Frm file corrupt, zeroed… | 1 | 0 | 738 | 4 | +———-+——+———————+———-+——+——-+———+ SYS_COLUMNS Table SYS_COLUMNS stores fields names and type information of the table. CREATE …

Post: Percona XtraBackup 2.0.7 for MySQL available for download

… tablespaces, separate undo tablespace, 5.6-style buffer pool dump files). Percona XtraBackup has implemented support for the InnoDB Buffer Pool… are copied by the log copying thread. Percona XtraBackup now stores the GTID value in the xtrabackup_binlog_info when doing…. Bug fixed #856400. Percona XtraBackup would leave stale xtrabackup_tmp* files in the datadir after applying incremental backups. Bug fixed #1079135…

Post: Virident vCache vs. FlashCache: Part 2

… hypothesis here is that time-based flushing allows the backing store to be written to at a more constant and, potentially… = barracuda innodb_buffer_pool_size = 4G innodb_file_per_table = true innodb_data_file_path = ibdata1:100M innodb_flush_method = O_DIRECT…_flush_log_at_trx_commit = 1 innodb_log_file_size = 1G innodb_log_files_in_group = 2 innodb_purge_threads = 1 innodb…

Post: Percona XtraBackup 2.1.0 'release candidate' for MySQL available for download

… tablespaces, separate undo tablespace, 5.6-style buffer pool dump files). Percona XtraBackup has implemented support for the InnoDB Buffer Pool… are copied by the log copying thread. Percona XtraBackup now stores the GTID value in the xtrabackup_binlog_info when doing…. Bug fixed #856400. Percona XtraBackup would leave stale xtrabackup_tmp* files in the datadir after applying incremental backups. Bug fixed #1079135…

Post: Connecting orphaned .ibd files

… system buffers are stored in a single tablespace. This is typicaly one or several ibdata files. A well known innodb_file_per_table… this particular server. As you can see secondary indexes are stored in actor.ibd as well. But where is space_id…_INODE, FIL_PAGE_IBUF_FREE_LIST FIL_PAGE_FILE_FLUSH_LSN 8 “the file has been flushed to disk at least up…

Comment: Why MySQL could be slow with large tables ?

… a table that is storing files for a web application. The table structure is as following and it stores uploaded files in many portions (fragments) of max. 4MB each: CREATE TABLE `files` ( `fragmentid` int(10) unsigned…. The ‘data’ attribute contents the binary fragments. Building the entire file at the end consists of just putting all the fragments…

Post: A recovery trivia or how to recover from a lost ibdata1 file

… they lost the ibdata1 file, where all the table meta-data is stored. Fortunately, they were running with innodb_file_per_table so… MySQL and provided the customer the credentials to upload their files. Then, I proceed. Loading the schema root@domU:/mnt/tables… above example, the table space id is “00 11″ as stored in bytes 0×24 and 0×25 (actually, 0×22…

Post: How innodb_open_files affects performance

… similar variable – innodb_open_files which defines how many files Innodb will keep open while working in innodb_file_per_table mode. Unlike… in .ibd files plus some space allocated in system tablespace. So if you create Innodb tables you better store some data in… as logical operation of opening file is rather fast on local file system – one can open/close file hundreds of thousands times per…

Post: Make your file system error resilient

… needs_recovery extent 64bit flex_bg spars e_super large_file huge_file uninit_bg dir_nlink extra_isize Filesystem flags: signed… filesystem data structures which may be affects one file will take out whole file system. I do not think these concerns are… total blocks, which is probably not needed for partition you store MySQL data on, as chances are MySQL server is only…

Post: MySQL File System Fragmentation Benchmarks

… performance for 10000 tables would be close. Innodb with innodb_file_per_table=1 had the following results: [root@DB10 ~]# for… is close, the difference is perhaps explained by the fact files needed to be constantly extended (meta data updates) and reopened… for MyISAM as well) – Innodb suffers fragmentation less if it stores different tables in different files.