This video is devoted to TempCacheLimit, one of the key parameters for performance of queries with large sortings (i.e., those with ORDER BY, GROUP BY, DISTINCT, UNION, etc).
Presentation from the video is here.
Previous episode (about the biggest error in Firebird configuration)