graphql-engine/server/src-lib/Hasura/RQL/DDL/Schema
Brandon Simmons 58ba01f31c
Improve performance of replace_metadata on tracking tables. Closes #3802 (#4182)
* Improve performance of replace_metadata on tracking tables. Closes #3802

On the 1000 table track case this went from >20min to 8 seconds, the
bottleneck being all the former calls (for each table) to
buildSchemaCache.

* refactor replace metadata

Only save metadata in hdb_catalog schema and build schema cache (strictly)

* remove `withBuildSchemaCache` function

Co-authored-by: rakeshkky <12475069+rakeshkky@users.noreply.github.com>
Co-authored-by: Vamshi Surabhi <0x777@users.noreply.github.com>
2020-03-31 19:30:12 +05:30
..
Cache option to reload remote schemas in 'reload metadata' (fix #3792, #4117) (#4141) 2020-03-26 17:22:20 +05:30
Cache.hs Remove any outstanding hdb_views (fixes #3940) (#3965) 2020-03-26 15:42:33 -05:00
Catalog.hs allow custom mutations through actions (#3042) 2020-02-13 23:08:23 +05:30
Diff.hs Add caching for recreating event trigger functions 2020-01-08 16:45:46 -06:00
Enum.hs Add caching for recreating event trigger functions 2020-01-08 16:45:46 -06:00
Function.hs Improve performance of replace_metadata on tracking tables. Closes #3802 (#4182) 2020-03-31 19:30:12 +05:30
Rename.hs Add check expresion to update permissions (close #384) (#3804) 2020-02-13 13:08:49 +05:30
Table.hs Improve performance of replace_metadata on tracking tables. Closes #3802 (#4182) 2020-03-31 19:30:12 +05:30