home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / database / oracle / 2775 < prev    next >
Encoding:
Internet Message Format  |  1993-01-12  |  1.6 KB

  1. Path: sparky!uunet!munnari.oz.au!bruce.cs.monash.edu.au!monu6!escargot!otto!dtb
  2. From: dtb@otto (David Bath)
  3. Newsgroups: comp.databases.oracle
  4. Subject: Re: Export/Import to tape?
  5. Date: 12 Jan 93 13:54:19 GMT
  6. Organization: RMIT Computer Centre
  7. Lines: 31
  8. Message-ID: <dtb.726846859@otto>
  9. References: <bogreen.726774727@unixg.ubc.ca>
  10. NNTP-Posting-Host: otto.bf.rmit.oz.au
  11.  
  12. bogreen@unixg.ubc.ca (Bo Green) writes:
  13.  
  14.  
  15. > 1) I need to change the tablespace allocation of a large database I am
  16. > working with, so I thought the best way would be to Export, create
  17. > new tablespaces, and then Import the tables. Unfortunately, I don't
  18. > have enough disk space to Export to disk. I figure out how I can Export
  19. > to exabyte tape in a reasonably efficient way. Any ideas?
  20.  
  21. Looks like you are UNIX by your address, so here goes
  22. (1) Compressing export to disk
  23.     mknod ora_export.dmp p
  24.     nohup compress < ora_export.dmp > ora_export.dmp.Z &
  25.     exp / ...... file=ora_export.dmp
  26.     
  27.     This lets you compress on the fly without using any disk (well,
  28.     you will use 4 disk blocks or the size of a pipe).
  29.  
  30. (2) If exabyte takes streaming input could do the following
  31.     change nohup line to not write to ora_export.dmp.Z but use
  32.     dd(1) {sourcing from stdin} and output to tape.
  33.  
  34. Hope this helps
  35.  
  36. David T. Bath    Email:dtb@otto.bf.rmit.oz.au    Phone:03-3477511
  37. Global Technology Corporation, 179 Grattan St, CARLTON, VIC, 3153, AUSTRALIA
  38. "Failure to emulate is the best revenge" - Marcus Aurelius
  39. -- 
  40. David T. Bath    Email:dtb@otto.bf.rmit.oz.au    Phone:03-3477511
  41. Global Technology Corporation, 179 Grattan St, CARLTON, VIC, 3153, AUSTRALIA
  42. "Failure to emulate is the best revenge" - Marcus Aurelius
  43.