Specifications
13
NameIndexing(DBCFG.INI)
Nameindexingshouldbeenabledonalldatabasesespeciallythosewithover1000endpointsorusers.Itwill
benoticeablyfasterandimproveperformance.
Todothis,createabasictextfilecalledDBCFG.INI;fileandcopyittotheSBDATAfolder(assumingdefault
locationforObjectDirectory)andeditasbel
ow:
Warnings
• DonotuseSingleFilemodeasshownintheoptionsbelow.Itcanbeusedforsmalldatabasesbutnot
recommendedasitcanbemuchslower.
• TheFindfunctiondoesnotusethenamecacheandthereforesearchesthecompletedatabase
sequentially.
DBCFG.INI
Sectionsareaddeddefinedby[]withtheoptionsineachsectionaddedasbelow.
[NameIndex]
Enabled=Yes
Thismustbesetto"Yes"forthenameindex/cachingtobeusedbyprogramsrunningforthisdirectory.
LockTimeout=3000
Thisoptioncontrolshowlongtheprocesswillretryaccesstotheindexfileifitislocked.Youcandecreasethis
valueiftheadministratorexperienceslongwaitingtimesdurin
ginstallation,forexample–1000,however,
onlyindatabasessmallerthan5000systems,otherwiseyoufindthenumberbymultiplyingthenumberof
usersorsystemsinthedatabaseby0.6.
Example:Ifthenumberofusersinthedatabaseis10,000,theLocktimeoutshouldbe6000.
Thedefaultval
ueis3000.
Thevalueisin100thsofasecond.
Incaseofmultipleservers,thetimeoutcanexceedduetomanysimultaneousconnections.Inthatcasethe
valueneedstobeincreasedto30000.
LockSleep=10
Thisoptioncontrolshowlongtheprocesswillsleep(wait)beforere‐tryingopeningalo
ckedfile.Thevalueisin
1000thsofasecond.Incaseofmultipleservers,thelocksleepmightneedtobeincreasedduetomanylock
timeouts.Inthatcasethevalueneedstobeincreasedto100oreven1000.
HashCount=16
Thisoptioncontrolshowmany"buckets"thehas
hofthenameissplitinto.Itshouldbebetween1and256
(default16).Generally,agoodvaluecanbecalculatedbytakingthesquarerootofthenumberofusers.
However,foroptimalperformancethisvalueshouldbetunedbytesting.
MinEntrySize=16
Thisistheminimumspacetoallocateperobjectnameintheindexfile.Thedefa
ultof16isagoodvalueifthe
namesdonotexceed16characters.Youdonotneedtospecifythevalueifthenamesdonotexceed16
characters.