Database Commands
Database Commands
Database commands provide visibility into and maintenance of jjj’s internal data store. These are primarily useful for troubleshooting.
jjj db status
jjj db statusDisplay the current status of the jjj database, including entity counts and storage health.
Example:
jjj db statusjjj db rebuild
jjj db rebuildRebuild the database from the event log. Use this if the database becomes corrupted or out of sync with the underlying events.
Note: This re-processes all events from the shadow graph. It is safe to run but may take a moment on repositories with extensive history.
Example:
jjj db rebuild