Your SlideShare is downloading. ×
SQLite - Overview
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

SQLite - Overview

1,584

Published on

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
1,584
On Slideshare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
92
Comments
0
Likes
0
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. emanuele@smartcoretech.com
  • 2. Agenda Overview Features Suggested Uses Tools
  • 3. SQLite is…• in-process library• self-contained• serverless• zero-configuration• transactional• the code is in the public domain
  • 4. in-process library• SQLite does not have a separate server process• the library size can be less than 350KiB!• SQLite be made to run in minimal stack space(4KiB)transactional• SQLite generally runs faster the more memoryyou give it!
  • 5. Self-contained• It requires very minimal support from externallibraries• It requires very minimal support from theoperating system• The only required C library functions called are:• memset()• memcpy()• memcmp()• strcmp()• malloc(), free(), and realloc()
  • 6. Serverless• Most SQL database engines are implemented as a separate serverprocess. Programs that want to access the database communicate withthe server using some kind of interprocess communication (typicallyTCP/IP) to send requests to the server and to receive back results. SQLitedoes not work this way. With SQLite, the process that wants to access thedatabase reads and writes directly from the database files on disk. Thereis no intermediary server process.• The main advantage is that there is no separate server process to install,setup, configure, initialize, manage, and troubleshoot.• Any program that is able to access the disk is able to use an SQLitedatabase.
  • 7. Zero configuration• SQLite does not need to be "installed" before it isused.• There is no "setup" procedure.• There is no server process that needs to bestarted, stopped, or configured.• SQLite uses no configuration files.SQLite just works.
  • 8. Transactional• SQLiteimplements serializable transactions that are atomic, consistent, isolated,and durable (ACID).• All changes within a single transaction in SQLite eitheroccur completely or not at all, even if the act of writing thechange out to the disk is interrupted by• a program crash,• an operating system crash, or• a power failure.
  • 9. Features• Implements most of SQL92.• RIGHT and FULL OUTER JOIN• Only the RENAME TABLE and ADD COLUMN variants of the ALTER TABLE• VIEWs in SQLite are read-only.• Supports terabyte-sized databases and gigabyte-sized strings and blobs.• Faster than popular client/server databaseengines for most common operations.• Cross-platform: Unix (Linux, Mac OS-X, Android,iOS) and Windows (Win32, WinCE, WinRT)
  • 10. Suggested Uses• Database For Gadgets• cellphones, PDAs, MP3 players• Website Database• Internal or temporary databases
  • 11. Applications that use it• Browsers• Mozilla Firefox (bookmarks, cookies, contacts)• Google Chrome• Opera• Applicazioni• Skype• Adobe AIR• Flame (anche gli hakers lo usano!)• SpiceWorks (software per sistemisti e help desk)
  • 12. Riferimenti SQLite Expert http://www.sqliteexpert.com/

×