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

Add functions for checking, repairing, and compacting database #154

Open
leifeld opened this issue Feb 16, 2019 · 0 comments
Open

Add functions for checking, repairing, and compacting database #154

leifeld opened this issue Feb 16, 2019 · 0 comments
Labels
DNA data structures Issues related to data structures, classes, and SQL feature request rDNA Issues related to rDNA

Comments

@leifeld
Copy link
Owner

leifeld commented Feb 16, 2019

Both in DNA and rDNA, it would be desirable to have a function that...

  • checks if all tables are present in the database and adds tables if necessary
  • checks if all necessary primary key entries are present that are referenced in other tables and adds them if necessary
  • compacts the database to free space
  • corrects any problems with statement positions outside the document text length.

In DNA, this could be executed automatically when a database is loaded and closed and when DNA is closed. In rDNA, this could be executed automatically when dna_init is used. That is, if this does not take too long.

@leifeld leifeld added rDNA Issues related to rDNA DNA data structures Issues related to data structures, classes, and SQL and removed version 2.0 labels Feb 17, 2019
@leifeld leifeld modified the milestones: DNA 3.0.9, DNA 3.0.10 Jan 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
DNA data structures Issues related to data structures, classes, and SQL feature request rDNA Issues related to rDNA
Projects
None yet
Development

No branches or pull requests

1 participant