create-db
Creates the Spotfire database schema.
create-db
<-c value | --driver-class=value>
<--database-url=value>
[--admin-username=value]
[--admin-password=value]
[--spotfiredb-dbname=value]
[--spotfiredb-username=value]
[--spotfiredb-password=value]
[-v value | --variant=value]
[-r value | --oracle-rootfolder=value]
[-t value | --oracle-tablespace-prefix=value]
[-a | --do-not-create-user]
[-n | --no-prompt]
[--timeout-seconds=value]
Overview
Use this command to create a Spotfire database schema and populate default data in the appropriate tables.
For instructions on using
create-db
to create a database for one of the
supported database types (Postgres, MSSQL, Oracle) for either on-premises or
cloud (Google Cloud, AWS, or Azure) deployments, see
Creating a Spotfire database using the command create-db.
(This section of the help also provides examples of running this command for
different scenarios.)
Options
Option | Optional or Required | Default Value | Description |
---|---|---|---|
|
Required | none | Specifies the name of the JDBC driver class. |
|
Required | none | Specifies the JDBC URL to the database. Because this argument usually contains special characters, be sure to escape those characters, or to enclose the values between quotes. |
|
Optional | none | Specifies the user name of the database administrator. |
|
Optional | none | Specifies the password of the database
administrator. If no admin password is given, then the tool prompts for the
password. If the
--no-prompt flag is given, no prompt for the
password is displayed.
|
|
Optional only for the Oracle database driver; otherwise required | none | Specifies the name of the Spotfire database. |
|
Optional | none | Specifies the user name for the Spotfire database. |
|
Optional | none | Specifies the password for the Spotfire
database. If no Spotfire database password is given, then the tool prompts for
the password. If the
--no-prompt flag is given, no prompt for the
password is displayed.
|
|
Optional | none | Specifies the variant for database user
creation.
|
|
Optional except for the Oracle database driver | none | Specifies the Oracle root folder to create the table space. |
|
Optional except for the Oracle database driver | SPOTFIRE
|
Specifies the prefix of the table space
name for Oracle. It appends
'_DATA' and
'_TEMP' during tablespaces creation. Make sure
that it is unique in the database.
|
|
Optional | none | Specifies that the tool does not create a new Spotfire user. |
|
Optional | none | Specifies that the tool does not prompt for missing password arguments. |
|
Optional | 0
|
Specifies the timeout, in seconds, for the operation. |