Reputation: 170
I need Big Query to efficiently analyse TB large datasets.
Every couple of seconds I need to check the maximum and minimum value from some column in the big query table. Even with an appropriate clustering this has become quite expensive.
Would it make sense to store these values in a separate firestore database? Any thoughts? Thanks
Upvotes: 0
Views: 50
Reputation: 46
Presumably you know the min and max values from the previous time you checked, so you should only need to check the min and max values from the new data that has arrived since the last check. You don't need to query the whole table every time.
Upvotes: 2