26.02.2015 15:57, Carlos H. Cantu wrote:
> I never measured, but I assume it should be fast, specially if the
> page is in the cache. But reading the same thing endless times in a
> batch operation looks like a waste of resources. I'm sure reading a
> context variable is much simpler/fast than the whole mechanism
> involved in running a select.

   IIRC, tests by Pavel Zotov shown that using of context variables is, 
actually, slower 
that reading from a single row table.

-- 
   WBR, SD.

------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel

Reply via email to