You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This PR improves the overall schema introspection performance on Oracle by optimizing some of the getList*() method SQL queries in the platform.
Unfortunately Oracle system views are rather slow, especially when joining tables. Using subqueries can improve the execution time a lot.
_Improved queries_
(the times have been measured using an exemplary query from the functional test suite)
getListTableForeignKeysSQL(): Down from <sub>2.33s to </sub>0.68s per query getListTableColumnsSQL(): Down from <sub>0.49s to </sub>0.14s per query getListTableIndexesSQL(): Down from <sub>0.5s to </sub>0.25s per query
Overall improvement of OracleSchemaManagerTest from <sub>100s to </sub>37.5s.
I was quite impressed by the performance improvements :)
The text was updated successfully, but these errors were encountered:
Jira issue originally created by user @doctrinebot:
This issue is created automatically through a Github pull request on behalf of deeky666:
Url: #768
Message:
This PR improves the overall schema introspection performance on Oracle by optimizing some of the
getList*()
method SQL queries in the platform.Unfortunately Oracle system views are rather slow, especially when joining tables. Using subqueries can improve the execution time a lot.
_Improved queries_
(the times have been measured using an exemplary query from the functional test suite)
getListTableForeignKeysSQL()
: Down from<sub>2.33s
to</sub>0.68s
per querygetListTableColumnsSQL()
: Down from<sub>0.49s
to</sub>0.14s
per querygetListTableIndexesSQL()
: Down from<sub>0.5s
to</sub>0.25s
per queryOverall improvement of
OracleSchemaManagerTest
from<sub>100s
to</sub>37.5s
.I was quite impressed by the performance improvements :)
The text was updated successfully, but these errors were encountered: