- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: To increase the performance of INSERT
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
тАО11-02-2006 08:36 PM
тАО11-02-2006 08:36 PM
To increase the performance of INSERT
I got to insert 140000 records into an already exsting table, and it has to be done every day.
One constraint is, i can use either shell script or a 4GL code here.
Plz suggest me some tips to increase the speed of this operation.
Thanks in advance,
Gangadhar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-02-2006 08:50 PM
тАО11-02-2006 08:50 PM
Re: To increase the performance of INSERT
can you please provide a bit more info:
1. Insert into oracle database ?
2. Is the table indexed ? If yes, how ?
3. What format is the input in (cvs,...)?
4. Is the data assumed to be 'clean' (without duplicate keys etc.)?
5. Are you adding 140K records and keeping them? i.e. After a year you have 51100K records ?
My original suggestion would be to run sqlload into a temporary table, then clean the data and then transfer into main table via insert into , with constraints etc switched off.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-02-2006 09:03 PM
тАО11-02-2006 09:03 PM
Re: To increase the performance of INSERT
In general, raid 1 or raid 10 storage increases the performance on writes.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-02-2006 09:34 PM
тАО11-02-2006 09:34 PM
Re: To increase the performance of INSERT
1. The database is Informix/4GL.
2. The table is having one unique index and 6 dupls indexes.
3. Input is nothing but the rows from other tables. So I have to select records from different tables first.
4. The data is clear, without any duplicate values.
5. And ya, i am going to add 140000 records daily, but only for one or two months.
Plz let me know the different ways to do the same efficiently.
Thanks,
Gangadhar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-02-2006 09:51 PM
тАО11-02-2006 09:51 PM
Re: To increase the performance of INSERT
we mostly work with Oracle here, Informix person is suggesting looking at Parallel Database Query (PDQ), which apparently speeds up due to parallel inserts.
All I could find for ref:
http://docs.rinet.ru/InforSmes/ch19/ch19.htm
Sorry.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-02-2006 10:20 PM
тАО11-02-2006 10:20 PM
Re: To increase the performance of INSERT
And thanks a lot for that link, i think its gonna help me a lot.
If anybody has better idea, then plz let me know ASAP.
Thanks,
Gangadhar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-02-2006 11:41 PM
тАО11-02-2006 11:41 PM
Re: To increase the performance of INSERT
1. High Performance Loader (HPL), can use parallel streams.
2. Parallel usage of dbload commands.
3. Parallel programs or dbaccess commands inserting the data.
If you have exclusive access to the table, then consider the time you might save by dropping the indexes, changing the table to non-logged mode, then changing it back again and re-creating the indexes.
If you only have 1 or 2 cpus, then consider the CopperEye datablade.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-03-2006 12:16 AM
тАО11-03-2006 12:16 AM
Re: To increase the performance of INSERT
parallel insert would be the way out.
The other method would be to insert the rows in a temporary table and do a bulk/merge operation.
please specify the database you are using
kind regards
yogeeraj