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内存模式,但不是内存数据库》

SQLite性能 - 意想不到,但又情理之中的测试结果。的更多相关文章

  1. SQLite性能 - 它不是内存数据库,不要对IN-MEMORY望文生意。

    SQLite创建的数据库有一种模式IN-MEMORY,但是它并不表示SQLite就成了一个内存数据库.IN-MEMORY模式可以简单地理解为,本来创建的数据库文件是基于磁盘的,现在整个文件使用内存空间 ...

  2. SignalR系列续集[系列8:SignalR的性能监测与服务器的负载测试]

    目录 SignalR系列目录 前言 也是好久没写博客了,近期确实很忙,嗯..几个项目..头要炸..今天忙里偷闲.继续我们的小系列.. 先谢谢大家的支持.. 我们来聊聊SignalR的性能监测与服务器的 ...

  3. 项目方说性能达到百万TPS,如何测试它的可信度?

    项目方说性能达到百万TPS,如何测试它的可信度? 应用系统性能提升的关键在于运维端的接入管理模型(AAA,认证 Authentication.授权 Authorization.计费 Accountin ...

  4. 两款JSON类库Jackson与JSON-lib的性能对比(新增第三款测试)

    本篇文章主要介绍了"两款JSON类库Jackson与JSON-lib的性能对比(新增第三款测试)",主要涉及到两款JSON类库Jackson与JSON-lib的性能对比(新增第三款 ...

  5. Android 中 SQLite 性能优化

    数据库是应用开发中常用的技术,在Android应用中也不例外.Android默认使用了SQLite数据库,在应用程序开发中,我们使用最多的无外乎增删改查.纵使操作简单,也有可能出现查找数据缓慢,插入数 ...

  6. Android下的SQLite数据库的相关操作及AndroidTestCase测试

    一:创建数据库 package com.itcode.mysqlite; import android.content.Context; import android.database.sqlite. ...

  7. sqlite性能简单測试

    主要測试sqlite在大数据量下的插入及查询性能: 測试环境:Centos6.4  1G内存  单核 数据量 大小 索引字段检索(耗时) 非索引字段检索(耗时) 总插入时间 10W 19M 0.001 ...

  8. 招聘移动APP、接口、自动化、性能和安全方面的兼职测试讲师

    只要您在移动APP.接口.自动化.性能和安全方面有丰富的测试经验,我们都欢迎您能加入我们,成为我们的兼职测试讲师,我们可以提供给您一份优厚的薪资,同时能在行业发展.企业培训.授课经验.出版专业著作等方 ...

  9. 大数据应用之HBase数据插入性能优化之多线程并行插入测试案例

    一.引言: 上篇文章提起关于HBase插入性能优化设计到的五个参数,从参数配置的角度给大家提供了一个性能测试环境的实验代码.根据网友的反馈,基于单线程的模式实现的数据插入毕竟有限.通过个人实测,在我的 ...

随机推荐

  1. go-数组-切片-字典

    声明一个数组变量的同时为该变量赋值. ], , } 另一种便捷方法, 类型字面量中省略代表其长度的数字 , , } 对于数组来说,索引值既不能小于0也不能大于或等于数组值的长度. 索引值的最小有效值从 ...

  2. openssl之DH(Diffie–Hellman)加密

    //加密机制初始化 g_HDMgr.init(); //对方的public key BIGNUM* peerPubKey = NULL; peerPubKey = BN_bin2bn((unsigne ...

  3. [七年技术总结系列][理论篇]-RBAC权限模型由浅入深

    权限部分将分两章介绍,第一章由浅入深介绍权限理论知识及应用,第二章介绍具体实现.后期再讲述中间件的使用时,还会插入一些权限内容,本质上属于中间件的应用. 权限模块是业务系统最常见.最基本的子集.本章假 ...

  4. Orleans 知多少 | 3. Hello Orleans

    1. 引言 是的,Orleans v3.0.0 已经发布了,并已经完全支持 .NET Core 3.0. 所以,Orleans 系列是时候继续了,抱歉,让大家久等了. 万丈高楼平地起,这一节我们就先来 ...

  5. 【Bug】解决 java.sql.SQLSyntaxErrorException 异常

    java.sql.SQLSyntaxErrorException: You have an error in your SQL syntax 错误 错误详情: Caused by: java.sql. ...

  6. Linux下终端字体颜色设置方法

    颜色=\033[代码;前景;背景m 如:\033[1;32;40m表示高亮显示字体为绿色,背景色为黑色 颜色=\[\033[代码;前景;背景m\] echo -e "this is a \0 ...

  7. CPU爆满后的无助感

    告警 晚七点刚好上地铁,握在手里的手机震动了好几下,根据震动这几下的手感已经判断出这是钉钉在告警了,十有八九就是线上的问题,通过Zabbix监控的一台线上服务器已经五分钟不可达,这应该不会是网络网络问 ...

  8. JVM(1) Java内存区域

    对于Java程序员来说,在虚拟机自动内存管理机制的帮助下,不再需要为每一个new操作去写配对的delete/free代码,不容易出现内存泄漏和内存溢出问题.不过,也正是因为Java程序员把内存控制的权 ...

  9. app消息推送

    Mui + 个推 实现消息推送 1.首先去个推 注册一个账号,新建一个消息推送应用 2.配置Mui配置文件 3.使用HBuilder 打包 app 4.然后在到个推后台 发送数据 后台Java代码(官 ...

  10. pytest -- 中文文档

    pytest-chinese-doc pytest官方文档(5.1.3版本)的中文翻译,但不仅仅是简单的翻译: 更多的例子,尽量做到每一知识点都有例子: 更多的拓展阅读,部分章节添加了作者学习时,所查 ...