summaryrefslogtreecommitdiff
path: root/docs/manpages/tracker-store.1
blob: 3475b060418cf364cd8f55e6877ca00e18872b00 (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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
.TH tracker-store 1 "September 2009" GNU "User Commands"

.SH NAME
tracker-store \- database indexer and query daemon

.SH SYNOPSIS
\fBtracker-store\fR [\fIOPTION\fR...]

.SH DESCRIPTION
.B tracker-store
provides both a powerful database daemon which allows clients to query
or update their data using the highly descriptive
.B SPARQL
language.
.PP
.B tracker-store
does not do any file crawling or any mining of data itself, instead
other processes do that and serves as a daemon waiting for such
requests from application miners like
.B tracker-miner-fs.

.SH OPTIONS
.TP
.B \-?, \-\-help
A brief help message including some examples.
.TP
.B \-V, \-\-version
Returns the version of this binary.
.TP
.B \-v, \-\-verbosity={0|1|2|3}
Sets the logging level, 0=errors, 1=minimal, 2=detailed, 3=debug.
.TP
.B \-r, \-\-force-reindex
This forces tracker-store to remove databases and to recreate fresh
databases ready for data insertion from the miners. For more
information about the miners, see
.B tracker-miner-fs.
.TP
.B \-m, \-\-low-memory
This changes the behavior of the database manager and some other
parts of
.B tracker-store
to be optimized for lower memory systems by lowering database
connection cache sizes and page sizes for example. This may slow down
indexing performance.
.TP
.B \-n, \-\-readonly-mode
This starts
.B tracker-store
in a mode which disables writing to the database. Only
.B SPARQL
read requests can be serviced if this option is used.

.SH ENVIRONMENT
.TP
.B TRACKER_DB_ONTOLOGIES_DIR
This is the directory which tracker uses to load the .ontology files
from. If unset it will default to the correct place. This is used
mainly for testing purposes.

.TP
.B TRACKER_LANGUAGE_STOP_WORDS_DIR
This is the directory which tracker uses to load the stop words
dictionaries from. If unset it will default to the correct place. This
is used mainly for testing purposes.

.TP
.B TRACKER_STORE_MAX_TASK_TIME
This is maximum time allowed for a process to finish before interruption
happens. The actual moment of interruption depends also on the frequency of
checks. The value 0 indicates no interruption.
This environment variable is used mainly for testing purposes.

.TP
.B TRACKER_STORE_SELECT_CACHE_SIZE / TRACKER_STORE_UPDATE_CACHE_SIZE
Tracker caches database statements which occur frequently to make
subsequent repeat queries much faster. The cache size is set to 100 by
default for each type (select and update queries). This must be at
least 2 as a minimum, any less and a value of 3 is used instead. The
number represents the number of cached statements to keep around.
This environment variable is used mainly for testing purposes.

.TP
.B TRACKER_PRAGMAS_FILE
Tracker has a fixed set of PRAGMA settings for creating its SQLite connection.
With this environment variable pointing to a text file you can override these
settings. The file is a \\n separated list of SQLite queries to execute on any
newly created SQLite connection in tracker-store.

.TP
.B TRACKER_DISABLE_MEEGOTOUCH_LOCALE
If Tracker is compiled with meegotouch locale management support, setting this
variable in the environment will disable retrieving the locale from GConf, and
the standard locale settings will be used instead.

.B TRACKER_USE_CONFIG_FILES
Don't use GSettings, instead use a config file similar to how settings
were saved in 0.10.x. That is, a file which is much like an .ini file.
These are saved to $HOME/.config/tracker/

.SH NOTES
.B tracker-store
is highly bound to the D-Bus freedesktop project. A D-Bus session is
needed for all Tracker processes to communicate between each other.
D-Bus is our acting IPC. See
.BR dbus-daemon(1)
for more information.

.SH SEE ALSO
.BR tracker-applet (1),
.BR tracker-search-tool (1),
.BR tracker-search (1),
.BR tracker-tag (1),
.BR tracker-stats (1),
.BR tracker-services (1),
.BR tracker-info (1),
.BR tracker-control (1),

.BR http://www.w3.org/TR/rdf-sparql-query/

.BR dbus-daemon (1),

.BR http://www.freedesktop.org/wiki/Software/dbus