15.12.2015 14:35, Alex Peshkoff wrote: > When database is opened by SS and > is ready for processing mapping request it can be used by another > attachment - and it will be used with wrong cache settings, which may > badly affect performance.
What do you think about this: 1) For first attachment CCH is initialized with minimal size enough for mapUser() to work. 2) When all necessary checks were performed, CCH_expand() is called with either default size or provided in dpb. In this case in second and subsequent attachments mapUser() either works with minimally enough cache or already expanded. No performance penalty. BTW, call to CCH_expand() is already there. -- WBR, SD. ------------------------------------------------------------------------------ Firebird-Devel mailing list, web interface at https://lists.sourceforge.net/lists/listinfo/firebird-devel