June 20, 2013

Comment: Finding out largest tables on MySQL Server

… the same either. The true size of the table is increasing and I can not seem to find records getting deleted…: 10 Row_format: Compact Rows: 14898977 Avg_row_length: 150 Data_length: 2237661184 Max_data_length: 0 Index_length: 0 Data_free: 0 Auto_increment: NULL Create_time…: 10 Row_format: Compact Rows: 15120698 Avg_row_length: 147 Data_length: 2237661184 Max_data_length: 0 Index_length: 0 Data_free: 0 Auto_increment: NULL Create_time…

Post: Troubleshooting MySQL Memory Usage

… (can grow up to max_packet_size per …data to see whenever sending long data feature is used as it can increasedata_length+index_length) from information_schema.tables where engine=’memory’; +——————————-+ | sum(data_length+index_length) | +——————————-+ |…

Post: Innodb row size limitation

… (id) ) Engine=InnoDB; Now you insert some test data into it: mysql> INSERT INTO example -> VALUES ( -> … as it can increase the size dramatically. If you have more than 10 variable length columns, and each…have a table with 50 variable length columns, but if their max length is, say 50 bytes, you …

Post: SHOW INNODB STATUS walk through

… calculated from the last 44 seconds Make sure data is sampled for at least 20-30 seconds. … between these values will also grow and innodb_max_purge_lag will become your friend. “undo n:o…. History list length 6 is number of unpurged transactions in undo space. It is increased as transactions which …

Comment: GROUP_CONCAT useful GROUP BY extension

… The result is truncated to the maximum length that is given by the group_concat_max_len system variable, which has a… in Our server max_allowed_packet = 67107840 group_concat_max_len = 1024 Query: To how much extent ,I can increase this variable size .and what is the maximumm data limit…

Post: Tuning for heavy writing workloads

…_log_files_in_group = 2 innodb_max_dirty_pages_pct = 90 innodb_flush_method…the lock. (it only affects for “Data_free:” value of TABLE STATS). And… we can increase the rsegs to solve the contention problem. XtraDB can increase the… The next problem is “History list length” growing to huge size. The …

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

…terms I would expect this increases the size of a working set since more data must be kept in … perform aggregation functions on the data (MIN, MAX, AVG). You are storing the data in a way that is …to apply even the simplest constraints on the data such as character length, if an age must be a number…

Post: Flexviews - part 3 - improving query performance using materialized views

… could have drifted by a different length of time. A view which has…These stored procedures maintain the Flexviews data dictionary. The data dictionary is used by the…52.04 sec) *If you use MIN/MAX/COUNT_DISTINCT, a secondary view will… group in the view. This will increases the time it takes to build,…

Post: Innodb undo segment size and transaction isolation

…degradation as well as increased disk space usage. Long… | space_id | zip_size | page_no | max_size | curr_size | +———+———-+———-+———+————+———–+ | 0 | 0 | …INNODB STATUS: History list length 4000567 Mind however …smart and trying to purge data as soon as possible. …