Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Simple removal function for single database result set from Diagnostics Explorer database #840

Open
azimov opened this issue Jun 27, 2022 · 1 comment
Labels
db results handling Impacting postgres results database enhancement New feature or request good first issue Good for newcomers

Comments

@azimov
Copy link
Collaborator

azimov commented Jun 27, 2022

A function should be exported with the following pattern:

removeResultsByDatabaseId <- function(connectionDetails, databaseIds, resultsDatabaseSchema) {

    ... Delete all records from database matching specified ids
} 

This should allow simple data refreshes (e.g. if data has been corrupted or a new version of the same data is to be added.

@azimov azimov added enhancement New feature or request good first issue Good for newcomers db results handling Impacting postgres results database labels Jun 27, 2022
@gowthamrao
Copy link
Member

Do you know if we have a standardized process for database optimizations when we do large deletes/inserts. e.g. some db like the statistics/vaccum etc.

Is there experience among the HADES developers on this topic?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
db results handling Impacting postgres results database enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants