Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • Temporary Tablespace Information and restriction. Oracle
  • findobj.sql Oracle
  • checking redhat linux version Linux/Unix
  • oracle 11g RAC on vmware Oracle
  • Explain Plan Doesn’T Change For Sql After New Statistics Generated Oracle
  • Sample WW22 listener.ora Oracle
  • Linux CPU info. Linux/Unix
  • Zip and unzip with tar Linux/Unix
  • Renaming Oracle Instance Name Oracle
  • oracle_env_10g_CADEV Linux/Unix
  • How to find the real execution plan and binds used in that explain plan in Oracle 10g?? Oracle
  • create database syntax Oracle
  • DBMS_UTILITY.ANALYZE_SCHEMA Oracle
  • Looping for remote servers and find its database from oratab file. Linux/Unix
  • This is from Temi 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

  • CTAS with LONG Column for 9i and higher Oracle
  • Oracle Recommended Patches — Oracle Database ID 756671.1 Oracle
  • tblwopk.sql /* Find Tables Without PK */ Oracle
  • plan10g.sql good Oracle
  • FGA Part-I Oracle
  • Good Link from metalink 1 Oracle

Leave a Reply Cancel reply

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

Categories

  • Ansible (0)
  • AWS (2)
  • Azure (1)
  • Linux/Unix (149)
  • MYSQL (5)
  • Oracle (393)
  • PHP/MYSQL/Wordpress (10)
  • POSTGRESQL (0)
  • Power-BI (0)
  • Python/PySpark (7)
  • RAC (17)
  • rman-dataguard (26)
  • shell (149)
  • SQL scripts (342)
  • SQL Server (6)
  • Uncategorized (0)
  • Videos (0)

Recent Posts

  • Trace a SQL session from another session using ORADEBUG30-Sep-2025
  • SQL Server Vs Oracle Architecture difference25-Jul-2025
  • SQL Server: How to see historical transactions25-Jul-2025
  • SQL Server: How to see current transactions or requests25-Jul-2025
  • T-SQL Vs PL/SQL Syntax25-Jul-2025
  • Check SQL Server edition25-Jul-2025
  • Checking SQL Server Version25-Jul-2025
  • Oracle vs MYSQL Architecture differences (For DBAs)24-Jul-2025
  • V$INSTANCE of Oracle in MYSQL24-Jul-2025
  • Day to day MYSQL DBA operations (Compared with Oracle DBA)24-Jul-2025

Archives

  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • 751131.1 New Article Error 2819 While Requesting a Systemstate Dump Oracle
  • oracle 11g RAC on vmware Oracle
  • How to find the real execution plan and binds used in that explain plan in Oracle 10g?? Oracle
  • Very clear article about oracle dataguard Oracle
  • db_status.sql Oracle
  • Wait Based Tuning Step by step with SQL statement Oracle
  • Example of How To Resize the Online Redo Logfiles Note:1035935.6 Oracle
  • oracle fast start failover best practice Oracle

Copyright © 2025 pvmehta.com.

Powered by PressBook News WordPress theme