Sqlite Articles about
Sqlite
 

Information About

Sqlite




  Logo
  Screenshot
  Caption
  Developer D Richard Hipp
  Latest Release Version 335
  Latest Release Date April 5 , 2006
  Operating System Cross-platform
  Genre Development Library
  License Public Domain
  Website SQLite


SQLite is an ACID -compliant Relational Database Management System contained in a relatively small C Library . It is a Public Domain project created by D. Richard Hipp .

Unlike Client-server database management systems, the SQLite engine is not a standalone process with which the program communicates. Instead, the SQLite library is linked in and thus becomes an integral part of the program. The program uses SQLite's functionality through simple Function calls. This reduces Latency in database access because function calls are more Efficient than Inter-process Communication . The entire database (definitions, tables, indices, and the data itself) is stored as a single standard file on the host machine. This simple design is achieved by locking the entire database file at beginning of a transaction.

SQLite's author sells training, direct technical support contracts and add-ons such as compression and encryption.


FEATURES

The library implements most of the SQL -92 standard, including Transaction s that are Atomic , Consistent , Isolated , and Durable ( ACID ), Triggers and most of the complex queries.

SQLite uses an unusual type system. Instead of assigning a type to a column as in most SQL database systems, types are assigned to individual values. For example, one can insert a String into an Integer column (although SQLite will try to convert the string to an integer first, if the column's preferred type is integer). Some users see this as an innovation that makes the database much more useful, especially when bound to a dynamically typed scripting language. Other users see it as a major drawback, since the technique is not portable to other SQL databases. SQLite prior to version 3 made no attempt to coerce data to the column's type.

Several Processes or Thread s may access the same database without problems. Several read accesses can be satisfied in parallel. A write access can only be satisfied if no other accesses are currently being serviced, otherwise the write access fails with an error code (or can automatically be retried until a configurable timeout expires). This concurrent access situation would change when dealing with temporary tables. However, a multithread deadlock issue will arise {Link without Title} . This issue was addressed in version 3.3.4, released February 11, 2006.

A standalone program called sqlite is provided which can be used to query and manage SQLite database files. It also serves as an example for writing applications that use the SQLite library.


LANGUAGE BINDINGS










PRODUCTS USING SQLITE




SEE ALSO



EXTERNAL LINKS