Skip to content

Added SQL script to cleanup database#337

Merged
serenaponta merged 10 commits intomasterfrom
db-cleanup-scripts
Feb 14, 2020
Merged

Added SQL script to cleanup database#337
serenaponta merged 10 commits intomasterfrom
db-cleanup-scripts

Conversation

@henrikplate
Copy link
Contributor

@henrikplate henrikplate commented Jan 31, 2020

Added two SQL scripts than can be run from the PostgreSQL console:

  • count_vulndeps_unknown_libs.sql is used to count vulnerable dependencies on libraries whose digest is not known to Maven Central
  • delete_unused_libs.sql is used to clean two relationship tables for libraries not being used in any dependency

TODOs

  • Tests
  • Documentation

@henrikplate henrikplate added database wip Work in progress - Don't merge labels Jan 31, 2020
@henrikplate henrikplate removed the wip Work in progress - Don't merge label Feb 13, 2020
@serenaponta serenaponta merged commit 9e10514 into master Feb 14, 2020
@serenaponta serenaponta deleted the db-cleanup-scripts branch February 14, 2020 08:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants