Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | 6 | |
7 | 8 | 9 | 10 | 11 | 12 | 13 |
14 | 15 | 16 | 17 | 18 | 19 | 20 |
21 | 22 | 23 | 24 | 25 | 26 | 27 |
28 | 29 | 30 |
Tags
- pandas
- 맛집
- GIT
- 유니티
- PyQt5
- 날짜
- 라즈베리파이
- PER
- 다이어트
- tensorflow
- MS-SQL
- ubuntu
- Unity
- javascript
- node.js
- 함수
- python
- 리눅스
- PyQt
- mssql
- sqlite
- swift
- MySQL
- IOS
- Linux
- urllib
- flutter
- ASP
- port
- Excel
Archives
목록postgres (1)
아미(아름다운미소)
Postgres: Show Schema Sizes in a Database
SELECT schema_name, pg_size_pretty(sum(table_size)::bigint) as "disk space", (sum(table_size) / pg_database_size(current_database())) * 100 as "percent" FROM ( SELECT pg_catalog.pg_namespace.nspname as schema_name, pg_relation_size(pg_catalog.pg_class.oid) as table_size FROM pg_catalog.pg_class JOIN pg_catalog.pg_namespace ON relnamespace = pg_catalog.pg_namespace.oid ) t GROUP BY schema_name OR..
데이타베이스
2023. 2. 20. 16:43