forked from fit-uifs/vtapi
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdefault.conf
79 lines (49 loc) · 1.96 KB
/
default.conf
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
# VTApi configuration file
############## User information ##############
# Set your user name and password (currently useless)
user="mjackson"
#password=""
# Specify your datasets location (include the trailing slash)
location="/mnt/mydata/"
############# Connection #############
# Set backend type and appropriate connection information:
# connection - for PostgreSQL
# dbfolder - for SQLite
# Set database backend [postgres|sqlite]
backend="postgres"
#### PostgreSQL connection ####
# PostgreSQL connection string. Use format "host=... port=.. dbname=... user=... password="
connection="host=localhost port=4321 dbname=mydb user=mjackson password="
# Hint: you can alternatively connect to a server with limited database access (or VPN) like this:
# ssh -L4321:vidte:5432 -L2222:vidte:22 kazi.fit.vutbr.cz
# sshfs -p 2222 localhost:/mnt/data/datasets /mnt/vidte
# Recommendation:
# You can use an empty password in case you have it in your home folder
# ~/.pgpass (%APPDATA%\postgresql\pgpass.conf on Windows) as:
# localhost:4321:*:vidte:dummypassword
#### SQLite connection ####
# SQLite databases folder. It must contain vtapi_public.db and a database for each dataset (vtapi_XXX.db)
# example of contents: vtapi_public.db, vtapi_mytestdataset.db, vtapi_sin12.db
dbfolder="/mnt/vtapi/sqlite"
############## Error messaging ##############
# Uncomment for verbose output (all queries and warnings)
verbose
# Specify log file (empty for standard error output)
log=""
############## Input/output ##############
# Output format [standard|csv|html]
format="csv"
# Don't use this yet
#input=""
#output=""
# Limit number of rows retrieved at once per query (0 - unlimited)
querylimit=10000
# Limit amount of printed array elements (0 - unlimited)
arraylimit=10
############## Workload specification (WHERE clause) ##############
# You can set [dataset|sequence|selection|method|process] to work with
dataset="test"
#sequence=""
#selection=""
#method=""
#process=""