MySQL Forums
Forum List  »  InnoDB

Re: Innodb unexplained IOs -still need help!
Posted by: Bob Bankay
Date: January 26, 2005 02:37PM

Here is the full statistics from mytop -I with no threads running against the db except mytop -s 15. Not sure why all the reads and writes and being done. List of my.cnf at the end We reaally need help with this

--------
FILE I/O
--------
I/O thread 0 state: waiting for i/o request
I/O thread 1 state: waiting for i/o request
I/O thread 2 state: waiting for i/o request
I/O thread 3 state: waiting for i/o request
Pending normal aio reads: 0, aio writes: 0,
ibuf aio reads: 0, log i/o's: 0, sync i/o's: 0
Pending flushes (fsync) log: 0; buffer pool: 1
1379195 OS file reads, 348491 OS file writes, 22789 OS fsyncs
32.62 reads/s, 17765 avg bytes/read, 6.50 writes/s, 0.12 fsyncs/s
-------------------------------------
INSERT BUFFER AND ADAPTIVE HASH INDEX
-------------------------------------
Ibuf for space 0: size 2044, free list len 6473, seg size 8518,
197333 inserts, 167667 merged recs, 17805 merges
Hash table size 2407309, used cells 762889, node heap has 1354 buffer(s)
88.93 hash searches/s, 200.42 non-hash searches/s
---
LOG
---
Log sequence number 79 484869657
Log flushed up to 79 484865994
Last checkpoint at 79 126098883
0 pending log writes, 0 pending chkp writes
788 log i/o's done, 0.07 log i/o's/second
----------------------
BUFFER POOL AND MEMORY
----------------------
Total memory allocated 1374430676; in additional pool allocated 3865856
Buffer pool size 74240
Free buffers 118
Database pages 72768
Modified db pages 16070
Pending reads 1
Pending writes: LRU 0, flush list 0, single page 0
Pages read 1780214, created 14995, written 393425
37.53 reads/s, 0.00 creates/s, 7.93 writes/s
Buffer pool hit rate 979 / 1000
--------------
ROW OPERATIONS
--------------
0 queries inside InnoDB, 0 queries in queue
Main thread id 8, state: purging
Number of rows inserted 51845, updated 487183, deleted 56, read 25857788
0.00 inserts/s, 0.00 updates/s, 0.00 deletes/s, 0.00 reads/s
----------------------------
END OF INNODB MONITOR OUTPUT
============================

Here is the other page from mytop showing zero queries:*******************

MySQL on localhost (4.0.13-max-log) up 0+05:41:08 [15:37:43]
Queries: 2.4M qps: 125 Slow: 2.9k Se/In/Up/De(%): 74/01/22/00
qps now: 0 Slow qps: 0.0 Threads: 68 ( 1/ 32) 00/00/00/00
Cache Hits: 705.8k Hits/s: 35.3 Hits now: 0.0 Ratio: 38.1% Ratio now: 0.0%
Key Efficiency: 99.5% Bps in/out: 21.1k/179.0k Now in/out: 1.7/871.7

Id User Host/IP DB Time Cmd Query or State -- ---- ------- -- ---- --- ----------
1 root localhost test 0 Query show full processli

*******************************************************
Here is my.cnf ********


[mysqld]
port = 3306
socket = /tmp/mysql.sock
skip-locking
set-variable = delay_key_write=all
set-variable = key_buffer=320M
set-variable = max_allowed_packet=1M
set-variable = table_cache=256
set-variable = sort_buffer=4M
set-variable = record_buffer=2M
set-variable = myisam_sort_buffer_size=192M
set-variable = query_cache_limit=2M
set-variable = query_cache_size=16M
set-variable = thread_cache=32
# Try number of CPU's*2 for thread_concurrency
set-variable = thread_concurrency=8
set-variable = max_connections=1023
set-variable = max_connect_errors=1000

## changes for slave function:
log-bin
log-slow-queries
server-id = 11

# Uncomment the following if you are using Innobase tables
innodb_data_home_dir = /mydisks/raid10_a/apps/mysql/data/innodb_data/
innodb_data_file_path = ibdata1:8G;ibdata2:8G;ibdata3:8G;ibdata4:8G;ibdata5:8G;ibdata6:8G;ibdata7:8G;ibdata8:8G:autoextend
innodb_log_group_home_dir = /mydisks/a/mysql_logs/innodb_logs/
innodb_log_arch_dir = /mydisks/a/mysql_logs/innodb_logs/
set-variable = innodb_mirrored_log_groups=1
set-variable = innodb_log_files_in_group=6
set-variable = innodb_log_file_size=128M
set-variable = innodb_log_buffer_size=8M
innodb_flush_log_at_trx_commit=0
innodb_log_archive=0
set-variable = innodb_buffer_pool_size= 1192M
set-variable = innodb_additional_mem_pool_size=4M
set-variable = innodb_file_io_threads=16
set-variable = innodb_lock_wait_timeout=50

Options: ReplyQuote


Subject
Views
Written By
Posted
4102
January 24, 2005 12:39PM
2181
January 24, 2005 12:43PM
2552
January 24, 2005 01:09PM
2601
January 24, 2005 05:40PM
2684
January 27, 2005 05:07AM
2575
February 08, 2005 04:31PM
Re: Innodb unexplained IOs -still need help!
2453
January 26, 2005 02:37PM
2192
January 31, 2005 11:32AM
2438
January 31, 2005 04:57PM
2553
February 03, 2005 06:23PM
3175
February 03, 2005 08:56PM
2558
February 04, 2005 01:25PM
2485
February 04, 2005 01:44PM


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.