How SQL Database Engines Work, by the Creator of SQLite (2008) [video]
1–10 of 134 posts
Re: How SQL Database Engines Work, by the Creator of SQLite (2008) [video]
#2Re: How SQL Database Engines Work, by the Creator of SQLite (2008) [video]
#3Re: How SQL Database Engines Work, by the Creator of SQLite (2008) [video]
#4Re: How SQL Database Engines Work, by the Creator of SQLite (2008) [video]
#5There is a more recent lecture on the same topic from 2015 at CMU: https://youtu.be/gpxnbly9bz4
Re: How SQL Database Engines Work, by the Creator of SQLite (2008) [video]
#6Who really does understand how a SQL engine work? Don't you usually require to understand how something work before starting using it? Which SQL analyst or DB architect really knows about the internals of a SQL engine? Do they know about basic data structures? Advanced data structures? Backtracking?
That's why I tend to avoid systematically using a SQL engine unless the data schema is very very simple, and manage and filter the data case by case in code. SQL is good for archiving and storing data, and work as an intermediary, but I don't think it should drive how a software works. Databases can be very complex, and unfortunately, since developers like to make things complicated, it becomes hairy.
I think SQL was designed when RAM was scarce and expensive, so to speed up data access, it has to be properly indexed with a database engine. I really wonder who, today, have data that cannot fit in RAM, apart from big actors.
I tend to advocate for simple designs and avoid complexity as most as I can, so I might biased, but many languages already offers things like sets, maps, multimaps, etc. Tailoring data structures might yield good results too.
Databases still scare me.
Re: How SQL Database Engines Work, by the Creator of SQLite (2008) [video]
#7https://www.youtube.com/playlist?list=PLSE8ODhjZXjYutVzTeAds...
Re: How SQL Database Engines Work, by the Creator of SQLite (2008) [video]
#8Re: How SQL Database Engines Work, by the Creator of SQLite (2008) [video]
#9I don't like to use SQL engine because I don't understand how they work, I never really know if my query will be O(1), O(log(n)), O(n), etc, or what kind of algorithm will optimize my query. Who really does understand how a SQL engine work? Don't you usually require to understand how something work before starting using it? Which SQL analyst or DB architect really knows about the internals of a SQL engine? Do they kn…
Re: How SQL Database Engines Work, by the Creator of SQLite (2008) [video]
#10I don't like to use SQL engine because I don't understand how they work, I never really know if my query will be O(1), O(log(n)), O(n), etc, or what kind of algorithm will optimize my query. Who really does understand how a SQL engine work? Don't you usually require to understand how something work before starting using it? Which SQL analyst or DB architect really knows about the internals of a SQL engine? Do they kn…
There is literature legion on the implementation of the database that would assuage you, should you concern yourself with reading it. I don't think you need to. Trust that many many smart people have engineered many many decades of excellent software.
That is, not to say, that you won't need to peek below or concern yourself with certain choices -- indices, commits, columnar-vs-row, etc. as your performance or access patterns dictate.
More importantly, the relational model is still the gem that shines as a beacon to model logic and data and is too often undervalued due to its association with 'enterprise software' and the implementation language (SQL is a bit warty).