Spotfire database setup
The Spotfire database is an important part of the Spotfire environment. Depending on which method you use for your installations, you configure the database before or after installing the server.
The Spotfire environment supports a number of different database systems. See system requirements for the list of supported databases.
- If you plan to prepare the Spotfire database using the command-line command create-db, then you must install Spotfire Server first to get access to the command-line configuration commands. This option is usually preferred when installation and upgrades are done using an automated process or when running the Spotfire Server in a containerized environment.
- If you plan to prepare the Spotfire database using the scripts included in the installation package, then you often do this before running the server installer. This option can be used when the person installing the Spotfire Server is not the same person as the database administrator. See the subsection for your specific database for details.
- To create and configure the Spotfire databases in a containerized environment, use the Cloud Deployment Kit for Spotfire on GitHub or the prebuilt container images. See create-db for details and examples on how to use the command with the different database types.
- You can also use the configuration tool to create the database schemas as a part of your installation or upgrade process.
This is an overview of the various supported systems and the parameters needed for configuration:
PostgreSQL
The driver class is always
org.postgresql.Driver for PostgreSQL databases.
| Database | Url used by create-db | Url for bootstrapping | Additional parameters |
|---|---|---|---|
| PostgreSQL | jdbc:postgresql://databasehost:databaseport/ | jdbc:postgresql://databasehost:databaseport/databasename | |
| Amazon RDS for PostgreSQL | jdbc:postgresql://databasehost:databaseport/databasename | jdbc:postgresql://databasehost:databaseport/databasename | doNotCreateUser = true |
| Amazon Aurora with PostgreSQL compatibility | jdbc:postgresql://databasehost:databaseport/databasename | jdbc:postgresql://databasehost:databaseport/databasename | doNotCreateUser = true |
| Azure Database for PostgreSQL | jdbc:postgresql://databasehost:databaseport/databasename | jdbc:postgresql://databasehost:databaseport/databasename | doNotCreateUser = true |
| Google Cloud PostgreSQL | jdbc:postgresql://databasehost:databaseport/ | jdbc:postgresql://databasehost:databaseport/databasename | doNotCreateUser = true |
Microsoft SQL Server
The driver class is always
com.microsoft.sqlserver.jdbc.SQLServerDriver for
Microsoft SQL Server databases.
| Database | Url used by create-db | Url for bootstrapping | Additional parameters |
|---|---|---|---|
| Microsoft SQL Server | jdbc:sqlserver://databasehost:databaseport | jdbc:sqlserver://databasehost:databaseport;DatabaseName=databasename | |
| Amazon RDS for Microsoft SQL Server | jdbc:sqlserver://databasehost:databaseport | jdbc:sqlserver://databasehost:databaseport;DatabaseName=databaseName | variant = rds |
| Azure SQL Database | jdbc:sqlserver://databasehost:databaseport | jdbc:sqlserver://databasehost:databaseport;DatabaseName=databaseName | variant = azure |
| Google Cloud SQL for Microsoft SQL Server | jdbc:sqlserver://databasehost:databaseport | jdbc:sqlserver://databasehost:databaseport;DatabaseName=databaseName | variant = google |
Oracle
The driver class is always
oracle.jdbc.OracleDriver for Oracle databases.
| Database | Url used by create-db | Url for bootstrapping | Additional parameters |
|---|---|---|---|
| Oracle | jdbc:oracle:thin:@//databasehost:databaseport/service | jdbc:oracle:thin:@//databasehost:databaseport/service | oracleRootfolder, oracleTablespacePrefix |
| Amazon RDS for Oracle | jdbc:oracle:thin:@databasehost:databaseport/ORCL | jdbc:oracle:thin:@databasehost:databaseport/ORCL | variant = rds |
- Setting up the Spotfire database (PostgreSQL)
There are multiple ways to set up a PostgreSQL server for storing the Spotfire database, as discussed in previous sections. This topic lists more information about some parameters you must provide, and detailed steps for setting up the database using the provided scripts. - Setting up the Spotfire database (SQL Server)
There are multiple ways to set up a SQL Server database server for storing the Spotfire database, as discussed in previous sections. This topic lists more information about some parameters you must provide, and detailed steps for setting up the database using the provided scripts. - Setting up the Spotfire database (Oracle)
There are multiple ways to set up an Oracle server for storing the Spotfire database, as discussed in previous sections. This topic lists more information about some parameters you must provide, and detailed steps for setting up the database using the provided scripts. - The Spotfire database scripts
The Spotfire Server installation file that you have downloaded from the Spotfire Download site (SPOT_sfire_server_version_win.zip (Windows) or SPOT_sfire_server_version_linux.tar (Linux)) contains a number of scripts that can be used for setting up a Spotfire database.
- Setting up the Spotfire database (PostgreSQL)
There are multiple ways to set up a PostgreSQL server for storing the Spotfire database, as discussed in previous sections. This topic lists more information about some parameters you must provide, and detailed steps for setting up the database using the provided scripts. - Setting up the Spotfire database (SQL Server)
There are multiple ways to set up a SQL Server database server for storing the Spotfire database, as discussed in previous sections. This topic lists more information about some parameters you must provide, and detailed steps for setting up the database using the provided scripts. - Setting up the Spotfire database (Oracle)
There are multiple ways to set up an Oracle server for storing the Spotfire database, as discussed in previous sections. This topic lists more information about some parameters you must provide, and detailed steps for setting up the database using the provided scripts. - The Spotfire database scripts
The Spotfire Server installation file that you have downloaded from the Spotfire Download site (SPOT_sfire_server_version_win.zip (Windows) or SPOT_sfire_server_version_linux.tar (Linux)) contains a number of scripts that can be used for setting up a Spotfire database.