SQLite特性

最新ubuntu/linux/开源新闻或者其它IT相关资讯
回复
头像
vikyzhang
帖子: 677
注册时间: 2010-10-18 14:39
联系:

SQLite特性

#1

帖子 vikyzhang » 2012-01-15 19:24

SQLite特性:
  • 事务是原子的,一致的,独立的,持久的(ACID),即使在使系统崩溃或掉电之后。
  • 零配置——无需安装或管理。
  • 实现了SQL92标准的绝大部分。(未能支持的特性
  • 将一个完整的数据库存储在一个单一的跨平台磁盘文件上。
  • 支持TB级的数据库和GB级的字符串和二进制大对象。(请见limits.html
  • 代码轻巧:完全配置小于350KB;省略部分特性,可小于200KB。
  • 对大部分常见的操作,于流行的C/S数据库引擎。
  • API简单,易用。
  • 用ANSI-C所写。与命令行工具相结合。对其他语言的支持单独可用
  • 源代码良好注释,分支测试覆盖率达100%
  • 单一的ANSI-C形式的源代码可用,可以简单地拖放到其他项目当中。
  • 自包含:没有外部依赖。
  • 跨平台:直接支持Unix (Linux and Mac OS X), OS/2, 和Windows (Win32 and WinCE);可以很容易地移植到其他操作系统。
  • 源代码在公共知识域中,可用于任何目的。(不过“May you do good and not evil. ”——愿你做好事,不要做坏事。)
  • 附带一个独立的命令行界面客户端,可用于管理SQLite引擎。
SQLite建议应用场合:
  • 作为应用文件格式。在应用中使用SQLite,而不是使用fopen()来生成XML文件或某些专有格式的文件来存储数据。这样你将避免额外写一个问题重重的分析器,你的数据将变得更加容易访问,更加跨平台,更新操作将具备事务性。
  • 作为小电子器件的数据库。SQLite是手机、PDA、MP3、机顶盒以其其他小电子器件常用的数据库引擎。SQLite代码轻巧,能充分利用内存空间、磁盘空间以及带宽;高度可靠,并且无需数据库管理的维护。
  • 作为网站数据库。因为它无需配置,将信息存储在磁盘文件上,SQLite是支撑中小型网站数据存储受欢迎的选择。
  • 企业RDBMS的代用品。SQLite常被用作用于演示与测试目的的企业RDBMS的借用品。SQLite速度快,无需配置,使得它为测试省去很多事,也很容易搭建演示系统。
图片

转载请注明:Linux人社区>英文资讯翻译专版.编译

英文原文:
Features Of SQLiteSuggested Uses For SQLite:
  • Application File Format.Rather than using fopen() to write XML or some proprietary format intodisk files used by your application, use an SQLite database instead.You'll avoid having to write and troubleshoot a parser, your data will be more easily accessible and cross-platform, and your updates will be transactional.
  • Database For Gadgets.SQLite is popular choice for the database engine in cellphones,PDAs, MP3 players, set-top boxes, and other electronic gadgets.SQLite has a small code footprint, makes efficient use of memory,disk space, and disk bandwidth, is highly reliable, and requiresno maintenance from a Database Administrator.
  • Website Database.Because it requires no configuration and stores information in ordinarydisk files, SQLite is a popular choice as the database to back smallto medium-sized websites.
  • Stand-in For An Enterprise RDBMS.SQLite is often used as a surrogate for an enterprise RDBMS for demonstration purposes or for testing. SQLite is fast and requires no setup, which takes a lot of the hassle out of testing and which makes demos perky and easy to launch.
Linux人社区开源新闻资讯翻译专版小编。翻译来自互联网上最新的英文开源资讯,提供给大家最迅即、最忠实于原文的开源业界动态、软件更新、有用技能等等。不至之处欢迎指正![email protected]
lengbingxue7
帖子: 4
注册时间: 2012-01-15 19:24

Re: SQLite特性

#2

帖子 lengbingxue7 » 2012-01-15 19:30

关注下
头像
枫叶饭团
帖子: 14683
注册时间: 2010-06-16 1:05
系统: Mac OS X
来自: Tencent
联系:

Re: SQLite特性

#3

帖子 枫叶饭团 » 2012-01-15 19:35

数据库我的短板
头像
月下叹逍遥
论坛版主
帖子: 33994
注册时间: 2010-10-07 14:23
系统: Archdows10
来自: 某系某星某洲某国某省某市
联系:

Re: SQLite特性

#4

帖子 月下叹逍遥 » 2012-01-15 19:38

:em01
浮生七十今三十,从此凄惶未可知
回复