Replies: 1 comment
-
How 'live' does the data need to be for reporting purposes? Perhaps using a materialized view and refreshed every few minutes would be better? You can then also add indexes on your materialized view and have everything performant |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I like the idea of storing json documents and simplify the development. But what about the reporting part of an application? In our sitation the database is also used for read-only direct query access for reporting purposes, mostly done by people with a relational background.
I'm thinking of flattening the json documents to a relational view using sql views. Anyone tested the performance overhead of flattening json documents into a sql view (dynamically created based on the model)?
example:
would result in two views (i left out the json syntax)
Beta Was this translation helpful? Give feedback.
All reactions