home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!munnari.oz.au!mel.dit.csiro.au!yarra!cmutual.com.au!aaj
- From: aaj@cmutual.com.au (Tony Jambu)
- Newsgroups: comp.databases.oracle
- Subject: Re: how to compress database and move indexes to different tablespace
- Message-ID: <1992Sep8.023145.3884@cmutual.com.au>
- Date: 8 Sep 92 02:31:45 GMT
- Organization: Colonial Mutual Life Australia
- Lines: 112
-
- Path: cmutual.com.au!aaj
- Newsgroups: comp.databases.oracle
- Distribution: world
- Followup-To:
- References: <1992Sep2.100626.1@bbs.mdcbbs.com>
- <1992Sep4.090637.346@hhcs.gov.au>
- From: aaj@cmutual.com.au (Tony Jambu)
- Organization: Colonial Mutual Life Australia
- Subject: how to compress database and move indexes to different t
-
- In article <1992Sep4.090637.346@hhcs.gov.au>, pihlab@hhcs.gov.au
- writes:
- > > However, how to I move the corrisponding indexes? I have tried using the
- > > "show" option of IMP to generate a file, but this file is in such a poor
- > > format I cannot use it without EXTENSIVE editing. Does anybody have a
- > > utility that will take the file generated by the "show" option and make it
- > > usable? The format I get is ONLY 80 column records and EVERY line is
- > > enclosed in double quotes.
- >
- > I don't have any formatter for you.
- >
- > There is an INDEXES=file (can't remember the exact name) parameter for IMPORT
- > which pulls out the TABLE and INDEX definitions to a flat file automatically.
- > It is mentioned in the V5 to V6 upgrade documentation because you had to
- check
- > that INDEX names were unique across all objects for each user. If you can
- get
- > that working then you need only add the TABLESPACE component.
- >
- > You but you might consider creating a script of CREATE INDEX statements
- > directly from the INDEX definitions in the database.
- >
-
-
- The exact syntax is
- imp user/password INDEXFILE=FILE file=...
-
- Problem with this approach is that it does not include a number of objects.
- For example views.
-
- Now, I have this utility that was written by a colllegue and is called 'impl2sql'.
- It is very useful as it formats the output from imp's SHOW in a very useable
- format. To use it,
-
- 1. Cut starting from the 'begin' line to the 'end' line into a file, FILE
- 2. Decode it useing 'uudecode FILE'
- 3. uncompress impl2sql.Z
-
- To use it have a read of the description in the head of the file.
-
-
- --------------------------------- ATTACHMENT ---------------------------------
- begin 777 impl2sql.Z
- M'YV0(T*\$)/&S8LY:!2,4 C"29 F11@F2-,AL9<^*P =$"!! 4(U(,>>/&
- M3ADY=.: >"(GS!@V94!0A/,&)0@4;MZ D//FSIP4(-BDF4,'!!V=4Z(P 3%G
- MC)PT<.@PG)+%R1,H4Y),80BBJU>$.F16!/%B9\\Y/=R ,),&9H\R>."0"4/'
- M!9FQ"'OVR -"A@\3,4#P$6L1HT80/@@+)>HB(QNN7KN. 4N8:1ZB9=J\:!/&
- M39@S)\WZ3,L4C5Z^;-W"E4O7[E@^)D H3#"QXD7'B!4/K>N8(9$B4X9(20*%
- M2I(G3B!'-I)E$0;\R ",.L03LO0C1DFZ)LS:]O&-,.SC5$T,=_4H0-G
- M/73I+%W"E&C#!0P7,V 0KEET?=LT=.3A0E=5S!$3'6C0-9U*",8TDWMFU'3>
- M4$PY!954(X"0P!UHI#$&&B#<T=9&=SQ%!W=,U0%@&&+ !$)23*@ !1MUJ-34
- M4U$9I1-19*A7ET(24=&A2OX)%:!,*L$1!DH>UL'&DFSP56,99C@9(GIJ-0C"
- M:OR%YZ(<5)XTAT1'@2!"A&"F<88;(AC%(DQS*#E&&2IU1@8(G/&5H$D@U'%&
- ME"# @<9E'E+'U%$M@2:1DBVU4<:)SIVG8)X@B''@&SH1!!Z:(.2AGAR68=;&
- M@"!0H1-H16DY%QUA2%10F=W-P5EUH<UQV8EM7,>6<T7)48=:\;WD8$5=%@D@
- M7R(B2"9Z9O(TFEIYW;%7FV]$E09)=;IQ)QTMP7%>>NNUEZI.W=U1TQH%G2%1
- M:F60*L6O$ZK$[GD\^0GB3+<=5B8</)%1QYS?,J61135*=..%TVF[)1D !@SF
- M'$Z.FV+#GM8!*JLMTBDGG0F3L>B@<Q2Z$5$U?183&70V1Z<+$DET!9;Q@I"@
- M2I:6H5:/;I1QG9T!XW9PCKZZH=(32]"KWAD)99B JG2Q&(:!UU6,76??WJR3
- MEC-U&5W +M%1AZ'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------------------------
- _____ ________ / ____ |Tony Jambu, Database Administrator
- /_ __ /_ __ / |Colonial Mutual Life Australia. (ACN 004021809)
- /(_)/ ((_/ \_/(///(/_)/_( |EMAIL: TJambu@cmutual.com.au
-