[MDEV-8056] Help needed for query plan change situations Created: 2015-04-27  Updated: 2015-10-31  Resolved: 2015-10-31

Status: Closed
Project: MariaDB Server
Component/s: OTHER
Fix Version/s: N/A

Type: Task Priority: Minor
Reporter: Cristian Nicoara Assignee: Unassigned
Resolution: Not a Bug Votes: 0
Labels: None


 Description   

Hello,

we have mariaDB version 5.5.37 .

We stumbled into an interesting situation:
– at some point in time the query plan has changed making the server behave poorly
– after a restart we noticed that the query plan was different behaving normally

I've asked our DBA's to try and use this: https://mariadb.com/kb/en/mariadb/how-to-force-query-plans/ in order to have some sort of control.

The query is fairly complex contains multiple joins and unions, this is the last entry in the explain result:
22.
id: NULL
select_type: UNION RESULT
table: <union2,3>
type: ALL
possible_keys: NULL
key: NULL
key_len: NULL
ref: NULL
rows: NULL
Extra:

I would like some help for:
– getting info on why and how the optimizer made a choice (general optimizer info?)
– what is your experience dictates for this situations ?

Thank you .



 Comments   
Comment by Sergei Golubchik [ 2015-10-31 ]

This is neither a bug nor a feature request. Please ask your questions as described here:

Thanks!

Generated at Thu Feb 08 07:24:19 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.