发布于 2017-02-15 03:50:25 | 205 次阅读 | 评论: 0 | 来源: 网友投递

这里有新鲜出炉的SQLite教程,程序狗速度看过来!

SQLite轻量级关系型数据库

SQLite,是一款轻型的数据库,是遵守ACID的关系型数据库管理系统,它的设计目标是嵌入式的,而且目前已经在很多嵌入式产品中使用了它,它占用资源非常的低,在嵌入式设备中,可能只需要几百K的内存就够了。它能够支持Windows/Linux/Unix等等主流的操作系统,同时能够跟很多程序语言相结合,比如 Tcl、C#、PHP、Java等,还有ODBC接口,同样比起Mysql、PostgreSQL这两款开源世界著名的数据库管理系统来讲,它的处理速度比他们都快。


SQLite 3.17.0 发布了,更新内容如下:

  • Approximately 25% better performance from the R-Tree extension.

    • Uses compiler built-ins (ex: __builtin_bswap32() or _byteswap_ulong()) for byteswapping when available.

    • Uses the sqlite3_blob key/value access object instead of SQL for pulling content out of R-Tree nodes

    • Other miscellaneous enhancements such as loop unrolling.

  • Add the SQLITE_DEFAULT_LOOKASIDE compile-time option.

  • Increase the default lookaside size from 512,125 to 1200,100 as this provides better performance while only adding 56KB of extra memory per connection. Memory-sensitive applications can restore the old default at compile-time, start-time, or run-time.

  • Use compiler built-ins __builtin_sub_overflow(), __builtin_add_overflow(), and __builtin_mul_overflow() when available. (All compiler built-ins can be omitted with the SQLITE_DISABLE_INTRINSIC compile-time option.)

  • Added the SQLITE_ENABLE_NULL_TRIM compile-time option, which can result in significantly smaller database files for some applications, at the risk of being incompatible with older versions of SQLite.

  • Change SQLITE_DEFAULT_PCACHE_INITSZ from 100 to 20, for improved performance.

  • Added the SQLITE_UINT64_TYPE compile-time option as an analog to SQLITE_INT64_TYPE.

  • Perform some UPDATE operations in a single pass instead of in two passes.

  • Enhance the session extension to support WITHOUT ROWID tables.

  • Fixed performance problems and potential stack overflows when creating views from multi-row VALUES clauses with hundreds of thousands of rows.

  • Added the sha1.c extension.

  • In the command-line shell, enhance the ".mode" command so that it restores the default column and row separators for modes "line", "list", "column", and "tcl".

  • Enhance the SQLITE_DIRECT_OVERFLOW_READ option so that it works in WAL mode as long as the pages being read are not in the WAL file.

  • Enhance the LEMON parser generator so that it can store the parser object as a stack variable rather than allocating space from the heap and make use of that enhancement in the amalgamation.

  • Other performance improvements. Uses about 6.5% fewer CPU cycles.

    Bug Fixes:

  • Throw an error if the ON clause of a LEFT JOIN references tables to the right of the ON clause. This is the same behavior as PostgreSQL. Formerly, SQLite silently converted the LEFT JOIN into an INNER JOIN. Fix for ticket 25e335f802dd.

  • Use the correct affinity for columns of automatic indexes. Ticket 7ffd1ca1d2ad4ec.

  • Ensure that the sqlite3_blob_reopen() interface can correctly handle short rows. Fix for ticket e6e962d6b0f06f46e.

    Hashes:

  • SQLITE_SOURCE_ID: "2017-02-13 16:02:40 ada05cfa86ad7f5645450ac7a2a21c9aa6e57d2c"

  • SHA1 for sqlite3.c: cc7d708bb073c44102a59ed63ce6142da1f174d1

详情请查看更新日志

下载地址:



历史版本 :
SQLite 3.22.0 发布,零配置 SQL 数据库引擎
SQLite 3.20.1 发布,轻量的关系数据库管理系统
SQLite 3.19.0 发布,零配置 SQL 数据库引擎
SQLite 3.17.0 发布,数据库服务器
SQLite 3.16.2 发布,数据库服务器
SQLite 3.12.2 发布
SQLite 3.12.1 发布
SQLite 3.11.0 发布
SQLite 3.10.2 发布
SQLite 3.10 发布,性能优化
SQLite 3.9.2 发布,数据库服务器
SQLite 3.9.0 发布,数据库服务器
最新网友评论  共有(0)条评论 发布评论 返回顶部

Copyright © 2007-2017 PHPERZ.COM All Rights Reserved   冀ICP备14009818号  版权声明  广告服务