首页 > 数据库技术 > 详细

固态硬盘 SQL Server 单表插入性能测试 9K条/秒

时间:2015-02-13 23:32:01      阅读:516      评论:0      收藏:0      [点我收藏+]

测试环境

技术分享

技术分享

 

测试代码

create table Product(
    SysNo int identity(1,1),
    ProductName nvarchar(200),
    Category int
)
go

declare @Num int =0
while @Num < 100000
begin
    set @Num = @Num + 1
    insert into product (ProductName,Category) values ( ‘Product‘+ cast(@Num as varchar),1)
end

 

结果截图   100000/11 = 9090 row/s

技术分享

固态硬盘 SQL Server 单表插入性能测试 9K条/秒

原文:http://www.cnblogs.com/mousewheel/p/4290975.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!