Commit edf738bd by Owo Sugiana

VACUUM tanpa FULL

1 parent 10985a0c
0.5.1 19-5-2021
---------------
- Perintah VACUUM tidak lagi dengan opsi FULL karena akan menghapus file yang
dibutuhkan mirror (Postgres WAL)
0.5 2-3-2021
------------
- Tambah log2db yaitu menyimpan log file ke tabel log_file.
......
......@@ -156,7 +156,7 @@ def chown_postgres(filename):
def vacuum(version, port, db_name):
psql_bin = pg_bin(version, 'psql')
sql = 'VACUUM FULL VERBOSE ANALYZE'
sql = 'VACUUM VERBOSE ANALYZE'
cmd = f'{psql_bin} -p {port} {db_name} -c "{sql}"'
run_as_postgres(cmd)
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!