Tableau Server Repository

Tableau Server Repository is a database that stores server data. This data includes information about Tableau Server users, groups and group assignments, permissions, projects, data sources, workbooks, and extract metadata and refresh information.

The Repository is also referred to as the PostgreSQL repository or database .

Process Repository
Status Status of the Repository is visible on the Status Page. For more information, see View Server Process Status
Logging Logs generated by the repository are located in /var/opt/tableau/tableau_server/data/tabsvc/logs/pgsql. For more information, see Tableau Server Logs and Log File Locations

Preferred active repository

When you configure Tableau Server you have the option to specify a node as the preferred active repository. When Tableau Server is configured for repository failover, the preferred active repository node is the one used for the active repository. This is an optional step, and if you do not specify a preferred active repository node, Tableau Server will select the active repository node on startup.

To configure the preferred active repository, use the tsm configuration set command to configure the pgsql.preferred_host option:

tsm configuration set -k pgsql.preferred_host -v "<host_name>"

Note: The host_name is case-sensitive and must match the node name shown in the output of tsm status -v.

Configure a preferred active repository node if you want Tableau Server to select a specific node on startup. You might want to do this if you have a particular server you want to use for your active repository (a computer with more disk space or memory for example), or if you are using custom administrative views. Custom administrative views have embedded connection information that refers to the repository for which you created the views. For more information on connecting to the Tableau Server repository, see Collect Data with the Tableau Server Repository

The failoverrepository Command

If failover occurs and your passive repository becomes the active repository, it remains the active repository until either Tableau Server restarts or you use the tsm topology failover-repository command to switch back. Specify the repository you want to be the active one, or specify that the preferred active repository (if configured) should be made active again. For more information, see tsm topology failover-repository.



Thanks for your feedback!Your feedback has been successfully submitted. Thank you!