summaryrefstree
path: root/usr/bin/navi/etc/na_dbu.ini
blob: 74e5644a69b0d11156e11295234b0e2eede44983 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
#------------------------------------------------------------------------------
[main]
path_sysroot ?= /usr/bin/navi
#------------------------------------------------------------------------------

#------------------------------------------------------------------------------
[dbupdate]
#------------------------------------------------------------------------------
# Dynamic deployment
deploy = ${main.path_sysroot}/etc/na_dbu_deploy.json

# Todo: make these paths compatible with the buildbot if possible. Also clarify proper location on target (/tmp or navdata? /tmp is too small maybe, do we need to create the folder beforehand?)
#WIN32:    download_dir = C:\tmp\DataBase\download\update
download_dir = /var/opt/bosch/navdata/update
download_dir = /var/opt/bosch/navdata/update

#------------------------------------------------------------------------------
[nds]
#------------------------------------------------------------------------------

ndslib   = ${main.path_sysroot}/lib/libNdsLib.so
#WIN32:    ndslib   = ${main.path_sysroot}\bin\NdsLib.dll
ndslib   = ${main.path_sysroot}/lib/libNdsLib.so


#database = /var/navi/db/ROOT.NDS
#WIN32:    database = C:\tmp\DataBase\current\ROOT.NDS #don't set the network path here, as in onecore.ini
database = /var/DB/ROOT.NDS

# Maximum NdsLib cache size, in MBytes.
# This cache is used for loaded blobs from database and their derived (unpacked, indexed...) products.
# Objects that are currently locked by the application (and therefore could not be released anyway) are not included in
# this size, i.e. this setting refers to previousy used cached data only.
# Default value: 50
# Possible values: 1 to 500
cache_mb          = 40

# Maximum number of items in NdsLib cache
# Some kinds of NDS objects are quite small, so the cache memory size specified above could be sufficient to hold
# millions of small objects. It is reasonable to limit this amout to reduce memory fragmentation, and also for
# performance reasons (size of cache index).
# Default value: 20000
# Possible values: 100 or larger
cache_objects     = 20000

# Time (in seconds) after which unused Sqlite files of the NDS DB are automatically closed.
# A database may consist of hundreds of separate Sqlite files. Each open file administrative structures and
# especially a dedicated cache  in memory, so it is recommendable to open the currently used files, and close
# them after use. On the other hand, re-opening and re-initialization of Sqlite files will cost performance.
# Default value: 30
# Possible values: 1 or larger (as interval in seconds). With value 0, all used files will be kept open forever.
close_unused_files_after = 30

# Maximum Sqlite cache size per open sqlite database file, in KBytes.
# This is Sqlite's internal cache. It can be reduced below standard values because NdsLib additionally uses its own
# global cache for loaded objects (see cache_mb).
# Note that Sqlite will allocate the specified amount of memory only when data of that size are actually loaded, and
# the memory will be released again when the file gets closed (see close_unused_files_after).
# This setting can be overwritten by building-block-specific settings below (for SLI and FTS)
# Default value: 2000
# Possible values: 0 or larger
sqlite_cache_default = 2000

# Maximum Sqlite cache size (in KBytes) per files containing the SLI building block (address input)
# This building block mainly relies on large and complex Sqlite queries, thus a larger cache really improves the
# performance here.
# Default value: same as sqlite_cache_default
# Recommended value: 10000
# Possible values: 0 or larger
sqlite_cache_sli = 10000

# Maximum Sqlite cache size (in KBytes) per files containing the FTS building block (full-text search)
# This building block mainly relies on large and complex Sqlite queries, thus a larger cache really improves the
# performance here.
# Default value: same as sqlite_cache_default
# Recommended value: 10000
# Possible values: 0 or larger
sqlite_cache_fts = 10000