Home » RDBMS Server » Performance Tuning » Demonstrating if Insertion is Faster in Partitioned or Non-Partitioned Table
Demonstrating if Insertion is Faster in Partitioned or Non-Partitioned Table [message #65475] |
Thu, 30 September 2004 10:30  |
Shariq T
Messages: 29 Registered: February 2003
|
Junior Member |
|
|
I have posted a similar question on SQL forum but have not heard from them
I�am working with a 600 million record table that has about 15 million records inserted monthly into it by an ETL tool that integrates the warehouse with a couple of billing systems. This table has a primary index and is NOT partitioned and of late some runs are taking well over 15 hours
After reading in several places how partitioning this table on month key will help with exactly with this sort of thing, I created a partitioned table in the test environment with populated it with identical data with identical colume
The partitioned table has local indexes whereas the non-partitioned one has global indexes. Each table is sized approximately 18 GB
I created a PL/SQL block that inserted dummy records into each of these tables. I committed after a block of 10,000 records was inserted into each table until 10 million records were inserted into the table.
The performance improvement/gain was only marginal for the partitioned table. Should this been happening? Can anyone offer a more elegant way or an example showing the benefits of using partition on this table over not using it
Looking forward to hearing from you
Shariq
|
|
|
|
|
|
Goto Forum:
Current Time: Fri May 02 02:27:30 CDT 2025
|