--- Title: crdb-cli crdb update alwaysopen: false categories: - docs - operate - rs description: Updates the configuration of an Active-Active database. linkTitle: update weight: $weight url: '/operate/rs/7.4/references/cli-utilities/crdb-cli/crdb/update/' --- Updates the configuration of an Active-Active database. ```sh crdb-cli crdb update --crdb-guid [--no-wait] [--force] [--default-db-config ] [--default-db-config-file ] [--compression <0-6>] [--causal-consistency { true | false } ] [--credentials id=,username=,password= ] [--encryption { true | false } ] [--oss-cluster { true | false } ] [--featureset-version { true | false } ] [--memory-size ] [--bigstore-ram-size ] [--eviction-policy { noeviction | allkeys-lru | allkeys-lfu | allkeys-random | volatile-lru | volatile-lfu | volatile-random | volatile-ttl }] [--update-module name=,featureset_version=] ``` If you want to change the configuration of the local instance only, use [`rladmin`]({{< relref "/operate/rs/7.4/references/cli-utilities/rladmin" >}}) instead. ### Parameters | Parameter | Value | Description | |---------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | crdb-guid \ | string | GUID of the Active-Active database (required) | | bigstore-ram-size \ | size in bytes, kilobytes (KB), or gigabytes (GB) | Maximum RAM limit for the databases with Auto Tiering enabled, if activated | | memory-size \ | size in bytes, kilobytes (KB), or gigabytes (GB) | Maximum database memory (required) | | causal-consistency | true
false | [Causal consistency]({{< relref "/operate/rs/7.4/databases/active-active/causal-consistency.md" >}}) applies updates to all instances in the order they were received | | compression | 0-6 | The level of data compression:

0 = No compression

6 = High compression and resource load (Default: 3) | | credentials id=\,username=\,password=\ | strings | Updates the credentials for access to the instance | | default-db-config \ | | Default database configuration from stdin | | default-db-config-file \ | filepath | Default database configuration from file | | encryption | true
false | Activates or deactivates encryption | | force | | Force an update even if there are no changes | | no-wait | | Do not wait for the command to finish | | oss-cluster | true
false | Activates or deactivates OSS Cluster mode | | eviction-policy | noeviction
allkeys-lru
allkeys-lfu
allkeys-random
volatile-lru
volatile-lfu
volatile-random
volatile-ttl | Updates [eviction policy]({{< relref "/operate/rs/7.4/databases/memory-performance/eviction-policy" >}}) | | featureset-version | true
false | Updates to latest FeatureSet version | | update-module name=\,featureset_version=\ | strings | Update a module to the specified version | ### Returns Returns the task ID of the task that is updating the database. If `--no-wait` is specified, the command exits. Otherwise, it will wait for the database to be updated and then return "finished." ### Example ```sh $ crdb-cli crdb update --crdb-guid 968d586c-e12d-4b8f-8473-42eb88d0a3a2 --memory-size 2GBTask 7e98efc1-8233-4578-9e0c-cdc854b8af9e created ---> Status changed: queued -> started ---> Status changed: started -> finished ```