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

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? fileformat.html

?? 嵌入式數(shù)據(jù)庫sqlite 3.5.9的文檔
?? HTML
?? 第 1 頁 / 共 3 頁
字號:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"><html><head><title>SQLite Database File Format (Version 2)</title><style type="text/css">body {    margin: auto;    font-family: "Verdana" "sans-serif";    padding: 8px 1%;}a { color: #45735f }a:visited { color: #734559 }.logo { position:absolute; margin:3px; }.tagline {  float:right;  text-align:right;  font-style:italic;  width:240px;  margin:12px;  margin-top:58px;}.toolbar {  font-variant: small-caps;  text-align: center;  line-height: 1.6em;  margin: 0;  padding:1px 8px;}.toolbar a { color: white; text-decoration: none; padding: 6px 12px; }.toolbar a:visited { color: white; }.toolbar a:hover { color: #80a796; background: white; }.content    { margin: 5%; }.content dt { font-weight:bold; }.content dd { margin-bottom: 25px; margin-left:20%; }.content ul { padding:0px; padding-left: 15px; margin:0px; }/* rounded corners */.se  { background: url(images/se.png) 100% 100% no-repeat #80a796}.sw  { background: url(images/sw.png) 0% 100% no-repeat }.ne  { background: url(images/ne.png) 100% 0% no-repeat }.nw  { background: url(images/nw.png) 0% 0% no-repeat }</style><meta http-equiv="content-type" content="text/html; charset=UTF-8">  </head><body><div><!-- container div to satisfy validator --><a href="index.html"><img class="logo" src="images/SQLite.gif" alt="SQLite Logo" border="0"></a><div><!-- IE hack to prevent disappearing logo--></div><div class="tagline">Small. Fast. Reliable.<br>Choose any three.</div><table width=100% style="clear:both"><tr><td>  <div class="se"><div class="sw"><div class="ne"><div class="nw">  <div class="toolbar">    <a href="about.html">About</a>    <a href="sitemap.html">Sitemap</a>    <a href="docs.html">Documentation</a>    <a href="download.html">Download</a>    <a href="copyright.html">License</a>    <a href="news.html">News</a>    <a href="http://www.sqlite.org/cvstrac/index">Developers</a>    <a href="support.html">Support</a>  </div></div></div></div></div></td></tr></table>  <h2>SQLite 2.X Database File Format</h2><p>This document describes the disk file format for SQLite versions 2.1through 2.8.  SQLite version 3.0 and following uses a very differentformat which is described separately.</p><h3>1.0 &nbsp; Layers</h3><p>SQLite is implemented in layers.(See the <a href="arch.html">architecture description</a>.)The format of database files is determined by three differentlayers in the architecture.</p><ul><li>The <b>schema</b> layer implemented by the VDBE.</li><li>The <b>b-tree</b> layer implemented by btree.c</li><li>The <b>pager</b> layer implemented by pager.c</li></ul><p>We will describe each layer beginning with the bottom (pager)layer and working upwards.</p><h3>2.0 &nbsp; The Pager Layer</h3><p>An SQLite database consists of"pages" of data.  Each page is 1024 bytes in size.Pages are numbered beginning with 1.A page number of 0 is used to indicate "no such page" in theB-Tree and Schema layers.</p><p>The pager layer is responsible for implementing transactionswith atomic commit and rollback.  It does this using a separatejournal file.  Whenever a new transaction is started, a journalfile is created that records the original state of the database.If the program terminates before completing the transaction, the nextprocess to open the database can use the journal file to restorethe database to its original state.</p><p>The journal file is located in the same directory as the databasefile and has the same name as the database file but with thecharacters "<tt>-journal</tt>" appended.</p><p>The pager layer does not impose any content restrictions on themain database file.  As far as the pager is concerned, each pagecontains 1024 bytes of arbitrary data.  But there is structure tothe journal file.</p><p>A journal file begins with 8 bytes as follows:0xd9, 0xd5, 0x05, 0xf9, 0x20, 0xa1, 0x63, and 0xd6.Processes that are attempting to rollback a journal use these 8 bytesas a sanity check to make sure the file they think is a journal reallyis a valid journal.  Prior version of SQLite used different journalfile formats.  The magic numbers for these prior formats are differentso that if a new version of the library attempts to rollback a journalcreated by an earlier version, it can detect that the journal usesan obsolete format and make the necessary adjustments.  This articledescribes only the newest journal format - supported as of version2.8.0.</p><p>Following the 8 byte prefix is a three 4-byte integers that tell usthe number of pages that have been committed to the journal,a magic number used forsanity checking each page, and theoriginal size of the main database file before the transaction wasstarted.  The number of committed pages is used to limit how farinto the journal to read.  The use of the checksum magic number isdescribed below.The original size of the database is used to restore the databasefile back to its original size.The size is expressed in pages (1024 bytes per page).</p><p>All three integers in the journal header and all other multi-bytenumbers used in the journal file are big-endian.That means that the most significant byteoccurs first.  That way, a journal file that isoriginally created on one machine can be rolled back by anothermachine that uses a different byte order.  So, for example, atransaction that failed to complete on your big-endian SparcStationcan still be rolled back on your little-endian Linux box.</p><p>After the 8-byte prefix and the three 4-byte integers, thejournal file consists of zero or more page records.  Each pagerecord is a 4-byte (big-endian) page number followed by 1024 bytesof data and a 4-byte checksum.  The data is the original content of the database pagebefore the transaction was started.  So to roll back the transaction,the data is simply written into the corresponding page of themain database file.  Pages can appear in the journal in any order,but they are guaranteed to appear only once. All page numbers will bebetween 1 and the maximum specified by the page size integer thatappeared at the beginning of the journal.</p><p>The so-called checksum at the end of each record is not really achecksum - it is the sum of the page number and the magic number whichwas the second integer in the journal header.  The purpose of thisvalue is to try to detect journal corruption that might have occurredbecause of a power loss or OS crash that occurred which the journalfile was being written to disk.  It could have been the case that themeta-data for the journal file, specifically the size of the file, hadbeen written to the disk so that when the machine reboots it appears thatfile is large enough to hold the current record.  But even though thefile size has changed, the data for the file might not have made it tothe disk surface at the time of the OS crash or power loss.  This meansthat after reboot, the end of the journal file will contain quasi-randomgarbage data.  The checksum is an attempt to detect such corruption.  Ifthe checksum does not match, that page of the journal is not rolled back.</p><p>Here is a summary of the journal file format:</p><ul><li>8 byte prefix: 0xd9, 0xd5, 0x05, 0xf9, 0x20, 0xa1, 0x63, 0xd6</li><li>4 byte number of records in journal</li><li>4 byte magic number used for page checksums</li><li>4 byte initial database page count</li><li>Zero or more instances of the following:   <ul>   <li>4 byte page number</li>   <li>1024 bytes of original data for the page</li>   <li>4 byte checksum</li>   </ul></li></ul><h3>3.0 &nbsp; The B-Tree Layer</h3><p>The B-Tree layer builds on top of the pager layer to implementone or more separate b-trees all in the same disk file.  Thealgorithms used are taken from Knuth's <i>The Art Of ComputerProgramming.</i></p><p>Page 1 of a database contains a header string used for sanitychecking, a few 32-bit words of configuration data, and a pointerto the beginning of a list of unused pages in the database.All other pages in thedatabase are either pages of a b-tree, overflow pages, or unusedpages on the freelist.</p><p>Each b-tree page contains zero or more database entries.Each entry has an unique key of one or more bytes and data ofzero or more bytes.Both the key and data are arbitrary byte sequences.  The combinationof key and data are collectively known as "payload".  The currentimplementation limits the amount of payload in a single entry to1048576 bytes.  This limit can be raised to 16777216 by adjustinga single #define in the source code and recompiling.  But most entriescontain less than a hundred bytes of payload so a megabyte limit seemsmore than enough.</p><p>Up to 238 bytes of payload for an entry can be held directly ona b-tree page.  Any additional payload is contained on a linked listof overflow pages.  This limit on the amount of payload held directlyon b-tree pages guarantees that each b-tree page can hold at least4 entries.  In practice, most entries are smaller than 238 bytes andthus most pages can hold more than 4 entries.</p><p>A single database file can hold any number of separate, independent b-trees.Each b-tree is identified by its root page, which never changes.Child pages of the b-tree may change as entries are added and removedand pages split and combine.  But the root page always stays the same.The b-tree itself does not record which pages are root pages and whichare not.  That information is handled entirely at the schema layer.</p><h4>3.1 &nbsp; B-Tree Page 1 Details</h4><p>Page 1 begins with the following 48-byte string:</p><blockquote><pre>** This file contains an SQLite 2.1 database **</pre></blockquote><p>If you count the number of characters in the string above, you willsee that there are only 47.  A '\000' terminator byte is added tobring the total to 48.

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
亚洲国产一区在线观看| 天涯成人国产亚洲精品一区av| 色综合天天性综合| 美女视频一区二区| 日韩伦理av电影| 久久综合九色综合97_久久久| 欧美亚洲综合色| 风间由美性色一区二区三区| 日韩国产高清在线| 亚洲一区日韩精品中文字幕| 欧美国产成人精品| 精品精品国产高清一毛片一天堂| 欧美又粗又大又爽| 91色porny在线视频| 国产成人av一区| 青青草原综合久久大伊人精品优势| 尤物av一区二区| 中文字幕精品一区二区三区精品| 亚洲国产wwwccc36天堂| 国产精品私人自拍| 26uuuu精品一区二区| 日韩一区二区三区精品视频 | 99视频超级精品| 精品一区二区三区在线观看| 亚洲va欧美va人人爽午夜| ...av二区三区久久精品| 国产欧美一区二区精品秋霞影院 | 美国十次综合导航| 午夜欧美一区二区三区在线播放| 亚洲视频一区二区在线| 亚洲欧洲av在线| 国产精品美女一区二区| 中文字幕欧美激情| 国产日韩成人精品| 久久69国产一区二区蜜臀| 蜜桃视频免费观看一区| 男男gaygay亚洲| 日本视频中文字幕一区二区三区| 亚洲成年人影院| 亚洲成年人影院| 日韩高清在线观看| 蜜桃视频一区二区| 韩国精品主播一区二区在线观看 | 另类人妖一区二区av| 亚欧色一区w666天堂| 亚洲不卡av一区二区三区| 午夜伦理一区二区| 日产欧产美韩系列久久99| 日韩精品欧美精品| 欧美日韩综合一区| 91麻豆精品国产自产在线观看一区 | 日韩电影在线观看网站| 视频一区在线视频| 免费人成网站在线观看欧美高清| 蜜臀av国产精品久久久久| 韩日av一区二区| 成人免费视频一区| 色系网站成人免费| 欧美一区二区精品| 久久婷婷国产综合国色天香| 欧美激情一区二区| 亚洲免费看黄网站| 天天操天天综合网| 紧缚奴在线一区二区三区| 国产成人丝袜美腿| 中文字幕av免费专区久久| 一区二区三区在线视频免费 | 亚洲成人动漫精品| 久久99九九99精品| 成人成人成人在线视频| 欧美四级电影网| 欧美成人aa大片| 国产精品国产精品国产专区不片| 一区二区三区日韩欧美精品| 免费在线观看不卡| 成人免费毛片片v| 欧美日韩一区二区三区免费看| 日韩三级高清在线| 中国色在线观看另类| 亚洲线精品一区二区三区八戒| 精品在线免费观看| 一本一道综合狠狠老| 日韩欧美一区二区在线视频| 国产精品国产精品国产专区不蜜 | 国产成人av电影在线播放| 色婷婷av一区| 2024国产精品| 亚洲成人在线网站| 丰满白嫩尤物一区二区| 欧美日韩一级黄| 国产精品电影一区二区三区| 免费xxxx性欧美18vr| 97久久精品人人澡人人爽| 精品嫩草影院久久| 亚洲精品成人悠悠色影视| 国产一区二区三区黄视频| 欧美日韩中字一区| 综合久久给合久久狠狠狠97色| 久草热8精品视频在线观看| 91麻豆国产福利精品| 精品噜噜噜噜久久久久久久久试看 | 日本麻豆一区二区三区视频| bt7086福利一区国产| 精品av久久707| 五月天激情综合网| 色天使色偷偷av一区二区| 欧美高清一级片在线观看| 青草av.久久免费一区| 在线免费av一区| 中文字幕一区二区三区在线观看| 麻豆精品国产传媒mv男同 | 欧美一区二区三级| 一区二区三国产精华液| av午夜一区麻豆| 久久老女人爱爱| 久久精品国产一区二区三 | 日本久久电影网| 国产麻豆视频一区| 欧美大白屁股肥臀xxxxxx| 亚洲成av人影院| 欧美日韩精品免费观看视频| 日韩一区在线看| 波多野结衣中文字幕一区| 日本一区二区久久| 国产成人av福利| 国产精品欧美综合在线| 国产成+人+日韩+欧美+亚洲| 欧美精品一区二区三区四区| 久久se精品一区精品二区| 日韩午夜激情av| 麻豆精品视频在线| 久久先锋影音av鲁色资源| 国产精一品亚洲二区在线视频| 精品国产成人在线影院 | 成人黄色小视频| 国产精品国产精品国产专区不片| 成人丝袜高跟foot| 最新不卡av在线| 一本一道久久a久久精品综合蜜臀| 国内精品伊人久久久久影院对白| 精品va天堂亚洲国产| 国产一区 二区| 国产人成一区二区三区影院| 国产盗摄精品一区二区三区在线| 国产亚洲一区二区在线观看| 国产成人精品综合在线观看 | 欧美aaa在线| 欧美va日韩va| 国产成人福利片| 亚洲欧洲av色图| 欧美日韩激情在线| 免费不卡在线观看| 国产欧美一区二区三区网站| proumb性欧美在线观看| 一区二区三区四区不卡在线| 欧美色偷偷大香| 精品一区二区三区不卡| 中文一区二区完整视频在线观看| 91在线观看一区二区| 亚洲成av人在线观看| 欧美精品一区二区三区蜜桃 | 亚洲视频一区二区在线| 欧美三级资源在线| 美女视频一区在线观看| 国产欧美精品一区| 欧美在线观看视频在线| 老司机精品视频一区二区三区| 久久久国产精品午夜一区ai换脸| 99在线精品视频| 日日夜夜精品视频免费| 久久精品人人做人人综合| 91成人免费电影| 久久国产三级精品| 亚洲日本va在线观看| 91精品国产手机| 成人精品电影在线观看| 亚欧色一区w666天堂| 国产日产亚洲精品系列| 欧美日韩中文字幕一区| 国产精品12区| 日韩中文字幕91| 国产精品美女久久久久久| 欧美一区二区三区在线观看视频| 国产成人免费视频| 午夜免费欧美电影| 亚洲欧美在线视频观看| 日韩视频永久免费| 91色综合久久久久婷婷| 国产毛片精品一区| 日韩国产在线一| 亚洲同性同志一二三专区| 欧美白人最猛性xxxxx69交| 色中色一区二区| 国产精品夜夜嗨| 日精品一区二区三区| 综合久久久久久久| 国产欧美日韩视频在线观看| 91精品国产综合久久香蕉麻豆| 色综合天天性综合| 国产精品一二一区|