SQL Optimization
Hi all,
just finished to see the "Mining for Gold: SQL Parametrization", very informative episode. At the end, Chris Loran explained how to leverage on caching system offered by "globals", to avoid multiple executions of the same query against the DB.
I do have a couple of questions about globals, to better understand how they work:
Is globals object exclusively dedicated to caching data ? (AFAIK: Yes, it is)
I haven't found a "duration" of the stored key: it's me or it doesn't exists ? I mean, once I put something in the globals, when it will be invalidated ? (AFAIK: No timed duration of the cached value)
Deleting keys: looks like I can only delete ALL keys, not specific keys. Am I right ? (AFAIK: I am right)
I already added answers to my questions, thanks in advance for those who will confirm (or not) them.
FabioG