db
db inspect
You can inspect the usage of a database, including the total space used, rows read and written with the following command:
Flags
Flag | Description |
---|---|
--queries | Show database query statistics. |
--verbose | Show detailed information, including the location and instance type. |
Examples
Top Queries
You can fetch the most executed, resource-intensive SQL statements that have been run against your database using the Turso CLI: