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

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

?? tokyocabinet.3

?? 高性能嵌入式數據庫在高并發的環境下使用最好是64位系統比較好
?? 3
字號:
.TH "TOKYOCABINET" 3 "2008-06-18" "Man Page" "Tokyo Cabinet".SH NAMEtokyocabinet \- a modern implementation of DBM.SH INTRODUCTION.PPTokyo Cabinet is a library of routines for managing a database.  The database is a simple data file containing records, each is a pair of a key and a value.  Every key and value is serial bytes with variable length.  Both binary data and character string can be used as a key and a value.  There is neither concept of data tables nor data types.  Records are organized in hash table, B+ tree, or fixed\-length array..PPAs for database of hash table, each key must be unique within a database, so it is impossible to store two or more records with a key overlaps.  The following access methods are provided to the database: storing a record with a key and a value, deleting a record by a key, retrieving a record by a key.  Moreover, traversal access to every key are provided, although the order is arbitrary.  These access methods are similar to ones of DBM (or its followers: NDBM and GDBM) library defined in the UNIX standard.  Tokyo Cabinet is an alternative for DBM because of its higher performance..PPAs for database of B+ tree, records whose keys are duplicated can be stored.  Access methods of storing, deleting, and retrieving are provided as with the database of hash table.  Records are stored in order by a comparison function assigned by a user.  It is possible to access each record with the cursor in ascending or descending order.  According to this mechanism, forward matching search for strings and range search for integers are realized.  Moreover, transaction is available in database of B+ tree..PPAs for database of fixed\-length array, records are stored with unique natural numbers.  It is impossible to store two or more records with a key overlaps.  Moreover, the length of each record is limited by the specified length.  Provided operations are the same as ones of hash database..PPTokyo Cabinet is written in the C language, and provided as API of C, Perl, Ruby, and Java.  Tokyo Cabinet is available on platforms which have API conforming to C99 and POSIX.  Tokyo Cabinet is a free software licensed under the GNU Lesser General Public License..SH THE DINOSAUR WING OF THE DBM FORK.PPTokyo Cabinet is developed as the successor of QDBM on the following purposes.  They are achieved and Tokyo Cabinet replaces QDBM..PP.RSimproves space efficiency : smaller size of database file..brimproves time efficiency : faster processing speed..brimproves parallelism : higher performance in multi\-thread environment..brimproves usability : simplified API..brimproves robustness : database file is not corrupted even under catastrophic situation..brsupports 64\-bit architecture : enormous memory space and database file are available..br.RE.PPAs with QDBM, the following three restrictions of traditional DBM: a process can handle only one database, the size of a key and a value is bounded, a database file is sparse, are cleared.  Moreover, the following three restrictions of QDBM: the size of a database file is limited to 2GB, environments with different byte orders can not share a database file, only one thread can search a database at the same time, are cleared..PPTokyo Cabinet runs very fast.  For example, elapsed time to store 1 million records is 1.5 seconds for hash database, and 2.2 seconds for B+ tree database.  Moreover, the size of database of Tokyo Cabinet is very small.  For example, overhead for a record is 16 bytes for hash database, and 5 bytes for B+ tree database.  Furthermore, scalability of Tokyo Cabinet is great.  The database size can be up to 8EB (9.22e18 bytes)..SH EFFECTIVE IMPLEMENTATION OF HASH DATABASE.PPTokyo Cabinet uses hash algorithm to retrieve records.  If a bucket array has sufficient number of elements, the time complexity of retrieval is `O(1)'.  That is, time required for retrieving a record is constant, regardless of the scale of a database.  It is also the same about storing and deleting.  Collision of hash values is managed by separate chaining.  Data structure of the chains is binary search tree.  Even if a bucket array has unusually scarce elements, the time complexity of retrieval is `O(log n)'..PPTokyo Cabinet attains improvement in retrieval by loading RAM with the whole of a bucket array.  If a bucket array is on RAM, it is possible to access a region of a target record by about one path of file operations.  A bucket array saved in a file is not read into RAM with the `read' call but directly mapped to RAM with the `mmap' call.  Therefore, preparation time on connecting to a database is very short, and two or more processes can share the same memory map..PPIf the number of elements of a bucket array is about half of records stored within a database, although it depends on characteristic of the input, the probability of collision of hash values is about 56.7% (36.8% if the same, 21.3% if twice, 11.5% if four times, 6.0% if eight times).  In such case, it is possible to retrieve a record by two or less paths of file operations.  If it is made into a performance index, in order to handle a database containing one million of records, a bucket array with half a million of elements is needed.  The size of each element is 4 bytes.  That is, if 2M bytes of RAM is available, a database containing one million records can be handled..PPTraditional DBM provides two modes of the storing operations: `insert' and `replace'.  In the case a key overlaps an existing record, the insert mode keeps the existing value, while the replace mode transposes it to the specified value.  In addition to the two modes, Tokyo Cabinet provides `concatenate' mode.  In the mode, the specified value is concatenated at the end of the existing value and stored.  This feature is useful when adding a element to a value as an array..PPGenerally speaking, while succession of updating, fragmentation of available regions occurs, and the size of a database grows rapidly.  Tokyo Cabinet deal with this problem by coalescence of dispensable regions and reuse of them, and featuring of optimization of a database.  When overwriting a record with a value whose size is greater than the existing one, it is necessary to remove the region to another position of the file.  Because the time complexity of the operation depends on the size of the region of a record, extending values successively is inefficient.  However, Tokyo Cabinet deal with this problem by alignment.  If increment can be put in padding, it is not necessary to remove the region..SH USEFUL IMPLEMENTATION OF B+ TREE DATABASE.PPAlthough B+ tree database is slower than hash database, it features ordering access to each record.  The order can be assigned by users.  Records of B+ tree are sorted and arranged in logical pages.  Sparse index organized in B tree that is multiway balanced tree are maintained for each page.  Thus, the time complexity of retrieval and so on is `O(log n)'.  Cursor is provided to access each record in order.  The cursor can jump to a position specified by a key and can step forward or backward from the current position.  Because each page is arranged as double linked list, the time complexity of stepping cursor is `O(1)'..PPB+ tree database is implemented, based on above hash database.  Because each page of B+ tree is stored as each record of hash database, B+ tree database inherits efficiency of storage management of hash database.  Because the header of each record is smaller and alignment of each page is adjusted according to the page size, in most cases, the size of database file is cut by half compared to one of hash database.  Although operation of many pages are required to update B+ tree, QDBM expedites the process by caching pages and reducing file operations.  In most cases, because whole of the sparse index is cached on memory, it is possible to retrieve a record by one or less path of file operations..PPB+ tree database features transaction mechanism.  It is possible to commit a series of operations between the beginning and the end of the transaction in a lump, or to abort the transaction and perform rollback to the state before the transaction.  Two isolation levels are supported; serializable and read uncommitted..PPEach pages of B+ tree can be stored with compressed.  Two compression method; Deflate of ZLIB and Block Sorting of BZIP2, are supported.  Because each record in a page has similar patterns, high efficiency of compression is expected due to the Lempel\-Ziv or the BWT algorithms.  In case handling text data, the size of a database is reduced to about 25%.  If the scale of a database is large and disk I/O is the bottleneck, featuring compression makes the processing speed improved to a large extent..SH NAIVE IMPLEMENTATION OF FIXED\-LENGTH DATABASE.PPFixed\-length database has restrictions that each key should be a natural number and that the length of each value is limited.  However, time efficiency and space efficiency are higher than the other data structures as long as the use case is within the restriction..PPBecause the whole region of the database is mapped on memory by the `mmap' call and referred as a multidimensional array, the overhead related to the file I/O is minimized.  Due to this simple structure, fixed\-length database works faster than hash database, and its concurrency in multi\-thread environment is prominent..PPThe size of the database is proportional to the range of keys and the limit size of each value.  That is, the smaller the range of keys is or the smaller the length of each value is, the higher the space efficiency is.  For example, if the maximum key is 1000000 and the limit size of the value is 100 bytes, the size of the database will be about 100MB.  Because regions around referred records are only loaded on the RAM, you can increase the size of the database to the size of the virtual memory..SH SIMPLE BUT VARIOUS INTERFACES.PPTokyo Cabinet provides simple API based on the object oriented design.  Every operation for database is encapsulated and published as lucid methods as `open' (connect), `close' (disconnect), `put' (insert), `out' (remove), `get' (retrieve), and so on.  Because the three of hash, B+ tree, and fixed\-length array database APIs are very similar with each other, porting an application from one to the other is easy..PPTokyo Cabinet provides two modes to connect to a database: `reader' and `writer'.  A reader can perform retrieving but neither storing nor deleting.  A writer can perform all access methods.  Exclusion control between processes is performed when connecting to a database by file locking.  While a writer is connected to a database, neither readers nor writers can be connected.  While a reader is connected to a database, other readers can be connect, but writers can not.  According to this mechanism, data consistency is guaranteed with simultaneous connections in multitasking environment..PPFunctions of API of Tokyo cabinet are reentrant and available in multi\-thread environment.  Discrete database object can be operated in parallel entirely.  For simultaneous operations of the same database object, read\-write lock is used for exclusion control.  That is, while a writing thread is operating the database, other reading threads and writing threads are blocked.  However, while a reading thread is operating the database, reading threads are not blocked..PPThe utility API is also provided.  Such fundamental data structure as list and map are included.  And, some useful features; memory pool, string processing, encoding, are also included..PPFive kinds of API; the utility API, the hash database API, the B+ tree database API, the fixed\-length database API, and the abstract database API, are provided for the C language.  Command line interfaces are also provided corresponding to each API.  They are useful for prototyping, test, and debugging.  Except for C, Tokyo Cabinet provides APIs for Perl, Ruby, and Java.  The Perl API has methods calling the hash database API, the B+ tree database API, and the fixed\-length database API with XS language.  The Java API has native methods calling the hash database API, the B+ tree database API, and the fixed\-length database API with Java Native Interface.  The Ruby API has methods calling the hash database API, the B+ tree database API, and the fixed length database API as modules of Ruby.  APIs for other languages will hopefully be provided by third party..PPIn cases that multiple processes access a database at the same time or some processes access a database on a remote host, the remote service is useful.  The remote service is composed of a database server and its access library.  Applications can access the database server by using the remote database API.  The server implements HTTP and the memcached protocol partly so that client programs on almost all platforms can access the server easily..SH HOW TO USE THE LIBRARY.PPTokyo Cabinet provides API of the C language and it is available by programs conforming to the C89 (ANSI C) standard or the C99 standard.  As the header files of Tokyo Cabinet are provided as `\fBtcutil.h\fR', `\fBtchdb.h\fR', and `\fBtcbdb.h\fR', applications should include one or more of them accordingly to use the API.  As the library is provided as `\fBlibtokyocabinet.a\fR' and `\fBlibtokyocabinet.so\fR' and they depends `\fBlibz.so\fR', `\fBlibpthread.so\fR', `\fBlibm.so\fR', and `\fBlibc.so\fR', linker options `\fB\-ltokyocabinet\fR', `\fB\-lz\fR', `\fB\-lbz2\fR', `\fB\-lpthread\fR', `\fB\-lm\fR', and `\fB\-lc\fR' are required for build command.  A typical build command is the following..PP.RSgcc \-I/usr/local/include tc_example.c \-o tc_example \\.br  \-L/usr/local/lib \-ltokyocabinet \-lz \-lbz2 \-lpthread \-lm \-lc.RE.PPYou can also use Tokyo Cabinet in programs written in C++.  Because each header is wrapped in C linkage (`\fBextern "C"\fR' block), you can simply include them into your C++ programs..SH LICENSE.PPTokyo Cabinet is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License or any later version..PPTokyo Cabinet is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Lesser General Public License for more details..PPYou should have received a copy of the GNU Lesser General Public License along with Tokyo Cabinet (See the file `\fBCOPYING\fR'); if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111\-1307 USA..PPTokyo Cabinet was written by Mikio Hirabayashi.  You can contact the author by e\-mail to `\fBmikio@users.sourceforge.net\fR'..SH SEE ALSO.PP.BR tcutil (3),.BR tchdb (3),.BR tcbdb (3).PPPlease see.I http://tokyocabinet.sourceforge.net/spex\-en.htmlfor detail.

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国模冰冰炮一区二区| 青青草视频一区| 精品毛片乱码1区2区3区| 国产激情一区二区三区四区| 成人91在线观看| 日韩激情中文字幕| 国产成人综合亚洲网站| 欧美精品自拍偷拍动漫精品| 日本欧美大码aⅴ在线播放| 成人免费在线播放视频| 国产欧美日韩综合精品一区二区 | 欧美成人艳星乳罩| 欧美xxxx在线观看| 久久精品欧美一区二区三区不卡 | 欧美精品三级在线观看| 精品视频在线视频| 欧美日韩一区二区在线观看| 欧美男女性生活在线直播观看| 欧美视频一区二区三区| 日韩欧美的一区| 久久一留热品黄| 亚洲免费观看高清完整版在线| 一级特黄大欧美久久久| 美女免费视频一区| www.久久久久久久久| 欧美无砖专区一中文字| 欧美不卡激情三级在线观看| 中文成人av在线| 一区二区三区av电影| 乱一区二区av| 91亚洲永久精品| 日韩女优电影在线观看| 中文字幕人成不卡一区| 日本中文在线一区| 成人av在线影院| 欧美日韩国产高清一区二区| 亚洲国产精品传媒在线观看| 亚洲影院免费观看| 丁香激情综合五月| 欧美日韩一区二区三区视频| 国产蜜臀av在线一区二区三区| 亚洲国产精品视频| 成人午夜在线视频| 日韩美女视频在线| 一区二区三区四区激情| 国内成人精品2018免费看| 在线精品视频小说1| 国产精品午夜春色av| 久久激情五月激情| 欧美日韩国产综合视频在线观看| 国产丝袜在线精品| 蜜臀国产一区二区三区在线播放| 91丨porny丨在线| 久久久www成人免费无遮挡大片| 亚洲午夜一区二区三区| av在线不卡电影| 久久精品一区蜜桃臀影院| 麻豆国产精品777777在线| 在线视频国内一区二区| 国产精品国产三级国产普通话99| 麻豆精品一区二区综合av| 欧美天天综合网| 一个色妞综合视频在线观看| 国产91丝袜在线观看| 精品久久久久一区二区国产| 日韩不卡免费视频| 91精品国产综合久久精品| 亚洲一区二区三区小说| 色av一区二区| 一区二区三区四区视频精品免费 | 欧美不卡一区二区三区四区| 亚洲电影第三页| 色婷婷综合视频在线观看| 亚洲视频一区二区在线| av不卡免费在线观看| 中文久久乱码一区二区| 成人小视频免费观看| 日韩伦理免费电影| 99免费精品在线| 亚洲视频小说图片| 欧洲精品中文字幕| ...av二区三区久久精品| www.亚洲色图| 亚洲综合一二区| 欧美偷拍一区二区| 日韩电影在线观看网站| 日韩精品中文字幕在线不卡尤物| 久久狠狠亚洲综合| 国产欧美一区二区三区在线看蜜臀| 精品一区二区免费看| 国产亚洲欧美激情| 91丝袜国产在线播放| 亚洲成人av福利| 精品欧美乱码久久久久久| 国产呦精品一区二区三区网站| 国产日本欧洲亚洲| 91影视在线播放| 午夜久久久久久| 日韩欧美不卡在线观看视频| 国产精品一区二区你懂的| 国产欧美日韩在线看| 欧美亚洲综合另类| 美女国产一区二区| 中文字幕一区二区三区色视频| 日本丰满少妇一区二区三区| 蜜臀久久99精品久久久久宅男| 久久一日本道色综合| 欧洲生活片亚洲生活在线观看| 看片网站欧美日韩| 1区2区3区国产精品| 在线不卡中文字幕播放| 成人av电影在线网| 免费成人在线网站| 亚洲天堂免费看| 亚洲精品在线观| 欧美天堂亚洲电影院在线播放| 国产一区二区三区四区在线观看| 亚洲男人电影天堂| 国产色一区二区| 正在播放一区二区| 在线免费观看日本一区| 国产精品18久久久久久vr| 香蕉加勒比综合久久| 国产精品色噜噜| 精品嫩草影院久久| 欧美日韩精品高清| av电影在线观看一区| 伦理电影国产精品| 午夜精品爽啪视频| 日韩美女精品在线| 国产精品对白交换视频| 久久综合视频网| 日韩精品一区二区三区视频播放 | 国产麻豆午夜三级精品| 天堂久久一区二区三区| 亚洲人成影院在线观看| 国产欧美综合色| 久久久久久久久久美女| 日韩欧美中文字幕公布| 久久影院电视剧免费观看| 欧美日韩一级黄| 欧美视频一区二区三区| 欧美视频一区二区三区| 91啦中文在线观看| 色狠狠桃花综合| 色婷婷综合久久久久中文一区二区| 成人免费看的视频| 成人av在线网站| av亚洲精华国产精华精华| 国产mv日韩mv欧美| 国产不卡视频在线观看| 成人精品一区二区三区四区 | 亚洲乱码国产乱码精品精可以看 | 久久精品国产亚洲高清剧情介绍| 亚洲va欧美va人人爽| 亚洲1区2区3区视频| 婷婷综合五月天| 肉色丝袜一区二区| 热久久国产精品| 国内精品写真在线观看| 国产精品羞羞答答xxdd| 成人av在线一区二区三区| a在线播放不卡| 欧美在线视频日韩| 91精品国产综合久久福利 | 亚洲精品免费在线观看| 亚洲在线观看免费| 日韩va亚洲va欧美va久久| 久久99精品国产.久久久久久| 国产一区二区视频在线| 成人久久18免费网站麻豆| 一本大道久久a久久精二百| 欧美色窝79yyyycom| 日韩网站在线看片你懂的| 久久久久国产精品免费免费搜索| 国产精品人成在线观看免费 | 青青草成人在线观看| 国产精品正在播放| 色综合久久99| 欧美精品v日韩精品v韩国精品v| 精品国产a毛片| 中文字幕亚洲综合久久菠萝蜜| 亚洲成av人片一区二区梦乃| 另类小说视频一区二区| 99re热这里只有精品视频| 欧美日韩一卡二卡三卡 | 欧美羞羞免费网站| 久久久一区二区| 亚洲狠狠丁香婷婷综合久久久| 视频在线观看一区二区三区| 国产一区二区在线影院| 欧美色图在线观看| 国产午夜精品久久| 日韩av午夜在线观看| 91免费精品国自产拍在线不卡| 91精品欧美福利在线观看| 国产精品久久久久精k8| 美腿丝袜亚洲三区| 欧美亚洲一区二区在线观看| 久久久久久久精|