DISQLite3 - A self-contained, embeddable, zero-configuration SQL database engine for Delphi

DISQLite3是一款为Delphi(Embarcadero/CodeGear/Borland)平台定制的自包含、嵌入式、零配置SQL数据库引擎,提供ACID事务、零配置设置、SQL-92标准支持等功能。它支持单文件数据库存储、AES加密、全文搜索等特性,适用于各种常见操作,并且可以与Linux和MacOS系统兼容。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

DISQLite3 implements a self-contained, embeddable, zero-configuration SQL database engine for Delphi (Embarcadero / CodeGear / Borland).

Features include:

  • ACID transactions, even after system crashes and power failures.
  • Zero-configuration – no setup or administration needed.
  • Implements most of  SQL-92.
  • A complete database is stored in a single disk file.
  • Supports terabyte-sized databases and gigabyte-sized strings and blobs. Self-contained: no external dependencies, no  DLLs.
  • Small footprint and smart linking: Only required code is compiled in, adding as little as 300 KB code space only.
  • Full Text Search ( FTS) with customizable tokenizer, prefix matching, and  optional word stemming for 15 languages.
  • Database  AES encryption with SHA256 key generator.
  • Db.pas is not required, which allows DISQLite3 to compile with all flavours of Delphi, including Delphi Standard and Delphi Personal.
  • Faster than popular database engines for most common operations.
  • Simple, easy to use  API.
  • Database files created with DISQLite3 can also be accessed by Linux and MacOS using the SQLite3 libraries.

SQL-92 Support

DISQLite3 Drive Catalog Demo ApplicationDISQLite3 understands most of the SQL-92 language standard:

  • ALTER TABLE
  • ANALYZE
  • ATTACH DATABASE
  • BEGIN TRANSACTION
  • Comments
  • COMMIT TRANSACTION
  • CREATE INDEX
  • CREATE TABLE
  • CREATE TRIGGER
  • CREATE VIEW
  • DELETE
  • DETACH DATABASE
  • DROP INDEX
  • DISQLite3 Mathematical Expression Evaluator Demo ApplicationDROP TABLE
  • DROP TRIGGER
  • DROP VIEW
  • END TRANSACTION
  • EXPLAIN
  • Expressions
  • INSERT
  • ON CONFLICT clause
  • PRAGMA
  • REINDEX
  • REPLACE
  • ROLLBACK TRANSACTION
  • SELECT
  • UPDATE
  • VACUUM

The complete SQL syntax is described in full length in the DISQLite3 HTML Help, part of the installation package.

Simple Programming Interface

DISQLite3 Database Encryption Demo ApplicationDISQLite3 provides a comprehensive list of functions and procedures to manage database records with ease and efficiency. It includes the full SQLite3 functionality, plus a number of Delphi specific extras:

  • AnsiString, UnicodeString / WideString, and Variant support.
  • Database and Statement wrapper classes.
  • TDataSet support.
  • TStream support for  BLOBs.
  • Growing number of Delphi example projects.

Despite of its rich set of features, a DISQLite3 database application can be realized with just three different function calls.

Pro and Personal Editions

DISQLite3 comes in two editions: DISQLite3 Personal and DISQLite3 Pro.

DISQLite3 Personal is free for personal, educational, and non-commercial use. It omits some functionality of DISQLite3 Pro, but does not compromize on essential features like ACIDtransactions, virtually unlimited database size, full text search, and others.

DISQLite3 Pro is required for commercial use and may be purchased online. It adds functionality usually desired by advanced users. This includes SQL triggers and views, arbitrary encryption passwords, user-defined SQL functions, and more. Since DISQLite3 Pro is fully compatible to the Personal edition, it is possible to upgrade existing projects without any code changes.

feature chart is available for a side-by-side comparison of the two editions.

This table lists the features of the free1) DISQLite3 Personal vs. the commercial DISQLite3Pro editions.

FeatureDISQLite3 PersonalDISQLite3 Pro
Windows 64-bit support Yes
SQL-92 Compatible SyntaxYesYes
Single File DatabaseYesYes
Compact, Variable-Length File FormatYesYes
Maximum Database Size2 TB2TB
Maximum Number of TablesUnlimitedUnlimited
Maximum Number of Columns per TableUnlimitedUnlimited
Maximum Length of Column NameUnlimitedUnlimited
Maximum Number of IndexesUnlimitedUnlimited
Maximum Amount of Data per RowUnlimitedUnlimited
Compiles into Application EXE, requires no DLLsYesYes
Indexed Full Text Search with prefix matching (like "run*") andoptional word stemmingYesYes
SQL Parameter Binding (?, :ParamName)YesYes
Database LockingYesYes
Database Transactions and RollbackYesYes
Database Schema PRAGMAsYesYes
Multiple, Simultaneous SELECT OperationsYesYes
Database EncryptionSingle PasswordAny Password
CHECK constraints Yes
SQL ANALYZE command Yes
SQL OR optimization Yes
SQL BETWEEN optimization Yes
SQL LIKE optimization Yes
SQL INSERT allows multiple rows Yes
Default Column ValuesYesYes
Floating-Point SupportYesYes
Date and DateTime FunctionsYesYes
User-Defined Collation Sequences Yes
User-Defined Database Functions and Aggregates Yes
ALTER TABLE SQL Command Yes
Authorization Callback Feature Yes
PRIMARY KEY ColumnsYesYes
Autoincementing PRIMARY KEY columns (may reuse ROWIDs from deleted records)YesYes
AUTOINCREMENT keyword (monotonically increasing ROWIDs, guaranteed to be unique over the entire database lifetime) Yes
VACUUM Clause, Auto-Vacuum Feature Yes
BLOB Literal SQL Syntax X'ABCD' Yes
Incremental BLOB API Yes
CAST ( expr AS type ) Yes
Temporary Tables Yes
Compound SELECTs (UNION, UNION ALL, INTERSECT, EXCEPT) Yes
ON CONFLICT SQL Clause Yes
EXPLAIN SQL Clause Yes
Database Integrity Check Yes
FOREIGN KEY constraints Yes
In-Memory Database Yes
Hot Database Backup Yes
Trace Callback Feature for SQL Logging and Debugging Yes
Commit Transaction Callback Feature Yes
Progress Callback Feature Yes
REINDEX SQL Clause Yes
PRAGMA Database Options Yes
Sub-Queries, Sub-Selects, IN() Operator Yes
Automatic Database Triggers Yes
UTF-8 / Utf8String APIYesYes
UTF-16 / UnicodeString / WideString API Yes
Views, Triggers on Views Yes
ATTACH multiple databases Yes
SQL tracing and performance profiling Yes
Shared Cache between multiple open DB connections Yes
Asynchronous I/O background thread writing Yes
R-Tree index for geospatial data systems Yes
Write-Ahead Logging (WAL) for improved performance and concurrency Yes
Multiple worker threads Yes
1) Free for personal, educational, and non-commercial use. See license for details.
 
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值