home *** CD-ROM | disk | FTP | other *** search
/ Complete Linux / Complete Linux.iso / docs / apps / database / postgres / postgre2.z / postgre2 / ref / unix / vacuum < prev   
Encoding:
Text File  |  1992-08-27  |  1.3 KB  |  52 lines

  1. .\" XXX standard disclaimer belongs here....
  2. .\" $Header: /private/postgres/ref/unix/RCS/vacuum,v 1.1 1991/08/11 19:01:38 mao Exp $
  3. .SP VACUUM UNIX 8/11/91
  4. .uh NAME
  5. .lp
  6. vacuum \*- Vacuum a POSTGRES database
  7. .uh SYNOPSIS
  8. .lp
  9. .b vacuum
  10. dbname
  11. .uh DESCRIPTION
  12. .lp
  13. .b Vacuum
  14. vacuums a POSTGRES database.
  15. Vacuuming a database moves deleted records to an archive
  16. for archived classes,
  17. cleans out records from aborted transactions,
  18. and updates statistics that are stored in the system catalogs.
  19. Databases should be vacuumed from time to time.
  20. We recommend adding an entry to
  21. .i "/usr/lib/crontab"
  22. to vacuum production databases nightly.
  23. .lp
  24. As of release 3.0 of POSTGRES,
  25. the
  26. .b vacuum
  27. command is a shell script that executes the
  28. Postquel query
  29. .i vacuum
  30. on the database of interest.
  31. See the Postquel reference manual for details.
  32. .uh "ENVIRONMENT VARIABLES"
  33. .ip PGPORT
  34. The port on which the postmaster is running.  This value is
  35. used if the
  36. .i -p
  37. option is not specified.  If 
  38. .i -p
  39. is not specified and PGPORT is not set, then the port defaults
  40. to 4321.
  41. .ip PGHOST
  42. The host on which the postmaster is running.  This value is
  43. used if the
  44. .b -h
  45. option is not specified.  If
  46. .b -h
  47. is not specified and PGHOST is not set, then the host defaults
  48. to "localhost".
  49. .uh "SEE ALSO"
  50. .lp
  51. vacuum(postquel).
  52.