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
693 B
JSON
22 lines
693 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 tablename LIKE 'notifications_%'\n AND tablename ~ '^notifications_[0-9]{4}_[0-9]{2}$'\n ",
|
|
"describe": {
|
|
"columns": [
|
|
{
|
|
"ordinal": 0,
|
|
"name": "size_bytes!",
|
|
"type_info": "Int8",
|
|
"origin": "Expression"
|
|
}
|
|
],
|
|
"parameters": {
|
|
"Left": []
|
|
},
|
|
"nullable": [
|
|
null
|
|
]
|
|
},
|
|
"hash": "994faf68227885e98b15881aa878e75beb942dcf9f9a5ecd8ea51ddf4b2e4294"
|
|
}
|