SQLite Cole Hoosier [email protected]. Overview RDBMS –Relational database management system ACID...
-
Upload
gladys-warren -
Category
Documents
-
view
212 -
download
0
Transcript of SQLite Cole Hoosier [email protected]. Overview RDBMS –Relational database management system ACID...
![Page 2: SQLite Cole Hoosier hoozh@ksu.edu. Overview RDBMS –Relational database management system ACID Compliant –Atomicity, consistency, isolation, durability.](https://reader036.fdocuments.in/reader036/viewer/2022083008/56649e9e5503460f94b9f1fc/html5/thumbnails/2.jpg)
OverviewOverview
RDBMSRDBMS– Relational database management Relational database management
systemsystem ACID CompliantACID Compliant
– Atomicity, consistency, isolation, Atomicity, consistency, isolation, durabilitydurability
C LibraryC Library Public DomainPublic Domain
![Page 3: SQLite Cole Hoosier hoozh@ksu.edu. Overview RDBMS –Relational database management system ACID Compliant –Atomicity, consistency, isolation, durability.](https://reader036.fdocuments.in/reader036/viewer/2022083008/56649e9e5503460f94b9f1fc/html5/thumbnails/3.jpg)
The GoodThe Good
FastFast Zero configurationZero configuration Variable-length recordsVariable-length records Each DB stored in single fileEach DB stored in single file Libraries are small ( <250KB )Libraries are small ( <250KB ) Supports 5 common operating Supports 5 common operating
systemssystems
![Page 4: SQLite Cole Hoosier hoozh@ksu.edu. Overview RDBMS –Relational database management system ACID Compliant –Atomicity, consistency, isolation, durability.](https://reader036.fdocuments.in/reader036/viewer/2022083008/56649e9e5503460f94b9f1fc/html5/thumbnails/4.jpg)
The BadThe Bad
No type-checkingNo type-checking– A feature?A feature?
Only one process can obtain write Only one process can obtain write access at a timeaccess at a time
Higher overhead to initialize a Higher overhead to initialize a transactiontransaction
![Page 5: SQLite Cole Hoosier hoozh@ksu.edu. Overview RDBMS –Relational database management system ACID Compliant –Atomicity, consistency, isolation, durability.](https://reader036.fdocuments.in/reader036/viewer/2022083008/56649e9e5503460f94b9f1fc/html5/thumbnails/5.jpg)
The UglyThe Ugly
Not SQL-92 CompleteNot SQL-92 Complete– 33rdrd revision of the SQL standard revision of the SQL standard
No “foreign key” constraintsNo “foreign key” constraints No “check” constraintsNo “check” constraints No “grant”/”revoke” access No “grant”/”revoke” access
permissionspermissions
![Page 6: SQLite Cole Hoosier hoozh@ksu.edu. Overview RDBMS –Relational database management system ACID Compliant –Atomicity, consistency, isolation, durability.](https://reader036.fdocuments.in/reader036/viewer/2022083008/56649e9e5503460f94b9f1fc/html5/thumbnails/6.jpg)
Supported LanguagesSupported Languages C/C++/Objective-CC/C++/Objective-C JavaJava .NET.NET LispLisp OCamlOCaml PerlPerl PHPPHP Python **Python ** RubyRuby Visual BasicVisual Basic ODBC DriverODBC Driver Many more….Many more….
![Page 7: SQLite Cole Hoosier hoozh@ksu.edu. Overview RDBMS –Relational database management system ACID Compliant –Atomicity, consistency, isolation, durability.](https://reader036.fdocuments.in/reader036/viewer/2022083008/56649e9e5503460f94b9f1fc/html5/thumbnails/7.jpg)
Appropriate UsesAppropriate Uses
WebsitesWebsites Embedded DevicesEmbedded Devices Application File FormatApplication File Format Testing and Demo WorkTesting and Demo Work ClassworkClasswork
![Page 8: SQLite Cole Hoosier hoozh@ksu.edu. Overview RDBMS –Relational database management system ACID Compliant –Atomicity, consistency, isolation, durability.](https://reader036.fdocuments.in/reader036/viewer/2022083008/56649e9e5503460f94b9f1fc/html5/thumbnails/8.jpg)
Non-Appropriate UsesNon-Appropriate Uses
Client/Server AppsClient/Server Apps Very High-Volume WebsitesVery High-Volume Websites High concurrencyHigh concurrency
![Page 9: SQLite Cole Hoosier hoozh@ksu.edu. Overview RDBMS –Relational database management system ACID Compliant –Atomicity, consistency, isolation, durability.](https://reader036.fdocuments.in/reader036/viewer/2022083008/56649e9e5503460f94b9f1fc/html5/thumbnails/9.jpg)
Example (1)Example (1)
![Page 10: SQLite Cole Hoosier hoozh@ksu.edu. Overview RDBMS –Relational database management system ACID Compliant –Atomicity, consistency, isolation, durability.](https://reader036.fdocuments.in/reader036/viewer/2022083008/56649e9e5503460f94b9f1fc/html5/thumbnails/10.jpg)
Example (2)Example (2)
![Page 11: SQLite Cole Hoosier hoozh@ksu.edu. Overview RDBMS –Relational database management system ACID Compliant –Atomicity, consistency, isolation, durability.](https://reader036.fdocuments.in/reader036/viewer/2022083008/56649e9e5503460f94b9f1fc/html5/thumbnails/11.jpg)
Example (3)Example (3)
![Page 12: SQLite Cole Hoosier hoozh@ksu.edu. Overview RDBMS –Relational database management system ACID Compliant –Atomicity, consistency, isolation, durability.](https://reader036.fdocuments.in/reader036/viewer/2022083008/56649e9e5503460f94b9f1fc/html5/thumbnails/12.jpg)
Example (4)Example (4)
![Page 13: SQLite Cole Hoosier hoozh@ksu.edu. Overview RDBMS –Relational database management system ACID Compliant –Atomicity, consistency, isolation, durability.](https://reader036.fdocuments.in/reader036/viewer/2022083008/56649e9e5503460f94b9f1fc/html5/thumbnails/13.jpg)
Example (5)Example (5)
![Page 14: SQLite Cole Hoosier hoozh@ksu.edu. Overview RDBMS –Relational database management system ACID Compliant –Atomicity, consistency, isolation, durability.](https://reader036.fdocuments.in/reader036/viewer/2022083008/56649e9e5503460f94b9f1fc/html5/thumbnails/14.jpg)
ReferencesReferences
http://www.sqlite.org/http://www.sqlite.org/ http://en.wikipedia.org/wiki/SQLitehttp://en.wikipedia.org/wiki/SQLite http://en.wikipedia.org/wiki/ACIDhttp://en.wikipedia.org/wiki/ACID http://en.wikipedia.org/wiki/http://en.wikipedia.org/wiki/
Comparison_of_relational_database_Comparison_of_relational_database_management_systemsmanagement_systems
![Page 15: SQLite Cole Hoosier hoozh@ksu.edu. Overview RDBMS –Relational database management system ACID Compliant –Atomicity, consistency, isolation, durability.](https://reader036.fdocuments.in/reader036/viewer/2022083008/56649e9e5503460f94b9f1fc/html5/thumbnails/15.jpg)
??