paint-brush
Don’t OFFSET Your SQL Query’s Performanceby@taras
4,605 reads
4,605 reads

Don’t OFFSET Your SQL Query’s Performance

by Taras Drapalyuk3mApril 4th, 2023
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

Too Long; Didn't Read

OfFSET allows you to retrieve just a portion of the rows that are generated by the rest of the query. It sounds good, but there is a major issue: **as the number of skipped rows increases, query times become slower. The more rows we have to use using OFFSET, the heavier the query becomes.
featured image - Don’t OFFSET Your SQL Query’s Performance
Taras Drapalyuk HackerNoon profile picture
Taras Drapalyuk

Taras Drapalyuk

@taras

Passionate software developer with 10+ years of experience @ ANNA Money

0-item
1-item

STORY’S CREDIBILITY

Original Reporting

Original Reporting

This story contains new, firsthand information uncovered by the writer.

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

Taras Drapalyuk HackerNoon profile picture
Taras Drapalyuk@taras
Passionate software developer with 10+ years of experience @ ANNA Money

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