Skip to content

Temporary tables #70

Answered by kriszyp
vladar asked this question in Q&A
Jul 5, 2021 · 2 comments · 2 replies
Discussion options

You must be logged in to vote

If you are using this purely to build a table to sort and then immediately removing, you might consider using a child transaction to build the table and then aborting it once you are done instead of committing it.

However, if you need this table to last longer (even 2-5 seconds is a long time to keep a transaction open) for additional interaction, running with noSync does seem like a good idea. Setting a large commitDelay wouldn't accomplish much, that just delays the transaction you want to start (it delays the start of the transaction too). Running noSync in combination with useWritemap seems like it would most ideal if you want to keep the table alive for a little while (I was seeing s…

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@vladar
Comment options

Answer selected by vladar
Comment options

You must be logged in to vote
1 reply
@kriszyp
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants