SQLite Introduction

  Total Views : 58
  Comments : 0
 
  Keywords : Introduction to sqlite database, Basics of sqlite database, How to use sqlite database features in application, What is sqlite database and features of sqlite database with example

Here we will learn sqlite introduction, what is sqlite, why we need to use sqlite, features of sqlite, advantages and disadvantages of sqlite with examples.

SQLite Introduction

SQL (Structured Query Language) is a special programming language that is designed for handling and managing data held in a Relation database management system (RDBMS). 

 

As the name suggest, SQLite is a lightest version of SQL. It does not require any Server, No configuration.

 

In the simplest terms, SQLite is a public-domain software package that provides a relational database management system, or RDBMS.

 

The “Lite” in SQLite does not refer to its capabilities. Rather, SQLite is lightweight when it comes to setup complexity, administrative overhead, and resource usage.

Overview of SQLite

SQLite is an open source embedded relational database management system or RDBMS contained in a C programming library. Relational database systems are used to store data in large tables.

 

In contrast to other popular RDBMS products like Oracle Database, IBM’s DB2, and Microsoft’s SQL Server, SQLite does not require any administrative overhead or any setup complexity.

 

As the other databases are working as a standalone process, SQLite is a not working as a standalone process. You have to link it with your application statically or dynamically.

 

SQLite uses dynamically and weakly typed SQL for column. It means you can store any value in any column, regardless of the data type. SQLite implements most of the SQL92 standard. 

Features of SQLite

Following are the features of SQLite databases.

 

Server less: SQLite does not require a separate server process or system to operate. The SQLite library accesses its storage files directly.

 

Zero Configuration: No server means no setup. Creating a SQLite database instance is as easy as opening a file.

 

Cross-Platform: A complete SQLite database is stored in a single cross-platform disk file, requiring no administration.

 

Self-Contained: A single library contains the entire database system, which integrates directly into a host application.

 

Transactional: SQLite transactions are fully ACID-compliant means all queries are Atomic, Consistent, Isolated, and Durable.

 

Light-weight: As the name suggests “Lite”, SQLite is very small and light weight.

 

Familiar language: Familiar query language for database developers and admins.

 

Highly Reliable: The SQLite development team takes code testing and verification very seriously.

Weakness of SQLite

Following are the drawbacks of SQLite database.

 

  • SQLite not works well in client/server Architecture.
  • If you are using SQLite as backend for High-volume website, SQLite does not works fine as compared to enterprise client/server database.
  • A SQLite database is limited in size to 140 terabytes (TB). SQLite stores the whole database in Single Disk File. Many file systems not allow these much size of file.
  • SQLite has not Implemented RIGHT OUTER JOIN and FULL OUTER JOIN. With SQLite we can only implement LEFT OUTER JOIN.
  • It is not possible to rename a column, remove a column, or add / remove constraints from a table in SQLite. While you can always create a new table and then drop the older one.
  • Views in SQLite are read-only. We can’t use DML statements (Insert, Update, and Delete) with Views.
  • We cannot use GRANT and REVOKE statement with SQLite.

These are the features, advantages and disadvantages of using SQLite in our applications.

 

PREVIOUS

SQLite Tutorial
 
 

 Comments (0)

Be the first to give your valuable feedback

Leave a comment

  • Default Tutlane User