The statistics endpoint provides insight into the database size, broken down by table.Documentation Index
Fetch the complete documentation index at: https://docs.poly-data.xyz/llms.txt
Use this file to discover all available pages before exploring further.
Get Database Size
GET
Get database size statistics broken down by table.
Example
Response Fields
| Field | Type | Description |
|---|---|---|
database | string | Database name |
size_bytes | integer | Total database size in bytes |
size_pretty | string | Human-readable total size |
tables | array | Per-table size breakdown |
Table Object
| Field | Type | Description |
|---|---|---|
table | string | Table name |
size_bytes | integer | Table size in bytes (including indexes) |
size_pretty | string | Human-readable table size |
The orderbooks table typically accounts for the vast majority of database size due to the volume of historical snapshots stored.