Changes

Jump to: navigation, search

Optimizing views in pgSQL

14 bytes added, 13:02, 6 August 2014
no edit summary
{{TOC right}}
During upgrades to IMSMA v6 (especially in Afghanistan), it has been noted that although the translation of MySQL queries/views into pgSQL queries/views (for details see [[Difference_MySQL_PostGreSQL|here]]) is relatively easy, sometimes views have to be rewritten due to poor performance. This is due to the fact that in each database system the query optimizer works a bit differently, and therefore a query that is fast in one system, might be very slow in another system.
Generally, the query optimizer has to make the following decisions:
1,068
edits

Navigation menu