Skip to content
Why Database Cursor Fetching Needs Pagination Not Streaming episode artwork

Jul 23, 2026 6 min

Why Database Cursor Fetching Needs Pagination Not Streaming

from Database Tech with Fexingo: SQL, NoSQL, and Data Storage Conversations Hosted by Fexingo

Lucas and Luna dig into why database cursors cause memory blowups when naive streaming is used instead of proper pagination. Using a real-world example of a Postgres query that crashed an analytics dashboard by fetching 2 million rows at once, they explain the mechanics of server-side cursors, client-side buffering, and why LIMIT/OFFSET is not the answer. The episode walks through a concrete fix: using keyset pagination with a stable sort to avoid the O(n) cost of offset skips. Listeners learn one practical pattern to prevent runaway memory in production data pipelines. #DatabaseCursors #Pagination #Postgres #QueryPerformance #DataEngineering #SQL #KeysetPagination #CursorFetching #MemoryManagement #AnalyticsDashboard #BackendPerformance #TechDeepDive #DatabaseOptimization #StreamingData #Technology #FexingoBusiness #BusinessPodcast #DatabaseTechWithFexingo Keep every episode free: buymeacoffee.com/fexingo

Episode details come from the podcast's RSS feed.

Embed this episode

Ready to play

Why Database Cursor Fetching Needs Pagination Not Streaming

0:00 6:53

No transcript yet.

Requests help us decide what to transcribe next.

Frequently asked questions

How long is this episode of Database Tech with Fexingo: SQL, NoSQL, and Data Storage Conversations?

This episode is 6 minutes long.

When was this Database Tech with Fexingo: SQL, NoSQL, and Data Storage Conversations episode published?

This episode was published on July 23, 2026.

Can I download this Database Tech with Fexingo: SQL, NoSQL, and Data Storage Conversations episode?

Yes. Use the download control on the episode player to save the publisher-provided media file.