search
Homephp教程php手册MySQL数据库SQL语句的C++ ODBC接口类测试结果 (转载)

c++|mysql|odbc|数据|数据库|语句

发信人: engineer (剑胆琴心~还是得走,sigh...), 信区: Linux
标  题: MySQL数据库SQL语句的C++ ODBC接口类测试结果 (转载)
发信站: BBS 水木清华站 (Mon Aug  9 18:03:47 1999)
  
【 以下文字转载自 Database 讨论区 】
【 原文由 engineer 所发表 】
        MySql数据库SQL语句的C++ ODBC接口类测试结果
  
                  engineer    1999.8.7
  
数据库表结构:
  
Database: xxx  Table: yyy  Rows: 10019
+-------+-------------+------+-----+---------+-------+
| Field | Type        | Null | Key | Default | Extra |
+-------+-------------+------+-----+---------+-------+
| NAME  | varchar(32) |      | PRI |         |       |
| CNAME | varchar(32) |      |     |         |       |
| TYPE  | char(1)     |      |     | E       |       |
+-------+-------------+------+-----+---------+-------+
  
查询方式:
        在表中的位置平均分布.
  
查询结果:
  
        A.( 本地server,PII350/128M/8G)
         a.     查询字符串.
         total [1000 times] inquire time is 1.105382(s)
          average time is 0.001105(s)
         total [3000 times] sql time is 3.416125(s)
          average time is 0.001139(s)
         total [10000 times] sql time is 11.567662(s)
          average time is 0.001157(s)
         b.     插入记录( varchar(32),varchar(32),smallint)
         total [7000 times] sql time is 7.545522(s)
          average time is 0.000755(s)
  
        B.( 100M局域网内server,PII350/128M/8G与PII400/128M/10G)
         a. 插入记录( varchar(32),varchar(32),smallint)
         total [10000 times] sql time is 8.480562(s)
          average time is 0.000848(s)
         b. 查询字符串.
         total [10000 times] sql time is 9.493681(s)

          average time is 0.000949(s)
  
测试结论:
  
        1.MySQL作为免费的SQL数据库,查询效果如此,已能完全满足
          一般系统的需要,可以采用.
        2.MySQL 支持各种BLOB数据类型(大型字符串),可存储达600K,
          16M,甚至4G大小的块数据,可考虑保存大型文件.但需保证
          不同SQL库间的数据类型一致性.
        3.现有字符方式和图形方式的数据管理工具,功能较齐全. 



Statement
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

AI Hentai Generator

AI Hentai Generator

Generate AI Hentai for free.

Hot Article

R.E.P.O. Energy Crystals Explained and What They Do (Yellow Crystal)
4 weeks agoBy尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. Best Graphic Settings
4 weeks agoBy尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. How to Fix Audio if You Can't Hear Anyone
1 months agoBy尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. Chat Commands and How to Use Them
1 months agoBy尊渡假赌尊渡假赌尊渡假赌

Hot Tools

Atom editor mac version download

Atom editor mac version download

The most popular open source editor

MinGW - Minimalist GNU for Windows

MinGW - Minimalist GNU for Windows

This project is in the process of being migrated to osdn.net/projects/mingw, you can continue to follow us there. MinGW: A native Windows port of the GNU Compiler Collection (GCC), freely distributable import libraries and header files for building native Windows applications; includes extensions to the MSVC runtime to support C99 functionality. All MinGW software can run on 64-bit Windows platforms.

EditPlus Chinese cracked version

EditPlus Chinese cracked version

Small size, syntax highlighting, does not support code prompt function

Dreamweaver Mac version

Dreamweaver Mac version

Visual web development tools

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor