|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Stop making mediocre tutorials.The best tutorials are video! Camtasia Studio makes it easy to create engaging, buzz-building screen videos at any size, in any popular format. Download the free trial!
|
|
#1
|
|||
|
|||
|
Equivalent of 'SHUTDOWN COMPACT' in postgres
In hsql, 'SHUTDOWN COMPACT' means :
It writes out a new .script file which contains the data for all the tables, including CACHED and TEXT tables. It then deletes the existing text table files and the .data file before rewriting them. After this, it backs up the .data file in the same way as normal SHUTDOWN. This operation shrinks all files to the minimum size. What is the command in postgres that does the same ? (Will SIGTERM and VACCUM be of any use?) Thanks. |
|
#2
|
|||
|
|||
|
There is no such concept as COMPACT in Postgres.
Simply shut down the server. |
|
#3
|
|||
|
|||
|
Equivalent of 'SHUTDOWN COMPACT' in postgres
Thanks.
|
|
#4
|
|||
|
|||
|
Equivalent of 'SHUTDoWN COMPACT' in postgres
Shammat, what is the sql statement to shutdown the postgres server?
generally, on the command line, i shut it down using : psql stop But I need to replace the 'SHUTDOWN COMPACT' in hsql with a statement for Postgres. thanks. |
|
#5
|
|||
|
|||
|
Quote:
|
![]() |
| Viewing: Dev Shed Forums > Databases > PostgreSQL Help > Equivalent of 'SHUTDOWN COMPACT' in postgres |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|