How do Databases Work? | System Design

  Рет қаралды 24,934

Interview Pen

Interview Pen

Күн бұрын

Пікірлер
@tonynguyen-mq3tb
@tonynguyen-mq3tb 6 ай бұрын
🎯 Key points for quick navigation: 00:00 *📚 What is a database and how queries work?* - Database takes in SQL queries to retrieve data. - SQL is declarative, focusing on what data is needed not how to get it. - Internal complexities of a database translate declarative queries into execution steps. 02:09 *🧠 Process of executing a query in a database* - Database query process involves parsing, query planning, and execution. - Parser translates SQL query into a data structure for the database to use. - Query planner optimizes query execution and evaluates different plans based on database characteristics. 03:32 *🔍 Role of parser in database query execution* - Parser converts raw SQL text into a parse tree for easier database evaluation. - Parse tree organizes query components like select, from, and where clauses for database use. - Use of parse tree allows the database to recursively evaluate query components. 08:12 *⚙️ Query planner in optimizing database query execution* - Query planner considers table statistics, cost constants, and available indexes for query optimization. - It generates multiple plans, evaluates costs for each, and outputs the most efficient plan. - Optimizing query planning leads to faster and more efficient database query execution. Made with HARPA AI
@mohitnagpal
@mohitnagpal 6 ай бұрын
Your videos are very helpful and to the point.
@interviewpen
@interviewpen 6 ай бұрын
Glad you like it :)
@mineline5620
@mineline5620 27 күн бұрын
dude this laser pointer is giving me flashbacks from school lmao
@Travala
@Travala 6 ай бұрын
Thanks, I really like the videos! But (in my personal opinion) it would be much easier to perceive information if you took some pauses when you speak. Otherwise, videos are really helpful! And one of the topics I would love to know more about is how systems like Apache Spark or Hadoop work internally, what are the specific use cases and etc. Thanks again!
@interviewpen
@interviewpen 6 ай бұрын
Ok, thanks for the feedback. We do have multiple videos on Spark/Hadoop in our full course on interviewpen.com :)
@kspv2806
@kspv2806 6 ай бұрын
Awesome thanks a lot
@interviewpen
@interviewpen 6 ай бұрын
Thanks for watching!
@webcorejuan
@webcorejuan 6 ай бұрын
Awesome, which software do you use?
@interviewpen
@interviewpen 6 ай бұрын
We use GoodNotes on an iPad. Thanks for watching!
@NimaqAlizadeh
@NimaqAlizadeh 6 ай бұрын
Nice🎉
@interviewpen
@interviewpen 6 ай бұрын
Thanks for watching!
@congminhluu5068
@congminhluu5068 6 ай бұрын
I'm dumb so any help would be appreciated. Why are hash join on 100 rows tables faster than hash join on 10 rows tables ?
@interviewpen
@interviewpen 6 ай бұрын
It isn’t-we prefer the plan that filters the tables first, since fewer rows have to be joined that way. Thanks!
@ak-gi3eu
@ak-gi3eu 6 ай бұрын
how algorithms works video plz
@infinitibucket
@infinitibucket 6 ай бұрын
First viewer. Hurrah
@interviewpen
@interviewpen 6 ай бұрын
Nice 😛
@dami970
@dami970 6 ай бұрын
Seems like I came early
@interviewpen
@interviewpen 6 ай бұрын
🫡
@Zmey5656
@Zmey5656 6 ай бұрын
Thank you a lot for your video. Maybe next time tell us about the pros and cons of SQL? For example, that is invented in the 80s and that it is ineffective when working with a large amount of data?
@interviewpen
@interviewpen 6 ай бұрын
Absolutely--we have a full video about different data models and storage formats (like NoSQL) on interviewpen.com :)
@saramshshrestha7641
@saramshshrestha7641 6 ай бұрын
CS degree help me understand it pretty clearly. 😅
Design a Scalable BLOB Store | System Design
8:58
Interview Pen
Рет қаралды 8 М.
When to Use Kafka or RabbitMQ | System Design
8:16
Interview Pen
Рет қаралды 157 М.
To Brawl AND BEYOND!
00:51
Brawl Stars
Рет қаралды 17 МЛН
We Attempted The Impossible 😱
00:54
Topper Guild
Рет қаралды 56 МЛН
Learn Database Normalization - 1NF, 2NF, 3NF, 4NF, 5NF
28:34
Decomplexify
Рет қаралды 2,2 МЛН
Database Indexing for Dumb Developers
15:59
Laith Academy
Рет қаралды 83 М.
Design a Fault Tolerant E-commerce System | System Design
8:17
Interview Pen
Рет қаралды 30 М.
7 Must-know Strategies to Scale Your Database
8:42
ByteByteGo
Рет қаралды 144 М.
20 System Design Concepts Explained in 10 Minutes
11:41
NeetCode
Рет қаралды 1,1 МЛН
Design an ML Recommendation Engine | System Design
8:46
Interview Pen
Рет қаралды 18 М.
Understanding B-Trees: The Data Structure Behind Modern Databases
12:39
Solving one of PostgreSQL's biggest weaknesses.
17:12
Dreams of Code
Рет қаралды 223 М.
Google system design interview: Design Spotify (with ex-Google EM)
42:13
IGotAnOffer: Engineering
Рет қаралды 1,2 МЛН
To Brawl AND BEYOND!
00:51
Brawl Stars
Рет қаралды 17 МЛН