Quantcast
Channel: General developer forum
Viewing all articles
Browse latest Browse all 37677

Re: Updating statistic on temporary tables, especially PostgreSQL (MDL-39725) PostgreSQL performance can be poor with large temp tables

$
0
0
by Tim Hunt.  

I agree with Petr's comment in the bug: https://tracker.moodle.org/browse/MDL-39725?focusedCommentId=228711&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-228711

"I already tried to invent some automatic analyse for pg temp tables and failed."

"My +1 to add $DB->analyze_temp_tables() and call it manually in affected areas."

The only quesiton I would ask is, should this be a single method ->analyze_temp_tables(), or a more specific ->analyze_temp_table($tablename)?


Viewing all articles
Browse latest Browse all 37677

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>