Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • configUOCIOTTO.ora Oracle
  • How to specify 2 arch location to avoid any kind of DB hanging. Oracle
  • Kill a session dynanically using execute immediate Oracle
  • track_autoupgrade_copy_progress.sql Oracle
  • tblwopk.sql /* Find Tables Without PK */ Oracle
  • proc.sql Oracle
  • To find all disk io ( EMC as well as local) Linux/Unix
  • initUOCIOTTO.ora Oracle
  • fkwoindex.sql /* Find FK without Index */ Oracle
  • Good Doc 28-JUN-2006 Oracle
  • Oracle Standby Database Library Index from Metalink Oracle
  • Sequence Resetting Oracle
  • chk_space_SID.ksh Linux/Unix
  • process id based files and processes Linux/Unix
  • All Hints for Oracle Databases Oracle

Export Oracle data and Compress at same time

Posted on 23-Aug-2005 By Admin No Comments on Export Oracle data and Compress at same time

If one cannot afford to buy extra disk space one can run the export and compress utilities simultaneously. This will prevent the need to get enough space for both the export file AND the compressed export file. Eg:

# Make a pipe

mknod expdat.dmp p # or mkfifo pipe

# Start compress sucking on the pipe in background

compress < expdat.dmp > expdat.dmp.Z &

# Wait a second or two before kicking off the export

sleep 5

# Start the export

exp scott/tiger file=expdat.dmp

Or export accross the network directly into the target database:

Host A:

mknod FIFO.dmp p

exp u/p FILE=FIFO.dmp rest_of_parameters…

Host B:

mknod FIFO2.dmp p

rsh host1 dd if=FIFO.dmp > FIFO2.dmp &

imp u/p FILE=FIFO2.dmp rest_of_parameters

Oracle, SQL scripts

Post navigation

Previous Post: How does one overcome the Unix 2 Gig file limit?
Next Post: Oracle Data Direct to TAPE

Related Posts

  • ORA-8031 issue and solution if it is occuring due to truncate. Oracle
  • ORACLE_SID in sqlplus Oracle
  • alter database backup controlfile to trace Oracle
  • get_vmstat_solaris Oracle
  • Find All internal Parameters Oracle
  • 751131.1 New Article Error 2819 While Requesting a Systemstate Dump Oracle

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Categories

  • Ansible (0)
  • AWS (2)
  • Azure (1)
  • Django (0)
  • GIT (1)
  • Linux/Unix (149)
  • MYSQL (5)
  • Oracle (400)
  • PHP/MYSQL/Wordpress (10)
  • POSTGRESQL (1)
  • Power-BI (0)
  • Python/PySpark (7)
  • RAC (18)
  • rman-dataguard (26)
  • shell (150)
  • SQL scripts (348)
  • SQL Server (6)
  • Uncategorized (3)
  • Videos (0)

Recent Posts

  • Running PDB on single node in RAC09-Apr-2026
  • find_arc.sql09-Apr-2026
  • pvm_pre_change.sql08-Apr-2026
  • find_encr_wallet.sql08-Apr-2026
  • find_pdbs.sql08-Apr-2026
  • Creating a Container Database using dbaascli08-Apr-2026
  • track_autoupgrade_copy_progress.sql01-Apr-2026
  • refre.sql for multitenant01-Apr-2026
  • prepfiles.sh for step by step generating pending statistics files10-Mar-2026
  • tracksqltime.sql05-Mar-2026

Archives

  • 2026
  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • move_arch_files.ksh /* Good One */ Linux/Unix
  • Settting up get_vmstat.sh for colletinf CPU Usage. Oracle
  • Goldengate document from Porus Oracle
  • replacing ^M character when passing files from Windows to Unix Linux/Unix
  • When error comes for temporary tablespace with version <= 9i Oracle
  • Caching sequence in Memory Oracle
  • Single character replacement in Unix Linux/Unix
  • find_log_switch.sql Find log switches in graphical manner Oracle

Copyright © 2026 pvmehta.com.

Powered by PressBook News WordPress theme