[MDEV-754] LP:655186 - disabling innobase_stats_on_metadata disables ANALYZE Created: 2010-10-05 Updated: 2014-03-26 Resolved: 2014-03-26 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Minor |
| Reporter: | Stewart Smith | Assignee: | Unassigned |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | Launchpad, upstream | ||
| Attachments: |
|
| Description |
|
versus this code in ::info():
The solution is pretty simple, in ::info() do something like the following:
It does not seem like it was the intention of innobase_stats_on_metadata to also disable ANALYZE |
| Comments |
| Comment by Rasmus Johansson (Inactive) [ 2010-10-15 ] |
|
Re: disabling innobase_stats_on_metadata disables ANALYZE if (flag & HA_STATUS_TIME) {
Why was the bug confirmed?? |
| Comment by Michael Widenius [ 2010-10-16 ] |
|
re: [Bug 655186] [NEW] disabling innobase_stats_on_metadata disables ANALYZE Hi! >>>>> "Stewart" == Stewart Smith <stewart@flamingspork.com> writes: Stewart> Public bug reported: Stewart> versus this code in ::info(): Stewart> if (flag & HA_STATUS_TIME) { Stewart> The solution is pretty simple, in ::info() do something like the following: Stewart> if (! innobase_stats_on_metadata) Stewart> It does not seem like it was the intention of innobase_stats_on_metadata to also disable ANALYZE Good catch. Vadim, can you add this fix to xtradb? Regards, |
| Comment by Michael Widenius [ 2010-10-16 ] |
|
[Bug 655186] Re: disabling innobase_stats_on_metadata disables ANALYZE Hi! >>>>> "Yasufumi" == Yasufumi Kinoshita <yasufumi.kinoshita@percona.com> writes: Yasufumi> XtraDB already has the following code. Yasufumi> Why was the bug confirmed?? I don't think you should depend on the SQLCOM_ANALYZE status; Someone A better way would be to add an engine specific Regards, |
| Comment by Rasmus Johansson (Inactive) [ 2010-10-18 ] |
|
Re: disabling innobase_stats_on_metadata disables ANALYZE XtraDB currently is maintained as patch cluster form InnoDB-Plugin by only few person. This bug should be fixed at the main branch of InnoDB at first. Regards, |
| Comment by Rasmus Johansson (Inactive) [ 2010-11-30 ] |
|
Launchpad bug id: 655186 |
| Comment by Elena Stepanova [ 2012-11-04 ] |
|
Not sure if the problem still exists in the code, but I don't think it has suddenly become urgent after two years; setting to Minor and removing the upcoming 5.3.10 release from the 'fix' list. |
| Comment by Elena Stepanova [ 2014-03-26 ] |
|
The upstream bug #57252 was fixed in MySQL 5.1 (and merged up) long time ago. |
| Comment by Elena Stepanova [ 2014-03-26 ] |
|
The upstream fix is present in MariaDB 5.1 and higher. |