Skip to content

Commit

Permalink
0000021: SQLite - Start of documentation in User's Guide.
Browse files Browse the repository at this point in the history
  • Loading branch information
mhanes committed Dec 4, 2012
1 parent f467b9e commit 0eb136d
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 0 deletions.
35 changes: 35 additions & 0 deletions symmetric-assemble/src/docbook/databases.xml
Expand Up @@ -176,6 +176,16 @@
<entry>Y</entry>
<entry>Y</entry>
</row>
<row>
<entry>SQLite</entry>
<entry>3.x</entry>
<entry>N</entry>
<entry>Y</entry>
<entry>Y</entry>
<entry>Y</entry>
<entry>Y</entry>
<entry>Y</entry>
</row>
</tbody>
</tgroup>
</table>
Expand Down Expand Up @@ -542,4 +552,29 @@ ontape -s -L 0
</listitem>
</itemizedlist>
</section>
<section id="ap02-sqlite">
<title>SQLite</title>
<para>
For SQLite, the implementation of sync-on-incoming back and the population of a source node if in the sym data rows relies
on use of a context table (by default, called sym_context) to hold a boolean and node id in place of the more common methods
of using temp tables (which are unaccessible from triggers) or functions (which are not available). The context table assumes
there's a single thread updating the database at any one time. If that is not the case in the future, the current implementation of
sync on incoming batch will be unreliable.
</para>
<para>
The SQLite dialect has the following limitations:
<itemizedlist spacing="compact">
<listitem>
<para>
There is no transaction ID recorded on data captured.
Either specify a tx_id_expression on the
<xref linkend="table_trigger" xrefstyle="table"/> table,
or set a max_batch_size on the
<xref linkend="table_channel" xrefstyle="table"/> table that
will accommodate your transactional data.
</para>
</listitem>
</itemizedlist>
</para>
</section>
</appendix>
4 changes: 4 additions & 0 deletions symmetric-assemble/src/docbook/introduction.xml
Expand Up @@ -75,6 +75,10 @@
<listitem>
<para>Greenplum 8.2.15 and above</para>
</listitem>

<listitem>
<para>SQLite 3 and above</para>
</listitem>
</itemizedlist>

<para>See <xref linkend="databases"/>, for compatibility notes and other
Expand Down

0 comments on commit 0eb136d

Please sign in to comment.