home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / database / oracle / 1494 < prev    next >
Encoding:
Internet Message Format  |  1992-09-03  |  1.8 KB

  1. Path: sparky!uunet!munnari.oz.au!manuel!sserve!hhcs.gov.au!pihlab
  2. From: pihlab@hhcs.gov.au
  3. Newsgroups: comp.databases.oracle
  4. Subject: Re: how to compress database and move indexes to different tablespace
  5. Message-ID: <1992Sep4.090637.346@hhcs.gov.au>
  6. Date: 4 Sep 92 09:06:36 +1000
  7. References: <1992Sep2.100626.1@bbs.mdcbbs.com>
  8. Organization: Aust. Dept. Health, Housing and Community Services
  9. Lines: 29
  10.  
  11. > However, how to I move the corrisponding indexes? I have tried using the
  12. > "show" option of IMP to generate a file, but this file is in such a poor
  13. > format I cannot use it without EXTENSIVE editing. Does anybody have a
  14. > utility that will take the file generated by the "show" option and make it
  15. > usable? The format I get is ONLY 80 column records and EVERY line is
  16. > enclosed in double quotes.
  17.  
  18. I don't have any formatter for you.
  19.  
  20. There is an INDEXES=file (can't remember the exact name) parameter for IMPORT
  21. which pulls out the TABLE and INDEX definitions to a flat file automatically.
  22. It is mentioned in the V5 to V6 upgrade documentation because you had to check
  23. that INDEX names were unique across all objects for each user.  If you can get
  24. that working then you need only add the TABLESPACE component.
  25.  
  26. You but you might consider creating a script of CREATE INDEX statements
  27. directly from the INDEX definitions in the database.
  28.  
  29. -- 
  30.  
  31. Bruce...        pihlab @ hhcs.gov.au
  32.                  ^^
  33. *******************************************************************
  34. * Bruce Pihlamae  --  Database Administration                     *
  35. * Commonwealth Department of Health, Housing & Community Services *
  36. * Canberra, Australia                             (W) 06-289-7056 *
  37. *******************************************************************
  38. * These are my own thoughts and opinions, few that I have.        *
  39. *******************************************************************
  40.