On Mon, Jun 12, 2017 at 10:32:18AM +0200, Patrick Ben Koetter wrote: > * Julian Kippels <kipp...@hhu.de>: > > would it be faster to have several smaller files for alias_maps and > > transport_maps for each virtual domain, or have one giant file each with > > all users domain from all virtual domains in one file? Around 90% of > > traffic is for one domain and the rest is split among 32 other domain. > > Hard to tell. If they are static, binary maps Postfix will read them all into > memory and work with the in memory copies. So you don't gain any speed > improvements from a giant file.
A single CDB, LMDB or Berkeley DB file is much more efficient than multiple smaller files. -- Viktor.