How do I work around MySQL Bug #69721 (Block Nested Loop making things slower)

閲覧: 341 回
最初の未読メッセージにスキップ

Krzysztof Drys

未読、
2019/02/27 14:26:492019/02/27
To: Google Cloud SQL discuss
Recently we experienced problems with our MySQL instance. One hour our db was running fine (CPU usage at about 20%), next hour CPU is at 100% and queries are stuck at "creating sort index" phase. After restarting DB everything was normal again.

We suspect that it was MySQL Bug #69721 (https://bugs.mysql.com/bug.php?id=69721). As suggested here (https://community.sugarcrm.com/thread/33079-queries-getting-stuck-on-creating-sort-index-slowing-sugar-down), one option to mitigate this bug is to set optimizer-switch=block_nested_loop=off. 

However, as far as I can see, it is not possible to set this option in Cloud MySQL. Do you know any other way to work around this bug?

Thanks,
Krzysztof Dryś 

Harmit Rishi (Cloud Platform Support)

未読、
2019/04/03 19:57:482019/04/03
To: google-cloud...@googlegroups.com

Thank you for using Google Groups.


Considering that Cloud SQL offers MySQL instances, I believe this issue should be brought to the attention of the engineering team behind the Cloud SQL product. Due to this, I encourage you to follow the steps to file a Public Issue Tracker here[1].


Also, doing so will ensure that this issue is getting the appropriate exposure to the engineering team as Google Groups is meant for discussion purposes. Let me know if you are able to file a Public Issue Tracker.


[1] Public Issue Tracker: https://cloud.google.com/support/docs/issue-trackers

Krzysztof Drys

未読、
2019/04/04 3:53:382019/04/04
To: google-cloud...@googlegroups.com
Thanks, I issued https://issuetracker.google.com/issues/129897196

On Thu, Apr 4, 2019 at 1:57 AM 'Harmit Rishi (Cloud Platform Support)'
via Google Cloud SQL discuss
<google-cloud...@googlegroups.com> wrote:
>
> Thank you for using Google Groups.
>
>
> Considering that Cloud SQL offers MySQL instances, I believe this issue should be brought to the attention of the engineering team behind the Cloud SQL product. Due to this, I encourage you to follow the steps to file a Public Issue Tracker here[1].
>
>
> Also, doing so will ensure that this issue is getting the appropriate exposure to the engineering team as Google Groups is meant for discussion purposes. Let me know if you are able to file a Public Issue Tracker for this.
>
>
> [1] Public Issue Tracker: https://cloud.google.com/support/docs/issue-trackers
>
> On Wednesday, February 27, 2019 at 2:26:49 PM UTC-5, Krzysztof Drys wrote:
>>
>> Recently we experienced problems with our MySQL instance. One hour our db was running fine (CPU usage at about 20%), next hour CPU is at 100% and queries are stuck at "creating sort index" phase. After restarting DB everything was normal again.
>>
>> We suspect that it was MySQL Bug #69721 (https://bugs.mysql.com/bug.php?id=69721). As suggested here (https://community.sugarcrm.com/thread/33079-queries-getting-stuck-on-creating-sort-index-slowing-sugar-down), one option to mitigate this bug is to set optimizer-switch=block_nested_loop=off.
>>
>> However, as far as I can see, it is not possible to set this option in Cloud MySQL. Do you know any other way to work around this bug?
>>
>> Thanks,
>> Krzysztof Dryś
>
> --
> You received this message because you are subscribed to a topic in the Google Groups "Google Cloud SQL discuss" group.
> To unsubscribe from this topic, visit https://groups.google.com/d/topic/google-cloud-sql-discuss/cPeyrQ4Rbz0/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to google-cloud-sql-d...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/google-cloud-sql-discuss/68475f91-8f40-4dbb-80ff-64e76e5f0dc0%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

Femi jacob

未読、
2021/05/16 17:49:592021/05/16
To: Google Cloud SQL discuss
Hi,

Please how were you able to resolve this eventually, I am also stuck in the same situation.

Thanks

yananc

未読、
2021/05/23 14:45:432021/05/23
To: Google Cloud SQL discuss

Hi, 

As seen on the public issue and the internal one, the feature for setting optimizer-switch=block_nested_loop=off is still under the evaluation of the Cloud SQL Engineering team. Please kindly note that there is no ETA or guarantee on the implementation. Thank you.

Ahmed Lotfy

未読、
2021/10/14 10:49:212021/10/14
To: Google Cloud SQL discuss
Hi,

We are facing this issue as well and it impacts our business, the only solution we have now is to move our databases to AWS, there should be a workaround for this at least from Google.
全員に返信
投稿者に返信
転送
新着メール 0 件