Bug #19046 | slow query log should include the affected database | ||
---|---|---|---|
Submitted: | 12 Apr 2006 12:18 | Modified: | 3 Oct 2009 16:19 |
Reporter: | Anders Henke | Email Updates: | |
Status: | No Feedback | Impact on me: | |
Category: | MySQL Server: Logging | Severity: | S4 (Feature request) |
Version: | 4.0.25 and 5.0.19 | OS: | Linux (Linux) |
Assigned to: | CPU Architecture: | Any | |
Tags: | Contribution |
[12 Apr 2006 12:18]
Anders Henke
[24 Apr 2006 9:16]
Valeriy Kravchuk
Thank you for a reasonable feature request.
[13 May 2007 7:35]
Holman Romero
This is a patch that does exactly that, it shows a new field 'Database' with the corresponding database name in use. Besides, i modified 'mysqldumpslow' to use the new format in its output, however it keeps the old one for current slow log files. Patch can be found at: http://noslave.net/holman/devel/mysql/patches/slow_log_write_5_0_41.patch http://noslave.net/holman/devel/mysql/patches/mysqldumpslow_5_0_41.patch
[13 May 2007 7:38]
Holman Romero
I forgot it, the 'mysqldumpslow' patch includes a new -b DATABASE_NAME flag to show only the queries affecting the given database. You can use it as follows: mysqldumpslow -b sakila change 'sakila' to the database name you want to look for.
[8 Jun 2009 22:39]
liz drachnik
Hello Anders - In order for us to continue the process of reviewing your contribution to MySQL - We need you to review and sign the Sun|MySQL contributor agreement (the "SCA") The process is explained here: http://forge.mysql.com/wiki/Sun_Contributor_Agreement Getting a signed/approved SCA on file will help us facilitate your contribution-- this one, and others in the future. Thank you ! Liz Drachnik - Program Manager - MySQL
[3 Sep 2009 7:58]
Anders Henke
Hi Liz, the patch in this bugreport has been sent by Holman Romero. Please do contact him in order to settle this SCA-issue. Thank you, Anders
[3 Sep 2009 16:18]
Liz Drachnik
Hello Holman In order for us to continue the process of reviewing your contribution to MySQL http://bugs.mysql.com/19046 We need you to review and sign the Sun|MySQL contributor agreement (the "SCA") The process is explained here: http://forge.mysql.com/wiki/Sun_Contributor_Agreement Getting a signed/approved SCA on file will help us facilitate your contribution-- this one, and others in the future. Thank you !
[3 Oct 2009 23:00]
Bugs System
No feedback was provided for this bug for over a month, so it is being suspended automatically. If you are able to provide the information that was originally requested, please do so and change the status of the bug back to "Open".