SlideShare a Scribd company logo
1 of 21
Download to read offline
Wbudowana baza danych SQLite i ado .net Kamil K. Lemański
SQLiteanybody?
Czym jest SQLite? Biblioteka Silnik bazy danych ACID Pojedynczy plik Nie ma żadnego demona Mały rozmiar Prosty, szybki, niezawodny! http://www2.sqlite.org/download.html
The author disclaims copyright to this source code.   In place of a legal notice, here is a blessing: ,[object Object]
May you find forgiveness for yourself and forgive others.
May you share freely, never taking more than you give.,[object Object]
Hipp, Wyrick & Company, Inc. - "Hwaci" SQLiteConsortium $75000 (US) rocznie
Jak zacząć przygodę? 522 KB
Jak ją kontynuować…
Programowanie!!
Amalgamowanie ~104K (64K) linii kodu ~3.5MiB ~ 5-10% wzrostu wydajności ~88 (67 .c, 12 .h)
Kilka ciekawostek SQLITE_MAX_COLUMN 2000 SQLITE_MAX_SQL_LENGTH 1000000000 (bajtów, ~950MB) SQLITE_MAX_FUNCTION_ARG 127
Przykład  względnie niskiego poziomu
Bindings/Wrappers BASIC, C, C++, Clipper, Common Lisp, C#, Curl, Delphi, Haskell, Java, Lua, newLisp, Objective-C, OCaml, Perl, PHP, Python, REBOL, R, Ruby, Scheme, Smalltalk, Tcl, Visual Basic, COM (ActiveX).
Provider dla .NETSQLite ADO.NET 2.0/3.5 Provider System.Data.SQLite jest silnikiem relacyjnej bazy danych SQLite wraz ze sterownikiem do ADO.NET udostepnianym jako pojedynczy zestaw .NET (ang. assembly). http://sqlite.phxsoftware.com/ Released to the public domain, use at your own risk!
Całkowita implementacja ADO.NET 2.0 Wspracie dla wersji Full i Compact .NET Framework Wsparcie dla C/C++ Wsparcie dla Mono ADO.NET 3.5 Entity Framework Visual Studio 2005/2008 Design-Time Support
3MB 6MB
DEMO
Kiedy SQLite się sprawdza? Format plików dla aplikacji Urządzenia i aplikacje wbudowane Strony internetowe (100K hits/day) Gotowy standard zapisu Wewnętrzne lub tymczasowe bazy Analiza z wiersza poleceń Dema i testowanie Edukacja Pisanie rozszerzeń
Kiedy inny RDBMS będzie lepszy? Aplikacje klient/serwer Strony o dużym obciążeniu Bardzo duże zbiory danych >2TB Wysoka współbieżność
Think of SQLite not as a replacement for Oracle but as a replacement for fopen()

More Related Content

Viewers also liked

Toronto housing stats market watch all neighbourhoods dec. 2010
Toronto housing stats market watch all neighbourhoods dec. 2010Toronto housing stats market watch all neighbourhoods dec. 2010
Toronto housing stats market watch all neighbourhoods dec. 2010James Metcalfe
 
Webbdagarna stockholm kopia
Webbdagarna stockholm kopiaWebbdagarna stockholm kopia
Webbdagarna stockholm kopiaGoran Adlen
 
A Strategic Model for Product Diversification and Broker Revenue Enhancement
A Strategic Model for Product Diversification and Broker Revenue EnhancementA Strategic Model for Product Diversification and Broker Revenue Enhancement
A Strategic Model for Product Diversification and Broker Revenue Enhancementbjgilbert
 
Инвестор - 10 години в 10 минути
Инвестор - 10 години в 10 минутиИнвестор - 10 години в 10 минути
Инвестор - 10 години в 10 минутиhrisimashkova
 
Peter d - trail presentation
Peter d - trail presentationPeter d - trail presentation
Peter d - trail presentationTrailplan
 
Business plan
Business planBusiness plan
Business plangalitha18
 
IBM Sametime 8.5.2 Meetings Task Reference
IBM Sametime 8.5.2 Meetings Task ReferenceIBM Sametime 8.5.2 Meetings Task Reference
IBM Sametime 8.5.2 Meetings Task Referencelhghom
 
Vernal Pool Identification and Conservation in Keene, NH
Vernal  Pool Identification and Conservation in Keene, NHVernal  Pool Identification and Conservation in Keene, NH
Vernal Pool Identification and Conservation in Keene, NHChristopher Brehme
 
Pharma Field Force Excellence 2016 and BrandStorm
Pharma Field Force Excellence 2016 and BrandStormPharma Field Force Excellence 2016 and BrandStorm
Pharma Field Force Excellence 2016 and BrandStormAnup Soans
 
Implementing OpenID for Your Social Networking Site
Implementing OpenID for Your Social Networking SiteImplementing OpenID for Your Social Networking Site
Implementing OpenID for Your Social Networking SiteDavid Keener
 
The Power of Virtual Collaboration in Project Management
The Power of Virtual Collaboration in Project ManagementThe Power of Virtual Collaboration in Project Management
The Power of Virtual Collaboration in Project ManagementCitrix Online
 
A tribute to Bishop Clemens Thottungal
A tribute to Bishop Clemens ThottungalA tribute to Bishop Clemens Thottungal
A tribute to Bishop Clemens Thottungalpatergiri
 

Viewers also liked (20)

Toronto housing stats market watch all neighbourhoods dec. 2010
Toronto housing stats market watch all neighbourhoods dec. 2010Toronto housing stats market watch all neighbourhoods dec. 2010
Toronto housing stats market watch all neighbourhoods dec. 2010
 
Presentatie pmo nup releasekalender
Presentatie pmo nup releasekalenderPresentatie pmo nup releasekalender
Presentatie pmo nup releasekalender
 
MKE AUEB
MKE AUEBMKE AUEB
MKE AUEB
 
Webbdagarna stockholm kopia
Webbdagarna stockholm kopiaWebbdagarna stockholm kopia
Webbdagarna stockholm kopia
 
A Strategic Model for Product Diversification and Broker Revenue Enhancement
A Strategic Model for Product Diversification and Broker Revenue EnhancementA Strategic Model for Product Diversification and Broker Revenue Enhancement
A Strategic Model for Product Diversification and Broker Revenue Enhancement
 
Инвестор - 10 години в 10 минути
Инвестор - 10 години в 10 минутиИнвестор - 10 години в 10 минути
Инвестор - 10 години в 10 минути
 
Presentation1
Presentation1Presentation1
Presentation1
 
Peter d - trail presentation
Peter d - trail presentationPeter d - trail presentation
Peter d - trail presentation
 
Business plan
Business planBusiness plan
Business plan
 
1 the 20th century
1 the 20th century1 the 20th century
1 the 20th century
 
IBM Sametime 8.5.2 Meetings Task Reference
IBM Sametime 8.5.2 Meetings Task ReferenceIBM Sametime 8.5.2 Meetings Task Reference
IBM Sametime 8.5.2 Meetings Task Reference
 
Encuentro 3 espacio
Encuentro 3 espacioEncuentro 3 espacio
Encuentro 3 espacio
 
Vernal Pool Identification and Conservation in Keene, NH
Vernal  Pool Identification and Conservation in Keene, NHVernal  Pool Identification and Conservation in Keene, NH
Vernal Pool Identification and Conservation in Keene, NH
 
Pharma Field Force Excellence 2016 and BrandStorm
Pharma Field Force Excellence 2016 and BrandStormPharma Field Force Excellence 2016 and BrandStorm
Pharma Field Force Excellence 2016 and BrandStorm
 
J&K Bank AR15
J&K Bank AR15J&K Bank AR15
J&K Bank AR15
 
Implementing OpenID for Your Social Networking Site
Implementing OpenID for Your Social Networking SiteImplementing OpenID for Your Social Networking Site
Implementing OpenID for Your Social Networking Site
 
CHOReOS Exploitation
CHOReOS ExploitationCHOReOS Exploitation
CHOReOS Exploitation
 
The Power of Virtual Collaboration in Project Management
The Power of Virtual Collaboration in Project ManagementThe Power of Virtual Collaboration in Project Management
The Power of Virtual Collaboration in Project Management
 
The camera
The cameraThe camera
The camera
 
A tribute to Bishop Clemens Thottungal
A tribute to Bishop Clemens ThottungalA tribute to Bishop Clemens Thottungal
A tribute to Bishop Clemens Thottungal
 

Similar to SQLite i ADO.NET

semKRK #13 - Aneta i Dawid Krystosik
semKRK #13 - Aneta i Dawid KrystosiksemKRK #13 - Aneta i Dawid Krystosik
semKRK #13 - Aneta i Dawid KrystosiksemKRK
 
Tomasz Kopacz MTS 2012 Azure - Co i kiedy użyć (IaaS vs paas vshybrid cloud v...
Tomasz Kopacz MTS 2012 Azure - Co i kiedy użyć (IaaS vs paas vshybrid cloud v...Tomasz Kopacz MTS 2012 Azure - Co i kiedy użyć (IaaS vs paas vshybrid cloud v...
Tomasz Kopacz MTS 2012 Azure - Co i kiedy użyć (IaaS vs paas vshybrid cloud v...Tomasz Kopacz
 
PHP, MySQL i Apache dla każdego. Wydanie II
PHP, MySQL i Apache dla każdego. Wydanie IIPHP, MySQL i Apache dla każdego. Wydanie II
PHP, MySQL i Apache dla każdego. Wydanie IIWydawnictwo Helion
 
Jak nadążyć za światem front-endu - WordPress Training Day
Jak nadążyć za światem front-endu - WordPress Training DayJak nadążyć za światem front-endu - WordPress Training Day
Jak nadążyć za światem front-endu - WordPress Training DayTomasz Dziuda
 
Skalowalność Magento - MMPL13
Skalowalność Magento - MMPL13Skalowalność Magento - MMPL13
Skalowalność Magento - MMPL13Divante
 
PLNOG 8: Tomasz Sawiak - Log management i analizy > to czego nie widać
PLNOG 8: Tomasz Sawiak - Log management i analizy > to czego nie widać PLNOG 8: Tomasz Sawiak - Log management i analizy > to czego nie widać
PLNOG 8: Tomasz Sawiak - Log management i analizy > to czego nie widać PROIDEA
 
Optimizing Drupal Performance (Polish)
Optimizing Drupal Performance (Polish)Optimizing Drupal Performance (Polish)
Optimizing Drupal Performance (Polish)Timur Kamanin
 

Similar to SQLite i ADO.NET (10)

semKRK #13 - Aneta i Dawid Krystosik
semKRK #13 - Aneta i Dawid KrystosiksemKRK #13 - Aneta i Dawid Krystosik
semKRK #13 - Aneta i Dawid Krystosik
 
Tomasz Kopacz MTS 2012 Azure - Co i kiedy użyć (IaaS vs paas vshybrid cloud v...
Tomasz Kopacz MTS 2012 Azure - Co i kiedy użyć (IaaS vs paas vshybrid cloud v...Tomasz Kopacz MTS 2012 Azure - Co i kiedy użyć (IaaS vs paas vshybrid cloud v...
Tomasz Kopacz MTS 2012 Azure - Co i kiedy użyć (IaaS vs paas vshybrid cloud v...
 
JRuby real use case
JRuby real use caseJRuby real use case
JRuby real use case
 
PHP, MySQL i Apache dla każdego. Wydanie II
PHP, MySQL i Apache dla każdego. Wydanie IIPHP, MySQL i Apache dla każdego. Wydanie II
PHP, MySQL i Apache dla każdego. Wydanie II
 
Jak nadążyć za światem front-endu - WordPress Training Day
Jak nadążyć za światem front-endu - WordPress Training DayJak nadążyć za światem front-endu - WordPress Training Day
Jak nadążyć za światem front-endu - WordPress Training Day
 
Skalowalność Magento - MMPL13
Skalowalność Magento - MMPL13Skalowalność Magento - MMPL13
Skalowalność Magento - MMPL13
 
PLNOG 8: Tomasz Sawiak - Log management i analizy > to czego nie widać
PLNOG 8: Tomasz Sawiak - Log management i analizy > to czego nie widać PLNOG 8: Tomasz Sawiak - Log management i analizy > to czego nie widać
PLNOG 8: Tomasz Sawiak - Log management i analizy > to czego nie widać
 
Optimizing Drupal Performance (Polish)
Optimizing Drupal Performance (Polish)Optimizing Drupal Performance (Polish)
Optimizing Drupal Performance (Polish)
 
Delphi 7 i bazy danych
Delphi 7 i bazy danychDelphi 7 i bazy danych
Delphi 7 i bazy danych
 
Feo w-joomla
Feo w-joomlaFeo w-joomla
Feo w-joomla
 

SQLite i ADO.NET