paint-brush
How to Make Rough Estimates of SQL Queriesby@asundukov
399 reads
399 reads

How to Make Rough Estimates of SQL Queries

by Andrey Sundukov7mFebruary 9th, 2023
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

Too Long; Didn't Read

Each database runs a query through the standard process (with some deviations depending on dB implementation): Syntax parsing Semantic parsing Planning Executing. The most time-consuming part is usually executed only because the database must go to disk, get some data and send it to the client. Other parts of the process go mostly to the CPU and use some cached metadata.
featured image - How to Make Rough Estimates of SQL Queries
Andrey Sundukov HackerNoon profile picture
Andrey Sundukov

Andrey Sundukov

@asundukov

Clean architecture addicted person.

About @asundukov
LEARN MORE ABOUT @ASUNDUKOV'S
EXPERTISE AND PLACE ON THE INTERNET.
0-item

STORY’S CREDIBILITY

Code License

Code License

The code in this story is for educational purposes. The readers are solely responsible for whatever they build with it.

L O A D I N G
. . . comments & more!

About Author

Andrey Sundukov HackerNoon profile picture
Andrey Sundukov@asundukov
Clean architecture addicted person.

TOPICS

THIS ARTICLE WAS FEATURED IN...

Permanent on Arweave
Read on Terminal Reader
Read this story in a terminal
 Terminal
Read this story w/o Javascript
Read this story w/o Javascript
 Lite