You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I finally tried to build the whole stack again (after a very long hiatus), and was pleasantly surprised by how smoothly it ran. The almost-out-of-memory-computer-slowed-to-a-crawl is no more, and eventually came to completion Thank you @drotheram!)
So, I finally googled for "LIMIT and OFFSET" to learn about this magic trick of reducing memory usage, and came across the following articles:
So, it seems that as the OFFSET increases, each SQL query becomes more time-consuming. "Cursor" is suggested as an alternative, and indeed, it seems Psycopg has support for cursors:
I finally tried to build the whole stack again (after a very long hiatus), and was pleasantly surprised by how smoothly it ran. The almost-out-of-memory-computer-slowed-to-a-crawl is no more, and eventually came to completion Thank you @drotheram!)
So, I finally googled for "LIMIT and OFFSET" to learn about this magic trick of reducing memory usage, and came across the following articles:
So, it seems that as the OFFSET increases, each SQL query becomes more time-consuming. "Cursor" is suggested as an alternative, and indeed, it seems Psycopg has support for cursors:
Hope the use of cursor is indeed faster!
The text was updated successfully, but these errors were encountered: