2022年外文翻译原文及译文V实用 .pdf
![资源得分’ title=](/images/score_1.gif)
![资源得分’ title=](/images/score_1.gif)
![资源得分’ title=](/images/score_1.gif)
![资源得分’ title=](/images/score_1.gif)
![资源得分’ title=](/images/score_05.gif)
《2022年外文翻译原文及译文V实用 .pdf》由会员分享,可在线阅读,更多相关《2022年外文翻译原文及译文V实用 .pdf(9页珍藏版)》请在淘文阁 - 分享文档赚钱的网站上搜索。
1、外文翻译原文及译文学院计算机学院专业计算机科学与技术班级14010105 学号2011040101218 姓名彭博文指导教师王丹负责教师沈阳航空航天大学2015 年 6 月名师资料总结-精品资料欢迎下载-名师精心整理-第 1 页,共 9 页 -沈阳航空航天大学毕业设计(论文)外文翻译译文1 SQLITE DISTINCTIVE FEATURES This article highlights some of the characteristics of SQLite that are unusual and which make SQLite different from many other
2、 SQL database engines.Zero-ConfigurationSQLite does not need to be installed before it is used.There is no setup procedure.There is no server process that needs to be started,stopped,or configured.There is no need for an administrator to create a new database instance or assign access permissions to
3、 users.SQLite uses no configuration files.Nothing needs to be done to tell the system that SQLite is running.No actions are required to recover after a system crash or power failure.There is nothing to troubleshoot.Other more familiar database engines run great once you get them going.But doing the
4、initial installation and configuration can be intimidatingly complex.ServerlessMost SQL database engines are implemented as a separate server process.Programs that want to access the database communicate with the server using some kind of interprocess communication(typically TCP/IP)to send requests
5、to the server and to receive back results.SQLite does not work this way.With SQLite,the process that wants to access the database reads and writes directly from the database files on disk.There is no intermediary server process.There are advantages and disadvantages to being serverless.The main adva
6、ntage is that there is no separate server process to install,setup,configure,initialize,manage,and troubleshoot.This is one reason why SQLite is a zero-configuration database engine.Programs that use SQLite require no administrative support for setting up the database engine before they are run.Any
7、program that is able to access the disk is able to use an SQLite database.On the other hand,a database engine that uses a server can provide better protection from bugs in the client application-stray pointers in a client cannot corrupt memory on the server.And because a server is a single persisten
8、t process,it is able control database access with more precision,allowing for finer grain locking and better concurrency.Most SQL database engines are client/server based.Of those that are serverless,SQLite is the only one that this author knows of that allows multiple applications to access the sam
9、e database at the same time.Single Database FileAn SQLite database is a single ordinary disk file that can be located anywhere in the directory hierarchy.If SQLite can read the disk file then it 名师资料总结-精品资料欢迎下载-名师精心整理-第 2 页,共 9 页 -沈阳航空航天大学毕业设计(论文)外文翻译译文2 can read anything in the database.If the disk
10、 file and its directory are writable,then SQLite can change anything in the database.Database files can easily be copied onto a USB memory stick or emailed for sharing.Other SQL database engines tend to store data as a large collection of files.Often these files are in a standard location that only
11、the database engine itself can access.This makes the data more secure,but also makes it harder to access.Some SQL database engines provide the option of writing directly to disk and bypassing the filesystem all together.This provides added performance,but at the cost of considerable setup and mainte
12、nance complexity.Stable Cross-Platform Database FileThe SQLite file format is cross-platform.A database file written on one machine can be copied to and used on a different machine with a different architecture.Big-endian or little-endian,32-bit or 64-bit does not matter.All machines use the same fi
13、le format.Furthermore,the developers have pledged to keep the file format stable and backwards compatible,so newer versions of SQLite can read and write older database files.Most other SQL database engines require you to dump and restore the database when moving from one platform to another and ofte
14、n when upgrading to a newer version of the software.CompactWhen optimized for size,the whole SQLite library with everything enabled is less than 500KiB in size(as measured on an ix86 using the size utility from the GNU compiler suite.)Unneeded features can be disabled at compile-time to further redu
15、ce the size of the library to under 300KiB if desired.Most other SQL database engines are much larger than this.IBM boasts that its recently released CloudScape database engine is only a 2MiB jar file-an order of magnitude larger than SQLite even after it is compressed!Firebird boasts that its clien
16、t-side library is only 350KiB.Thats as big as SQLite and does not even contain the database engine.The Berkeley DB library from Oracle is 450KiB and it omits SQL support,providing the programmer with only simple key/value pairs.Manifest typingMost SQL database engines use static typing.A datatype is
17、 associated with each column in a table and only values of that particular datatype are allowed to be stored in that column.SQLite relaxes this restriction by using manifest typing.In manifest typing,the datatype is a property of the value itself,not of the column in which the value is stored.SQLite
18、 thus allows the user to store any value of any datatype into any column regardless of the declared type of that column.(There are some exceptions to this rule:An INTEGER PRIMARY KEY column may only store integers.And SQLite attempts to coerce values into the declared datatype of the column when it
19、can.)名师资料总结-精品资料欢迎下载-名师精心整理-第 3 页,共 9 页 -沈阳航空航天大学毕业设计(论文)外文翻译译文3 As far as we can tell,the SQL language specification allows the use of manifest typing.Nevertheless,most other SQL database engines are statically typed and so some people feel that the use of manifest typing is a bug in SQLite.But the
20、 authors of SQLite feel very strongly that this is a feature.The use of manifest typing in SQLite is a deliberate design decision which has proven in practice to make SQLite more reliable and easier to use,especially when used in combination with dynamically typed programming languages such as Tcl a
21、nd Python.Variable-length recordsMost other SQL database engines allocated a fixed amount of disk space for each row in most tables.They play special tricks for handling BLOBs and CLOBs which can be of wildly varying length.But for most tables,if you declare a column to be a VARCHAR(100)then the dat
22、abase engine will allocate 100 bytes of disk space regardless of how much information you actually store in that column.SQLite,in contrast,use only the amount of disk space actually needed to store the information in a row.If you store a single character in a V ARCHAR(100)column,then only a single b
23、yte of disk space is consumed.(Actually two bytes-there is some overhead at the beginning of each column to record its datatype and length.)The use of variable-length records by SQLite has a number of advantages.It results in smaller database files,obviously.It also makes the database run faster,sin
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- 2022年外文翻译原文及译文V实用 2022 外文 翻译 原文 译文 实用
![提示](https://www.taowenge.com/images/bang_tan.gif)
限制150内