SlideShare une entreprise Scribd logo
1  sur  17
emanuele@smartcoretech.com
Agenda
 Overview
 Features
 Suggested Uses
 Tools
SQLite is…
• in-process library
• self-contained
• serverless
• zero-configuration
• transactional
• the code is in the public domain
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 memory
you give it!
Self-contained
• It requires very minimal support from external
libraries
• It requires very minimal support from the
operating system
• The only required C library functions called are:
• memset()
• memcpy()
• memcmp()
• strcmp()
• malloc(), free(), and realloc()
Serverless
• Most 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 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.
• 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 SQLite
database.
Zero configuration
• SQLite 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.
• SQLite uses no configuration files.
SQLite just works.
Transactional
• SQLiteimplements serializable transactions that are atomic, consistent, isolated,
and durable (ACID).
• All changes within a single transaction in SQLite either
occur completely or not at all, even if the act of writing the
change out to the disk is interrupted by
• a program crash,
• an operating system crash, or
• a power failure.
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 database
engines for most common operations.
• Cross-platform: Unix (Linux, Mac OS-X, Android,
iOS) and Windows (Win32, WinCE, WinRT)
Suggested Uses
• Database For Gadgets
• cellphones, PDAs, MP3 players
• Website Database
• Internal or temporary databases
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)
Riferimenti
 SQLite Expert
 http://www.sqliteexpert.com/

Contenu connexe

Tendances

android sqlite
android sqliteandroid sqlite
android sqlite
Deepa Rani
 
[Final] ReactJS presentation
[Final] ReactJS presentation[Final] ReactJS presentation
[Final] ReactJS presentation
洪 鹏发
 

Tendances (20)

MySQL
MySQLMySQL
MySQL
 
Hibernate ppt
Hibernate pptHibernate ppt
Hibernate ppt
 
SQL Basics
SQL BasicsSQL Basics
SQL Basics
 
ReactJS presentation.pptx
ReactJS presentation.pptxReactJS presentation.pptx
ReactJS presentation.pptx
 
SQL INJECTION
SQL INJECTIONSQL INJECTION
SQL INJECTION
 
Servlet life cycle
Servlet life cycleServlet life cycle
Servlet life cycle
 
SQLITE Android
SQLITE AndroidSQLITE Android
SQLITE Android
 
SQLite3
SQLite3SQLite3
SQLite3
 
Introduction to MERN Stack
Introduction to MERN StackIntroduction to MERN Stack
Introduction to MERN Stack
 
Refactoring
RefactoringRefactoring
Refactoring
 
android sqlite
android sqliteandroid sqlite
android sqlite
 
Enterprise JavaBeans(EJB)
Enterprise JavaBeans(EJB)Enterprise JavaBeans(EJB)
Enterprise JavaBeans(EJB)
 
Introduction to Mysql
Introduction to MysqlIntroduction to Mysql
Introduction to Mysql
 
Cookies and sessions
Cookies and sessionsCookies and sessions
Cookies and sessions
 
MySql:Introduction
MySql:IntroductionMySql:Introduction
MySql:Introduction
 
Triggers and Stored Procedures
Triggers and Stored ProceduresTriggers and Stored Procedures
Triggers and Stored Procedures
 
Introduction to SQLite: The Most Popular Database in the World
Introduction to SQLite: The Most Popular Database in the WorldIntroduction to SQLite: The Most Popular Database in the World
Introduction to SQLite: The Most Popular Database in the World
 
[Final] ReactJS presentation
[Final] ReactJS presentation[Final] ReactJS presentation
[Final] ReactJS presentation
 
Introduction to c#
Introduction to c#Introduction to c#
Introduction to c#
 
Tomcat
TomcatTomcat
Tomcat
 

Similaire à SQLite - Overview

Sqlite Introduction
Sqlite IntroductionSqlite Introduction
Sqlite Introduction
Praveen Nair
 

Similaire à SQLite - Overview (20)

SQLite.pptx
SQLite.pptxSQLite.pptx
SQLite.pptx
 
25 snowflake
25 snowflake25 snowflake
25 snowflake
 
Sql data base
Sql data baseSql data base
Sql data base
 
Optimizing Access with SQL Server
Optimizing Access with SQL ServerOptimizing Access with SQL Server
Optimizing Access with SQL Server
 
Topic1
Topic1Topic1
Topic1
 
SharePoint is from Mars, SQL Server is from Venus (SQL Server for SharePoint ...
SharePoint is from Mars, SQL Server is from Venus (SQL Server for SharePoint ...SharePoint is from Mars, SQL Server is from Venus (SQL Server for SharePoint ...
SharePoint is from Mars, SQL Server is from Venus (SQL Server for SharePoint ...
 
ow.ppt
ow.pptow.ppt
ow.ppt
 
ow.ppt
ow.pptow.ppt
ow.ppt
 
Ow
OwOw
Ow
 
Sqlite Introduction
Sqlite IntroductionSqlite Introduction
Sqlite Introduction
 
Scalable relational database with SQL Azure
Scalable relational database with SQL AzureScalable relational database with SQL Azure
Scalable relational database with SQL Azure
 
Revision
RevisionRevision
Revision
 
A Closer Look at Apache Kudu
A Closer Look at Apache KuduA Closer Look at Apache Kudu
A Closer Look at Apache Kudu
 
1. SQL Server forSharePoint geeksA gentle introductionThomas Vochten • Septem...
1. SQL Server forSharePoint geeksA gentle introductionThomas Vochten • Septem...1. SQL Server forSharePoint geeksA gentle introductionThomas Vochten • Septem...
1. SQL Server forSharePoint geeksA gentle introductionThomas Vochten • Septem...
 
Database storage engines
Database storage enginesDatabase storage engines
Database storage engines
 
Frameworks Galore: A Pragmatic Review
Frameworks Galore: A Pragmatic ReviewFrameworks Galore: A Pragmatic Review
Frameworks Galore: A Pragmatic Review
 
Is SQLcl the Next Generation of SQL*Plus?
Is SQLcl the Next Generation of SQL*Plus?Is SQLcl the Next Generation of SQL*Plus?
Is SQLcl the Next Generation of SQL*Plus?
 
How to Build a Compute Cluster
How to Build a Compute ClusterHow to Build a Compute Cluster
How to Build a Compute Cluster
 
Stay productive_while_slicing_up_the_monolith
Stay productive_while_slicing_up_the_monolithStay productive_while_slicing_up_the_monolith
Stay productive_while_slicing_up_the_monolith
 
MySQL Performance Tuning at COSCUP 2014
MySQL Performance Tuning at COSCUP 2014MySQL Performance Tuning at COSCUP 2014
MySQL Performance Tuning at COSCUP 2014
 

Plus de Emanuele Bartolesi

Le novità di Visual Studio 2015 per lo sviluppatore ASP.NET
Le novità di Visual Studio 2015 per lo sviluppatore ASP.NETLe novità di Visual Studio 2015 per lo sviluppatore ASP.NET
Le novità di Visual Studio 2015 per lo sviluppatore ASP.NET
Emanuele Bartolesi
 
Provarsi i vestiti con il kinect
Provarsi i vestiti con il kinectProvarsi i vestiti con il kinect
Provarsi i vestiti con il kinect
Emanuele Bartolesi
 
In-app purchase in Windows Phone 8
In-app purchase in Windows Phone 8In-app purchase in Windows Phone 8
In-app purchase in Windows Phone 8
Emanuele Bartolesi
 

Plus de Emanuele Bartolesi (20)

Creare PWA con Angular 5 e Visual Studio Code
Creare PWA con Angular 5 e Visual Studio CodeCreare PWA con Angular 5 e Visual Studio Code
Creare PWA con Angular 5 e Visual Studio Code
 
Asp.Net Core in Real World
Asp.Net Core in Real WorldAsp.Net Core in Real World
Asp.Net Core in Real World
 
ASP.NET Core 2.0 - Best Practices per le Web API
ASP.NET Core 2.0 - Best Practices per le Web APIASP.NET Core 2.0 - Best Practices per le Web API
ASP.NET Core 2.0 - Best Practices per le Web API
 
Visual Studio 2017 Saturday - Key note
Visual Studio 2017 Saturday - Key noteVisual Studio 2017 Saturday - Key note
Visual Studio 2017 Saturday - Key note
 
Build a daemon with ASP.NET and Graph API
Build a daemon with ASP.NET and Graph APIBuild a daemon with ASP.NET and Graph API
Build a daemon with ASP.NET and Graph API
 
Global Azure Bootcamp - ASP.NET Core & Azure in Real World
Global Azure Bootcamp - ASP.NET Core & Azure in Real WorldGlobal Azure Bootcamp - ASP.NET Core & Azure in Real World
Global Azure Bootcamp - ASP.NET Core & Azure in Real World
 
Works with ASP.NET Core on Linux and Mac
Works with ASP.NET Core on Linux and MacWorks with ASP.NET Core on Linux and Mac
Works with ASP.NET Core on Linux and Mac
 
Le novità di Visual Studio 2015 per lo sviluppatore ASP.NET
Le novità di Visual Studio 2015 per lo sviluppatore ASP.NETLe novità di Visual Studio 2015 per lo sviluppatore ASP.NET
Le novità di Visual Studio 2015 per lo sviluppatore ASP.NET
 
DotNetCampus - Analizzare le performance di un'applicazione asp.net con Glimpse
DotNetCampus - Analizzare le performance di un'applicazione asp.net con GlimpseDotNetCampus - Analizzare le performance di un'applicazione asp.net con Glimpse
DotNetCampus - Analizzare le performance di un'applicazione asp.net con Glimpse
 
Php for ASP.NET Developers
Php for ASP.NET DevelopersPhp for ASP.NET Developers
Php for ASP.NET Developers
 
Analizzare le performance di un'applicazione ASP.NET con Glimpse
Analizzare le performance di un'applicazione ASP.NET con GlimpseAnalizzare le performance di un'applicazione ASP.NET con Glimpse
Analizzare le performance di un'applicazione ASP.NET con Glimpse
 
Azure Media Services & Azure Search
Azure Media Services & Azure SearchAzure Media Services & Azure Search
Azure Media Services & Azure Search
 
NTTsight Academy - App for Office 365 and SharePoint 2013
NTTsight Academy - App for Office 365 and SharePoint 2013NTTsight Academy - App for Office 365 and SharePoint 2013
NTTsight Academy - App for Office 365 and SharePoint 2013
 
Tutto su ASP.NET Identity
Tutto su ASP.NET IdentityTutto su ASP.NET Identity
Tutto su ASP.NET Identity
 
Provarsi i vestiti con il kinect
Provarsi i vestiti con il kinectProvarsi i vestiti con il kinect
Provarsi i vestiti con il kinect
 
Creare App per Office 365 con ASP.NET MVC 5
Creare App per Office 365 con ASP.NET MVC 5Creare App per Office 365 con ASP.NET MVC 5
Creare App per Office 365 con ASP.NET MVC 5
 
In-app purchase in Windows Phone 8
In-app purchase in Windows Phone 8In-app purchase in Windows Phone 8
In-app purchase in Windows Phone 8
 
WebAPI 2.0
WebAPI 2.0WebAPI 2.0
WebAPI 2.0
 
SignalR 2.0
SignalR 2.0SignalR 2.0
SignalR 2.0
 
Asp.Net MVC 5
Asp.Net MVC 5Asp.Net MVC 5
Asp.Net MVC 5
 

Dernier

Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
WSO2
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Victor Rentea
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 

Dernier (20)

[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf
 
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
 
WSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering DevelopersWSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering Developers
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
 
Six Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal OntologySix Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal Ontology
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 

SQLite - Overview

  • 2. Agenda  Overview  Features  Suggested Uses  Tools
  • 3.
  • 4. SQLite is… • in-process library • self-contained • serverless • zero-configuration • transactional • the code is in the public domain
  • 5. 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 memory you give it!
  • 6. Self-contained • It requires very minimal support from external libraries • It requires very minimal support from the operating system • The only required C library functions called are: • memset() • memcpy() • memcmp() • strcmp() • malloc(), free(), and realloc()
  • 7. Serverless • Most 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 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. • 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 SQLite database.
  • 8. Zero configuration • SQLite 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. • SQLite uses no configuration files. SQLite just works.
  • 9. Transactional • SQLiteimplements serializable transactions that are atomic, consistent, isolated, and durable (ACID). • All changes within a single transaction in SQLite either occur completely or not at all, even if the act of writing the change out to the disk is interrupted by • a program crash, • an operating system crash, or • a power failure.
  • 10.
  • 11. 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 database engines for most common operations. • Cross-platform: Unix (Linux, Mac OS-X, Android, iOS) and Windows (Win32, WinCE, WinRT)
  • 12.
  • 13. Suggested Uses • Database For Gadgets • cellphones, PDAs, MP3 players • Website Database • Internal or temporary databases
  • 14. 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)
  • 15.
  • 16.
  • 17. Riferimenti  SQLite Expert  http://www.sqliteexpert.com/