* Get statistics about the knowledge graph
()
| 2424 | * Get statistics about the knowledge graph |
| 2425 | */ |
| 2426 | getStats(): GraphStats { |
| 2427 | const stats = this.queries.getStats(); |
| 2428 | stats.dbSizeBytes = this.db.getSize(); |
| 2429 | stats.walSizeBytes = this.db.getWalSizeBytes(); |
| 2430 | return stats; |
| 2431 | } |
| 2432 | |
| 2433 | /** |
| 2434 | * Active SQLite backend for this project's connection (`node-sqlite` — Node's |