mirror of https://github.com/synctv-org/synctv
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
777 B
JSON
22 lines
777 B
JSON
{
|
|
"db_name": "PostgreSQL",
|
|
"query": "\n SELECT pg_total_relation_size(format('%I.%I', schemaname, tablename))::BIGINT AS \"size_bytes!\"\n FROM pg_tables\n WHERE schemaname = 'public'\n AND (\n tablename ~ '^chat_messages_[0-9]{4}_[0-9]{2}_[0-9]{2}$'\n OR tablename ~ '^room_playback_history_[0-9]{4}_[0-9]{2}_[0-9]{2}$'\n )\n ",
|
|
"describe": {
|
|
"columns": [
|
|
{
|
|
"ordinal": 0,
|
|
"name": "size_bytes!",
|
|
"type_info": "Int8",
|
|
"origin": "Expression"
|
|
}
|
|
],
|
|
"parameters": {
|
|
"Left": []
|
|
},
|
|
"nullable": [
|
|
null
|
|
]
|
|
},
|
|
"hash": "220d46600645b9059ed8778f47b5d7ae3b10b91f256c0b954ef55166e5a09b01"
|
|
}
|