SQLite性能 - 意想不到,但又情理之中的测试结果。
win7(64) sata2 希捷
MINGW32_NT-6.1 1.0.(0.48//)
cat: /proc/cpuinfo: No such file or directory ------ in disk ----
repeat insert times, in trans, with stmt prepared
.01s
.21s
commit: real 0m0.484s
user 0m0.000s
sys 0m0.032s
repeat insert times, in trans, with each stmt prepared
.01s
.23s
commit: real 0m0.440s
user 0m0.015s
sys 0m0.000s
repeat insert times, in auto trans(s), with stmt prepared
.52s
.52s
commit: real 3m35.756s
user 0m0.000s
sys 0m0.015s
repeat insert times, in auto trans(s), with each stmt prepared
.44s
.44s
commit: real 3m22.741s
user 0m0.000s
sys 0m0.000s
------ in disk ----
repeat insert times, in trans, with stmt prepared
.02s
.44s
commit: real 0m0.885s
user 0m0.000s
sys 0m0.015s
repeat insert times, in trans, with each stmt prepared
.02s
.20s
commit: real 0m0.468s
user 0m0.000s
sys 0m0.000s
repeat insert times, in auto trans(s), with stmt prepared
.34s
.34s
commit: real 7m9.628s
user 0m0.000s
sys 0m0.000s
repeat insert times, in auto trans(s), with each stmt prepared
.91s
.91s
commit: real 7m4.186s
user 0m0.000s
sys 0m0.015s
----- in disk ----
repeat insert times, in trans, with stmt prepared
.04s
.40s
commit: real 0m0.780s
user 0m0.000s
sys 0m0.015s
repeat insert times, in trans, with each stmt prepared
.12s
.41s
commit: real 0m0.786s
user 0m0.000s
sys 0m0.015s
---- in disk ----
repeat insert times, in trans, with stmt prepared
.36s
.66s
commit: real 0m0.938s
user 0m0.000s
sys 0m0.000s
repeat insert times, in trans, with each stmt prepared
.00s
.45s
commit: real 0m1.713s
user 0m0.000s
sys 0m0.015s
--- in disk ----
repeat insert times, in trans, with stmt prepared
.07s
.67s
commit: real 0m2.887s
user 0m0.000s
sys 0m0.015s
repeat insert times, in trans, with each stmt prepared
.60s
.12s
commit: real 0m9.376s
user 0m0.000s
sys 0m0.015s
win7(64) sata2 希捷
win7(64) usb-硬盘盒(sata2 西数)
------ in disk ----
rm: cannot lstat `test.db': No such file or directory
repeat insert times, in trans, with stmt prepared
.00s
.03s
commit: real 0m0.108s
user 0m0.015s
sys 0m0.000s
repeat insert times, in trans, with each stmt prepared
.01s
.03s
commit: real 0m0.089s
user 0m0.015s
sys 0m0.000s
repeat insert times, in auto trans(s), with stmt prepared
.17s
.17s
commit: real 0m8.254s
user 0m0.000s
sys 0m0.015s
repeat insert times, in auto trans(s), with each stmt prepared
.31s
.31s
commit: real 0m8.405s
user 0m0.000s
sys 0m0.015s
------ in disk ----
repeat insert times, in trans, with stmt prepared
.00s
.01s
commit: real 0m0.080s
user 0m0.000s
sys 0m0.031s
repeat insert times, in trans, with each stmt prepared
.02s
.03s
commit: real 0m0.080s
user 0m0.000s
sys 0m0.000s
repeat insert times, in auto trans(s), with stmt prepared
.07s
.07s
commit: real 0m16.124s
user 0m0.015s
sys 0m0.000s
repeat insert times, in auto trans(s), with each stmt prepared
.50s
.50s
commit: real 0m17.572s
user 0m0.000s
sys 0m0.031s
----- in disk ----
repeat insert times, in trans, with stmt prepared
.02s
.04s
commit: real 0m0.102s
user 0m0.000s
sys 0m0.015s
repeat insert times, in trans, with each stmt prepared
.12s
.14s
commit: real 0m0.240s
user 0m0.015s
sys 0m0.031s
---- in disk ----
repeat insert times, in trans, with stmt prepared
.17s
.36s
commit: real 0m0.427s
user 0m0.015s
sys 0m0.000s
repeat insert times, in trans, with each stmt prepared
.83s
.03s
commit: real 0m1.080s
user 0m0.000s
sys 0m0.015s
--- in disk ----
repeat insert times, in trans, with stmt prepared
.79s
.32s
commit: real 0m3.364s
user 0m0.000s
sys 0m0.015s
repeat insert times, in trans, with each stmt prepared
.40s
.81s
commit: real 0m9.867s
user 0m0.000s
sys 0m0.000s
win7(64) usb-硬盘盒(sata2 西数)
win7(32) 笔记本硬盘
------ in disk ----
repeat insert times, in trans, with stmt prepared
.01s
.09s
commit: real 0m0.750s
user 0m0.000s
sys 0m0.031s
repeat insert times, in trans, with each stmt prepared
.04s
.12s
commit: real 0m0.774s
user 0m0.000s
sys 0m0.015s
repeat insert times, in auto trans(s), with stmt prepared
.46s
.46s
commit: real 1m44.107s
user 0m0.000s
sys 0m0.015s
repeat insert times, in auto trans(s), with each stmt prepared
.21s
.21s
commit: real 1m30.839s
user 0m0.000s
sys 0m0.031s
------ in disk ----
repeat insert times, in trans, with stmt prepared
.01s
.18s
commit: real 0m0.903s
user 0m0.000s
sys 0m0.000s
repeat insert times, in trans, with each stmt prepared
.06s
.30s
commit: real 0m0.949s
user 0m0.000s
sys 0m0.015s
repeat insert times, in auto trans(s), with stmt prepared
.64s
.64s
commit: real 3m0.283s
user 0m0.015s
sys 0m0.015s
repeat insert times, in auto trans(s), with each stmt prepared
.82s
.82s
commit: real 3m4.585s
user 0m0.000s
sys 0m0.031s
----- in disk ----
repeat insert times, in trans, with stmt prepared
.05s
.22s
commit: real 0m0.881s
user 0m0.000s
sys 0m0.015s
repeat insert times, in trans, with each stmt prepared
.21s
.34s
commit: real 0m1.000s
user 0m0.000s
sys 0m0.000s
---- in disk ----
repeat insert times, in trans, with stmt prepared
.45s
.71s
commit: real 0m1.398s
user 0m0.000s
sys 0m0.015s
repeat insert times, in trans, with each stmt prepared
.21s
.38s
commit: real 0m3.161s
user 0m0.000s
sys 0m0.016s
--- in disk ----
repeat insert times, in trans, with stmt prepared
.93s
.66s
commit: real 0m5.381s
user 0m0.015s
sys 0m0.000s
repeat insert times, in trans, with each stmt prepared
.62s
.12s
commit: real 0m21.750s
user 0m0.015s
sys 0m0.015s
win7(32) 笔记本硬盘
linux(vm11) vm虚拟硬盘
nux 2.6.-.el6.x86_64
cpu MHz : 3591.760
cpu MHz : 3591.760 ------ in disk ----
rm: cannot remove `test.db': No such file or directory
repeat insert times, in trans, with stmt prepared
.00s
.00s
commit: real 0m0.032s
user 0m0.009s
sys 0m0.007s
repeat insert times, in trans, with each stmt prepared
.01s
.01s
commit: real 0m0.038s
user 0m0.012s
sys 0m0.008s
repeat insert times, in auto trans(s), with stmt prepared
.95s
.95s
commit: real 0m3.372s
user 0m0.015s
sys 0m0.944s
repeat insert times, in auto trans(s), with each stmt prepared
.89s
.89s
commit: real 0m3.047s
user 0m0.023s
sys 0m0.872s
------ in disk ----
repeat insert times, in trans, with stmt prepared
.01s
.01s
commit: real 0m0.049s
user 0m0.012s
sys 0m0.009s
repeat insert times, in trans, with each stmt prepared
.03s
.03s
commit: real 0m0.057s
user 0m0.034s
sys 0m0.008s
repeat insert times, in auto trans(s), with stmt prepared
.55s
.55s
commit: real 0m5.661s
user 0m0.021s
sys 0m1.540s
repeat insert times, in auto trans(s), with each stmt prepared
.90s
.90s
commit: real 0m7.214s
user 0m0.059s
sys 0m1.860s
----- in disk ----
repeat insert times, in trans, with stmt prepared
.04s
.04s
commit: real 0m0.071s
user 0m0.045s
sys 0m0.006s
repeat insert times, in trans, with each stmt prepared
.08s
.08s
commit: real 0m0.112s
user 0m0.084s
sys 0m0.006s
---- in disk ----
repeat insert times, in trans, with stmt prepared
.14s
.14s
commit: real 0m0.216s
user 0m0.127s
sys 0m0.027s
repeat insert times, in trans, with each stmt prepared
.48s
.48s
commit: real 0m0.533s
user 0m0.481s
sys 0m0.017s
--- in disk ----
repeat insert times, in trans, with stmt prepared
.38s
.62s
commit: real 0m2.284s
user 0m1.033s
sys 0m0.600s
repeat insert times, in trans, with each stmt prepared
.60s
.68s
commit: real 0m5.013s
user 0m4.444s
sys 0m0.244s
linux(vm11) vm虚拟硬盘
linux(vm11) usb-硬盘盒(sata2 西数)
Linux 2.6.-.el6.x86_64
cpu MHz : 3591.760
cpu MHz : 3591.760 ------ in disk ----
rm: cannot remove `test.db': No such file or directory
repeat insert times, in trans, with stmt prepared
.00s
.00s
commit: real 0m0.237s
user 0m0.008s
sys 0m0.010s
repeat insert times, in trans, with each stmt prepared
.02s
.03s
commit: real 0m0.088s
user 0m0.023s
sys 0m0.011s
repeat insert times, in auto trans(s), with stmt prepared
.18s
.18s
commit: real 0m42.629s
user 0m0.089s
sys 0m2.105s
repeat insert times, in auto trans(s), with each stmt prepared
.35s
.35s
commit: real 0m43.325s
user 0m0.084s
sys 0m2.281s
------ in disk ----
repeat insert times, in trans, with stmt prepared
.01s
.01s
commit: real 0m0.126s
user 0m0.015s
sys 0m0.012s
repeat insert times, in trans, with each stmt prepared
.03s
.03s
commit: real 0m0.121s
user 0m0.035s
sys 0m0.006s
repeat insert times, in auto trans(s), with stmt prepared
.43s
.43s
commit: real 1m28.085s
user 0m0.107s
sys 0m4.333s
repeat insert times, in auto trans(s), with each stmt prepared
.76s
.76s
commit: real 1m28.598s
user 0m0.207s
sys 0m4.565s
----- in disk ----
repeat insert times, in trans, with stmt prepared
.03s
.03s
commit: real 0m0.167s
user 0m0.040s
sys 0m0.007s
repeat insert times, in trans, with each stmt prepared
.08s
.08s
commit: real 0m0.205s
user 0m0.089s
sys 0m0.010s
---- in disk ----
repeat insert times, in trans, with stmt prepared
.18s
.21s
commit: real 0m1.191s
user 0m0.196s
sys 0m0.029s
repeat insert times, in trans, with each stmt prepared
.55s
.56s
commit: real 0m1.526s
user 0m0.558s
sys 0m0.021s
--- in disk ----
repeat insert times, in trans, with stmt prepared
.38s
.46s
commit: real 0m11.102s
user 0m1.337s
sys 0m0.140s
repeat insert times, in trans, with each stmt prepared
.61s
.71s
commit: real 0m14.392s
user 0m4.511s
sys 0m0.217s
linux(vm11) usb-硬盘盒(sata2 西数)
xp(vm11) vm虚拟硬盘
MINGW32_NT-5.1 1.0.(0.48//)
cat: /proc/cpuinfo: No such file or directory ------ in disk ----
rm: cannot lstat `test.db': No such file or directory
repeat insert times, in trans, with stmt prepared
.00s
.00s
commit: real 0m0.047s
user 0m0.030s
sys 0m0.015s
repeat insert times, in trans, with each stmt prepared
.00s
.02s
commit: real 0m0.047s
user 0m0.015s
sys 0m0.000s
repeat insert times, in auto trans(s), with stmt prepared
.39s
.39s
commit: real 0m6.422s
user 0m0.015s
sys 0m0.000s
repeat insert times, in auto trans(s), with each stmt prepared
.14s
.14s
commit: real 0m5.156s
user 0m0.015s
sys 0m0.015s
------ in disk ----
repeat insert times, in trans, with stmt prepared
.00s
.01s
commit: real 0m0.031s
user 0m0.015s
sys 0m0.015s
repeat insert times, in trans, with each stmt prepared
.01s
.03s
commit: real 0m0.062s
user 0m0.015s
sys 0m0.030s
repeat insert times, in auto trans(s), with stmt prepared
.67s
.67s
commit: real 0m11.703s
user 0m0.015s
sys 0m0.000s
repeat insert times, in auto trans(s), with each stmt prepared
.20s
.20s
commit: real 0m11.219s
user 0m0.015s
sys 0m0.000s
----- in disk ----
repeat insert times, in trans, with stmt prepared
.02s
.03s
commit: real 0m0.063s
user 0m0.015s
sys 0m0.000s
repeat insert times, in trans, with each stmt prepared
.09s
.11s
commit: real 0m0.140s
user 0m0.015s
sys 0m0.015s
---- in disk ----
repeat insert times, in trans, with stmt prepared
.20s
.31s
commit: real 0m0.343s
user 0m0.015s
sys 0m0.015s
repeat insert times, in trans, with each stmt prepared
.86s
.14s
commit: real 0m1.172s
user 0m0.015s
sys 0m0.016s
--- in disk ----
repeat insert times, in trans, with stmt prepared
.98s
.50s
commit: real 0m4.531s
user 0m0.015s
sys 0m0.000s
repeat insert times, in trans, with each stmt prepared
.13s
.83s
commit: real 0m9.859s
user 0m0.015s
sys 0m0.015s
xp(vm11) vm虚拟硬盘
xp(vm11) usb-硬盘盒(sata2 西数)
MINGW32_NT-5.1 1.0.(0.48//)
cat: /proc/cpuinfo: No such file or directory ------ in disk ----
rm: cannot lstat `test.db': No such file or directory
repeat insert times, in trans, with stmt prepared
.00s
.05s
commit: real 0m0.094s
user 0m0.015s
sys 0m0.015s
repeat insert times, in trans, with each stmt prepared
.02s
.09s
commit: real 0m0.156s
user 0m0.015s
sys 0m0.015s
repeat insert times, in auto trans(s), with stmt prepared
.84s
.84s
commit: real 0m36.890s
user 0m0.015s
sys 0m0.015s
repeat insert times, in auto trans(s), with each stmt prepared
.36s
.36s
commit: real 0m37.407s
user 0m0.015s
sys 0m0.015s
------ in disk ----
repeat insert times, in trans, with stmt prepared
.00s
.06s
commit: real 0m0.141s
user 0m0.015s
sys 0m0.030s
repeat insert times, in trans, with each stmt prepared
.01s
.06s
commit: real 0m0.125s
user 0m0.015s
sys 0m0.000s
repeat insert times, in auto trans(s), with stmt prepared
.27s
.27s
commit: real 1m17.312s
user 0m0.015s
sys 0m0.015s
repeat insert times, in auto trans(s), with each stmt prepared
.89s
.89s
commit: real 1m15.954s
user 0m0.015s
sys 0m0.031s
----- in disk ----
repeat insert times, in trans, with stmt prepared
.01s
.09s
commit: real 0m0.141s
user 0m0.015s
sys 0m0.031s
repeat insert times, in trans, with each stmt prepared
.08s
.16s
commit: real 0m0.203s
user 0m0.015s
sys 0m0.015s
---- in disk ----
repeat insert times, in trans, with stmt prepared
.27s
.73s
commit: real 0m0.781s
user 0m0.015s
sys 0m0.015s
repeat insert times, in trans, with each stmt prepared
.91s
.91s
commit: real 0m2.969s
user 0m0.015s
sys 0m0.015s
--- in disk ----
repeat insert times, in trans, with stmt prepared
.75s
.55s
commit: real 0m5.719s
user 0m0.015s
sys 0m0.078s
repeat insert times, in trans, with each stmt prepared
.56s
.66s
commit: real 0m11.734s
user 0m0.015s
sys 0m0.031s
xp(vm11) usb-硬盘盒(sata2 西数)
磁盘不利于零散的读写。
vm虚拟硬盘,就是vm运行所在的操作系统的文件系统中一个或一组文件,频繁的IO操作并没有实时同步到物理扇区。
硬盘用硬盘盒转换成usb接口后,硬盘盒与操作系统之间的驱动方式是usb,不再是磁盘驱动,所以IO操作也是没有实时同步到物理扇区。
因为挂在sata(或其它类型主板上硬盘接口)上的物理磁盘,磁盘驱动会将所有IO同步请求实时同步到物理扇区,所以十分的慢。
SQLite性能 - 意想不到,但又情理之中的测试结果。的更多相关文章
- SQLite性能 - 它不是内存数据库,不要对IN-MEMORY望文生意。
SQLite创建的数据库有一种模式IN-MEMORY,但是它并不表示SQLite就成了一个内存数据库.IN-MEMORY模式可以简单地理解为,本来创建的数据库文件是基于磁盘的,现在整个文件使用内存空间 ...
- SignalR系列续集[系列8:SignalR的性能监测与服务器的负载测试]
目录 SignalR系列目录 前言 也是好久没写博客了,近期确实很忙,嗯..几个项目..头要炸..今天忙里偷闲.继续我们的小系列.. 先谢谢大家的支持.. 我们来聊聊SignalR的性能监测与服务器的 ...
- 项目方说性能达到百万TPS,如何测试它的可信度?
项目方说性能达到百万TPS,如何测试它的可信度? 应用系统性能提升的关键在于运维端的接入管理模型(AAA,认证 Authentication.授权 Authorization.计费 Accountin ...
- 两款JSON类库Jackson与JSON-lib的性能对比(新增第三款测试)
本篇文章主要介绍了"两款JSON类库Jackson与JSON-lib的性能对比(新增第三款测试)",主要涉及到两款JSON类库Jackson与JSON-lib的性能对比(新增第三款 ...
- Android 中 SQLite 性能优化
数据库是应用开发中常用的技术,在Android应用中也不例外.Android默认使用了SQLite数据库,在应用程序开发中,我们使用最多的无外乎增删改查.纵使操作简单,也有可能出现查找数据缓慢,插入数 ...
- Android下的SQLite数据库的相关操作及AndroidTestCase测试
一:创建数据库 package com.itcode.mysqlite; import android.content.Context; import android.database.sqlite. ...
- sqlite性能简单測试
主要測试sqlite在大数据量下的插入及查询性能: 測试环境:Centos6.4 1G内存 单核 数据量 大小 索引字段检索(耗时) 非索引字段检索(耗时) 总插入时间 10W 19M 0.001 ...
- 招聘移动APP、接口、自动化、性能和安全方面的兼职测试讲师
只要您在移动APP.接口.自动化.性能和安全方面有丰富的测试经验,我们都欢迎您能加入我们,成为我们的兼职测试讲师,我们可以提供给您一份优厚的薪资,同时能在行业发展.企业培训.授课经验.出版专业著作等方 ...
- 大数据应用之HBase数据插入性能优化之多线程并行插入测试案例
一.引言: 上篇文章提起关于HBase插入性能优化设计到的五个参数,从参数配置的角度给大家提供了一个性能测试环境的实验代码.根据网友的反馈,基于单线程的模式实现的数据插入毕竟有限.通过个人实测,在我的 ...
随机推荐
- i春秋DMZ大型靶场实验(一)内网拓展
更具提示 先下载工具包 ip 172.16.12.226 打开bp 进行代理发现 整个页面 没有请求 没有其页面通过 御剑,dir ,hscan 进行目录爆破未发现有用信息 对当前页面进 ...
- art-template的循环操作
art-template的官方文档(网址:https://aui.github.io/art-template/docs/)中对循环的介绍如下: 循环 标准语法 {{each target}} {{$ ...
- SpringBoot生命周期管理之停掉应用服务几种方法
前言 在生产环境下管理Spring Boot应用的生命周期非常重要.Spring容器通过ApplicationContext处理应用服务的所有的beans的创建.初始化.销毁. 本文着重于生命周期中的 ...
- 【JS】深入理解JS原型和继承
前言 在学习JS中的原型,原型链,继承这些知识之前,我们先学习下基础知识:函数和对象的关系. 我们一直都知道,函数也是对象的一种,因为通过instanceof就可以判断出来.但是函数和对象的关系并不 ...
- Python字典及相关操作(内含例题)
Python字典类型 今天将会介绍一种在python中十分常见的组合数据类型——字典 通过一些实例来理解字典中的常规操作 什么是字典类型? 列表中查找是通过整数的索引(元素在列表中的序号)来实现查找功 ...
- justjavac(迷渡)知乎live--<<前端工程师的入门与进阶>>听讲总结
知乎听讲总结 知乎live----jjc<前端工程师的入门进阶> git地址 内容 前端的基础知识,计算机专业基础知识感觉还行.前端后台都有做过,现在觉得自己要深入.但是只看框架源码和自己 ...
- [最新方法]终于解决了 Ubuntu 14.04 网络图标不见了 的问题|Ubuntu14.04 网络图标消失
解决 Ubuntu 14.04 网络图标不见了 消失的问题 这个问题困扰了我大半年了.但是我就硬是不想重新装系统.搜索研究一番发现,这个问题是nm-applet的问题. 然后偶然发现nm-ap ...
- 使用msfvenom生成木马
msfvenom Options: -p, --payload < payload> 指定需要使用的payload(攻击荷载).如果需要使用自定义的payload,请使用& #03 ...
- 【ARC064-F】【XSY2575】Rotated Palindromes(DP)(字符串)
Description 然而,由于小C沉迷于制作游戏,他完全忘记了自己作为国家集训队的一员,还有156道作业题等他完成.还有一天作业就要截止了,而他一题还没有做.于是他赶紧挑了一道看起来最简单的题: ...
- [考试反思]1024csp-s模拟测试86:消耗
%%%两个没素质的和一个萌两小时AK 最近貌似总是可以比较快速的拿下T1,然后T2打到考试结束... T1是套路题没什么好说的. T2是一个比较蠢的博弈题,我花了很长时间干各种乱七八糟的事 什么打表啊 ...