Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ----------------------------
- mysqlreport output
- ----------------------------
- MySQL 5.5.43-log uptime 73 18:49:37 Fri Jul 14 01:06:31 2017
- __ Key _________________________________________________________________
- Buffer used 52.33M of 64.00M %Used: 81.76
- Current 53.47M %Usage: 83.55
- Write hit 99.89%
- Read hit 99.66%
- __ Questions ___________________________________________________________
- Total 5.50G 862.1/s
- QC Hits 3.69G 579.6/s %Total: 67.23
- DMS 1.05G 164.1/s 19.04
- Com_ 515.62M 80.9/s 9.38
- COM_QUIT 253.01M 39.7/s 4.60
- -Unknown 14.01M 2.2/s 0.25
- Slow 2 s 279.42k 0.0/s 0.01 %DMS: 0.03 Log: ON
- DMS 1.05G 164.1/s 19.04
- SELECT 1.04G 163.5/s 18.97 99.61
- UPDATE 3.41M 0.5/s 0.06 0.33
- INSERT 697.43k 0.1/s 0.01 0.07
- DELETE 8.89k 0.0/s 0.00 0.00
- REPLACE 0 0/s 0.00 0.00
- Com_ 515.62M 80.9/s 9.38
- set_option 252.92M 39.7/s 4.60
- change_db 252.92M 39.7/s 4.60
- begin 4.88M 0.8/s 0.09
- __ Rows ________________________________________________________________
- Rows 2.32T 364.7k/s
- Using idx 390.89G 61.3k/s %Index: 16.81
- Rows/question 423.02
- __ SELECT and Sort _____________________________________________________
- Scan 151.61M 23.8/s %SELECT: 14.55
- Range 25.54M 4.0/s 2.45
- Full join 63.91k 0.0/s 0.01
- Range check 0 0/s 0.00
- Full rng join 0 0/s 0.00
- Sort scan 199.52M 31.3/s
- Sort range 704.66M 110.5/s
- Sort mrg pass 294.04k 0.0/s
- __ Query Cache _________________________________________________________
- Memory usage 40.93M of 64.00M %Usage: 63.95
- Block Fragmnt 24.10%
- Hits 3.69G 579.6/s
- Inserts 1.04G 163.0/s
- Insrt:Prune 1.87:1 76.0/s
- Hit:Insert 3.56:1
- __ Table Locks _________________________________________________________
- Waited 38.30k 0.0/s %Total: 0.00
- Immediate 1.17G 183.8/s
- __ Tables ______________________________________________________________
- Open 1342 of 1024 %Cache: 131.05
- Opened 3.30k 0.0/s
- __ Connections _________________________________________________________
- Max used 1020 of 2000 %Max: 51.00
- Total 253.05M 39.7/s
- __ Created Temp ________________________________________________________
- Disk table 675.35k 0.1/s %Disk: 1.10
- Table 61.59M 9.7/s Size: 16.0M
- File 586.83k 0.1/s
- __ Threads _____________________________________________________________
- Running 1001 of 1001
- Created 11.45k 0.0/s
- Slow 0 0/s
- Cached 19 of 128 %Hit: 100
- __ Aborted _____________________________________________________________
- Clients 79.11k 0.0/s
- Connects 107.62k 0.0/s
- __ Bytes _______________________________________________________________
- Sent 13.91T 2.2M/s
- Received 1.03T 160.8k/s
- __ InnoDB Buffer Pool __________________________________________________
- Usage 127.98M of 127.98M %Usage: 100.00
- Read hit 99.38%
- Pages
- Free 0 %Total: 0.00
- Data 8.19k 99.98 %Drty: 0.00
- Misc 2 0.02
- Latched 0 0.00
- Reads 53.34G 8.4k/s
- From disk 330.23M 51.8/s %Disk: 0.62
- Ahead Rnd 0 0/s
- Writes 47.98M 7.5/s
- Wait Free 0 0/s %Wait: 0.00
- Flushes 6.42M 1.0/s
- __ InnoDB Lock _________________________________________________________
- Waits 0 0/s
- Current 0
- Time acquiring
- Total 0 ms
- Average 0 ms
- Max 0 ms
- __ InnoDB Data, Pages, Rows ____________________________________________
- Data
- Reads 433.99M 68.1/s
- Writes 10.80M 1.7/s
- fsync 4.62M 0.7/s
- Pending
- Reads 0
- Writes 0
- fsync 0
- Pages
- Created 85.50k 0.0/s
- Read 433.99M 68.1/s
- Written 6.42M 1.0/s
- Rows
- Deleted 2.69k 0.0/s
- Inserted 302.33k 0.0/s
- Read 334.24G 52.4k/s
- Updated 3.36M 0.5/s
- ----------------------------
- MySQL settings
- ----------------------------
- [mysqld]
- datadir = /var/lib/mysql
- socket = /var/lib/mysql/mysql.sock
- user = mysql
- server-id = 70
- expire_logs_days = 10
- # to prevent assorted security risks
- symbolic-links=0
- # connection and thread variables
- max_allowed_packet = 64M
- max_connections = 2000
- max_user_connections = 1000
- max_connect_errors = 100
- thread_cache_size = 128
- # query cache
- query_cache_type = 1
- query_cache_size = 64M
- # session variables
- sort_buffer_size = 1M
- tmp_table_size = 16M
- read_buffer_size = 1M
- read_rnd_buffer_size = 1M
- join_buffer_size = 2M
- # Other buffers and caches
- table_definition_cache = 400
- table_open_cache = 1024
- # MyISAM variables
- key_buffer_size = 64M
- # MEMORY variables
- max_heap_table_size = 16M
- # InnoDB variables
- #innodb_strict_mode = ON
- #innodb_file_format_check = 1
- #innodb_file_format = Barracuda
- #innodb_buffer_pool_size = 128M
- #innodb_buffer_pool_instances = 8
- #innodb_file_per_table = 1
- #innodb_flush_method = O_DIRECT
- #innodb_write_io_threads = 8
- #innodb_read_io_threads = 8
- #innodb_io_capacity = 1000
- #innodb_flush_log_at_trx_commit = 0
- #innodb_log_buffer_size = 8M
- #innodb_log_file_size = 256M
- # Default to using old password format for compatibility with mysql 3.x
- # clients (those using the mysqlclient10 compatibility package).
- #master-host = 172.16.4.230
- #master-user = replicate
- #master-password = redhat
- #master-port = 3306 #default MySQL already used port 3306)
- #replicate-ignore-db = mysql
- log-bin = mysql-bin
- binlog_format=mixed
- skip_slave_start = 0
- replicate-do-db = application_db
- replicate-do-db = frontend_db
- replicate-do-db = jgfg_frontend_db
- replicate-ignore-db = mysql
- skip-name-resolve
- log-slow-queries=/var/log/mysql-slow.log
- long_query_time = 2
- [mysqld_safe]
- log-error=/var/log/mysqld.log
- pid-file=/var/run/mysqld/mysqld.pid
- [mysqldump]
- quick
- max_allowed_packet = 16M
- [mysql]
- no-auto-rehash
- [isamchk]
- key_buffer = 128M
- sort_buffer_size = 128M
- read_buffer = 2M
- write_buffer = 2M
- [myisamchk]
- key_buffer = 128M
- sort_buffer_size = 128M
- read_buffer = 2M
- write_buffer = 2M
- [mysqlhotcopy]
- interactive-timeout
- ---
- ----------------------------
- INNODB Status
- ----------------------------
- *************************** 1. row ***************************
- Type: InnoDB
- Name:
- Status:
- =====================================
- 170714 1:06:31 INNODB MONITOR OUTPUT
- =====================================
- Per second averages calculated from the last 32 seconds
- -----------------
- BACKGROUND THREAD
- -----------------
- srv_master_thread loops: 6147736 1_second, 6147514 sleeps, 598140 10_second, 169728 background, 169688 flush
- srv_master_thread log flush and writes: 6172507
- ----------
- SEMAPHORES
- ----------
- OS WAIT ARRAY INFO: reservation count 5682417, signal count 5781579
- Mutex spin waits 19405870, rounds 37075377, OS waits 66396
- RW-shared spins 8485025, rounds 221702441, OS waits 5323138
- RW-excl spins 955913, rounds 11098250, OS waits 151918
- Spin rounds per wait: 1.91 mutex, 26.13 RW-shared, 11.61 RW-excl
- ------------
- TRANSACTIONS
- ------------
- Trx id counter C81E4CD
- Purge done for trx's n:o < C81B515 undo n:o < 0
- History list length 2776
- LIST OF TRANSACTIONS FOR EACH SESSION:
- ---TRANSACTION 0, not started
- MySQL thread id 253045295, OS thread handle 0x7f6c35412700, query id 5506032207 localhost root
- show engine innodb status
- ---TRANSACTION 0, not started
- MySQL thread id 252940084, OS thread handle 0x7f6ee9d36700, query id 5506023411 172.16.4.225 moc-dbs Waiting for table level lock
- SELECT
- a.id
- ,a.title
- ,a.sub_title
- ,a.slug
- ,a.summary
- ,a.summary_2
- ,a.date_publish
- ,a.channel_level_1_id
- ,a.channel_level_2_id
- ,a.channel_id
- ,a.is_exclusive
- ,a.is_fastest
- FROM articles a
- WHERE
- a.id IS NOT NULL
- AND a.is_running_news_level_1 = 1
- AND ( (a.channel_level_2_id NOT IN(104)) AND (a.channel_level_2_id NOT IN(50030)) OR a.channel_level_2_id IS NULL )
- AND date_publish >= '2017-06-30 00:00:00'
- ORDER BY
- a.date_publish DESC
- LIMIT 0, 4
- ---TRANSACTION 0, not started
- MySQL thread id 252937909, OS thread handle 0x7f6ef0ebd700, query id 5506002385 172.16.4.225 moc-dbs Waiting for table level lock
- SELECT ara.id,
- ara.article_id,
- ara.related_article_id,
- ara.related_title,
- ara.related_slug,
- (SELECT channel_level_1_id FROM articles WHERE id=ara.related_article_id) AS related_channel_level_1_id,
- (SELECT channel_level_2_id FROM articles WHERE id=ara.related_article_id) AS related_channel_level_2_id,
- ara.channel_id,
- ara.related_date_publish,
- ara.channel_level_1_id
- FROM articles_related_articles AS ara
- WHERE ara.article_id = '932903'
- ---TRANSACTION C81E465, not started
- MySQL thread id 1, OS thread handle 0x7f6f5a522700, query id 5506002236 Waiting for table level lock
- UPDATE `articles` SET `id` = '926422', `slug` = 'sinopsis-anandhi-15-juni-hadiah-sanchi', `title` = 'Sinopsis Anandhi 15 Juni: Hadiah Sanchi', `summary` = 'Kalyani meminta Jagdish untuk segera mengirim Gauri dari Hindu Badi.', `sub_title` = '', `body` = '<p><strong>VIVA.co.id</strong> – Di sinopsis Anandhi hari ini, Kamis, 15 Juni 2017 episode 457, keluarga di Kesar Bagh dan Badi Haveli merayakan Raksha Bandhan. Kalyani meminta Jagdish untuk segera mengirim Gauri dari Hindu Badi. </p>\r\n\r\n<p>Gauri mengatakan pada Jagdish bahwa dia seharusnya pulang ke rumah untuk merayakan Teej. Gang
- ---TRANSACTION C81B26A, ACTIVE 7398 sec
- mysql tables in use 1, locked 0
- MySQL thread id 252787448, OS thread handle 0x7f6f541f6700, query id 5502902407 172.16.4.225 moc-dbs Copying to tmp table
- SELECT
- a.id
- ,a.title
- ,a.slug
- ,a.summary
- ,a.summary_2
- ,a.date_publish
- ,b.viewed
- ,a.channel_level_1_id
- ,a.channel_level_2_id
- ,a.channel_id
- ,a.is_exclusive
- ,a.is_fastest
- ,a.meta_tags
- ,DATE(a.date_publish) AS pdate
- FROM articles a, count_viewed_article b
- WHERE
- a.id = b.id
- AND a.channel_level_1_id IN (8,25400253) OR a.channel_level_2_id IN (8,25400253)
- AND a.channel_level_1_id NOT IN(31,35)
- AND a.channel_id NOT IN(80507,80508,80509,80510)
- AND DATE(b.last_viewed) >=
- Trx read view will not see trx with id >= C81B26B, sees < C81B21B
- ---TRANSACTION C81B261, ACTIVE 7398 sec
- mysql tables in use 1, locked 0
- MySQL thread id 252787437, OS thread handle 0x7f6ef90c5700, query id 5502902210 172.16.4.225 moc-dbs Copying to tmp table
- SELECT
- a.id
- ,a.title
- ,a.slug
- ,a.summary
- ,a.summary_2
- ,a.date_publish
- ,b.viewed
- ,a.channel_level_1_id
- ,a.channel_level_2_id
- ,a.channel_id
- ,a.is_exclusive
- ,a.is_fastest
- ,a.meta_tags
- ,DATE(a.date_publish) AS pdate
- FROM articles a, count_viewed_article b
- WHERE
- a.id = b.id
- AND a.channel_level_1_id IN (8,25400253) OR a.channel_level_2_id IN (8,25400253)
- AND a.channel_level_1_id NOT IN(31,35)
- AND a.channel_id NOT IN(80507,80508,80509,80510)
- AND DATE(b.last_viewed) >=
- Trx read view will not see trx with id >= C81B262, sees < C81B21B
- ---TRANSACTION C81B21B, ACTIVE 7450 sec
- mysql tables in use 1, locked 0
- MySQL thread id 252785623, OS thread handle 0x7f6efa1c8700, query id 5502867040 172.16.4.225 moc-dbs Copying to tmp table
- SELECT
- a.id
- ,a.title
- ,a.slug
- ,a.summary
- ,a.summary_2
- ,a.date_publish
- ,b.viewed
- ,a.channel_level_1_id
- ,a.channel_level_2_id
- ,a.channel_id
- ,a.is_exclusive
- ,a.is_fastest
- ,a.meta_tags
- ,DATE(a.date_publish) AS pdate
- FROM articles a, count_viewed_article b
- WHERE
- a.id = b.id
- AND a.channel_level_1_id IN (8,25400253) OR a.channel_level_2_id IN (8,25400253)
- AND a.channel_level_1_id NOT IN(31,35)
- AND a.channel_id NOT IN(80507,80508,80509,80510)
- AND DATE(b.last_viewed) >=
- Trx read view will not see trx with id >= C81B21C, sees < C81B21C
- --------
- FILE I/O
- --------
- I/O thread 0 state: waiting for completed aio requests (insert buffer thread)
- I/O thread 1 state: waiting for completed aio requests (log thread)
- I/O thread 2 state: waiting for completed aio requests (read thread)
- I/O thread 3 state: waiting for completed aio requests (read thread)
- I/O thread 4 state: waiting for completed aio requests (read thread)
- I/O thread 5 state: waiting for completed aio requests (read thread)
- I/O thread 6 state: waiting for completed aio requests (write thread)
- I/O thread 7 state: waiting for completed aio requests (write thread)
- I/O thread 8 state: waiting for completed aio requests (write thread)
- I/O thread 9 state: waiting for completed aio requests (write thread)
- Pending normal aio reads: 0 [0, 0, 0, 0] , aio writes: 0 [0, 0, 0, 0] ,
- ibuf aio reads: 0, log i/o's: 0, sync i/o's: 0
- Pending flushes (fsync) log: 0; buffer pool: 0
- 433992319 OS file reads, 10803996 OS file writes, 4621276 OS fsyncs
- 0.00 reads/s, 0 avg bytes/read, 0.00 writes/s, 0.00 fsyncs/s
- -------------------------------------
- INSERT BUFFER AND ADAPTIVE HASH INDEX
- -------------------------------------
- Ibuf: size 1, free list len 14, seg size 16, 1560149 merges
- merged operations:
- insert 1313493, delete mark 1405402, delete 303966
- discarded operations:
- insert 0, delete mark 0, delete 0
- Hash table size 276671, node heap has 2 buffer(s)
- 0.00 hash searches/s, 0.00 non-hash searches/s
- ---
- LOG
- ---
- Log sequence number 32050175226
- Log flushed up to 32050175226
- Last checkpoint at 32050175226
- 0 pending log writes, 0 pending chkp writes
- 4043661 log i/o's done, 0.00 log i/o's/second
- ----------------------
- BUFFER POOL AND MEMORY
- ----------------------
- Total memory allocated 137363456; in additional pool allocated 0
- Dictionary memory allocated 352743
- Buffer pool size 8191
- Free buffers 0
- Database pages 8189
- Old database pages 3002
- Modified db pages 0
- Pending reads 0
- Pending writes: LRU 0, flush list 0, single page 0
- Pages made young 635858659, not young 0
- 0.00 youngs/s, 0.00 non-youngs/s
- Pages read 433992406, created 85495, written 6423316
- 0.00 reads/s, 0.00 creates/s, 0.00 writes/s
- Buffer pool hit rate 1000 / 1000, young-making rate 0 / 1000 not 0 / 1000
- Pages read ahead 0.00/s, evicted without access 0.00/s, Random read ahead 0.00/s
- LRU len: 8189, unzip_LRU len: 0
- I/O sum[0]:cur[0], unzip sum[0]:cur[0]
- --------------
- ROW OPERATIONS
- --------------
- 0 queries inside InnoDB, 0 queries in queue
- 4 read views open inside InnoDB
- Main thread process no. 10620, id 140116167300864, state: waiting for server activity
- Number of rows inserted 302335, updated 3364729, deleted 2685, read 334239518466
- 0.00 inserts/s, 0.00 updates/s, 0.00 deletes/s, 3135.00 reads/s
- ----------------------------
- END OF INNODB MONITOR OUTPUT
- ============================
- ----------------------------
- MySQL Error Log
- ----------------------------
- 170714 0:59:04 [ERROR] Invalid (old?) table or database name 'lost+found'
- 170714 0:59:04 [ERROR] Invalid (old?) table or database name 'lost+found'
- 170714 1:03:12 [ERROR] Invalid (old?) table or database name 'lost+found'
- 170714 1:03:12 [ERROR] Invalid (old?) table or database name 'lost+found'
- 170714 1:03:20 [ERROR] Invalid (old?) table or database name 'lost+found'
- 170714 1:03:20 [ERROR] Invalid (old?) table or database name 'lost+found'
- 170714 1:03:35 [ERROR] Invalid (old?) table or database name 'lost+found'
- 170714 1:03:35 [ERROR] Invalid (old?) table or database name 'lost+found'
- 170714 1:04:44 [ERROR] Invalid (old?) table or database name 'lost+found'
- 170714 1:04:44 [ERROR] Invalid (old?) table or database name 'lost+found'
- 170714 1:04:52 [ERROR] Invalid (old?) table or database name 'lost+found'
- 170714 1:04:52 [ERROR] Invalid (old?) table or database name 'lost+found'
- 170714 1:04:58 [ERROR] Invalid (old?) table or database name 'lost+found'
- 170714 1:06:25 [ERROR] Invalid (old?) table or database name 'lost+found'
- 170714 1:06:25 [ERROR] Invalid (old?) table or database name 'lost+found'
- ----------------------------
- Total Server MyISAM and InnoDB Size
- ----------------------------
- *************************** 1. row ***************************
- innodb_tablespace_utilization_perc: 100
- total_size_gb: 7.548331723548472
- index_size_gb: 1.2553825378417969
- data_size_gb: 6.292949185706675
- innodb_total_size_gb: 0.8527679443359375
- innodb_data_size_gb: 0.5355377197265625
- innodb_index_size_gb: 0.317230224609375
- myisam_total_size_gb: 6.695563779212534
- myisam_data_size_gb: 5.7574114659801126
- myisam_index_size_gb: 0.9381523132324219
- perc_index: 16.631258100
- perc_data: 83.368741800
- innodb_perc_index: 37.200064400
- innodb_perc_data: 62.799935500
- myisam_perc_index: 14.011550600
- myisam_perc_data: 85.988449300
- innodb_perc_total_index: 25.269606200
- innodb_perc_total_data: 8.510123000
- myisam_perc_total_index: 74.730393700
- myisam_perc_total_data: 91.489876900
- Report Complete:
- Fri Jul 14 01:06:31 WIB 2017
- ---------------------------
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement