- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: How to export from VLDB using named pipe impor...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-30-2003 05:22 AM
тАО06-30-2003 05:22 AM
I have an Oracle VLDB onb hpux11 and its export dmp would fill up my filesystem to its limit. I prefer not to extend my filesystem.
I heard you can go via a named pipe, and import
(imp) directly into a target database.
That sounds very nice, but unfortunately I lack examples.
Any workable examples would be handy,
will give full marks.
NB: I have prepared a sample parfile:
buffer=1000000
file=exp_pipe
log=/picnew/export/P03/exp_pipe.infas.log
owner=infasusra
rows=yes
constraints=yes
indexes=no
compress=yes
grants=yes
consistent=yes
Now how to import that straight away ?
Thanks.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-30-2003 05:55 AM
тАО06-30-2003 05:55 AM
Re: How to export from VLDB using named pipe import into target DB
will it not be better that you use the sqlplus COPY command in this case?
==============================================================================================
COPY {FROM database | TO database | FROM database TO database}
{APPEND|CREATE|INSERT|REPLACE} destination_table
[(column, column, column, ...)] USING query
where database has the following syntax:
username[/password]@connect_identifier
==============================================================================================
I find it more efficient than what you are trying to do here!
Please let us know.
best regards
Yogeeraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-30-2003 05:57 AM
тАО06-30-2003 05:57 AM
SolutionThere is a note on metalink (Note:30528.1) explaining how to read / write to a named pipe. What you want to do isn't covered here (and I don't know if it's possible), but there is an interesting example on how to export to and import from a compressed file through a named pipe (This should cover you diskspace problem). I'll include the example:
Creating a compressed export file
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
% mknod /tmp/exp_pipe p # Make the pipe
% compress < /tmp/exp_pipe > export.dmp.Z & # Background compress
% exp file=/tmp/exp_pipe
Reading a compressed export file
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
% mknod /tmp/imp_pipe p # Make the pipe
% uncompress < export.dmp.Z > /tmp/imp_pipe & # Background uncompress
% imp file=/tmp/imp_pipe
Hope this helps.
Regards,
Tim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-30-2003 06:56 AM
тАО06-30-2003 06:56 AM
Re: How to export from VLDB using named pipe import into target DB
/usr/sbin/mknod exp_pipe p
gzip < exp_pipe > FULLDMP.dmp.gz &
exp sys/
2. To import:
/usr/sbin/mknod imp_pipe p
gzip -d < FULLDMP.dmp.gz > imp_pipe &
imp sys/
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-26-2005 07:19 PM
тАО10-26-2005 07:19 PM
Re: How to export from VLDB using named pipe import into target DB
points.
I fell ill that week and never came
back to it, until I noticed it again
today.
My sincere apologies as your answers
are still usefull.
Thanks