Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • Optimizer_Index init.ora parameter explaination. Oracle
  • Clean up Oracle
  • Find long Running Transaction Linux/Unix
  • Virtual Indexes in Oracle Oracle
  • grep multuple patterns Linux/Unix
  • Global Unique Identifier Generation in Oracle 9.2 SYS_GUID() Oracle
  • pvm_rbs1.sql (to collect rbs info from db) Oracle
  • Configure ssh authentications for RAC Oracle
  • get_ratio.sql get the ratio of users from v$session and this uses CASE-WHEN-THEN clause Oracle
  • 276434.1 Modifying the VIP or VIP Hostname of a 10g or 11g Oracle Clusterware Node Oracle
  • findinfo.sql (SQL for getting CPU and Active session info) Oracle
  • Backup and Recovery Scenarios Oracle
  • SQL Server: How to see historical transactions SQL Server
  • DB Console Mainenance. Oracle
  • Adding a new disk and mount it automatically. on VMWARE LINUX Linux/Unix

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

  • standard Monitoring – 1 Oracle
  • Virtual Indexes in Oracle Oracle
  • Good Link from metalink 1 Oracle
  • Oracle Standby Database Library Index from Metalink Oracle
  • How to Modify the statistics collection by MMON for AWR repository Oracle
  • Creating never expiring DB user accounts in Oracle 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
  • Import and export statements Oracle
  • Export With Query Another Example. Oracle
  • metalink all dynamic view reference notes. Oracle
  • How to find who is using which Rollback segment and how many rows or blocks in that rollback segments, Oracle
  • Query to Generate aggregate on every 30 mins. Oracle
  • Find execution plan from dba_hist_sql_plan for a specific SQL_ID and PLAN_HASH_VALUE fplan.sql Oracle
  • Changing Instance Name ( No DB_NAME) Oracle
  • V$ROLLSTAT status is Full Oracle

Copyright © 2026 pvmehta.com.

Powered by PressBook News WordPress theme