home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / database / oracle / 2966 < prev    next >
Encoding:
Text File  |  1993-01-28  |  2.6 KB  |  62 lines

  1. Newsgroups: comp.databases.oracle
  2. Path: sparky!uunet!UB.com!pacbell.com!sgiblab!munnari.oz.au!yarrina.connect.com.au!cmutual.com.au!aaj
  3. From: aaj@cmutual.com.au (Tony Jambu)
  4. Subject: Re: Export/Import to tape?
  5. Message-ID: <1993Jan27.052159.981@cmutual.com.au>
  6. Sender: aaj@cmutual.com.au (Tony Jambu)
  7. Organization: Colonial Mutual Group
  8. References: <dtb.726846859@otto> <1993Jan22.200037.1902@spectrum.xerox.com>
  9. Date: Wed, 27 Jan 1993 05:21:59 GMT
  10. Lines: 50
  11.  
  12.  
  13. In article <1993Jan22.200037.1902@spectrum.xerox.com>, rdutc@sarek.xerox (Ray
  14. Dutcher) writes:
  15. > Compressing the export through a named pipe worked great and I did the
  16. > reverse fine without any loss of data.  I also did this with success on data
  17. > files (ie. a physical backup).  Thanks for the info.  Just to check I called
  18. > Oracle Support to see if they > were familiar with this technique and they
  19. > said that they know of customers who do this but they know that some
  20. > customers have experienced a loss of data when using the UNIX
  21. > compress/uncompress command and that Oracle will not support this technique.
  22. >  also used compress in the past on exports to transfer a database to another
  23. > machine over my network and also had zero problems.
  24. > Before I put this technique into a production system I would like to know if
  25. > anyone has experienced the "data loss" that Oracle Support mentioned? and if
  26. > so please state your Oracle version and OS when replying.
  27. > FYI, here's the technique I'm referring to:
  28. > (1) Compressing export to disk
  29. >     mknod ora_export.dmp p
  30. >     nohup compress < ora_export.dmp > ora_export.dmp.Z &
  31. >     exp / ...... file=ora_export.dmp
  32. >     
  33. >     This lets you compress on the fly without using any disk (well,
  34. >     you will use 4 disk blocks or the size of a pipe).
  35. > Thank you for any responses.
  36.  
  37. The problem with using compress that  Oracle is refering to seems be related
  38. to zcat rather than compress itself.  For more infor, refer to
  39. document #99769.561.  This doco be found on the RTSS BBS.
  40.  
  41. #     zcat outputfile.Z | dd bs=16K of=/dev/xxx
  42. #     where of = output file (raw device, in our case)
  43. #           bs = block size of conversion
  44. #     (Recall the all compressed files have a .Z extension to them.)
  45. #           What we found was that zcat was deleting blocks when
  46. # uncompressing the files. Thus the database was corrupted due to
  47. # missing blocks.
  48.  
  49. -- 
  50.  _____       ________ / ____ |Tony Jambu, Database Administrator
  51.   /_  __       /_ __ /       |Colonial Mutual Invest Mgmt Aust (ACN 004021809)
  52.  /(_)/ ((_/ \_/(///(/_)/_(   |EMAIL:  TJambu@cmutual.com.au
  53.  \_______/                   |PHONE:  +61-3-6418448       FAX:  +61-3-6076198
  54.