Skip to content

Commit f4ece00

Browse files
AUTO: Sync ScalarDB docs in English to docs site repo (#611)
Co-authored-by: josh-wong <[email protected]>
1 parent 28dea99 commit f4ece00

File tree

1 file changed

+17
-3
lines changed

1 file changed

+17
-3
lines changed

docs/configurations.mdx

Lines changed: 17 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -96,16 +96,30 @@ Select a database to see the configurations available for each storage.
9696

9797
:::note
9898

99-
If you use SQLite3 as a JDBC database, you must set `scalar.db.contact_points` as follows.
99+
#### SQLite3
100+
101+
If you're using SQLite3 as a JDBC database, you must set `scalar.db.contact_points` as follows:
100102

101103
```properties
102104
scalar.db.contact_points=jdbc:sqlite:<YOUR_DB>.sqlite3?busy_timeout=10000
103105
```
104106

105-
Unlike other JDBC databases, [SQLite3 does not fully support concurrent access](https://www.sqlite.org/lang_transaction.html).
106-
To avoid frequent errors caused internally by [`SQLITE_BUSY`](https://www.sqlite.org/rescode.html#busy), we recommend setting a [`busy_timeout`](https://www.sqlite.org/c3ref/busy_timeout.html) parameter.
107+
Unlike other JDBC databases, [SQLite3 doesn't fully support concurrent access](https://www.sqlite.org/lang_transaction.html). To avoid frequent errors caused internally by [`SQLITE_BUSY`](https://www.sqlite.org/rescode.html#busy), setting a [`busy_timeout`](https://www.sqlite.org/c3ref/busy_timeout.html) parameter is recommended.
108+
109+
#### YugabyteDB
110+
111+
If you're using YugabyteDB as a JDBC database, you can specify multiple endpoints in `scalar.db.contact_points` as follows:
112+
113+
```properties
114+
scalar.db.contact_points=jdbc:yugabytedb://127.0.0.1:5433\\,127.0.0.2:5433\\,127.0.0.3:5433/?load-balance=true
115+
```
116+
117+
Multiple endpoints should be separated by escaped commas.
118+
119+
For information on YugabyteDB's smart driver and load balancing, see [YugabyteDB smart drivers for YSQL](https://docs.yugabyte.com/preview/drivers-orms/smart-drivers/).
107120

108121
:::
122+
109123
</TabItem>
110124
<TabItem value="DynamoDB" label="DynamoDB">
111125
The following configurations are available for DynamoDB:

0 commit comments

Comments
 (0)