r/SQL • u/oatridbed • Sep 15 '24
SQLite SQLite is not a toy database
https://antonz.org/sqlite-is-not-a-toy-database/8
u/Mastodont_XXX Sep 15 '24 edited Sep 15 '24
4 days ago
https://old.reddit.com/r/programming/comments/1fdntj3/sqlite_is_not_a_toy_database/
Database without date and time data types is no-go.
4
Sep 16 '24
Database without date and time data types is no-go.
I agree.
In fact it doesn't have proper data type checking at all: https://dbfiddle.uk/QuMx1hef
I know it's documented and intended behavior. But that makes it even worse in my personal opinion.
1
u/diagraphic Sep 16 '24
Oh thats odd! I would think theres a flag or something that can be set for this?
2
Sep 16 '24
You are thinking of strict tables - but that's only supported for INTEGER, REAL, TEXT and BLOB. You can't have a strict table using
dateortimestampcolumns.2
3
4
u/AQuietMan Sep 15 '24 edited Sep 17 '24
Whether you are a developer, data analyst, QA engineer, DevOps person, or product manager - SQLite is a perfect tool for you.
No.
Client/server SQL database engines strive to implement a shared repository of enterprise data. They emphasize scalability, concurrency, centralization, and control. SQLite strives to provide local data storage for individual applications and devices. SQLite emphasizes economy, efficiency, reliability, independence, and simplicity.
SQLite does not compete with client/server databases. SQLite competes with fopen().
2
28
Sep 15 '24 edited Sep 15 '24
[removed] — view removed comment
10
u/3rdPoliceman Sep 15 '24
Tons of people call it that. I worked with someone who didn't consider it a database at all. Now, they were a moron, but people do underestimate sqlite.
→ More replies (2)6
u/DiscombobulatedSun54 Sep 15 '24
Their loss. It is the most widely used database out there, and if they don't know that, I wouldn't consider them much of a DB professioinal.
→ More replies (3)2
9
Sep 15 '24
[removed] — view removed comment
4
Sep 16 '24
It isn't an RDBMS.
the S stands for "system", not "server".
SQLite is a Relational Database Management System
1
12
u/dwpj65 Sep 15 '24
It's great for single user, single threaded applications that don't need to perform heavy analytical functions. In fact, until any of these requirements becomes mandatory, it's probably one of the best storage solutions.