catalog/timeseries optimization #120
adamkorynta
started this conversation in
General
Replies: 1 comment 4 replies
-
Example 4: ~5 minutes (Call against RADAR 14 times)
|
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Preface: I was initially testing this before grabbing the latest changes from: #117 and so the timings are a lot better considering there used to be 73k records in total with aliases. Before this pull request, it was taking up to ~20minutes to get all of the data. Since this is really the first usage of RADAR in this way I'm not sure if the timings are expected or the ideal way to optimize the client. The current cursor implementation does not allow for multi-threading the retrieval so Example 1 or Example 2 would be the preferred usage in the existing CWMS client.
Setup:
Goal: retrieve all time series identifiers (example usage: CWMSVue time series tab)
Benchmark: ~1minute Using JDBC and calling cwms_cat PL/SQL procedures
Example 1: ~3 minutes (call against RADAR 2 times)
Example 2: ~3.5 minutes (call against RADAR 2 times)
Example 3: ~5.5 minutes (call against RADAR 27 times)
Beta Was this translation helpful? Give feedback.
All reactions