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. electron调用c#动态库

    electron调用c#动态库 新建C#动态库 方法要以异步任务的方式,可以直接包装,也可以写成天然异步 代码如下 public class Class1 { public async Task< ...

  2. MongoDB实现问卷/考试设计

    MongoDB的特点 MongoDB是一个面向文档存储的数据库.在MongoDB中,一条记录叫做document(文档),由类似于JSON结构的键值对组成. 由于类似于MongoDB直接存储JSON的 ...

  3. 用最复杂的方式学会数组(Python实现动态数组)

    Python序列类型 在本博客中,我们将学习探讨Python的各种"序列"类,内置的三大常用数据结构--列表类(list).元组类(tuple)和字符串类(str). 不知道你发现 ...

  4. dbms_job基础

    a.创建job: dbms_job.submit(jobno,what,next_date,interval);b.删除job: dbms_job.remove(jobno); c.修改要执行的操作: ...

  5. MySQL:数据库基本认识

    1.什么是数据库 通俗来讲,数据库就是用于存储数据的仓库.很多人可能会问,存储数据用文件不就行了吗?为什么还要弄数据库? 文件存储数据具有以下几个缺点: 文件的安全性问题 文件不利于查询和数据库管理 ...

  6. 初识mysql索引 - 小白篇

    :接触mysq也有两年左右的时间了,但是对该数据库的理解自认还比较初级,看过很多文章,也看过一些相关的书籍,依然小白....(这里个人总结是两点主要原因:1.对mysql的学习大部分都是源于看一些杂七 ...

  7. 深入理解Kafka必知必会(上)

    Kafka的用途有哪些?使用场景如何? 消息系统: Kafka 和传统的消息系统(也称作消息中间件)都具备系统解耦.冗余存储.流量削峰.缓冲.异步通信.扩展性.可恢复性等功能.与此同时,Kafka 还 ...

  8. ORCLE 创建表空间,用户,赋予角色以及授权

    1.创建表空间MMS_DATA --创建表空间和数据库文件dbf CREATE TABLESPACE MMS_DATA DATAFILE 'D:\ORADATA\ORCL\MMS_DATA.DBF' ...

  9. NOIP模拟 23

    曾经有一段真挚的AK摆在skyh面前,但他一直意淫自己AK导致没有AK. 如果非要把这AK加一个期限的话,skyh一辈子都AK不了了. 论爆零选手的爆零原因 我说T3想到了能AC的思路但是爆零了有人同 ...

  10. ES入门宝典(详细截图版)

    本文使用版本基于elasticsearch-6.4.0 1.什么是ES? 官网: https://www.elastic.co/products/elasticsearch  中文官网:https:/ ...