1 Test environment
Hardware: IBM X3650 with 12GB memory
Oracle version: 10g
OS: Red Hat Enterprise 5.4
2 Test Method
The definition of table named partition_test is as follow. We insert record into the table and measure the time that insert operation cost.;
create table partition_test
(
umID NUMERIC (10) NOT NULL,
umPDN VARCHAR (200) NOT NULL,
umBSID VARCHAR (200),
umAccessType NUMERIC (10),
umEventTimestamp NUMERIC(19),
umBsActiveUser NUMERIC (20),
umBsInactiveUser NUMERIC (20),
umBsLocalUser NUMERIC (20),
umBSNonLocalUser NUMERIC (20),
umBsUpOctets NUMERIC (20),
umBsUpPackages NUMERIC (20),
umBsUpCompressOcts NUMERIC (20),
umBsUpCompressPkgs NUMERIC (20),
umBsUpDecompressOctets NUMERIC (20),
umBsUpDecompressPackages NUMERIC (20),
umBsDownOctets NUMERIC (20),
umBsDownPackages NUMERIC (20),
umBsDownCompressOcts NUMERIC (20),
umBsDownCompressPkgs NUMERIC (20),
umBsDownDecompressOctets NUMERIC (20),
umBSDownDecompressPackages NUMERIC (20),
umBsRmtUpOctets NUMERIC (20),
umBsRmtUpPackages NUMERIC (20),
umBsRmtUpCompressOcts NUMERIC (20),
umBsRmtUpCompressPkgs NUMERIC (20),
umBsRmtUpDecompressOctets NUMERIC (20),
umBsRmtUpDecompressPackages NUMERIC (20),
umBsRmtDownOctets NUMERIC (20),
umBsRmtDownPackages NUMERIC (20),
umBsRmtDownCompressOcts NUMERIC (20),
umBsRmtDownCompressPkgs NUMERIC (20),
umBsRmtDownDecompressOctets NUMERIC (20),
umBSRmtDownDecompressPackages NUMERIC (20),
umBsCallTimes NUMERIC (20),
umBsPPPRenegTimes NUMERIC (20),
umBsHandoffIn NUMERIC (20),
umBsHandoffOut NUMERIC (20),
umBadPppFrameCount NUMERIC (20),
PRIMARY KEY (umID)
)
PARTITION BY RANGE (umEventtimestamp)
(
PARTITION p20120501 VALUES LESS THAN (20000000),
PARTITION p20120502 VALUES LESS THAN (40000000),
PARTITION p20120503 VALUES LESS THAN (60000000),
PARTITION p20120504 VALUES LESS THAN (80000000),
PARTITION p20120505 VALUES LESS THAN (100000000),
PARTITION p20120506 VALUES LESS THAN (120000000),
PARTITION p20120507 VALUES LESS THAN (140000000),
PARTITION p20120508 VALUES LESS THAN (160000000),
PARTITION p20120509 VALUES LESS THAN (180000000),
PARTITION p201205010 VALUES LESS THAN (200000000)
);
create Index partition_test_localindex_1 on partition_test_localindex (umEventTimestamp) Local;
3 Test result
●With 1 connection, we can insert records at a speed of 4500rows/s.
●With 2 connections, we can insert records at a speed of 5000rows/s.
●With 4 connections, we can insert records at a speed of 8000rows/s.
●With 8 connections, we can insert records at a speed of 10000rows/s.
●With 16 connections, we can insert records at a speed of 11000rows/s.
Fig1 throughput with 1 connection
Fig2 throughput with 2 connection
Fig3 throughput with 4 connections
Fig4 throughput with 8 connections
Fig5 throughput with 16 connections