Internal Versus External BLOBs
(intern-v-extern-blob.html)
... The number
of BLOBs varied in order to keep the total BLOB content at about 100MB.
(Hence, 100 BLOBs for the 1MB size and 10000 BLOBs for the 10K size and
so forth.) SQLite version 3.7.8 (2011-09 ...
|
C API: Memory Allocation Routines
(c3ref/mem_methods.html)
struct sqlite3_mem_methods
... This object is
also used during testing of SQLite in order to specify an alternative
memory allocator that simulates memory out-of-memory conditions in
order to verify that SQLite recovers gracefully from such
conditions.
The xMalloc, xRealloc, and xFree ...
|
35% Faster Than The Filesystem
(fasterthanfs.html)
2.2. Write Performance Measurements
... The blobs to be replaced are selected at random and
are in no particular order.
The direct-to-disk writes are accomplished using fopen()/fwrite()/fclose().
By default, and in all the results shown below, the OS filesystem buffers are ...
|
The Base85() SQL Function
(base85.html)
2. Encoding
The encoding used resembles Ascii85, but was devised by the author
(Larry Brasfield) before Mozilla, Adobe, ZMODEM or other Ascii85
variant sources existed, in the 1984 timeframe on a VAX mainframe.
Further, this is an independent implementation of a base85 ...
|
C API: Setting The Subtype Of An SQL Function
(c3ref/result_subtype.html)
sqlite3_result_subtype()
... Only the lower 8 bits
of the subtype T are preserved in current versions of SQLite;
higher order bits are discarded.
The number of subtype bytes preserved by SQLite might increase
in future releases of SQLite.
Every application-defined SQL ...
|
Database File Format
(fileformat.html)
2.2. Record Sort Order
The order of keys in an index b-tree is determined by the sort order of
the records that the keys represent. Record comparison progresses column
by column. Columns of a record are examined from left to right. The
first ...
|
C API: Define New Collating Sequences
(c3ref/create_collation.html)
sqlite3_create_collation(), sqlite3_create_collation_v2(), sqlite3_create_collation16()
... The name of the collation is a UTF-8 string
for sqlite3_create_collation() and sqlite3_create_collation_v2()
and a UTF-16 string in native byte order for sqlite3_create_collation16().
Collation names that compare equal according to sqlite3_strnicmp() are
considered to be the same name ...
|
The RBU Extension
(rbu.html)
1. The RBU Extension
... As a result, when executing a series of INSERT,
UPDATE and DELETE statements it is not generally possible to order the
operations so that all b-trees are updated in key order. The RBU update
process works around this by ...
|
The Next-Generation Query Planner
(queryplanner-ng.html)
3.2. Complications
... Finally, there is an estimate
of the number rows generated by the loop, which is information needed in
estimating the costs of inner loops. Sorting costs may come into play
if the query has an ORDER BY clause.
In a ...
|
SQLite Changes From Version 3.5.9 To 3.6.0
(35to36.html)
... CREATE TABLE t1(a);
CREATE TABLE t2(x);
SELECT * FROM (SELECT t1.a FROM t1 JOIN t2 ORDER BY t2.x LIMIT 1) ORDER BY 1;
In version 3.5.9 the query above would return a single column named ...
|
Page generated by FTS5 in about 238.03 ms.