If you can't read please download the document
Upload
guest8212a5
View
2.448
Download
2
Embed Size (px)
Citation preview
2. Overview
4. Two methods for troubleshooting
Data based 5. Information Sources 6. Sources
8. SHOW GLOBAL STATUS 9. INFORMATION_SCHEMAtables
OS info
12. OS specific tools 13. SHOW INNODB STATUS
14. Table monitors Ensure enough time has passed 15. Exact format varies
16. InnoDB plugin 17. XtraDB 18. Data Dictionary 19. Problems
20. Can't drop and/or create tables or databases 21. Example errors: 22. Diagnostics
24. CREATE TABLE innodb_table_monitor (id int) ENGINE=innodb; 25. Interpreting
Ignore hidden fields from InnoDB
27. DB_ROLL_PTR
28. Solutions
Drop orphaned.frmfiles
30. Remove them 31. Crashing 32. Problem
Signal 6
33. InnoDB loves this one
34. Diagnostics
36. coreadm
37. Interpreting Error log
Backtrace
39. Version In 5.0 and before you need to resolve it
Search bug system for function names 40. Interpreting Cores
41. Memory image produced 42. Requires exactly the same binary and libraries 43. With rpm ensure debuginfo is installed 44. Non-stripped binaries 45. Load with gdb
47. Windows: Minidump/DrWatson/Windbg 48. Solutions
51. Locking 52. Problems
General locking slowness 53. Diagnostics
55. Interpreting
Others
58. Solutions
59. Shared locks
61. Remove source of lock
62. Performance 63. Overview
CPU
65. Thread thrashing
66. Disk: Log files
67. InnoDB redo log writes bottleneck
69. 0 Write only every second 70. Diagnostics
FILE I/O
72. fsyncs/s
73. Solutions
74. Changeinnodb_flush_log_at_trx_commit 75. Better disks
77. Disk: Tablespace
78. More common with very large tables
79. Diagnostics
FILE I/O
Pending reads Read ahead
80. await 81. Solutions
82. Increaseinnodb_buffer_pool_size 83. New LRU algorithm in InnoDB plugin 84. Tune/disable readahead
85. In non-plugin
86. set srv_startup_is_before_trx_rollback_phase=1 Buy better disks 87. CPU: Lots of Rows
89. Diagnostics
90. Solutions
91. CPU: Thread Thrashing
92. Later releases help reduce this dramatically
94. MySQL 5.5 95. Diagnostics
98. Solutions
100. Questions? 101. The presentation is intended to outline our general product direction. It is intended for information purposes only, and may not be incorporated into any contract. It is not a commitment to deliver any material, code, or functionality, and should not be relied upon in making purchasing decisions. The development, release, and timing of any features or functionality described for Oracles products remains at the sole discretion of Oracle. 102.