Skip to content
This repository was archived by the owner on Sep 2, 2022. It is now read-only.

tool: create tool for debugging a database file #59

Closed
tsatke opened this issue Sep 23, 2020 · 3 comments
Closed

tool: create tool for debugging a database file #59

tsatke opened this issue Sep 23, 2020 · 3 comments

Comments

@tsatke
Copy link
Contributor

tsatke commented Sep 23, 2020

A database file currently is not readable.
To manually inspect the contents of such a file, we want to have a tool to use, which displays information about the file.
We want this tool to be usable as a sub-command of the xdb command, such as xdb debug.

The developer should figure out, which properties are most important. He should also figure out, which sub-commands to the debug command would make sense to have.
As an example, here are some example commands and outputs.

$ xdb debug file.db
Summary of file.db (size 256KiB)
  Pages:  4
  Tables: 1
  Unused: 255KiB
$ xdb debug tables file.db
Summary of tables in file.db
  Tables: 1
Summary of 'myTable'
  Schema:
    CREATE TABLE myTable (
      id CHAR,
      created DATE
    )
  Records: 1

and many more.

@tsatke tsatke added the good first issue Good for newcomers label Sep 23, 2020
@tsatke
Copy link
Contributor Author

tsatke commented Sep 23, 2020

Before starting the implementation, please aggregate all interesting properties and discuss with @tsatke first, please.

@tsatke
Copy link
Contributor Author

tsatke commented Oct 26, 2020

May be interesting: #65

@SUMUKHA-PK SUMUKHA-PK removed the good first issue Good for newcomers label Oct 27, 2020
@SUMUKHA-PK
Copy link
Member

Merging with #65 and closing this.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants