liquibase-tablespace-name

The liquibase-tablespace-name global parameter is a string that sets which tablespace Liquibase uses to store objects that are being deployed to your database.

liquibase-tablespace-name only affects objects managed by Liquibase, the DATABASECHANGELOG and DATABASECHANGELOGLOCK tracking tables.

Uses

Each type of database allocates its own default tablespaces in memory, such as SYSTEM and SYSAUX in Oracle. You can set liquibase-tablespace-name to one of these values. Alternatively, you can create an additional tablespace and set it as the value of liquibase-tablespace-name.

Syntax

For more information, see Working with Command Parameters. You can set this parameter in the following ways:

Option Syntax
Liquibase properties file
liquibase.liquibaseTablespaceName: <string>
Global CLI parameter
liquibase
 --liquibase-tablespace-name=<string> update
 --changelog-file=mychangelog.xml

JVM system property

JAVA_OPTS Environment Variable

macOS/Linux:
JAVA_OPTS=-Dliquibase.liquibaseTablespaceName=<string>
Windows:
set JAVA_OPTS=-Dliquibase.liquibaseTablespaceName=<string>
Liquibase Environment Variables macOS/Linux:
LIQUIBASE_LIQUIBASE_TABLESPACE_NAME=<string>
Windows:
set LIQUIBASE_LIQUIBASE_TABLESPACE_NAME=<string>

Note: These commands only apply to the current shell. To set permanent environment variables, see Liquibase Environment Variables.

Related links