- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Oracle SQL Loader
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
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
тАО10-13-2002 11:28 PM
тАО10-13-2002 11:28 PM
I have one Oracle 8i Database Server on Hp-UX 11.0 namely DBserver and one more HP-UX 11.0 with Samba Server namely data server.
Now I want to upload the data from the Samba shared folder on the data server to the Oracle Database on the Database server.
What are the Oracle components I need to install on both the server and how to install?
Thanks in advance.
suki.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-14-2002 12:39 AM
тАО10-14-2002 12:39 AM
Re: Oracle SQL Loader
You need SQL-Loader on your DBserver this is part from Oracle Server-Installation and nothing else.
Mount your shared-Directory from the data server on your DBserver and load the data.
Chris
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-14-2002 12:42 AM
тАО10-14-2002 12:42 AM
Re: Oracle SQL Loader
You can also install oracle client on the data server, and run sqlloader from the data server to the db server (connect string).
hope that help
Benoit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-14-2002 12:46 AM
тАО10-14-2002 12:46 AM
Re: Oracle SQL Loader
No need for additional install as SQL*Loader is bundled with Oracle.
Just map the shared filsystem onto the database server and use SQL*Loader to load the data into the database.
You'll need to put inplace a control file to tell SQL*Loader where the data is supposed to go and what format it has.
sqlldr userid=
control.ctl :
LOAD DATA
INFILE '< datafile.csv>'
APPEND --(or REPLACE, INSERT is default;requires empty table)
INTO TABLE
FIELDS TERMINATED BY ';' OPTIONALLY ENCLOSED BY '???'
(col_name1, col_name2, col_name3...
date_col DATE ???dd-mm-yyy???)
The datafile must contain similar number of fields as referenced in the controlfile and the datatype must be like.
datafile.csv:
Text file with ; separator and no other data than the data supposed to be loaded (ie no comments)
John;Doe;East street;NY
Andreas
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-14-2002 12:57 AM
тАО10-14-2002 12:57 AM
Re: Oracle SQL Loader
Can you give me an example for the scenario what you have mentioned. It will be very helpful for me.
Thanks to Chris, Benoit and Andreas for your information.
Thanks in Advance,
suki.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-14-2002 01:26 AM
тАО10-14-2002 01:26 AM
Re: Oracle SQL Loader
SQL*Loader via SQL*Net works but is very slow.
SQL*Net is an old, terrible protocoll and not designed for higher volumes of data.
I will suggest to transfer the data to the DBserver (NFS-mount, ftp, rcp, scp, ...) and use the SQL*Loader on the DBserver.
Chris
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-14-2002 03:44 AM
тАО10-14-2002 03:44 AM
Re: Oracle SQL Loader
and tune the number of rows, you can really outperform the "conventional" mode
Jean-Luc
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-14-2002 04:20 AM
тАО10-14-2002 04:20 AM
SolutionAs example :
create a ctl file which describe the structure of the text file. examples given bellow..
You just have to use as connect string : user/passwd@database.
Of course, your client should be configure, and for this tnsnames.ora should be OK.
Oracle 8i is using net 8 which is replacement for sql*net.
Performances are really better, and I think you can use it !!! unless you have GBytes of datas to load...
example of tnsnames -in $ORACLE_HOME/network/admin :
DATABASE =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = DBserver)(PORT = 1521))
)
(CONNECT_DATA =
(SERVICE_NAME =
)
)
If you have a database server and networked client, you should have a listener.ora on your server, check the name of the service...
hope it will help
Benoit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-14-2002 05:45 PM
тАО10-14-2002 05:45 PM
Re: Oracle SQL Loader
Thanks and Regards,
suki