DB Creation and Updating #210
Replies: 4 comments
-
|
You can always update the database manually of course, which is probably smart to do. Do you propose to remove these checks and if so, why? Don't you think these checks add a layer of robustness to the app by verifying that the database is in synch with the study data when starting the application? |
Beta Was this translation helpful? Give feedback.
-
|
I do think we should have the check in place. And I think my question around it is really two-fold:
To a lesser extent I'm worried about initialization time, but this process here isn't really the culprit there. |
Beta Was this translation helpful? Give feedback.
-
|
@LDSamson another thought is that the |
Beta Was this translation helpful? Give feedback.
-
|
Might be better indeed to rely on app_data instead. historically, the app relied on multiple objects being available (app_data, app_tables, app_vars, metadata), which was too complicated and led to the current situation. I don't think performance gain will be big, but it can help to only rely on app_data. We can also simplify the in-memory metadata, since I think we are only using We should aim for better performance since the app is slow to start up and identify the biggest bottlenecks. Probably biggest performance gains can be achieved by improving the |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
clinsight/R/run_app.R
Lines 66 to 74 in f32e09d
Why is the database creation and updating not part of the preprocessing? It seems like since we already require the creation of the study data and meta data that it makes sense to update the database when study data is created, not every time the application is run.
Beta Was this translation helpful? Give feedback.
All reactions