Google
 

关于SQLite

SQLite是一个小型的C程序库,实现了独立的,可嵌入的,零配置的SQL数据库引擎。特性包括:

  • 事务操作是原子,一致,孤立,并且持久的(ACID),即使在系统崩溃和电源故障之后。
  • 零配置——不需要安装和管理。
  • 实现了绝大多数SQL92标准。 (不支持的特性)
  • 整个数据库存储在一个单一的文件中。
  • 数据库文件可以在不同字节序的机器之间自由地共享。
  • 支持最大可达2T的数据库。 (241 字节)
  • 字符串和BLOB类型的大小最大可达 2G 字节(231字节)。
  • 小的代码: 完整配置的少于250KB,忽略一些可选特性的少于150KB。
  • 在大多数常见操作上比流行的客户/服务器数据库引擎更快
  • 简单,易于使用的API
  • 内建TCL绑定另外提供可用于许多其他语言的绑定。
  • 具有良好注释的源代码,95%经过测试。
  • 独立:没有外部依赖。
  • 源代码位于公共域。 可用于任何用途。

SQLite发行版包含一个独立的命令行访问程序(sqlite),可用于管理SQLite数据库,并适合作为一个如何使用SQLite库的例子。

新闻

2007-Apr-02 - Version 3.3.14

此版本主要着眼于性能提升。如果你使用 GCC -O3 参数(预编译的二进制文件 使用 -O2) 重新编译 the amalgamation,可以发现相对于 3.3.13 有 35% 的性能提升,当然,这取决于你 的工作负载。这个版本同时增加了对 exclusive access mode 的支持。
This version focuses on performance improvements. If you recompile the amalgamation using GCC option -O3 (the precompiled binaries use -O2) you may see performance improvements of 35% or more over version 3.3.13 depending on your workload. This version also adds support for exclusive access mode.


2007-Feb-13 - Version 3.3.13

此版本修复了使用 joins 时在 ORDER BY 优化中存在的bug, 同时还有些性能提升。推荐升级。
This version fixes a subtle bug in the ORDER BY optimizer that can occur when using joins. There are also a few minor enhancements. Upgrading is recommended.

2007-Jan-27 - Version 3.3.12

上个版本的第一次公开build使用了错误的源代码。结果有很多人 下载了错误标记为 "3.3.11" 的版本,实际上是 3.3.10。 因此发布版本 3.3.12 以消除歧义性。修正了一部分错误并增强了 PRAGMA integrity_check
The first published build of the previous version used the wrong set of source files. Consequently, many people downloaded a build that was labeled as "3.3.11" but was really 3.3.10. Version 3.3.12 is released to clear up the ambiguity. A couple more bugs have also been fixed and PRAGMA integrity_check has been enhanced.

2007-Jan-22 - Version 3.3.11

版本 3.3.11 修正了一些 3.3.9 中的问题,在 3.3.10 中没有抓到。 推荐升级。
Version 3.3.11 fixes for a few more problems in version 3.3.9 that version 3.3.10 failed to catch. Upgrading is recommended.

2007-Jan-9 - Version 3.3.10

版本 3.3.10 修正了上个版本中引入的几个bug。推荐升级。
Version 3.3.10 fixes several bugs that were introduced by the previous release. Upgrading is recommended.


2007-Jan-4 - Version 3.3.9

版本 3.3.9 修正了一些难以重现的导致数据库损坏的bug。更多细节 可以查看 wiki 中的 数据库损坏 部分。此版本同时增加了新的 sqlite3_prepare_v2() API,并包含了命令行工具中的重大bug修 正和请求优化的增强。建议升级。
Version 3.3.9 fixes bugs that can lead to database corruption under obscure and difficult to reproduce circumstances. See DatabaseCorruption in the wiki for details. This release also adds the new sqlite3_prepare_v2() API and includes important bug fixes in the command-line shell and enhancements to the query optimizer. Upgrading is recommended.

2006-Oct-9 - Version 3.3.8

版本 3.3.8 开始支持全文检索,使用了 FTS1 模块. 同时还有一些细小的bug修正。如果使用3.3.7有问题,或者 你想尝试一下新的全文检索功能,请升级到这一版本。
Version 3.3.8 adds support for full-text search using the FTS1 module. There are also minor bug fixes. Upgrade only if you want to try out the new full-text search capabilities or if you are having problems with 3.3.7.

2006-Aug-12 - Version 3.3.7

版本 3.3.7 包括了对可加载扩展和虚表的支持。但这些特性仍处于 beta 阶段,相应的 API 也会在未来的版本中有所变化。这个版本主要修复了 3.3.6 累计的细小的bug。没有必要升级,除非你遇到这些不明显的 bug 中的一个,或者你想要尝试一下新特性。
Version 3.3.7 includes support for loadable extensions and virtual tables. But both features are still considered "beta" and their APIs are subject to change in a future release. This release is mostly to make available the minor bug fixes that have accumulated since 3.3.6. Upgrading is not necessary. Do so only if you encounter one of the obscure bugs that have been fixed or if you want to try out the new features.

2006-Jun-19 - 关于 SQLite 的新书

The Definitive Guide to SQLite,由 Mike Owens 所著的新书, 目前已经由 Apress 出版。 这本书涵盖了最新的 SQLite 技术内幕,包括原生 C 接口,提供给 PHP,Python,Perl,Ruby,Tcl 和 Java 语言的绑定。推荐。
The Definitive Guide to SQLite, a new book by Mike Owens. is now available from Apress. The books covers the latest SQLite internals as well as the native C interface and bindings for PHP, Python, Perl, Ruby, Tcl, and Java. Recommended.

2006-Jun-6 - Version 3.3.6

改进了对Windows下病毒扫描器的兼容性以及更快的:memory:型数据库。 同时修正了一些不明显的错误。旧版本有问题的话可以升级。
Changes include improved tolerance for windows virus scanners and faster :memory: databases. There are also fixes for several obscure bugs. Upgrade if you are having problems.

2006-Apr-5 - Version 3.3.5

这次发布修正了许多小bug并提供了一些细微的新功能和性能上的增强。 如果之前有问题或者需要一个新的特性的话可以升级到这一版本。
This release fixes many minor bugs and documentation typos and provides some minor new features and performance enhancements. Upgrade only if you are having problems or need one of the new features.

2006-Feb-11 - Version 3.3.4

这次发布修正了几个bug,包括在多线程系统上可能造成死锁的严重问题。 所有在多线程环境使用SQLite的用户都应升级到这一版本。
This release fixes several bugs, including a a blunder that might cause a deadlock on multithreaded systems. Anyone using SQLite in a multithreaded environment should probably upgrade.


Old news...

SQLite中文站