home *** CD-ROM | disk | FTP | other *** search
/ Complete Linux / Complete Linux.iso / docs / apps / database / ingres04.lzh / doc / unix / purge.doc < prev    next >
Encoding:
Text File  |  1992-11-19  |  2.5 KB  |  63 lines

  1.  
  2.  
  3.  
  4.  
  5.      PURGE(UNIX)                  3/14/79                  PURGE(UNIX)
  6.  
  7.  
  8.  
  9.      NAME
  10.           purge - destroy all expired and temporary relations
  11.  
  12.      SYNOPSIS
  13.           _p_u_r_g_e [ -_f ] [ -_p ] [ -_a ] [ -_s ] [ +__w ] [ database ... ]
  14.  
  15.      DESCRIPTION
  16.           _P_u_r_g_e searches the named databases deleting system temporary
  17.           relations.   When  using the -_p flag, expired user relations
  18.           are deleted.  The -_f flag will cause unrecognizable files to
  19.           be deleted, normally purge will just report these files.
  20.  
  21.           Only the database administrator (the DBA) for a database may
  22.           run  purge,  except the INGRES superuser may purge any data-
  23.           base by using the -_s flag.
  24.  
  25.           If no databases are specified all databases  for  which  you
  26.           are the DBA will be purged.  All databases will be purged if
  27.           the INGRES superuser has specified the -_s flag.  The -_a flag
  28.           will cause purge to print a message about the pending opera-
  29.           tion and execute it only if the response if a `y'.  Any oth-
  30.           er response is interpreted as ``no''.
  31.  
  32.           _P_u_r_g_e will lock the data base while it is  being  processed,
  33.           since errors may occur if the database is active while purge
  34.           is working on the database.  If a data base  is  busy  _p_u_r_g_e
  35.           will  report  this  and go on to the next data base, if any.
  36.           If standard input is not a terminal _p_u_r_g_e will wait for  the
  37.           data  base  to be free.  If -_w flag is stated _p_u_r_g_e will not
  38.           wait, regardless of standard  input.   The  +_w  flag  causes
  39.           _p_u_r_g_e to always wait.
  40.  
  41.      EXAMPLES
  42.           purge -p +w tempdata
  43.           purge -a -f
  44.  
  45.      SEE ALSO
  46.           save(quel), restore(unix)
  47.  
  48.      DIAGNOSTICS
  49.           who are you? - you are not entered into the users file.
  50.           not ingres superuser - you have tried to use the -_s flag but
  51.               you are not the INGRES superuser.
  52.           you are not the dba - you have tried to purge a database for
  53.               which you are not the DBA.
  54.           cannot access database - the database does not exist.
  55.  
  56.      BUGS
  57.           If no database names are given, only the  databases  located
  58.           in the directory _d_a_t_a/_b_a_s_e are purged, and not the old data-
  59.           bases in _d_a_t_a_d_i_r.  Explicit database names  still  work  for
  60.           databases in either directory.
  61.  
  62.  
  63.