Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • Find All internal Parameters Oracle
  • findinfo.sql (SQL for getting CPU and Active session info) Oracle
  • Oracle 11g Training on 29JAN1010 Oracle
  • USER_TABLES.Freelists Oracle
  • Important Script Method for tuning Oracle
  • 10g RAC: Troubleshooting CRS Root.sh Problems Oracle
  • Transfer SQL Profiles from One database to other database. Oracle
  • Guide to Linux System Command Mastery Linux/Unix
  • Search and replace pattern Linux/Unix
  • telnet listening Linux/Unix
  • Privilege to describe the table. Oracle
  • Jai Shree Ram Oracle
  • Facts about SCN and Rollback Segment Oracle
  • Create type and Grant on it. Oracle
  • Parallel DML Oracle

How does one overcome the Unix 2 Gig file limit?

Posted on 23-Aug-2005 By Admin No Comments on How does one overcome the Unix 2 Gig file limit?

This example uses the Unix split command to create multiple files, each smaller than the Unix (and imp/exp) 2 Gigabyte file size limit. This method can typically be used for import, export and SQL*Loader operations.

cd /tmp/data

rm exp.dmp

mknod exp.dmp p # mkfifo on certain Unix flavours

split -b2047m exp scott/tiger file=/tmp/data/exp.dmp record=n tables=tableX

cd /tmp/data

rm exp.dmp

mknod exp.dmp p

cat xaa xab xac xad >/tmp/data/exp.dmp &

imp scott/tiger file=/tmp/data/exp.dmp commit=y tables=tableX

Linux/Unix, shell

Post navigation

Previous Post: How does one SELECT a value from a table into a Unix variable? From SQL to Shell
Next Post: Export Oracle data and Compress at same time

Related Posts

  • scp with ssh2 Linux/Unix
  • find_du.ksh to find # of files, their sizes in current folder and its subdolder Linux/Unix
  • Important Solaris Commands Linux/Unix
  • How to sort list of files on basis of their sizes. Linux/Unix
  • scripts to take listener.log backup Linux/Unix
  • fuser to check who is using diretory Linux/Unix

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 (395)
  • PHP/MYSQL/Wordpress (10)
  • POSTGRESQL (1)
  • Power-BI (0)
  • Python/PySpark (7)
  • RAC (17)
  • rman-dataguard (26)
  • shell (150)
  • SQL scripts (343)
  • SQL Server (6)
  • Uncategorized (0)
  • Videos (0)

Recent Posts

  • prepfiles.sh for step by step generating pending statistics files10-Mar-2026
  • tracksqltime.sql05-Mar-2026
  • Complete Git Tutorial for Beginners25-Dec-2025
  • Postgres DB user and OS user.25-Dec-2025
  • 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

Archives

  • 2026
  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • Find Stale DR Physical Standby Oracle
  • get_aix_vmstat.ksh Oracle
  • CPU speed on Linux Linux/Unix
  • PHP code to add WordPress posts in bulk programmatically PHP/MYSQL/Wordpress
  • Find execution plan from dba_hist_sql_plan for a specific SQL_ID and PLAN_HASH_VALUE fplan.sql Oracle
  • Composite Index creation tip from Vivek Oracle
  • crontab syntax Linux/Unix
  • Ports used by Oracle Software Oracle

Copyright © 2026 pvmehta.com.

Powered by PressBook News WordPress theme