oracle 10g insert 性能测试 (2012/6/13)

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

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值