-
Notifications
You must be signed in to change notification settings - Fork 59
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problem: lack of volatile storage #197
Comments
Hi Yurii, This sounds interesting to me, but I'm trying to understand when this would be useful. Is this something similar to temporary tables in SQL? If so, a transaction-scoped variables would basically accomplish this. |
The utility I can see is primarily in-memory indices (those are bloody fast), with the volatility borders at the server restarts. |
There are different levels of persistency in GT.M and Caché, which kind of volatile memory did you mean here? Globals vs local? Globals under transaction scope and outside |
(sorry for partial comment, got disconnected in the subway) |
Here I meant something similar to globals mapped to volatile in memory
database, adjusted for specificity of PumpkinDB primitives
…On Mar 28, 2017 12:30 AM, "Timur Safin" ***@***.***> wrote:
(sorry for partial comment, got disconnected in the subway)
There are also semi-persistent globals mapped to volatile in memory
database. So which kind of nonvolatile primitive did you mean here?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#197 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAABxDgamGHJrO71pdlEM89ioRHZad6kks5rqLcOgaJpZM4MkkNv>
.
|
There are certain cases, like in-memory indexing or testing, where NOT storing data to disc between restarts would have been useful.
(Also, MUMPS has this distinction as well in a form of volatile and global variables.)
Proposed solution: introduce WRITE/VOLATILE and READ/VOLATILE (or, say, WRITE*/READ*) transactions. This way one one can use all storage-related functionality interchangeably.
The text was updated successfully, but these errors were encountered: