MySQL Forums
Forum List  »  Performance

Re: CPU usage too low
Posted by: A R
Date: September 25, 2012 05:20PM

Here is the output requested (sorry for taking so long):

SHOW CREATE TABLE tbl_name\G

| lex10 | CREATE TABLE `lex10` (
`ENT` varchar(2) DEFAULT NULL,
`NOM_ENT` varchar(50) DEFAULT NULL,
`MUN` varchar(3) DEFAULT NULL,
`NOM_MUN` varchar(50) DEFAULT NULL,
`LOC50K` varchar(4) DEFAULT NULL,
`NOM_LOC` varchar(70) DEFAULT NULL,
`ID_VIV` varchar(8) DEFAULT NULL,
`FACTOR` int(11) DEFAULT NULL,
`STRATO` varchar(15) DEFAULT NULL,
) ENGINE=MyISAM DEFAULT CHARSET=latin1 |



SHOW TABLE STATUS LIKE 'tbl_name'\G

+------------+--------+---------+------------+---------+----------------+-------------+-----------------+--------------+-----------+----------------+---------------------+---------------------+---------------------+-------------------+----------+----------------+---------+
| Name | Engine | Version | Row_format | Rows | Avg_row_length | Data_length | Max_data_length | Index_length | Data_free | Auto_increment | Create_time | Update_time | Check_time | Collation | Checksum | Create_options | Comment |
+------------+--------+---------+------------+---------+----------------+-------------+-----------------+--------------+-----------+----------------+---------------------+---------------------+---------------------+-------------------+----------+----------------+---------+
| lex10ine | MyISAM | 10 | Dynamic | 2903640 | 221 | 642880060 | 281474976710655 | 1024 | 0 | NULL | 2011-08-15 17:59:12 | 2012-03-05 22:50:19 | 2012-09-03 02:41:54 | latin1_swedish_ci | NULL | | |
+------------+--------+---------+------------+---------+----------------+-------------+-----------------+--------------+-----------+----------------+---------------------+---------------------+---------------------+-------------------+----------+----------------+---------+



SHOW VARIABLES LIKE 'innodb%';

+---------------------------------+------------------------+
| Variable_name | Value |
+---------------------------------+------------------------+
| innodb_adaptive_flushing | ON |
| innodb_adaptive_hash_index | ON |
| innodb_additional_mem_pool_size | 8388608 |
| innodb_autoextend_increment | 8 |
| innodb_autoinc_lock_mode | 1 |
| innodb_buffer_pool_instances | 1 |
| innodb_buffer_pool_size | 134217728 |
| innodb_change_buffering | all |
| innodb_checksums | ON |
| innodb_commit_concurrency | 0 |
| innodb_concurrency_tickets | 500 |
| innodb_data_file_path | ibdata1:10M:autoextend |
| innodb_data_home_dir | |
| innodb_doublewrite | ON |
| innodb_fast_shutdown | 1 |
| innodb_file_format | Antelope |
| innodb_file_format_check | ON |
| innodb_file_format_max | Antelope |
| innodb_file_per_table | OFF |
| innodb_flush_log_at_trx_commit | 1 |
| innodb_flush_method | |
| innodb_force_load_corrupted | OFF |
| innodb_force_recovery | 0 |
| innodb_io_capacity | 200 |
| innodb_large_prefix | OFF |
| innodb_lock_wait_timeout | 50 |
| innodb_locks_unsafe_for_binlog | OFF |
| innodb_log_buffer_size | 8388608 |
| innodb_log_file_size | 5242880 |
| innodb_log_files_in_group | 2 |
| innodb_log_group_home_dir | ./ |
| innodb_max_dirty_pages_pct | 75 |
| innodb_max_purge_lag | 0 |
| innodb_mirrored_log_groups | 1 |
| innodb_old_blocks_pct | 37 |
| innodb_old_blocks_time | 0 |
| innodb_open_files | 300 |
| innodb_purge_batch_size | 20 |
| innodb_purge_threads | 0 |
| innodb_random_read_ahead | OFF |
| innodb_read_ahead_threshold | 56 |
| innodb_read_io_threads | 4 |
| innodb_replication_delay | 0 |
| innodb_rollback_on_timeout | OFF |
| innodb_rollback_segments | 128 |
| innodb_spin_wait_delay | 6 |
| innodb_stats_method | nulls_equal |
| innodb_stats_on_metadata | ON |
| innodb_stats_sample_pages | 8 |
| innodb_strict_mode | OFF |
| innodb_support_xa | ON |
| innodb_sync_spin_loops | 30 |
| innodb_table_locks | ON |
| innodb_thread_concurrency | 0 |
| innodb_thread_sleep_delay | 10000 |
| innodb_use_native_aio | ON |
| innodb_use_sys_malloc | ON |
| innodb_version | 1.1.8 |
| innodb_write_io_threads | 4 |
+---------------------------------+------------------------+


Indeed, the variable innodb_flush_log_at_trx_commit is set to 1.

Options: ReplyQuote


Subject
Views
Written By
Posted
13185
A R
September 02, 2012 04:52PM
4625
September 03, 2012 01:33PM
3289
A R
September 05, 2012 12:22AM
2856
September 05, 2012 03:35AM
2820
September 05, 2012 08:12AM
Re: CPU usage too low
2514
A R
September 25, 2012 05:20PM
3216
A R
September 25, 2012 05:35PM
2829
October 01, 2012 11:49PM


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.