graphql-engine/server/src-lib/Hasura/GraphQL
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
..
Execute Use AssertNF for leak prophylaxis when doing mutable writes. Closes #3937 (#4097) 2020-03-17 20:31:22 -05:00
Resolve Merge branch 'master' into issue-4035-check-computed-field 2020-03-23 10:44:48 +05:30
Schema Improve performance of replace_metadata on tracking tables. Closes #3802 (#4182) 2020-03-31 19:30:12 +05:30
Transport few actions' fixes and improvements (fix #3977, #4061 & close #4021) (#4109) 2020-03-20 12:16:45 +05:30
Validate auto-include __typename field in custom types' objects (fix #4063) (#4074) 2020-03-11 17:09:00 +05:30
Context.hs allow custom mutations through actions (#3042) 2020-02-13 23:08:23 +05:30
Execute.hs few actions' fixes and improvements (fix #3977, #4061 & close #4021) (#4109) 2020-03-20 12:16:45 +05:30
Explain.hs Add caching for recreating event trigger functions 2020-01-08 16:45:46 -06:00
Logging.hs refactor some internal components (#3414) 2019-11-26 17:44:21 +05:30
RemoteServer.hs auto-include __typename field in custom types' objects (fix #4063) (#4074) 2020-03-11 17:09:00 +05:30
Resolve.hs few actions' fixes and improvements (fix #3977, #4061 & close #4021) (#4109) 2020-03-20 12:16:45 +05:30
Schema.hs allow custom mutations through actions (#3042) 2020-02-13 23:08:23 +05:30
Utils.hs Refactor schema cache construction to avoid imperative updates 2020-01-08 16:43:06 -06:00
Validate.hs Track variable uses within query validation for caching (fix #3097) (#3135) 2019-10-16 09:33:34 -05:00