亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? fastdb.htm

?? 用于嵌入式環境的數據庫
?? HTM
?? 第 1 頁 / 共 5 頁
字號:
<HTML>
<HEAD>
<TITLE>FastDB Main Memory Database Management System</TITLE>
<UL>
<LI> <A HREF = "#introduction">Introduction</A>
<LI> <A HREF = "#sql">Query language</A>
  <UL>
  <LI> <A HREF = "#structure">Structures</A>
  <LI> <A HREF = "#array">Arrays</A>
  <LI> <A HREF = "#string">Strings</A>
  <LI> <A HREF = "#reference">References</A>
  <LI> <A HREF = "#function">Functions</A>
  </UL>
<LI> <A HREF = "#cpp">C++ interface</A>
  <UL>
  <LI> <A HREF = "#table">Table</A>
  <LI> <A HREF = "#query">Query</A>
  <LI> <A HREF = "#cursor">Cursor</A>
  <LI> <A HREF = "#database">Database</A>
  </UL>
<LI> <A HREF = "#cli">CLI - call level interface</A>
  <UL>
  <LI> <A HREF = "#cli_errors">CLI error codes</A>
  <LI> <A HREF = "#cli_types">CLI supported types</A>
  <LI> <A HREF = "#cli_open">cli_open</A>
  <LI> <A HREF = "#cli_close">cli_close</A>
  <LI> <A HREF = "#cli_statement">cli_statement</A>
  <LI> <A HREF = "#cli_parameter">cli_parameter</A>
  <LI> <A HREF = "#cli_column">cli_colunm</A>
  <LI> <A HREF = "#cli_array_column">cli_array_column</A>
  <LI> <A HREF = "#cli_fetch">cli_fetch</A>
  <LI> <A HREF = "#cli_insert">cli_insert</A>
  <LI> <A HREF = "#cli_get_first">cli_get_first</A>
  <LI> <A HREF = "#cli_get_last">cli_get_last</A>
  <LI> <A HREF = "#cli_get_next">cli_get_next</A>
  <LI> <A HREF = "#cli_get_prev">cli_get_prev</A>
  <LI> <A HREF = "#cli_get_oid">cli_get_oid</A>
  <LI> <A HREF = "#cli_update">cli_update</A>
  <LI> <A HREF = "#cli_remove">cli_remove</A>
  <LI> <A HREF = "#cli_free">cli_free</A>
  <LI> <A HREF = "#cli_commit">cli_commit</A>
  <LI> <A HREF = "#cli_abort">cli_abort</A>
  <LI> <A HREF = "#cli_show_tables">cli_show_tables</A>
  <LI> <A HREF = "#cli_describe">cli_describe</A>
  <LI> <A HREF = "#cli_create_table">cli_create_table</A>
  <LI> <A HREF = "#cli_alter_table">cli_alter_table</A>
  <LI> <A HREF = "#cli_drop_table">cli_drop_table</A>
  <LI> <A HREF = "#cli_alter_index">cli_alter_index</A>
  <LI> <A HREF = "#cli_freeze">cli_freeze</A>
  <LI> <A HREF = "#cli_unfreeze">cli_unfreeze</A>
  <LI> <A HREF = "#cli_seek">cli_seek</A>
  <LI> <A HREF = "#cli_skip">cli_skip</A>
  </UL>
<LI> <A HREF = "#localcli">Local implementation of CLI</A>
  <UL>
  <LI> <A HREF = "#cli_create">cli_create</A>
  <LI> <A HREF = "#cli_create_replication_node">cli_create_replication_node</A>
  <LI> <A HREF = "#cli_attach">cli_attach</A>
  <LI> <A HREF = "#cli_detach">cli_detach</A>
  <LI> <A HREF = "#cli_get_database_state">cli_get_database_state</A>
  <LI> <A HREF = "#cli_prepare_query">cli_prepare_query</A>
  <LI> <A HREF = "#cli_execute_query">cli_execute_query</A>
  <LI> <A HREF = "#cli_insert_struct">cli_insert_struct</A>
  </UL>
<LI> <A HREF = "#advanced">Delayed transactions and online backup scheduler</A>
<LI> <A HREF = "#replication">Fault tolerant support</A>
<LI> <A HREF = "#optimization">Query optimization</A>
  <UL>
  <LI> <A HREF = "#indices">Using indices in queries</A>
  <LI> <A HREF = "#inverse">Inverse references</A>
  <LI> <A HREF = "#realtime">Realtime issues</A>
  <LI> <A HREF = "#par">Parallel query execution</A>
  </UL>
<LI> <A HREF = "#gist">Generalized search tree</A>
<LI> <A HREF = "#implementation">FastDB implementation issues</A>
  <UL>
  <LI> <A HREF = "#memory">Memory allocation</A>
  <LI> <A HREF = "#transaction">Transactions</A>
  <LI> <A HREF = "#recovery">Recovery</A>
  <LI> <A HREF = "#hashtable">Hash table</A>
  <LI> <A HREF = "#ttree">T-tree</A>
  </UL>
<LI> <A HREF = "#subsql">Interactive SQL</A>
<LI> <A HREF = "#www">API for development Web applications</A>
<LI> <A HREF = "#examples">Examples of FastDB applications</A>
  <UL>
  <LI> <A HREF = "#guess">Example: game "Guess an animal"</A>
  <LI> <A HREF = "#testdb">Example: various types of queries</A>
  <LI> <A HREF = "#testperf">Performance test</A>
  <LI> <A HREF = "#bugdb">Bug tracking database</A>
  <LI> <A HREF = "#clidb">Clients-Managers database</A>
  </UL>
<LI> <A HREF = "#quick">Quick start</A>
<LI> <A HREF = "#dbsize">Reducing initial size of the database file</A>
<LI> <A HREF = "#diskless">Diskless configuration</A>
<LI> <A HREF = "#sharing">Sharing of classes between different databases</A>
<LI> <A HREF = "docs/html/index.html">Documentation generated by Doxygen</A>
<LI> <A HREF = "#distribution">Distribution terms</A>
</UL>

<BODY>
<HR>
<H2><A NAME = "introduction">Introduction</A></H2>

FastDB is a highly efficient main memory database system 
with realtime capabilities and convenient C++ interface.
FastDB doesn't support a client-server architecture and all applications
using a FastDB database should run at the same host. FastDB is optimized 
for applications with dominated read access pattern. High speed of query 
execution is provided by the elimination of data transfer overhead and
a very effective locking implementation. The Database file is mapped to the virtual
memory space of each application working with the database. So the query is executed in
the context of the application, requiring no context switching and data transfer.
Synchronization of concurrent database access is implemented in FastDB 
by means of atomic instructions, adding almost 
no overhead to query processing. FastDB assumes that the whole database is 
present in RAM and optimizes the search algorithms and structures according to this
assumption. Moreover, FastDB has no overhead caused by database buffer management
and needs no data transfer between a database file and buffer pool. 
That is why FastDB 
will work significantly faster than a traditional database with all data cached 
in buffers pool.<P>

FastDB supports transactions, online backup and automatic recovery 
after system crash. The transaction commit protocol is based on
a shadow root pages algorithm, performing atomic update of the database.
Recovery can be done very fast, providing 
high availability for critical applications. Moreover, the elimination
of transaction logs improves the total system performance and leads to a more 
effective usage of system resources.<P>

FastDB is an application-oriented database. Database tables are constructed using
information about application classes. FastDB supports automatic scheme 
evaluation, allowing you to do changes only in one place - in your
application classes. FastDB provides a flexible and convenient interface
for retrieving data from the database. A SQL-like query language is used
to specify queries. Such post-relational capabilities as non-atomic
fields, nested arrays, user-defined types and methods, direct interobject 
references simplifies the design of database applications and makes them more
efficient.<P>

Although FastDB is optimized in the assumption that database as a whole fits
into the physical memory of the computer, it is also possible to use it with databases,
the size of which exceeds the size of the physical memory in the system. In the last 
case, standard operating system swapping mechanisms will work. But 
all FastDB search algorithms and structures are optimized under the assumption of
residence of all data in memory, so the efficiency for swapped 
out data will not be very high.<P> 


<H2><A NAME = "sql">Query language</A></H2>

FastDB supports a query language with SQL-like syntax. FastDB uses a notation more
popular for object-oriented programming then for a relational database. 
Table rows are considered as object instances, the table is the class of these
objects. Unlike SQL, FastDB is oriented on work with objects instead of SQL
tuples. So the result of each query execution  is a set of objects of one 
class. The main differences of the FastDB query language from standard SQL are:<P>

<OL>
<LI> There are no joins of several tables and nested subqueries. The query always
returns a set of objects from one table. 
<LI> Standard C types are used for atomic table columns.
<LI> There are no NULL values, except null references. 
I completely agree with C.J. Date's criticism of three-value logic and his 
proposal to use default values instead. 
<LI> Structures and arrays can be used as record components. A special 
<B>exists</B> quantor is provided for locating elements in arrays. 
<LI> Parameterless user methods can be defined for table records (objects) as well as
for record components.
<LI> User functions with (only) one single string or numeric argument can be defined by
the application. 
<LI> References between objects are supported including automatic support
for inverse references. 
<LI>Construction of <code>start from follow by</code> performs a recursive records
traversal using references.
<LI> Because the query language is deeply integrated into C++ classes, a case
sensitive mode is used for language identifiers as well as for keywords. 
<LI> No implicit conversion of integer and floating types to string
representation is done. If such conversion is needed, it must be done explicitly. 
</OL><P>

The following rules in BNF-like notation specify the grammar of the
FastDB query language search predicates:<P>

<TABLE BORDER ALIGN="center">
<CAPTION>Grammar conventions</CAPTION>
<TR><TH>Example</TH><TH>Meaning</TH></TR>
<TR><TD><I>expression</I></TD><TD>non-terminals</TD></TR>
<TR><TD><B>not</B></TD><TD>terminals</TD></TR>
<TR><TD ALIGN="center">|</TD><TD>disjoint alternatives</TD></TR>
<TR><TD>(<B>not</B>)</TD><TD>optional part</TD></TR>
<TR><TD>{<B>1</B>..<B>9</B>}</TD><TD>repeat zero or more times</TD></TR>
</TABLE><P>

<PRE>
<I>select-condition</I> ::= ( <I>expression</I> ) ( <I>traverse</I> ) ( <I>order</I> )
<I>expression</I> ::= <I>disjunction</I>
<I>disjunction</I> ::= <I>conjunction</I> 
        | <I>conjunction</I> <B>or</B> <I>disjunction</I>
<I>conjunction</I> ::= <I>comparison</I> 
        | <I>comparison</I> <B>and</B> <I>conjunction</I>
<I>comparison</I> ::= <I>operand</I> <B>=</B> <I>operand</I> 
        | <I>operand</I> <B>!=</B> <I>operand</I> 
        | <I>operand</I> <B>&lt;&gt;</B> <I>operand</I> 
        | <I>operand</I> <B>&lt;</B> <I>operand</I> 
        | <I>operand</I> <B>&lt;=</B> <I>operand</I> 
        | <I>operand</I> <B>&gt;</B> <I>operand</I> 
        | <I>operand</I> <B>&gt;=</B> <I>operand</I> 
        | <I>operand</I> (<B>not</B>) <B>like</B> <I>operand</I> 
        | <I>operand</I> (<B>not</B>) <B>like</B> <I>operand</I> <B>escape</B> <I>string</I>
        | <I>operand</I> (<B>not</B>) <B>in</B> <I>operand</I>
        | <I>operand</I> (<B>not</B>) <B>in</B> <I>expressions-list</I>
        | <I>operand</I> (<B>not</B>) <B>between</B> <I>operand</I> <B>and</B> <I>operand</I>
	| <I>operand</I> <B>is</B> (<B>not</B>) <B>null</B>
<I>operand</I> ::= <I>addition</I>
<I>additions</I> ::= <I>multiplication</I> 
        | <I>addition</I> <B>+</B>  <I>multiplication</I>
        | <I>addition</I> <B>||</B> <I>multiplication</I>
        | <I>addition</I> <B>-</B>  <I>multiplication</I>
<I>multiplication</I> ::= <I>power</I> 
        | <I>multiplication</I> <B>*</B> <I>power</I>
        | <I>multiplication</I> <B>/</B> <I>power</I>
<I>power</I> ::= <I>term</I>
        | <I>term</I> <B>^</B> <I>power</I>
<I>term</I> ::= <I>identifier</I> | <I>number</I> | <I>string</I> 
        | <B>true</B> | <B>false</B> | <B>null</B> 
	| <B>current</B> | <B>first</B> | <B>last</B>
	| <B>(</B> expression <B>)</B> 
        | <B>not</B> <I>comparison</I>
	| <B>-</B> term
	| <I>term</I> <B>[</B> expression <B>]</B> 
	| <I>identifier</I> <B>.</B> <I>term</I> 
	| <I>function</I> <I>term</I>
        | <B>exists</B> <I>identifier</I> <B>:</B> <I>term</I>
<I>function</I> ::= <B>abs</B> | <B>length</B> | <B>lower</B> | <B>upper</B>
        | <B>integer</B> | <B>real</B> | <B>string</B> | <I>user-function</I>
<I>string</I> ::= <B>'</B> { { <I>any-character-except-quote</I> } (<B>''</B>) } <B>'</B>
<I>expressions-list</I> ::= <B>(</B> <I>expression</I> { <B>,</B> <I>expression</I> } <B>)</B>
<I>order</I> ::= <B>order by</B> <I>sort-list</I>
<I>sort-list</I> ::= <I>field-order</I> { <B>,</B> <I>field-order</I> }
<I>field-order</I> ::= [<B>length</B>] <I>field</I> (<B>asc</B> | <B>desc</B>)
<I>field</I> ::= <I>identifier</I> { <B>.</B> <I>identifier</I> }
<I>traverse</I> ::= <B>start from</B> <I>field</I> ( <B>follow by</B> <I>fields-list</I> )
<I>fields-list</I> ::=  <I>field</I> { <B>,</B> <I>field</I> }
<I>user-function</I> ::= <I>identifier</I>
</PRE><P>

Identifiers are case sensitive, begin with a  a-z, A-Z, '_' or '$' 
character, contain only a-z, A-Z, 0-9, '_' or '$' characters, and
do not duplicate a SQL reserved word.<P>

<TABLE WIDTH=100%>
<CAPTION>List of reserved words</CAPTION>
<TR><TD>abs</TD><TD>and</TD><TD>asc</TD><TD>between</TD><TD>by</TD></TR>
<TR><TD>current</TD><TD>desc</TD><TD>escape</TD><TD>exists</TD><TD>false</TD></TR>
<TR><TD>first</TD><TD>follow</TD><TD>from</TD><TD>in</TD><TD>integer</TD></TR>
<TR><TD>is</TD><TD>length</TD><TD>like</TD><TD>last</TD><TD>lower</TD></TR>
<TR><TD>not</TD><TD>null</TD><TD>or</TD><TD>real</TD><TD>start</TD></TR>
<TR><TD>string</TD><TD>true</TD><TD>upper</TD></TR>
</TABLE><P>

ANSI-standard comments may also be used. All characters after a double-hyphen up to
the end of the line are ignored.<P>

FastDB extends ANSI standard SQL operations by supporting bit manipulation 
operations. Operators <code>and</code>/<code>or</code> can be applied not only 
to boolean operands but also to operands of integer type. The result of applying the
<code>and</code>/<code>or</code> operator to integer operands is an integer
value with bits set by the bit-AND/bit-OR operation. Bit operations can be used
for efficient implementation of small sets. Also the rasing to a power
operation (x<B>^</B>y) is supported by FastDB for integer and floating point
types.<P> 


<H3><A NAME = "structure">Structures</A></H3>

FastDB accepts structures as components of records. Fields of the structure
can be accessed using the standard dot notation: <code>company.address.city</code>
<P>

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
成人97人人超碰人人99| 久久人人超碰精品| 精品精品国产高清一毛片一天堂| 日韩精品一区二区在线观看| 亚洲精品久久嫩草网站秘色| 国内不卡的二区三区中文字幕 | 亚洲日本成人在线观看| 午夜精品福利一区二区三区蜜桃| 国产精品18久久久久久vr| 欧美日韩精品系列| 中文字幕一区二区日韩精品绯色| 麻豆成人在线观看| 欧美亚洲综合久久| 亚洲色图在线看| 国产成人午夜视频| 日韩欧美一区中文| 性做久久久久久| 色婷婷国产精品| 国产精品伦一区二区三级视频| 久久国产精品99久久人人澡| 欧美三级韩国三级日本三斤| 亚洲人成在线播放网站岛国| 成人一区二区三区在线观看| 26uuu亚洲婷婷狠狠天堂| 日韩高清在线一区| 欧美在线观看你懂的| 亚洲人午夜精品天堂一二香蕉| 成人va在线观看| 国产欧美日韩另类视频免费观看| 久久er精品视频| 欧美精品一区二区三区一线天视频 | 亚洲女人****多毛耸耸8| 成人动漫一区二区在线| 亚洲欧美自拍偷拍色图| 99视频精品全部免费在线| 亚洲欧美日韩国产另类专区| 波多野结衣的一区二区三区| 国产精品久久久久影院老司| eeuss鲁一区二区三区| 亚洲视频一二三区| 在线观看一区二区视频| 五月激情综合色| 日韩欧美第一区| 国产成人精品免费视频网站| 国产欧美一区二区三区在线看蜜臀| 国产精品资源在线观看| 国产精品无圣光一区二区| 国产91在线观看丝袜| 亚洲色图制服诱惑| 欧美日韩国产一区二区三区地区| 亚洲bt欧美bt精品| 精品国产精品一区二区夜夜嗨| 国产一二精品视频| 国产精品成人一区二区艾草 | 亚洲电影激情视频网站| 日韩一区二区三区视频在线| 国产乱理伦片在线观看夜一区| 国产精品久久福利| 欧美人妇做爰xxxⅹ性高电影| 美国欧美日韩国产在线播放| 久久久久一区二区三区四区| 99在线精品观看| 日本不卡在线视频| 中文字幕免费不卡| 欧美丝袜丝交足nylons| 国产一区二区三区高清播放| 亚洲视频在线一区观看| 欧美一级专区免费大片| 不卡大黄网站免费看| 婷婷国产v国产偷v亚洲高清| 国产午夜亚洲精品理论片色戒 | 国产成人免费高清| 一卡二卡三卡日韩欧美| 26uuu国产电影一区二区| 本田岬高潮一区二区三区| 亚洲 欧美综合在线网络| 国产视频一区在线观看| 欧美性大战xxxxx久久久| 国产精品中文有码| 日韩国产精品91| 亚洲欧洲精品一区二区精品久久久| 在线不卡免费欧美| 99久久亚洲一区二区三区青草| 青青草国产成人99久久| 亚洲欧美日韩久久| 久久综合久久综合久久| 欧美精品第一页| 色94色欧美sute亚洲线路二| 另类欧美日韩国产在线| 亚洲自拍偷拍图区| 国产欧美精品国产国产专区| 欧美一区二区大片| 欧美亚男人的天堂| 91在线小视频| 粉嫩嫩av羞羞动漫久久久| 精品一二三四区| 日韩黄色免费网站| 亚洲最大成人网4388xx| 亚洲国产高清不卡| 国产亚洲美州欧州综合国| 日韩免费一区二区三区在线播放| 欧美亚洲丝袜传媒另类| 色婷婷精品大在线视频| 99久久伊人久久99| 99久久精品国产麻豆演员表| 高清视频一区二区| 国产精品一区二区三区网站| 久久精品国产99国产| 日韩黄色一级片| 青草国产精品久久久久久| 天堂一区二区在线免费观看| 亚洲午夜久久久久久久久久久 | 久久久久一区二区三区四区| 欧美成人女星排行榜| 337p亚洲精品色噜噜| 欧美精品乱人伦久久久久久| 欧美色精品在线视频| 欧美精品tushy高清| 7777精品伊人久久久大香线蕉经典版下载 | 精品对白一区国产伦| 精品裸体舞一区二区三区| 欧美精品一区二区在线播放| 久久久久高清精品| 久久精品网站免费观看| 国产精品久久久久久久久免费樱桃| 欧美国产日韩a欧美在线观看| 中文字幕免费观看一区| 亚洲丝袜自拍清纯另类| 亚洲资源在线观看| 日本系列欧美系列| 精品亚洲欧美一区| 97久久超碰国产精品电影| 色综合一个色综合| 欧美日韩国产综合一区二区三区 | 在线视频欧美区| 欧美日韩成人激情| 日韩精品在线网站| 国产精品免费视频观看| 亚洲精品欧美激情| 日本欧美一区二区三区| 国产麻豆精品在线| 色av综合在线| 精品国产伦一区二区三区免费 | 精品国产91乱码一区二区三区| 久久视频一区二区| 亚洲精品国产精华液| 性久久久久久久久久久久| 另类综合日韩欧美亚洲| 99在线精品视频| 欧美一级电影网站| 国产精品久久久久久久久果冻传媒| 一区二区三区高清| 久久66热re国产| 一本色道久久综合精品竹菊| 日韩一区二区三区三四区视频在线观看| 亚洲精品一二三四区| 天天影视网天天综合色在线播放| 久久久久久久久久久电影| 亚洲天天做日日做天天谢日日欢 | 99在线热播精品免费| 3atv一区二区三区| 国产精品成人午夜| 麻豆成人91精品二区三区| av毛片久久久久**hd| 精品久久久久99| 亚洲精品乱码久久久久久| 国产一区二区三区视频在线播放| 91美女蜜桃在线| 久久久精品免费网站| 天天影视色香欲综合网老头| 精品一区二区三区欧美| 欧美日韩久久久一区| 综合久久一区二区三区| 国产精品中文有码| 日韩一区二区三区在线观看| 自拍偷拍国产亚洲| 国产传媒日韩欧美成人| 日韩欧美国产三级| 亚洲午夜激情av| av亚洲精华国产精华| 久久九九99视频| 理论片日本一区| 欧美日韩国产免费| 一区二区在线观看免费视频播放| 国产精品羞羞答答xxdd| 日韩一卡二卡三卡国产欧美| 亚洲成a人片综合在线| 91啪在线观看| 中文字幕一区二区日韩精品绯色| 国产福利精品导航| 久久综合久久综合九色| 国内精品视频一区二区三区八戒| 在线综合视频播放| 视频一区二区三区入口| 欧美日韩你懂的| 亚洲图片自拍偷拍| 欧美日韩一区久久| 性做久久久久久免费观看| 欧美午夜电影网| 日日摸夜夜添夜夜添国产精品|