DISQLite3 - A self-contained, embeddable, zero-configuration SQL database engine for Delphi
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.pasis 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 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
DROP 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 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.
A 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.
| Feature | DISQLite3 Personal | DISQLite3 Pro |
|---|---|---|
| Windows 64-bit support | Yes | |
| SQL-92 Compatible Syntax | Yes | Yes |
| Single File Database | Yes | Yes |
| Compact, Variable-Length File Format | Yes | Yes |
| Maximum Database Size | 2 TB | 2TB |
| Maximum Number of Tables | Unlimited | Unlimited |
| Maximum Number of Columns per Table | Unlimited | Unlimited |
| Maximum Length of Column Name | Unlimited | Unlimited |
| Maximum Number of Indexes | Unlimited | Unlimited |
| Maximum Amount of Data per Row | Unlimited | Unlimited |
| Compiles into Application EXE, requires no DLLs | Yes | Yes |
| Indexed Full Text Search with prefix matching (like "run*") andoptional word stemming | Yes | Yes |
| SQL Parameter Binding (?, :ParamName) | Yes | Yes |
| Database Locking | Yes | Yes |
| Database Transactions and Rollback | Yes | Yes |
| Database Schema PRAGMAs | Yes | Yes |
| Multiple, Simultaneous SELECT Operations | Yes | Yes |
| Database Encryption | Single Password | Any 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 Values | Yes | Yes |
| Floating-Point Support | Yes | Yes |
| Date and DateTime Functions | Yes | Yes |
| User-Defined Collation Sequences | Yes | |
| User-Defined Database Functions and Aggregates | Yes | |
| ALTER TABLE SQL Command | Yes | |
| Authorization Callback Feature | Yes | |
| PRIMARY KEY Columns | Yes | Yes |
| Autoincementing PRIMARY KEY columns (may reuse ROWIDs from deleted records) | Yes | Yes |
| 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 API | Yes | Yes |
| 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 |
DISQLite3 - A self-contained, embeddable, zero-configuration SQL database engine for Delphi的更多相关文章
- How to Use Lucene.NET with Windows Azure SQL Database
http://social.technet.microsoft.com/wiki/contents/articles/2367.how-to-use-lucene-net-with-windows-a ...
- Create an Azure SQL database in the Azure portal
Create a SQL database An Azure SQL database is created with a defined set of compute and storage res ...
- [Windows Azure] How to Create and Configure SQL Database
How to Create and Configure SQL Database In this topic, you'll step through logical server creation ...
- [Windows Azure] Getting Started with Windows Azure SQL Database
In this tutorial you will learn the fundamentals of Windows Azure SQL Database administration using ...
- HTML5教程之html 5 本地数据库(Web Sql Database)
HTML5的Web SQL Databases(html5 本地数据库)的确很诱惑人,当你发现可以用与mysql查询一样的查询语句来操作本地数据库时,你会发现这东西挺有趣的.今天,我们一起来了解HTM ...
- Azure SQL Database (19) Stretch Database 概览
<Windows Azure Platform 系列文章目录> Azure SQL Database (19) Stretch Database 概览 Azure SQL Da ...
- Azure SQL Database (20) 使用SQL Server 2016 Upgrade Advisor
<Windows Azure Platform 系列文章目录> Azure SQL Database (19) Stretch Database 概览 Azure SQL Da ...
- Azure SQL Database (21) 将整张表都迁移到Azure Stretch Database里
<Windows Azure Platform 系列文章目录> Azure SQL Database (19) Stretch Database 概览 Azure SQL Da ...
- Azure SQL Database (22) 迁移部分数据到Azure Stretch Database
<Windows Azure Platform 系列文章目录> Azure SQL Database (19) Stretch Database 概览 Azure SQL Da ...
随机推荐
- python网络编程-动态导入和断言
一:动态导入importlib 在程序运行的过程中,根据变量或者配置动态的决定导入哪个模块,可以使用模块importlib importlib使用示例 二:断言assert 如果接下来的程序依赖于前面 ...
- Codefroces 628B New Skateboard(数位+思维)
题目链接:http://codeforces.com/contest/628/problem/B 题目大意:给你一段数字串s(1?≤?|s|?≤?3·10^5),求该字符串有多少子串是4的倍数.解题思 ...
- The Art Of Computer Programming: 1.1
The Art Of Computer Programming: 1.1 */--> div.org-src-container { font-size: 85%; font-family: m ...
- python 判断字符编码
一般情况下,需要加这个: import sys reload(sys) sys.setdefaultencoding('utf-8') 打开其他文件编码用codecs.open 读 下面的代码读取了文 ...
- My blog in AI ---神经网络,网络架构
上一篇博文中,我们介绍了神经网络中的神经元,那么该如何组织起来这些神经元,才能发挥出最好的效果去解决现实中的问题呢? 这是一个复杂的问题,在工程中,神经网络的架构也是训练的也是一种超参数,本节先在理论 ...
- Python并发编程系列之多进程(multiprocessing)
1 引言 本篇博文主要对Python中并发编程中的多进程相关内容展开详细介绍,Python进程主要在multiprocessing模块中,本博文以multiprocessing种Process类为中心 ...
- List元素为泛型时的注意事项
最近的项目赶得非常紧,这节奏跟最近的天气一点也不搭调. 编码的过程,遇到一个关于List的小问题. 在调用List.add(E e)的时候范了一个小毛病,很自然地认为list中存储的是 E 对象的另 ...
- gpfs中遇到的错误
主要导致这个问题是之前GPFS格式化的磁盘会留下gpfs的一些信息 mmcrnsd: Disk name nsd01 is already registered for use by GPFS.mmc ...
- django中两张表有外键关系的相互查找方法,自定义json编码方法
两张通过外键联系的表,如何在一张表上根据另一张表上的属性查找满足条件的对象集? 平常查找表中数据的条件是python中已有的数据类型,通过名字可以直接查找.如果条件是表中外键列所对应表的某一列,该如何 ...
- 凡信(超仿微信Android版)开源了,内有源码下载 -
韩梦飞沙 韩亚飞 313134555@qq.com yue31313 han_meng_fei_sha 凡信(超仿微信Android版)开源了,内有源码下载 - IM Geek开发者社区-移动 ...