-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathsql-transactor.properties
137 lines (85 loc) · 3.87 KB
/
sql-transactor.properties
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
124
125
126
127
128
129
130
131
132
133
134
135
################################################################
protocol=sql
host=localhost
port=4334
################################################################
# See http://docs.datomic.com/storage.html
license-key=G4HKoIF5atZs/XpjrsTsUJuwRdtmIee/iGL0YfEuBQ9uGqx5VA\
3Es5rK2Uw6ftp2LvV8rtPPBLtTqjo/+6FWjJ+x/+AHbgw+8pEM51+DqYNnd7Vv\
H/6pCF8ug5FPHP8DOJVvRIk5c4mfrczeOyftZG3PJR38+MbMJSRGVd6ovkrqHW\
Wg/9Bk8zClX8KFCz60Kd5fhjeblPfP6+jpPOu4aV04Yxt6koKFz0vk091p3UV9\
Rog2uef26lnhRDCCqyKssNRcdFgiCQW2zdJVxjcWVB1T4/2WEzcvVf2vIqg0fC\
CRqbdT0EQju2mafx4UGK84ImSr2xehToFCNNI6wjVIxg==
################################################################
# See http://docs.datomic.com/storage.html
sql-url=jdbc:postgresql://ec2-54-204-3-200.compute-1.amazonaws.com:5432/d6v7sp5mnmdppt
sql-user=mzoycjylbthpou
sql-password=5oEebeL5KSy5uqRmyYgWCYJvu_
# The Postgres driver is included with Datomic. For other SQL
# databases, you will need to install the driver on the
# transactor classpath, by copying the file into lib/,
# and place the driver on your peer's classpath.
sql-driver-class=org.postgresql.Driver
# Driver specified params, as semicolon-separated pairs.
# Optional
#sql-driver-params=ssl=true&sslfactory=org.postgresql.ssl.NonValidatingFactory
sql-driver-params=ssl=true;sslfactory=org.postgresql.ssl.NonValidatingFactory
# The query used to validate JDBC connection.
# Optional
# sql-validation-query=select 1
################################################################
# See http://docs.datomic.com/capacity.html
# Recommended settings for -Xmx4g production usage.
# memory-index-threshold=32m
# memory-index-max=512m
# object-cache-max=1g
# Recommended settings for -Xmx1g usage, e.g. dev laptops.
memory-index-threshold=32m
memory-index-max=256m
object-cache-max=128m
## OPTIONAL ####################################################
# Set to false to disable SSL between the peers and the transactor.
# Default: true
# encrypt-channel=true
# Data directory is used for dev: and free: storage, and
# as a temporary directory for all storages.
# data-dir=data
# Transactor will log here, see bin/logback.xml to configure logging.
# log-dir=log
# Transactor will write process pid here on startup
# pid-file=transactor.pid
## OPTIONAL ####################################################
# See http://docs.datomic.com/storage.html
# Memcached configuration.
# memcached=host:port,host:port,...
# memcached-username=datomic
# memcached-password=datomic
## OPTIONAL ####################################################
# See http://docs.datomic.com/capacity.html
# Soft limit on the number of concurrent writes to storage.
# Default: 4, Miniumum: 2
# write-concurrency=4
# Soft limit on the number of concurrent reads to storage.
# Default: 2 times write-concurrency, Miniumum: 2
# read-concurrency=8
## OPTIONAL ####################################################
# See http://docs.datomic.com/aws.html
# Optional settings for rotating logs to S3
# (Can be auto-generated by bin/datomic ensure-transactor.)
# aws-s3-log-bucket-id=
## OPTIONAL ####################################################
# See http://docs.datomic.com/aws.html
# Optional settings for Cloudwatch metrics.
# (Can be auto-generated by bin/datomic ensure-transactor.)
# aws-cloudwatch-region=
# Pick a unique name to distinguish transactor metrics from different systems.
# aws-cloudwatch-dimension-value=your-system-name
## OPTIONAL ####################################################
# See http://docs.datomic.com/ha.html
# # The transactor will write a heartbeat into storage on this interval.
# A standby transactor will take over if it sees the heartbeat go
# unwritten for 2x this interval. If your transactor load leads to
# long gc pauses, you can increase this number to prevent the standby
# transactor from unnecessarily taking over during a long gc pause.
# Default: 5000, Miniumum: 5000
# heartbeat-interval-msec=5000