Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • Rman Notes -1 Oracle
  • SQL Tracker by SID sqltrackerbysid.sql Oracle
  • switchlogfile.sh Linux/Unix
  • Updated LCK.SQL file. Oracle
  • TABLE SIZING WITH DB_BLOCK ARCHITECTURE Reference : Metalink note : 10640.1 Oracle
  • run this before doing any dbchange pvm_pre_change.sql Oracle
  • default permission on ~/.ssh/authorized_keys2 or authorized_keys Linux/Unix
  • DETERMINING WHICH INSTANCE OWNS WHICH SHARED MEMORY & SEMAPHORE SEGMENTS Oracle
  • My FTP Job Scheduling for www.pvmehta.com PHP/MYSQL/Wordpress
  • online_bkup.sql Oracle
  • Database logon trigger issue Oracle
  • How to find who is using which Rollback segment and how many rows or blocks in that rollback segments, Oracle
  • normal maintenance for exp-imp and renaming table Oracle
  • good note for shared pool tunnig Oracle
  • Jai Shree Ram 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

  • Search and Replace vi editor command. Linux/Unix
  • Kernel Parameter setting explaination for Processes Parameter Linux/Unix
  • Finding last recovered file on DR and remove all chanracters before any “/” Linux/Unix
  • scripts to take listener.log backup Linux/Unix
  • switchlogfile.sh Linux/Unix
  • Generate SSH without password authentication. Linux/Unix

Leave a Reply Cancel reply

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

Categories

  • AWS (2)
  • Azure (1)
  • Linux/Unix (149)
  • Oracle (388)
  • PHP/MYSQL/Wordpress (10)
  • Power-BI (0)
  • Python/PySpark (7)
  • RAC (17)
  • rman-dataguard (26)
  • shell (149)
  • SQL scripts (337)
  • Uncategorized (0)
  • Videos (0)

Recent Posts

  • findinfo.sql (SQL for getting CPU and Active session info)27-May-2025
  • SQL Tracker by SID sqltrackerbysid.sql22-Apr-2025
  • How to connect to Oracle Database with Wallet with Python.21-Mar-2025
  • JSON/XML Types in Oracle18-Mar-2025
  • CPU Core related projections12-Mar-2025
  • Exadata Basics10-Dec-2024
  • Reading config file from other folder inside class24-Sep-2024
  • Python class import from different folders22-Sep-2024
  • Transfer SQL Profiles from One database to other database.05-Sep-2024
  • Load testing on Oracle 19C RAC with HammerDB18-Jan-2024

Archives

  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • Order by with ROWNUM Oracle
  • create user with unlimited quota Oracle
  • Find All internal Parameters Oracle
  • cp_filesystem.sql Oracle
  • UTL_FILE test program Oracle
  • v$backup.status information Oracle
  • Creating never expiring DB user accounts in Oracle Oracle
  • Changing unix system clock when Oracle database is running. Oracle

Copyright © 2025 pvmehta.com.

Powered by PressBook News WordPress theme