MySQL Forums
Forum List  »  Performance

Re: MySQL 8.0 - View Performance
Posted by: Peter Brawley
Date: September 20, 2019 09:14PM

View performance remains an issue, eg see https://www.percona.com/blog/2007/08/12/mysql-view-as-performance-troublemaker/.

Some points ...

- try to optimise View algorithm, see https://www.percona.com/blog/2007/08/12/mysql-view-as-performance-troublemaker/ and https://dev.mysql.com/doc/refman/8.0/en/derived-table-optimization.html

- sometimes just one or two subviews are bottlenecks. To find out, you need to assemble the whole query without Views, then substitute in subviews to find bottlenecks

- if all else fails, set up a saved query mechanism, parameterised if so desired, and a user interface for it.

Options: ReplyQuote


Subject
Views
Written By
Posted
1723
September 20, 2019 07:47PM
Re: MySQL 8.0 - View Performance
1594
September 20, 2019 09:14PM
603
September 20, 2019 10:29PM
627
September 20, 2019 11:18PM
746
September 21, 2019 12:18AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.