Skip to the content
Documentation
Help Start
Reading in:
  • German: 9,199 of 9,199 pages
About the help in other languages
All help pages

site.ini [CouchbaseSettings]

The settings of [CouchbaseSettings] in site.ini: Scope, ScanConsistency, TransactionTimeout, DurabilityLevel, TLS, TLSCAFile, TLSVerifyPeer, ConnectTimeout ...

Download as PDF

Address: https://doc.exponential.earth/learninminutes/exphelp/viewer/examples/ini-settings/site/CouchbaseSettings.md

On this page

site.ini [CouchbaseSettings]

The block [CouchbaseSettings] of settings/site.ini, with 13 setting(s).

Couchbase (expCouchbaseDB): a data table connection, or an import source, in a scope of a Couchbase bucket through the
Query service's SQL++ (REST, PHP's curl extension). Server is the Query service's node or nodes, Port 8093 (18093
with TLS), Database bucket.scope (a bucket alone: its _default scope). Guide: doc/eng-us/features/6.0/couchbase-driver.md

Never edit settings/site.ini itself: an update replaces it. Put the settings you change in an override, which wins over the shipped file:

  • settings/override/site.ini.append.php for every siteaccess,
  • settings/siteaccess/<siteaccess>/site.ini.append.php for one siteaccess,
  • extension/<extension>/settings/site.ini.append.php in an extension (read when the extension is active).

Scope

The scope when Database names the bucket alone; empty: _default

Default: empty.

<?php /* #?ini charset="utf-8"?
# settings/override/site.ini.append.php
[CouchbaseSettings]
Scope=
*/ ?>

ScanConsistency

request_plus: a read through an index waits until the index has every write before it (exact; slower after writes)
not_bounded: the index as it is (fast; may miss the last writes); auto: request_plus after this connection wrote

Default: request_plus.

<?php /* #?ini charset="utf-8"?
# settings/override/site.ini.append.php
[CouchbaseSettings]
ScanConsistency=request_plus
*/ ?>

TransactionTimeout

The longest a transaction may stay open (a Go duration: 120s, 2m)

Default: 120s.

<?php /* #?ini charset="utf-8"?
# settings/override/site.ini.append.php
[CouchbaseSettings]
TransactionTimeout=120s
*/ ?>

DurabilityLevel

Of a transaction's writes: empty (the server's default, majority), none, majority, majorityAndPersistActive,
persistToMajority. On a bucket with replicas and one node, none

Default: empty.

<?php /* #?ini charset="utf-8"?
# settings/override/site.ini.append.php
[CouchbaseSettings]
DurabilityLevel=
*/ ?>

TLS

TLS to the Query service (https; a node written as https://host:18093 turns it on for that node)

Default: disabled.

<?php /* #?ini charset="utf-8"?
# settings/override/site.ini.append.php
[CouchbaseSettings]
TLS=disabled
*/ ?>

TLSCAFile

Default: empty.

<?php /* #?ini charset="utf-8"?
# settings/override/site.ini.append.php
[CouchbaseSettings]
TLSCAFile=
*/ ?>

TLSVerifyPeer

Default: enabled.

<?php /* #?ini charset="utf-8"?
# settings/override/site.ini.append.php
[CouchbaseSettings]
TLSVerifyPeer=enabled
*/ ?>

ConnectTimeout

Seconds

Default: 5.

<?php /* #?ini charset="utf-8"?
# settings/override/site.ini.append.php
[CouchbaseSettings]
ConnectTimeout=5
*/ ?>

RequestTimeout

Default: 75.

<?php /* #?ini charset="utf-8"?
# settings/override/site.ini.append.php
[CouchbaseSettings]
RequestTimeout=75
*/ ?>

AutoCreateScope

Make the scope of Database when it is missing

Default: disabled.

<?php /* #?ini charset="utf-8"?
# settings/override/site.ini.append.php
[CouchbaseSettings]
AutoCreateScope=disabled
*/ ?>

PrimaryIndex

A primary index on every collection the driver makes (needed for statements no other index serves)

Default: enabled.

<?php /* #?ini charset="utf-8"?
# settings/override/site.ini.append.php
[CouchbaseSettings]
PrimaryIndex=enabled
*/ ?>

IndexWait

Seconds to wait for the indexes of a new collection to come online

Default: 120.

<?php /* #?ini charset="utf-8"?
# settings/override/site.ini.append.php
[CouchbaseSettings]
IndexWait=120
*/ ?>

TranslationCache

SELECTs whose SQL++ is kept per connection

Default: 500.

<?php /* #?ini charset="utf-8"?
# settings/override/site.ini.append.php
[CouchbaseSettings]
TranslationCache=500
*/ ?>

Generated by ./console exp:help:examples from settings/site.ini. Do not edit this page: change the source and generate again (how). Free documentation: GFDL 1.3 or later.

Something wrong on this page? Report an error

Documentation license

This documentation is free documentation, licensed under the GNU Free Documentation License 1.3 or later.

Exponential Copyright © 1998-2026 Exponential Foundation and 7x