DEV Community

Cover image for Squlite
Darius Cooper
Darius Cooper

Posted on

Squlite

Squlite picture for blog

What is Sqlite?
SQLite is an embedded SQL database engine. Unlike most other SQL databases, SQLite does not have a separate server process. SQLite reads and writes directly to ordinary disk files. A complete SQL database with multiple tables, indices, triggers, and views, is contained in a single disk file.
The database file format is cross-platform - you can freely copy a database between 32-bit and 64-bit systems or between big-endian and little-endian architectures. These features make SQLite a popular choice as an Application File Format. SQLite database files are a recommended storage format by the US Library of Congress. Think of SQLite not as a replacement for Oracle but as a replacement for fopen()

Random coding blog

Why use Sqluite?
SQLite is used to develop embedded software for devices like televisions, cell phones, cameras, etc. It can manage low to medium-traffic HTTP requests. SQLite can change files into smaller size archives with lesser metadata. SQLite is used as a temporary dataset to get processed with some data within an application

Supported by an international team of developers who work on SQLite full-time. The developers continue to expand the capabilities of SQLite and enhance its reliability and performance while maintaining backwards compatibility with the published interface spec, SQL syntax, and database file format. The source code is absolutely free to anybody who wants it, but professional support is also available.

How is SQlite vs MySQL?
Ultimately, SQLite is a lightweight solution designed for small projects that will only have one user, while MySQL works for projects of all sizes and supports multiple users. Due to these differences, MySQL has become the go-to for RDBMS solutions.

Image description

The disadvantages of usiing SQlite?

  • Limited Scalability:
    One of the major disadvantages of using SQLite is its limited scalability. It is designed to handle small to medium-sized databases, and its performance degrades when dealing with large amounts of data or multiple concurrent users.

  • No Built-in Security:
    Another important limitation of SQLite is its lack of built-in security mechanisms. It does not offer any security features, such as encryption, user authentication, or access control. This leaves the database vulnerable to security threats, such as SQL injection attacks, which can compromise the integrity and confidentiality of the data.

  • No stored procedures or triggers:
    SQLite does not support stored procedures or triggers, which limits its functionality and increase the complexity of implementing certain features without an automatism on the database level.

Soruces
https://www.sqlite.org/about.html

https://www.greengeeks.com/blog/sqlite-vs-mysql/#:~:text=Ultimately%2C%20SQLite%20is%20a%20lightweight,go%2Dto%20for%20RDBMS%20solutions.

Top comments (0)