Workgroups Database

Introduction

The following "data dictionary" provides information about the tables and views in the "workgroup" PostgreSQL database of the Tableau Server repository. This database provides persistent storage for Tableau Server and is primarily intended to support that application.

The purpose of most tables is described, along with the type and purpose of columns in the tables. Foreign key relations are noted in orange rows with links that take you from the table containing the foreign key to the primary key table. This is not an exhaustive description of all tables and fields in the database, but is provided here for those customers who want to query it for information about their Tableau Server usage. This information is provided with a caution that because the purpose of these tables and views is primarily to support Tableau Server, their structure and contents may change without warning and as a result, any custom views built from them may break.

Note: All timestamps are in UTC time.

Contents

Tables (these are available to the "readonly" user)

Table Name Description
allegro.concurrency_limitRun time table for concurrency limit.
allegro.concurrency_limit_configConfig of the concurrency limit.
allegro.rate_limitRun time table for rate limit.
allegro.rate_limit_configConfig of the rate limit.
broadcast.broadcast_viewsHolds the status of broadcast vizzes
broadcast.broadcast_workbooksHolds metadata for broadcasted vizzes on the server.
container_service.container_contentsTable which stores the container contents for container service
container_service.containersTable which stores the containers for container service
credentials_service.credentialsThis table stores credential summary, which does not include the actual credentials.
credentials_service.internal_credentialsThe internal_credentials table holds encrypted credentials.
extensions.extensions_eventsMissing description
extensions.extensions_instancesMissing description
extensions.extensions_metadataMissing description
extensions.safe_listMissing description
extensions.site_settingsMissing description
floweditor.session_storeEach row in the table is a floweditor user session.
hyper_service.hyper_service_capabilitiesThe capabilities of nodes in the cluster
hyper_service.hyper_service_locksThe database entities currently locked in the Hyper Service
hyper_service.hyper_service_migration_databasesThe databases currently being migrated to new Hyper nodes
hyper_service.hyper_service_migrationsThe currently active migrations
hyper_service.hyper_service_nodesThe Hyper nodes currently running in the Hyper Service
messagebus.subscriptionsThe table to hold the subscription request details to handle service recovery
nlp.datasource_usage_statsUsage stats stored for recommendation
nlp.datasourcesThe table to hold semantic model datasource in nlp service
nlp.es_historical_configurationsElastic Search Configuration History for Tableau Server
nlp.eventsStore the last event processed by nlp service
nlp.expressionsVersioned expressions created by user interactions
nlp.fieldsThe table to hold fields of semantic model datasource in nlp service
nlp.jobsStore the enqueued jobs to be processed by nlp service
nlp.linksUser created links, each points to a specific LOD expression
nlp.phrase_recommendation_modelsTrained machine learning models for phrases recommendation
nlp.queriesQueries stored for datasource analytics
nlp.recommendation_statsRecommendation stats extracted from nlp usage data
nlp.visualizationsvisualizations stored for datasource analytics
public.api_tokensRecords for the api tokens
public.asset_key_markerRecords are used to flag a particular record in the asset_key_meta_data table.
public.asset_key_meta_dataEach record holds meta data for an asset encryption key.
public.asset_list_itemsContains the individual list entries that correspond to the lists defined in the asset_lists table.
public.asset_listsThis table supports the creation of various types of per-user lists. The actual list contents are listed in the asset_list_items table.
public.async_jobsRecords information about background tasks that are run in response to some user action (as opposed to being run on some schedule).
public.async_service_requestTable which stores the requests for async services
public.async_service_request_execute_historyTable which stores the execution history for async service request
public.authorizable_permission_setsMany-to-many mapping table between authorizables and permission sets. An authorizable may have a permission set for every permission_set_class.
public.background_jobsRecords information about background tasks that are run by a Backgrounder process. These tasks are almost always run according to some schedule, but in a few cases they may also be triggered by some user actions.
public.background_jobs_cancelBG jobs for which cancellation has been requested
public.big_textsThis table serves as a convenient place to store a big text object, if necessary. It's kind of a utility table. This table is really just used for internal purposes.
public.caching_policiesThis table stores the caching policy configuration for workbooks for which the feature is enabled.
public.capabilitiesHolds a relatively short list of capabilities. A user can be allowed certain capabilities either through being some sort of admin, or through owning something like a workbook or a project, or via entries in the next_gen_permissions table. Capabilities are things like read, write, export_data, publish, web_authoring, etc.
public.capability_rolesThis table serves primarily to associate roles with capabilities. A given role can have many capabilities, and a given capability can be associated with several roles.
public.collection_metrics_aggregationsEach record represents a partial aggregation of analytics for a given collection in a given time interval. It is often necessary to sum across multiple rows to find a total for a given time interval.
public.column_assetsEach record represents a column asset that exists on Tableau Server.
public.command_job_mappingsEach record represents a mapping between an extract command and a background job.
public.comment_attachmentsAttachments for comments.
public.commentsComments users made on views.
public.connected_appsProperties of Connected Apps
public.content_migration_manifestfor storing data related to a content migration
public.content_migrationsfor storing data related to a content migration
public.content_sync_tokenEach record stores the checksum associated to a piece of content
public.content_usageInformation about operations performed on Server content.
public.custom_views_metrics_aggregationsEach record represents a partial aggregation of analytics for a given custom view in a given time interval. It is often necessary to sum across multiple rows to find a total for a given time interval.
public.customized_viewsWhen a user creates a customized view, the data that supports that goes in this table.
public.data_acceleration_schedulefor storing the schedules of data acceleration backgrounder jobs
public.data_alertsEach record represents an alert. An alert is a predefined data conditions on a view, and if conditions are met all alert recipients get notified.
public.data_alerts_recipientsEach record represents the intent of recipient to be notified if an event is triggered.
public.data_connectionsDescribes various data sources that are included in either workbooks or datasources.
public.data_quality_indicatorsTable to store data quality indicators.
public.data_quality_triggersTable to store data quality triggers.
public.data_role_contents_associationRepresents the association between the data_role and other content types.
public.data_role_datasource_field_associationRepresents the association between the data_role and the field on a datasource
public.data_rolesEach record represents an entry of Semantics Service data role metadata.
public.data_update_job_artifactsInformation about files used by data update jobs.
public.database_asset_eventsUsed to store database_asset events stream.
public.database_assetsEach record represents a database that exists on Tableau Server.
public.datasource_eventsUsed to store datasource events stream.
public.datasource_fieldsDescribes datasource fields.
public.datasource_metrics_aggregationsEach record represents a partial aggregation of analytics for a given datasource in a given time interval. It is often necessary to sum across multiple rows to find a total for a given time interval.
public.datasource_refresh_propertiesExtension of datasources table for refresh properties (Online). This is 1-0/1 relationship to datasources table. It is a separate table since it contains Online-specific properties.
public.datasource_versionsDatasource versions saved on server.
public.datasourcesRecords all Published datasources on server.
public.desktop_reportingEach record represents a Tableau Desktop usage report.
public.domainsRecords represent either an Active Directory domain or an authenticate system.
public.draft_metadataEach record represents a workbook draft per site, per project per user.
public.edge_pool_domain_mappingsEach record represents a resource URI managed by edge pool.
public.edge_pool_metadataEach record represents an edge pool.
public.extensions_block_listTable which stores the block list of extensions on this server
public.extensions_eventsTable which stores the events of referenced extensions calculation service
public.extensions_instancesTable which stores referenced extensions information calculated from across the workbooks.
public.extensions_metadataTable which stores Metadata of Extensions.
public.extensions_safe_listTable which stores safe list of extensions that are configured for a given site.
public.extensions_site_settingsTable which stores the site specific settings for extensions
public.external_service_connectionsTable which stores the site specific settings for external service connections
public.external_service_site_settingsTable which stores the site level settings for external services
public.extract_operationsEach record represents an extract create operation on a Tableau workbook.
public.extract_service_commandsTable which stores the extract commands for extract service
public.extract_service_extractsTable which stores the extracts for extract service
public.extract_service_object_queueTable which stores the object queue for extract service
public.extract_service_object_queue_elementTable which stores the object queue for extract service
public.extract_service_resultsTable which stores the extract results for extract service
public.extract_sessionsExtracts that have active vizql sessions.
public.extractsEach record corresponds to a directory that contains one or more extract files associated with either a workbook or datasource.
public.field_indexabilityThe user-defined NLP indexability rules for fields in datasources
public.flow_draftsEach record represents a draft for a Tableau Prep flow that exists on Tableau Server.
public.flow_eventsEach row represents an event affecting a flow
public.flow_input_stepsEach record represents an individual input step from a published Tableau Prep flow.
public.flow_modelsEach row contains model metadata for a flow
public.flow_output_step_runsEach record represents a run of an output step of a flow. See flow_runs for per-flow run history.
public.flow_output_stepsEach record represents an individual output step from a published Maestro flow.
public.flow_output_steps_data_connectionsServes as a linking mechanism between flow output steps, data_connections, and datasources.
public.flow_output_steps_parametersServes as a many to many linking mechanism between flow parameters and flow output steps. An output step can require multiple parameters, and a parameter can be required by multiple output steps.
public.flow_parameter_list_domain_valuesEach record contains a value for the domain for a list type parameter.
public.flow_parameter_list_domainsEach record contains the domain information for a list type parameter.
public.flow_parameter_range_domainsEach record contains the domain information for a range type parameter.
public.flow_parametersEach record represents a parameter for a flow on Tableau Server.
public.flow_run_errorsEach record represents an individual flow run error which has detailed information about the error
public.flow_run_spec_output_stepsEach record represents an individual output step in a flow run specification.
public.flow_run_spec_parametersEach record holds the override value for a parameter.
public.flow_run_specsEach record represents an individual specification about how a Tableau Prep flow should be run
public.flow_runsEach record represents a run of a flow. See flow_output_step_runs for per-output-step run history.
public.flow_runtime_ownersTable to keep track of flow/flow output step owner at flow run time. Used to calculate derived permission on flow outputs.
public.flow_user_settingsEach record represents a users selected settings for a Prep flow.
public.flow_versionsflow versions saved on server.
public.flowsEach record represents a Tableau Prep flow that exists on Tableau Server.
public.geocodingInformation about geocoding databases.
public.global_geocodingInformation about global geocoding databases.
public.group_usersServes as a many to many linking mechanism between users and groups. A user can belong to multiple groups, and a group can contain multiple users.
public.groupsA grouping of users. Can be locally created or imported from Active Directory.
public.hist_capabilitiesRecords the most useful information about a capability that was relevant at the time of the event (see capabilities table).
public.hist_collectionsRecords the most useful information about a collection that was relevant at the time of the event.
public.hist_column_assetsRecords the most useful information about a column that was relevant at the time of the event (see column_assets table).
public.hist_commentsRecords the most useful information about a comment that was relevant at the time of the event (see comments table).
public.hist_configsCan be used to record information about configuration that was in effect at the time of the historical event.
public.hist_data_connectionsRecords the most useful information about a data connection that was relevant at the time of the event (see data_connections table).
public.hist_data_quality_indicatorsRecords the most useful information about a data quality indicator that was relevant at the time of the event (see data_quality_indicators table).
public.hist_data_rolesRecords the most useful information about a data role that was relevant at the time of the event (see data_roles table).
public.hist_database_assetsRecords the most useful information about a database that was relevant at the time of the event (see database_assets table).
public.hist_datasourcesRecords the most useful information about a data source that was relevant at the time of the event (see datasources table).
public.hist_flow_draftsRecords the most useful information about a flow draft that was relevant at the time of the event (see flow_drafts table).
public.hist_flowsRecords the most useful information about a flow that was relevant at the time of the event (see flows table).
public.hist_groupsRecords the most useful information about a group that was relevant at the time of the event (see groups table).
public.hist_licensing_rolesRecords the most useful information about a licensing role that was relevant at the time of the event (see licensing_roles table).
public.hist_metricsRecords the most useful information about a metric that was relevant at the time of the event (see metrics table).
public.hist_projectsRecords the most useful information about a project that was relevant at the time of the event (see projects table).
public.hist_published_connectionsRecords the most useful information about a published connection that was relevant at the time of the event (see published_connections table).
public.hist_remote_agentsRecords the most useful information about a remote agent that was relevant at the time of the event.
public.hist_schedulesRecords the most useful information about a schedule that was relevant at the time of the event (see schedules table).
public.hist_sitesRecords the most useful information about a site that was relevant at the time of the event (see sites table).
public.hist_table_assetsRecords the most useful information about a table that was relevant at the time of the event (see table_assets table).
public.hist_tagsRecords the most useful information about a tag that was relevant at the time of the event (see tags table).
public.hist_tasksRecords the most useful information about a task that was relevant at the time of the event (see tasks table).
public.hist_usersRecords the most useful information about a user and corresponding system_user that was relevant at the time of the event (see users and system_users tables).
public.hist_viewsRecords the most useful information about a view that was relevant at the time of the event (see views table).
public.hist_workbooksRecords the most useful information about a workbook that was relevant at the time of the event (see workbooks table).
public.historical_disk_usageRecords historical disk utilization by Tableau Server for storage monitoring.
public.historical_event_typesThe types of historical events which can be recorded.
public.historical_eventsThis table is the heart of the cluster of tables devoted to historical event auditing. For each event, a record is created on this table. The type of event is indicated through historical_event_type_id, which links to the historical_event_types table. Other information relevant to the event is linked through some of the other id fields in this table. Note these links go to other hist* tables, which allows the event to refer to things that might have since been deleted from the regular tables.
public.http_requestsEach record represents a request received by Tableau Server.
public.hyper_data_update_jobsEach record represents a data update job for a live-to-Hyper connection.
public.hyper_databasesInformation about Hyper databases.
public.hyper_databases_validationStores hyper databases which went through validation.
public.id__ad_identity_storesIdentities for Active Directory identity stores.
public.id__identity_store_instancesInstances of identity stores.
public.id__identity_store_typesTypes of identity stores.
public.id__ldap_identity_storesIdentities for LDAP identity stores.
public.id__local_identity_storesIdentities for Local identity stores.
public.identity_based_activation_reportingLogin-based License Management (LBLM) - NOTE: For any custom vizzes or reporting, it is recommended instead to use the View identity_based_activation_admin_view. In this table each row contains important dates with regard to ATR Issuing and Login-based License Usage for a given User, Site, Device and Product combination.
public.identity_based_activation_user_role_changeLogin-based License Management (LBLM) - NOTE: For any custom vizzes or reporting, it is recommended instead to use the View identity_based_activation_admin_view. This table tracks site role creator changes for each given user on a given site.
public.jwt_infoRecords for the JWT token ids
public.language_prefsContains a listing of information about languages for which Tableau Server has been localized.
public.last_seen_user_notificationsThis table stores the last seen notification time for each user.
public.lens_content_relationshipsRepresents the relationship between the lens and other content types.
public.lens_datasource_associationsRepresents the association between the lens and the source datasources for a lens.
public.lens_fieldsTable to store fields associated with lenses
public.lensesRepresents the table for storing lenses.
public.licensing_rolesLists the various possible licensing scenarios. (Unlicensed, Guest, Viewer, or Interactor).
public.linked_task_actionsStores an action for a linked task step.
public.linked_task_child_jobsA job for a child step of a linked task.
public.linked_task_jobsA specific run of a a linked task.
public.linked_task_stepsStores a step for a linked task.
public.linked_task_triggersA trigger for a linked task. Will fire on completion on the associated task.
public.linked_tasksStores linked tasks, which allow users to specify tasks to run after each other in sequence.
public.local_namesContains translations of certain words or phrases that are relevant to some Tableau Server database constructs.
public.materialize_views_job_sos_directoryEach row in the table is a mapping of a workbook id and revision in a materialize views job to the sos directories that the job requires.
public.materialized_queriesThis table stores the information for materialized queries.
public.materialized_sheets_to_queriesEnabled sheets and materialized queries are many to many relation. This table stores the mapping between sheets and materialized queries.
public.materialized_viewsThis table stores the materialized views for queries in workbooks.
public.materialized_views_bloom_filtersThis table stores the bloom filters indicating materialized sites/workbooks.
public.materialized_views_connectionsThis table stores the information required to fetch materialized views files from the server where they are stored.
public.materialized_views_job_statsThis table stores daily aggregated materialized views job stats.
public.materialized_views_metadataThis table stores the metadata for the materialized view service.
public.materialized_views_object_statusThis table stores the materialized views state configuration for objects for which the feature is enabled.
public.materialized_views_query_storefor storing logical queries and their stats from the traffic
public.materialized_views_sheet_performanceThis table stores daily aggregated materialized views job stats.
public.materialized_views_sheet_statusThis table stores the materialized views state configuration for worksheets for which the feature is enabled.
public.materialized_views_site_resource_limitThis table stores the resource limit for acceleration for each site.
public.mentionsMentions for comments.
public.metric_metrics_aggregationsEach record represents a partial aggregation of analytics for a given metric in a given time interval. It is often necessary to sum across multiple rows to find a total for a given time interval.
public.metricsEach record represents a Metric.
public.metrics_definitionEach record represents a metrics definition.
public.metrics_snapshotEach record represents a metrics snapshot.
public.metrics_snapshot_deltaEach record represents a metrics snapshot delta.
public.metrics_viewEach record represents a metrics view.
public.mobile_security_server_settingsA key-value store for mobile secuirty server settings.
public.mobile_security_site_settingsA key-value store for mobile security site settings.
public.most_recent_refreshesmost recent refresh data for alerts
public.most_recent_subscription_runsmost recent subscription runs data for suspend subscriptions
public.mru_list_entriesHolds most recently used list entries. The records here are linked to the lists to which they belong. Those lists are defined in the mru_lists table.
public.mru_listsMost recently used lists by user. The actual list contents are in the mru_list_entries table.
public.next_gen_permissionsThis table provides a flexible means of describing which users and groups have been granted which capabilities, on which things. Be aware that permissions is a complex topic and that this table does not contain all relevant information about permissions. For example, some permissions are given, automatically, to owners of workbooks or projects.
public.nlp_suggested_questionsSuggested questions
public.nlp_suggestion_groupsSuggested question groups
public.oauth_authorization_codesOAuth authorization codes
public.oauth_clientsA map that register oauth CI/CS/redierctUri per site per dbclass.
public.oauth_request_tokensTable of tokens used for OAuth authorization requests.
public.oauth_service_code_verifiersShort lived storage for the code verifier used in PKCE requests.
public.password_tokensTokens issued to client through link in email which can be redeemed to change their password
public.pdf_subscription_optionsUsed to store different PDF layout options.
public.pending_search_update_itemsThis table represents an item that is associated with a pending_search_update.
public.permission_reasonsWhen calculating effective permissions in the perm_users_*_capabilities functions, this table maps the integer precedence of the effective permission rule to the varchar effective permission reason. The integer precedence is internal to the stored procedures. The effective permission reason is returned to callers.
public.permission_set_classesRepresents a class of permission sets. Generally 1-to-1 with capabilities.
public.permission_set_itemsRepresents a single next_gen_permission in a permission_set. The columns mirror the next_gen_permissions table.
public.permission_setsRepresents a common set of permissions used by multiple authorizables.
public.permissions_templatesThis table provides a flexible means of describing which users and groups will be granted which capabilities by default, on non-overwrite publishes of workbooks and datasources. Be aware that permissions is a complex topic and that this table does not contain all relevant information about permissions. For example, some permissions are given, automatically, to owners of workbooks or projects.
public.pkce_tokensProof Key for Credential Exchange (RFC 7636) short-lived storage.
public.projectsEach row of the table corresponds to a project on Tableau Server.
public.projects_contentsTable which stores the contents of projects
public.published_connection_revision_tablesRepresents a table of a revision of a published connection.
public.published_connection_revisionsRepresents a revision of a published connection.
public.published_connection_tablesRepresents the published connection table content type.
public.published_connectionsRepresents the published connection content type.
public.querypolicycollectionTable to store query policy collections.
public.quota_definitionsTable which stores all the quota definitions for QuotaService
public.quota_limitsTable which stores the limits info for all quotas for QuotaService
public.quota_usageTable which stores the usage info for all quotas for QuotaService
public.recommendations_dismissed_viewsViews dismissed by user in context of viz recommendations
public.recycle_bin_content_typesContent Type lookup table for Recycle Bin.
public.refresh_token_devicesDevices that have been issued at least one refresh token
public.refresh_tokensTokens issued to clients which can be redeemed by the client for access to the server
public.remote_agentsRegistry of remote agents (Online). Remote agents are programs installed on customer PC and executing tasks on a behalf of a customer. The first example of agent is Tableau Data Sync. It is running in background on customer desktop and performing automatic data source refreshes based on schedules defined by customers.
public.repository_dataThis table forms the link between other tables that need to store "large object" data, and the large object storage, itself.
public.resource_holder_typesInformation about entities which can hold on to resources. For instance workbook is such an entity, it can reference a geocoding database and keep it alive.
public.resource_typesInformation about resources which are used by some server entities. For instance geocoding databases are such resources, a workbook can reference a geocoding database and keep it alive.
public.resource_usageInformation about resources by tableau server entities, for example which geocoding databases are used by which workbooks.
public.rolesThis table contains records corresponding to various classifications of users. It should really be viewed in conjuction with the capabilities and capability_roles tables. Taken together, these tables associate different roles with different sets of capabilities. The capabilities sets serve as templates when creating content.
public.saml_assertions_metadataRecords for the saml assertions
public.schedulesRecords in this table define a schedule according to which certain regular tasks may be performed (see tasks table). They also indicate the next time at which the schedule will be triggered.
public.schema_migrationsThis table tracks which database migrations have been applied to this database.
public.semantics_service_data_source_eventsStores the last data source event processed by semantics service
public.serial_collectionsRecords in this table represent groups of background jobs that should not be run simultaneously.
public.sessionsSettings associated with a user's browser session.
public.share_actionsTable storing share actions.
public.share_contentsTable storing shared content (view/workboook/etc).
public.share_deleted_sharersTable storing deleted sharers backed up details (e.g. name). Needed because we do not cascade delete sharing action after sharer was deleted.
public.share_recipientsTable storing share recipients (users/groups/etc).
public.share_single_user_optionsTable storing single user options on shared content (does not change the content itself).
public.sheet_imagesServes as a cache for all the sheet images generated by server.
public.site_keychainsThis table stores keychains for site, which is used for credentials service V1
public.site_logoscustom logo image metadata for sites
public.site_oidc_configurationsDefines the OpenID Connect IdP associated with a site.
public.site_rolesLists the various possible user site roles.
public.site_saml_configurationsDefines the SAML IdP associated with a site.
public.site_saml_eventsLog table for all SAML actions.
public.site_saml_sessionsRecords the user sessions authenticated by the SiteSAML service.
public.site_saml_usersUsers that are allowed to use Per Site SAML authentication.
public.site_user_prefsSite user preferences.
public.sitesEach record represents a site. Each site holds its own workbooks, datasources, users, etc. Strict isolation between the contents of each site is maintained.
public.slack_version_updateTable which holds flag indicating whether SlackVersionUpdate job has executed. This job is triggered manually before an upcoming Tableau Online release, if it contains new version of Slack app. The trigger will send email to admins of sites, which are connected to Slack. see TFS1302023
public.sos_blob_datatable to store sos file types as binary data
public.sos_blob_data_site_enabledtable with site_luid column to store sos file types as binary data
public.sos_metadataThis table with site_luid column forms the link between other tables that need to store blob data, and the blob storage, itself.
public.sos_virtual_folder_entriesEach record represents a file in a virtual folder currently tracked in Simple Object Storage.
public.sos_virtual_foldersEach record represents a virtual folder currently tracked in Simple Object Storage.
public.ss_custom_value_conceptsThe table to hold value concepts used by semantics service
public.ss_field_conceptsThe table to hold field concepts used by semantics service
public.ss_object_conceptsThe table to hold object concepts used by semantics service
public.ss_ontologiesThe table to hold ontologies used by semantics service
public.subscription_messagesThis table represent a subscription email message.
public.subscriptionsEach record represents a subscription.
public.subscriptions_customized_viewsThis table is used to link various customized views to the subscriptions in which those customized views must be generated and emailed.
public.subscriptions_flow_metadataStores subscriptions metadata, which allow users to subscribe to flow outputs.
public.subscriptions_flowsStores subscriptions flows, which allow users to subscribe to flow outputs.
public.subscriptions_viewsThis table is used to link various views to the subscriptions in which those views must be generated and emailed.
public.subscriptions_workbooksThis table is used to link various workbooks to the subscriptions in which those workbooks must have views generated and emailed.
public.synonymsThe table to hold the synonyms for fields of datasources
public.system_user_identitiesIdentity to SystemUser mappings.
public.system_user_migration_conflictsConflicts when migrating system_user identities.
public.system_user_migration_conflicts_identity_dataIdentity information related to ambiguous results when migrating system_user identities.
public.system_usersEach record represents a user of the server. These records correspond to login identity. A single system_user may potentially be able to login to multiple sites. The linkage between a system_user and their allowed sites is defined through the "users" table.
public.table_asset_eventsUsed to store table_asset events stream.
public.table_asset_sourcesUsed to store mappings between tables and their source.
public.table_assetsEach record represents a table asset that exists on Tableau Server.
public.taggingsAssociates tags with taggable items.
public.tagsEach tag is a string value. A given tag can be associated with many taggable items in a site.
public.tasksServes to connect schedules with background tasks that should be run on that schedule. The schedule is defined in the schedules table, while the task is defined by type.
public.tde_filesInformation about TDE files.
public.tds_datasource_filesThe TDS files.
public.tds_datasource_model_fieldsFields of datasource models.
public.tds_datasource_modelsModel of the datasource.
public.trusted_ticketsThis table lists trusted tickets that have been created. Tickets that are redeemed are deleted once used, hence can only be used once. Tickets that are never redeemed become invalid after the time given by "expires_at" and are eventually deleted from the table automatically.
public.usage_statistics_partition_pastEach record represents a partial aggregation of analytics for content in a given time interval. It is often necessary to sum across multiple rows to find a total for a given time interval.
public.usage_statistics_partition_todayEach record represents a partial aggregation of analytics for content in a given time interval. It is often necessary to sum across multiple rows to find a total for a given time interval.
public.user_default_customized_viewsDefines what customized view a user should see for a given view, by default.
public.user_imagesRepresents images for each associated system user.
public.user_notification_content_reference_list_itemsLists of references to other DB records in user notification content.
public.user_notification_content_referencesReferences to other DB records in user notification content.
public.user_notification_recipientsHolds metadata for all user notification recipients on the server.
public.user_notificationsHolds metadata for all user notifications on the server.
public.user_notifications_server_settingsA key-value store for user notifications server settings.
public.user_notifications_site_settingsA key-value store for user notifications site settings.
public.user_notifications_user_settingsA key-value store for user notifications user settings.
public.user_onboardingsThis table stores onboarding information for tableau features based on system user ids
public.user_prefsContains a variety of preferences for the various system users.
public.usersEach record links a system_users record to a site. The user's site specific settings are captured here.
public.value_synonymsThe user defined synonyms associated with values of fields in datasources
public.view_metrics_aggregationsEach record represents a partial aggregation of analytics for a given view in a given time interval. It is often necessary to sum across multiple rows to find a total for a given time interval.
public.view_refreshed_timestampsThis table stores timestamps at which users click on the refresh button.
public.viewsEach records represents a view in a workbook.
public.views_statsThis table is used to track how many times each user has accessed different views.
public.viz_snapshotsThis table represents a snapshots of viz.
public.viz_statesThis table represents a snapshot of the state of a viz.
public.webhooksHolds metadata for all registered webhooks on the server.
public.workbook_checksumsThis table provides a set of checksums associated with a workbook which can be used to validate existence of a workbook based on its checksum.
public.workbook_eventsUsed to store workbook events stream.
public.workbook_exportsEach row in the table corresponds to a cached pdf file.
public.workbook_extension_connectionsAssociate a workbook with an analytics extension connection.
public.workbook_versionsWorkbook versions saved on server.
public.workbooksEach record represents a workbook that exists on the server.
public.wps_extractsEach record represents an extract.
public.wps_workbooksEach record represents a versioned, per-user, per-site workbook.
recommendations.connection_fieldsfields used in joins (extracted for the joins recommender)
recommendations.connection_tablestables used in a connection in a published or embedded data source
recommendations.connectionsa connection used by a Datasource to connect to an underlying database or data file
recommendations.datasourcesstores published datasource metadata for datasource recs trainer
recommendations.fieldsfield in a data source
recommendations.join_expressionsjoin expressions for TableJoinTrainer
recommendations.joinsstores joins in data sources for the TableJoinTrainer
recommendations.ml_association_rulesthe association rules used by the table recommender
recommendations.ml_factorization_modelsthe collaborative filter model used for data source recommendations
recommendations.ml_last_trainedTrack model loading and training on a per-site basis so it can be resumed if interrupted
recommendations.ml_ranked_datasource_fieldsSelected top fields per datasource and their usage statistics (for published datasources)
recommendations.ml_related_view_predictionsview predictions generated by the trainer
recommendations.ml_viz_recommendations_modelsViz recommendations models. Stores a model per user, site pair.
recommendations.views_jsonViews info stored as json
recommendations.workbooksworkbook metadata extracted for view and data source recommenders
recommendations.worksheet_fieldsmap from extracted worksheet id to field ids
recommendations.worksheetsworksheets, used to map user access counts to datasource access in the datasource trainer
semantics.indexing_statusThis table holds indexing status of field concepts.
webhooks.webhooksHolds metadata for all registered webhooks on the server.

Views (these are available to both the "tableau" and the "readonly" users)

View Name Description
public._background_tasksThis view combines the important contents of both the background_jobs table and the async_jobs table to give an overall picture of jobs that were given to a backgrounder process.
public._commentsComments users made on views.
public._customized_viewsWhen a user creates a customized view, the data that supports that goes in the customized_views table, and is reflected in this view.
public._datasourcesShows all Published datasources on server, along with some associated information.
public._datasources_statsSome historical useage information about datasources. Based on the records that exist in the historical events tables.
public._groupsA grouping of users. Can be locally created or imported from Active Directory. Reflects the contents of the groups table and associated tables.
public._http_requestsEach record represents a request received by Tableau Server. Reflects data in the http_requests table.
public._projectsEach row of the table corresponds to a project on Tableau Server.
public._schedulesRecords define a schedule according to which certain regular tasks may be performed (see tasks table). They also indicate the next time at which the schedule will be triggered.
public._sessionsSettings associated with a user's browser session.
public._sitesEach record represents a site. Each site holds its own workbooks, datasources, users, etc. Strict isolation between the contents of each site is maintained.
public._subscriptionsEach record provides information about subscriptions that are scheduled. Subscriptions are a mechanism for receiving specified content by email on some schedule.
public._system_usersEach record represents a user of the server. These records correspond to login identity. A single system_user may potentially be able to login to multiple sites. The linkage between a system_user and their allowed sites is defined through the "users" table.
public._tagsEach tag is a string value. A given tag can be associated with many taggable items in a site.
public._usersInformation relating to users.
public._viewsEach records represents a view in a workbook.
public._views_statsUsed to track how many times each user has accessed different views.
public._workbooksEach record represents a workbook that exists on the server.
public.identity_based_activation_admin_viewLogin-based License Management (LBLM) - Database view to faciliate Admin Server and Site Views for Login-based License Usage Reporting.
public.users_viewEach record corresponds to a user on the system. The data presented is a combination of user data and data from the linked system_user.
allegro.concurrency_limit: Run time table for concurrency limit.
NameTypeDescription
idintegerPrimary key for the table.
config_key_nametextThe key name of the config.
lease_key_nametextThe key name of the lease item.
token_countintegerThe token count of the lease item.
expire_attimestamp without time zoneThe timestamp for expiring the config.
created_attimestamp without time zoneThe timestamp for creating the config.
updated_attimestamp without time zoneThe timestamp for updating the config.
allegro.concurrency_limit_config: Config of the concurrency limit.
NameTypeDescription
idintegerPrimary key for the config.
key_nametextThe key name of the config.
capacityintegerThe capacity of the config.
created_attimestamp without time zoneThe timestamp for creating the config.
updated_attimestamp without time zoneThe timestamp for updating the config.
allegro.rate_limit: Run time table for rate limit.
NameTypeDescription
idintegerPrimary key for the table.
key_nametextThe key name of the config.
capacitytextThe capacity of the config.
last_refilledtimestamp without time zoneThe last refill timstamp for the config.
availableintegerThe available capacity in seconds.
overridden_capacityintegerThe overridden capacity for the keyname.
strategyintegerThe strategy for the config.
expire_attimestamp without time zoneThe timestamp for expiring the config.
created_attimestamp without time zoneThe timestamp for creating the config.
updated_attimestamp without time zoneThe timestamp for updating the config.
allegro.rate_limit_config: Config of the rate limit.
NameTypeDescription
idintegerPrimary key for the config.
key_nametextThe key name of the config. The format is jobtype:guid.
capacityintegerThe capacity of the config.
refill_at_minuteintegerThe minute of the day to refill the config.
strategyintegerThe strategy for the config.
created_attimestamp without time zoneThe timestamp for creating the config.
updated_attimestamp without time zoneThe timestamp for updating the config.
broadcast.broadcast_views: Holds the status of broadcast vizzes
NameTypeDescription
idintegerSequential id
site_luiduuidThe local site luid
view_luiduuidThe local view luid of the broadcast
workbook_luiduuidThe local workbook luid containing the view luid
broadcast_workbook_luiduuidA "foreign key" to the broadcasted workbook on the remote system
broadcast_workbook_urltextA "foreign key" to the broadcasted workbook on the remote system; specifically the "repo url", which is different than `broadcast_url`
broadcast_view_namecharacter varyingThe name of the view when last updated
broadcast_workbook_namecharacter varyingThe name of the workbook when last updated
broadcast_urltextThe browsable location of the broadcast
broadcast.broadcast_workbooks: Holds metadata for broadcasted vizzes on the server.
NameTypeDescription
idintegerPrimary key for the broadcasted viz.
workbook_idintegerThe server workbook id of the broadcasted viz.
site_idintegerThe site id of the broadcasted viz.
view_luiduuidThe view luid of the broadcast.
container_service.container_contents: Table which stores the container contents for container service
NameTypeDescription
Foreign key/Primary key relation from container_luid on this table to luid on table, container_service.containers
idintegerThe id which uniquely identifies row in the table
content_luiduuidThe content_luid identifies the content from a monolith that the row is indirecty associated with
content_typecharacter varyingThe type of content being represented by the given row
container_luiduuidThe LUID of the container
site_luiduuidThe LUID of the site
namecharacter varyingThe name of the content
requires_name_uniquenessbooleanWhether a piece of content should have a unique name
size_in_bytesbigintThe size of the content in bytes
container_service.containers: Table which stores the containers for container service
NameTypeDescription
idintegerThe id which uniquely identifies row in the table
luiduuidAn immutable identifier for the record.
namecharacter varyingThe name of the container.
site_luiduuidThe site_luid identifies the site that the row is indirecty associated with
owner_luiduuidThe owner_luid identifies the user owner that the row is indirecty associated with
container_typecharacter varyingThe type of container being represented by the given row
created_attimestamp without time zoneThe time at which this record was created.
updated_attimestamp without time zoneThe last time any changes were made to this record.
storage_quotabigintThe total (maximum allowed) storage quota of the container in bytes
credentials_service.credentials: This table stores credential summary, which does not include the actual credentials.
NameTypeDescription
Foreign key/Primary key relation from internal_credential_id on this table to id on table, credentials_service.internal_credentials
idintegerPrimary key for the record.
luiduuidA unique, immutable identifier for the credential.
site_luiduuidThe associated site luid.
owner_typeintegerThe credential owner type.
owner_luiduuidThe credential owner luid.
target_classcharacter varyingThe dsClass this credential belongs to.
target_authcharacter varyingThe authenticationType of this credential.
target_endpointcharacter varyingPart of this credential identifier, usually would be a Database server address.
target_portintegerDatabase server port.
target_user_namecharacter varyingPart of this credential identifier, usually would be a Database username.
target_dbcharacter varyingPart of this credential identifier, can be a database name/project-id.
target_user_rolecharacter varyingUsed when the credential has a "role" property such as Snowflake OAuth.
target_extra_infotextExtra info about the target.
credential_typeintegerType of the credential
internal_credential_idintegerIf not null, it is the id of internal_credentials.
created_attimestamp without time zoneThe time the credential was created.
updated_attimestamp without time zoneThe latest time the credential was updated.
credentials_service.internal_credentials: The internal_credentials table holds encrypted credentials.
NameTypeDescription
idintegerPrimary key for the internal_credential.
asset_key_idintegerIf not null, indicate which asset_key is used to encrypt the data. This info can be get from the asset_key_metadata table.
datacharacter varyingThe encrypted credential.
extensions.extensions_events: Missing description
NameTypeDescription
luiduuidMissing description
workbook_luiduuidMissing description
site_luiduuidMissing description
statusintegerMissing description
created_attimestamp without time zoneMissing description
updated_attimestamp without time zoneMissing description
extensions.extensions_instances: Missing description
NameTypeDescription
Foreign key/Primary key relation from extension_luid on this table to luid on table, extensions.extensions_metadata
luiduuidMissing description
extension_luiduuidMissing description
workbook_luiduuidMissing description
view_luiduuidMissing description
site_luiduuidMissing description
activebooleanMissing description
countintegerMissing description
created_attimestamp without time zoneMissing description
updated_attimestamp without time zoneMissing description
extensions.extensions_metadata: Missing description
NameTypeDescription
luiduuidMissing description
site_luiduuidMissing description
idtextMissing description
typetextMissing description
versiontextMissing description
manifest_versiontextMissing description
min_api_versiontextMissing description
default_localetextMissing description
name_locale_valuetextMissing description
name_locale_resourceidtextMissing description
desc_locale_valuetextMissing description
dec_locale_resourceidtextMissing description
author_nametextMissing description
author_emailtextMissing description
author_orgtextMissing description
author_websitetextMissing description
urltextMissing description
icontextMissing description
installedbooleanMissing description
created_attimestamp without time zoneMissing description
updated_attimestamp without time zoneMissing description
permissionstextMissing description
resourcestextMissing description
extensions.safe_list: Missing description
NameTypeDescription
site_luiduuidMissing description
luiduuidMissing description
urltextMissing description
allow_full_databooleanMissing description
prompt_neededbooleanMissing description
activebooleanMissing description
created_attimestamp without time zoneMissing description
updated_attimestamp without time zoneMissing description
extensions.site_settings: Missing description
NameTypeDescription
site_luiduuidMissing description
luiduuidMissing description
extensions_enabledbooleanMissing description
default_settingbooleanMissing description
activebooleanMissing description
updated_attimestamp without time zoneMissing description
floweditor.session_store: Each row in the table is a floweditor user session.
NameTypeDescription
idbigintPrimary key for the record.
versionintegerThe version of the flow edit session schema.
sessionidcharacter varyingThe sessionid of the flow edit user session.
draftidcharacter varyingThe draftid of the draft for the current user session.
siteidintegerThe site id to enforce site isolation.
workgroupsessionidcharacter varyingThe workgroupsessionid.
useridintegerThe user id.
lastaccesstimetimestamp without time zoneThe timestamp when the row is last accessed.
languagecharacter varyingThe user language .
currentsessiondbnamecharacter varyingThe hyper dbname for the session .
statecharacter varyingState of the session. It can be Active, Expired, Reaped.
serverconfigcharacter varyingThis is either PWA or EMPTY. Required by hyper.
useragentcharacter varyingThe user agent. Required by hyper
noneedcachedbbooleanThe boolean to decide if cache db is required for the session.
site_luidcharacter varyingThe LUID of the site
hyper_service.hyper_service_capabilities: The capabilities of nodes in the cluster
NameTypeDescription
Foreign key/Primary key relation from node_id on this table to id on table, hyper_service.hyper_service_nodes
node_idbigintThe id of the node in hyper_service_nodes with this capability
capabilitycharacter varyingThe capabilities name
min_versioncharacter varyingThe Hyper Service Version for which the capability is active
max_versioncharacter varyingThe Hyper Service Version for which the capability is active
hyper_service.hyper_service_locks: The database entities currently locked in the Hyper Service
NameTypeDescription
Foreign key/Primary key relation from node_id on this table to id on table, hyper_service.hyper_service_nodes
node_idbigintThe id of the node in hyper_service_nodes holding the lock
entity_typeintegerThe entity type of the locked entity. Can be (0=Database, 1=Workspace, 2=Session)
entity_namecharacter varyingThe name of the locked entity
access_modeintegerThe access mode of the locked entity. Can be (0=Shared, 1=Exclusive)
hyper_service.hyper_service_migration_databases: The databases currently being migrated to new Hyper nodes
NameTypeDescription
Foreign key/Primary key relation from entity_type, entity_name on this table to entity_type, entity_name on table, hyper_service.hyper_service_migrations
entity_typeintegerThe type of the entity that the database belongs to. Can be (1=Workspace, 2=Session)
entity_namecharacter varyingThe name of the entity that the database belongs to
database_namecharacter varyingThe name of the database
uploadedbooleanWhether the database has been successfully uploaded
hyper_service.hyper_service_migrations: The currently active migrations
NameTypeDescription
Foreign key/Primary key relation from node_id on this table to id on table, hyper_service.hyper_service_nodes
entity_typeintegerThe type of the entity that is migrated. Can be (1=Workspace, 2=Session)
entity_namecharacter varyingThe name of the entity that is migrated (workspace name or UUIDv4 session identifier)
node_idbigintThe id of the node in hyper_service_nodes that the entity is being migrated from
readybooleanWhether the corresponding databases have been added to hyper_service_migrations_databases
expiration_datetimestamp with time zoneThe expiration date after which the migration will be cleaned up
tenantcharacter varyingThe tenant of the entity that is migrated
resource_poolcharacter varyingThe resource pool of the entity that is migrated
hyper_service.hyper_service_nodes: The Hyper nodes currently running in the Hyper Service
NameTypeDescription
idbigintThe auto-generated identifier for a node in the Hyper Service
resource_poolcharacter varyingThe resource_pool which a node is assigned to
addresscharacter varyingThe address of the host running the Hyper process
portintegerThe port on which Hyper is listening
loaddouble precisionThe load reported by Hyper
last_heartbeattimestamp without time zoneThe last heartbeart from this node
statusintegerThe status of this node. Can be (0=Startup,1=Running, 2=DrainConnections, 3=Shutdown)
versioncharacter varyingThe Hyper version running on the node
lease_timeoutintegerThe timeout value until leases get invalidated in ms
min_hyper_service_versioncharacter varyingThe minimum Hyper Service Version Number supported by the node
max_hyper_service_versioncharacter varyingThe maximum Hyper Service Version Number supported by the node
messagebus.subscriptions: The table to hold the subscription request details to handle service recovery
NameTypeDescription
iduuidThe unique identifier for this row that is automatically generated on insert
created_attimestamp with time zoneThe timestamp for when this row entry was created
updated_attimestamp with time zoneThe timestamp for when this row entry was updated
topic_nametextThe topic name for which subscriber will receive message
scaling_group_nametextThe scaling group name to which subscriber belongs
destination_service_nametextThe service name for which the response will be delivered
instance_countintegerThe instance count of the listeners for the subscription
nlp.datasource_usage_stats: Usage stats stored for recommendation
NameTypeDescription
Foreign key/Primary key relation from datasource_uri on this table to uri on table, nlp.datasources
Foreign key/Primary key relation from lens_id on this table to id on table, nlp.lenses
idbigintThe unique identifier for this row that is automatically generated on insert
created_attimestamp with time zoneThe timestamp for when this row entry was created
updated_attimestamp with time zoneThe timestamp for when this row entry was updated
datasource_uritextURI of data source the usage stats belongs to
usage_statsjsonAggregated data source usage stats
lens_idintegerlens id
nlp.datasources: The table to hold semantic model datasource in nlp service
NameTypeDescription
idbigintThe unique identifier for this row that is automatically generated on insert
created_attimestamp with time zoneThe timestamp for when this row entry was created
updated_attimestamp with time zoneThe timestamp for when this row entry was updated
uritextURI of a semantic model datasource
datajsonSerialized json struct of semantic model datasource
initialize_datasource_version_numbercharacter varyingVersion number of InitializeDatasource stage
enrich_datasource_version_numbercharacter varyingVersion number of EnrichDatasource stage
index_values_version_numbercharacter varyingVersion number of IndexValue stage
outdatedbooleanIndicates if semantic model datasource in database is outdated
analyze_datasource_version_numbercharacter varyingVersion number of AnalyzeDatasource stage
janitor_check_timetimestamp with time zoneTime when an inactive datasource was last checked to see if it is valid.
nlp.es_historical_configurations: Elastic Search Configuration History for Tableau Server
NameTypeDescription
idintegerThe unique identifier for this row that is automatically generated on insert
vmoptstextInitial and Maximum heap size allocated to Elastic Search e.g. -Xmx4g -Xms4g
initial_heap_sizedouble precisionInitial Heap Size allocated to Elastic Search normalized to gb e.g. 4
max_heap_sizedouble precisionMaximum Heap Size allocated to Elastic Search normalized to gb e.g. 4
value_shard_countintegerNumber of data shards for the Elastic Search Concepts index for Ask Data e.g. 1
concept_shard_countintegerNumber of data shards for the Elastic Search Values index for Ask Data e.g. 1
system_statustextRepresents current system status, e.g. "Warning" (heap size < recommended), "info" (heap_size = recommended), "ok" (heap size > recommended)
created_attimestamp with time zoneThe timestamp for when this row entry was created
nlp.events: Store the last event processed by nlp service
NameTypeDescription
idintegerThe unique identifier for this row that is automatically generated on insert
updated_attimestamp with time zoneThe timestamp for when this row entry was updated
last_enqueued_idbigintThe ID of the event that is last processed by nlp service
processing_nodetextThe ID of the nlp service node that is currently processing the events. If the field is empty, no nlp node is currently processing events.
nlp.expressions: Versioned expressions created by user interactions
NameTypeDescription
Foreign key/Primary key relation from datasource_uri on this table to uri on table, nlp.datasources
Foreign key/Primary key relation from lens_id on this table to id on table, nlp.lenses
idbigintThe unique identifier for this row that is automatically generated on insert
exp_idtextThe unique identifier for an expression
datasource_uritextURI of datasource the expression belongs to
versiontextVersion of the expression, e.g. 20171212
expressiontextSerialized and versioned expression
created_attimestamp with time zoneThe timestamp for when this row entry was created
updated_attimestamp with time zoneThe timestamp for when this row entry was updated
lens_idintegerlens id
nlp.fields: The table to hold fields of semantic model datasource in nlp service
NameTypeDescription
idbigintThe unique identifier for this row that is automatically generated on insert
datasource_uritextURI of the semantic model datasource that this field belongs to
graph_idtextThe unique identifier of the field in the context of a datasource
labeltextDisplay name of the field
descriptiontextDescription of the field
parent_nametextName of the sheet or table that the field came from if a datasource is comprised of multiple sheets or tables
data_typetextDataType of the field
field_typetextFieldType of the field
value_concepttextSemantic role of the field
field_roletextFieldRole describes whether a field is a dimension or a measure
data_range_typetextDataRangeType describes whether the values of the field are quantitative or discrete
bin_typetextBinType describes type of bin that is used for group fields
default_aggregationjsonAggregation type used to aggregate a measure when one is not explicitly defined
formulatextFormula of a calculation field
invalidbooleanField marked as Invalid means a field cannot be used to produce valid queries against a data source
errortextError describes why the field is invalid, and should be nil for valid fields
hiddenbooleanHidden fields may be used in command generation but should not appear in interpretations
popularity_scoreintegerPopularityScore is the number of workbooks in which the field is used
parent_field_graph_idtextParentFieldGraphID is used for expressing field hierarchy
values_metadatajsonValuesMetadata provides metadata about the values of a field
value_aliasesjsonValueAliases is a map of datasource values to user-defined value aliases
is_auto_generatedbooleanIsAutoGenerated boolean flag is used to identify if the field is auto-generated field
has_user_referencebooleanHasUserReference indicates if a calculated field has formula that refers to a user
combined_field_listARRAYCombinedFieldList contains the list of field names which form a combined field
user_aggregationtextUser defined aggregation type used to aggregate a measure
unsupportedbooleanUnsupported indicates if the field is not supported for NLP query
computation_in_progressbooleanComputationInProgress boolean flag indicates whether the field has completed all 3 stages of InitializeSemanticModel.
created_attimestamp with time zoneThe timestamp for when this row entry was created
updated_attimestamp with time zoneThe timestamp for when this row entry was updated
formula_interpretationcharacter varyingFormulaInterpretation is result interpreted by ANTLR parser for the formula.
friendly_nametextFriendlyName is the alias for this field. DEPRECATED
friendly_formulatextFriendlyFormula describes the formula with friendly-name
group_field_parent_modeltextGroupFieldParentModel identifies whether a group field is cluster or not
default_aggregation_is_explicitbooleanIf true, the default aggregation for the field is set by user, otherwise it is inferred
matched_field_concept_uritextURI of a field concept that is matched to the field through semantics service matching endpoint
object_idtextObject id of the field obtained from TDS
authoring_name_componentsARRAYThe Name Components that can be used to author a viz.
lod_exp_typetextIdentifies the lod exp type
formula_has_parameterbooleanIdentifies if a formula has reference to a parameter or not.
is_constant_formulabooleanIdentifies if the formula for the field is constant formula or not.
tableau_popularity_factorintegertableau popularity factor is used to calculate a fields popularity score
has_null_valuesbooleanWhether the field contains null value within the indexing limit.
nlp.jobs: Store the enqueued jobs to be processed by nlp service
NameTypeDescription
idbigintThe unique identifier for this row that is automatically generated on insert
created_attimestamp with time zoneThe timestamp for when this row entry was created
updated_attimestamp with time zoneThe timestamp for when this row entry was updated
datasource_uritextURI of a semantic model datasource the job belongs to
typetextType of job
priorityintegerPriority of job
statustextStatus of job
stagesARRAYStages of job
current_stage_indexintegerCurrent index of stages
should_resetbooleanIf current job needs to be reset
retry_countintegerNumber of retries that the job has attempted
next_run_aftertimestamp with time zoneJob is eligible to run after this timestamp
processing_nodetextThe ID of the nlp service node that is currently processing the job. If the field is empty, no nlp node is currently processing jobs.
is_user_initiatedbooleanif the job is initiated by user from UI
nlp.links: User created links, each points to a specific LOD expression
NameTypeDescription
Foreign key/Primary key relation from datasource_uri on this table to uri on table, nlp.datasources
Foreign key/Primary key relation from exp_id on this table to exp_id on table, nlp.expressions
Foreign key/Primary key relation from lens_id on this table to id on table, nlp.lenses
idbigintThe unique identifier for this row that is automatically generated on insert
short_idtextA 6-digit alphanumeric token that serves as unique identifier for a link
datasource_uritextURI of datasource the link belongs to
exp_idtextThe unique identifier of the referenced lod expression
created_attimestamp with time zoneThe timestamp for when this row entry was created
updated_attimestamp with time zoneThe timestamp for when this row entry was updated
lens_idintegerlens id
nlp.phrase_recommendation_models: Trained machine learning models for phrases recommendation
NameTypeDescription
Foreign key/Primary key relation from lens_id on this table to id on table, nlp.lenses
Foreign key/Primary key relation from published_datasource_id on this table to id on table, nlp.datasources
Foreign key/Primary key relation from site_id on this table to id on table, nlp.sites
idbigintThe unique identifier for this row that is automatically generated on insert
site_idintegerThe id of the site on which the lens is created
published_datasource_idintegerThe id of the published datasource on the site
lens_idintegerThe luid for identifying the lens
model_datajsonTrained machine learning model of a lens for phraer recommendation
model_typetextType of the machine learning model, e.g. PowerSet Model, Phraser Model
created_attimestamp with time zoneThe timestamp for when this row entry was created
updated_attimestamp with time zoneThe timestamp for when this row entry was updated
nlp.queries: Queries stored for datasource analytics
NameTypeDescription
Foreign key/Primary key relation from datasource_uri on this table to uri on table, nlp.datasources
Foreign key/Primary key relation from lens_id on this table to id on table, nlp.lenses
idbigintThe unique identifier for this row that is automatically generated on insert
created_attimestamp with time zoneThe timestamp for when this row entry was created
updated_attimestamp with time zoneThe timestamp for when this row entry was updated
querytextRaw query typed in by user
datasource_uritextURI of datasource the query belongs to
session_idtextID of session the query belongs to
guidtextGUID is used to join nlp.queries with nlp.visualizations
interpretation_nlgsARRAYList of generated interpretations(nlgs) to the raw query
selected_interpretation_indexintegerIndex of the selected interpretation. -1 if query is unselected
user_idintegerID of user who creates the query
lens_idintegerlens id
nlp.recommendation_stats: Recommendation stats extracted from nlp usage data
NameTypeDescription
Foreign key/Primary key relation from datasource_uri on this table to uri on table, nlp.datasources
Foreign key/Primary key relation from lens_id on this table to id on table, nlp.lenses
idbigintThe unique identifier for this row that is automatically generated on insert
created_monthdateThe start date of month for when this row entry was created
datasource_uritextURI of data source the record belongs to
stat_typetextType of recommendation stat
keysARRAYArray of keys for aggregation
datatextSerialized stat data
countintegerNumber of occurrences within the month
data_hashtextMD5 hash of data column
lens_idintegerlens id
nlp.visualizations: visualizations stored for datasource analytics
NameTypeDescription
Foreign key/Primary key relation from datasource_uri on this table to uri on table, nlp.datasources
Foreign key/Primary key relation from lens_id on this table to id on table, nlp.lenses
idbigintThe unique identifier for this row that is automatically generated on insert
created_attimestamp with time zoneThe timestamp for when this row entry was created
updated_attimestamp with time zoneThe timestamp for when this row entry was updated
expressiontextCorresponding Arklang expression
datasource_uritextURI of datasource the visualization belongs to
session_idtextID of session the visualization belongs to
guidtextGUID is used to join nlp.queries with nlp.visualizations
interpretation_nlgtextInterpretation(nlg) that describes Visualization content
user_idintegerID of user who creates the visualization
referenced_field_graph_idsARRAYList of field graph IDs referenced by visualization expression
viz_typetextShowMe viz type
lens_idintegerlens id
public.api_tokens: Records for the api tokens
NameTypeDescription
Foreign key/Primary key relation from user_id on this table to id on table, public.users
idbigintPrimary key for the record.
token_idcharacter varyingA unique identifier for the record.
client_namecharacter varyingThe client name for this api token.
hashed_secrettextThe hashed_secret for this api token.
user_idintegerA foreign key refrence to the user.
created_timestamptimestamp with time zoneThe time this token was created.
revoked_timestamptimestamp with time zoneThe time this token was revoked.
scopecharacter varyingString containing the scope name
public.asset_key_marker: Records are used to flag a particular record in the asset_key_meta_data table.
NameTypeDescription
idintegerArtificial auto-incrementing integer that serves as the primary key
asset_key_idintegerThe id of the asset_key_meta_data record being marked.
marker_namecharacter varyingThe type of marker.
created_attimestamp without time zoneWhen this record was created.
updated_attimestamp without time zoneWhen this records was last updated.
public.asset_key_meta_data: Each record holds meta data for an asset encryption key.
NameTypeDescription
idintegerArtificial auto-incrementing integer that serves as the primary key.
algorithm_namecharacter varyingThe algorithm used in conjunction with this key.
saltcharacter varyingThe salt used in the test string.
test_stringcharacter varyingAn encrypted version of a well-known test string
created_attimestamp without time zoneWhen this record was created.
updated_attimestamp without time zoneWhen this record was last updated.
public.asset_list_items: Contains the individual list entries that correspond to the lists defined in the asset_lists table.
NameTypeDescription
Foreign key/Primary key relation from asset_list_id on this table to id on table, public.asset_lists
Foreign key/Primary key relation from site_id on this table to id on table, public.sites
idintegerPrimary key for the record
asset_list_idintegerA foreign key reference to the asset list to which this item belongs.
useable_typecharacter varyingOne of "View" or "Workbook". The type of object that this item corresponds to.
useable_idintegerKind of an informal "polymorphic" foreign key reference to either the corresponding view or workbook as determined by the useable_type field. Dead links might exist, where the corresponding item has been deleted.
positionintegerControls the order in which the items are displayed.
added_timestamptimestamp without time zoneTimestamp of when the row was added to the table. For rows that already existed, use the timestamp of the migration.
useable_luiduuidThe luid of the useable item. Not used for favorites, but used for other list types.
site_idintegerThe ID of the site the asset list item belong to.
site_luiduuidsite luid that asset list item belongs to
suspected_as_deletedbooleanBoolean to indicate if the content is suspected as deleted because it is missing from the content cache
timestamp_of_first_cache_absencetimestamp without time zoneTimestamp of first occurence of content not returned from content cache. Null = No absences from cache
public.asset_lists: This table supports the creation of various types of per-user lists. The actual list contents are listed in the asset_list_items table.
NameTypeDescription
Foreign key/Primary key relation from owner_id on this table to id on table, public.users
Foreign key/Primary key relation from site_id on this table to id on table, public.sites
idintegerPrimary key for the record
namecharacter varyingThis is what the type of list is called.
owner_idintegerForeign key to the user for whom this list was defined.
site_idintegerForeign key to the site to which the user belongs.
descriptioncharacter varyingDescription of an asset list.
visibilitycharacter varyingVisibility of asset list, valid values are public or private.
list_typecharacter varyingType of asset list, valid values are collection or favorites.
created_timestamptimestamp without time zoneTime that asset list was created for favorites lists prior to 20.3 it will be time of this update
updated_attimestamp without time zoneWhen this asset list was last updated.
luiduuidAn identifier that is unique in combination with the site_id.
sync_tokencharacter varyingthe sync token for content exploration to make sure it has up to date collections
site_luiduuidsite luid that asset list belongs to
public.async_jobs: Records information about background tasks that are run in response to some user action (as opposed to being run on some schedule).
NameTypeDescription
Foreign key/Primary key relation from site_id on this table to id on table, public.sites
idintegerPrimary key for the record
job_typecharacter varyingThe type of job being run
successbooleanWhether or not the job succeeded. Will be true for success, and false for failure.
workercharacter varyingIdentifies the machine on which the job is run
user_idintegerLinks to the user who triggered the running of the job.
site_idintegerLinks to the relevant site.
notestextCan be used to store additional information about the running of the job.
progressintegerCan be used to indicate percent complete for the job, but in most cases simply gets set to 100 when the job is completed
created_attimestamp without time zoneWhen this record was created.
updated_attimestamp without time zoneWhen this record was last updated.
completed_attimestamp without time zoneWhen the job finished execution. When set, this should generally agree with the updated_at field.
detailed_statustextStores information about current progress details of the async job.
luiduuidAn identifier that is unique in combination with the site_id.
public.async_service_request: Table which stores the requests for async services
NameTypeDescription
Foreign key/Primary key relation from site_id on this table to id on table, public.sites
idbigintThe id which uniquely identifies row in the table
created_attimestamp without time zoneThe timestamp for creating the request
updated_attimestamp without time zoneThe timestamp for updating the request
expire_attimestamp without time zoneThe timestamp when the request should expire
luiduuidThe request luid of record in the table
request_typecharacter varyingThe request type of record in the table
payloadtextThe request payload of record in the table
statecharacter varyingThe request state of record in the table
received_byuuidThe request received by node LUID of record in the table
site_idintegerA foreign key reference to the site to where the requests exists.
site_luiduuidRequest site luid.
user_luiduuidRequest owner luid.
public.async_service_request_execute_history: Table which stores the execution history for async service request
NameTypeDescription
Foreign key/Primary key relation from request_id on this table to id on table, public.async_service_request
Foreign key/Primary key relation from site_id on this table to id on table, public.sites
idbigintThe id which uniquely identifies row in the table
created_attimestamp without time zoneThe timestamp for creating the execution record
updated_attimestamp without time zoneThe timestamp for updating the execution record
request_idbigintThe request id refer to async_service_request of record in the table
retry_timeintegerRequest execution time of record in the table
execute_nodeuuidRequest execution node luid of record in the table
statecharacter varyingRequest execution state of record in the table
site_idintegerA foreign key reference to the site to where the execution record exists.
site_luiduuidExecution record site luid.
public.authorizable_permission_sets: Many-to-many mapping table between authorizables and permission sets. An authorizable may have a permission set for every permission_set_class.
NameTypeDescription
Foreign key/Primary key relation from permission_set_id on this table to id on table, public.permission_sets
Foreign key/Primary key relation from site_id on this table to id on table, public.sites
idintegerPrimary key for the record.
authorizable_idintegerRefers to the id of the authorizable (e.g. workbook) depending on the value of authorizable_type.
authorizable_typecharacter varyingRefers to the type of the authorizable (e.g. workbook).
permission_set_idintegerThe permission set this item uses.
site_idintegerThe site id.
public.background_jobs: Records information about background tasks that are run by a Backgrounder process. These tasks are almost always run according to some schedule, but in a few cases they may also be triggered by some user actions.
NameTypeDescription
Foreign key/Primary key relation from site_id on this table to id on table, public.sites
idintegerPrimary key for the record.
job_typecharacter varyingThe type of job being run. This looks a bit odd because it comes from a serialized symbol.
progressintegerCan be used to indicate percent complete for the job, but in most cases simply gets set to 100 when the job is completed.
argstextUsed as a means of passing parameters about the background job. This information is stored in a special serialized format, and thus is not easily readable.
notestextCan be used to store additional information about the running of the job.
updated_attimestamp without time zoneWhen this record was last updated
created_attimestamp without time zoneWhen this record was created.
completed_attimestamp without time zoneWhen the job finished execution. When set, this should generally agree with the updated_at field.
started_attimestamp without time zoneWhen the execution of the job was started. This is not generally the same as created_at, because it may take some time before a backgrounder "notices" the newly created record and begins to process it.
job_namecharacter varyingA nice readable name for this type of job.
finish_codeintegerCompletion status for the job. Will be 0 for success, 1 for failure, and 2 for cancelled.
priorityintegerControls which background_jobs records are processed first. The highest priority is 0, and the lowest is 100. Integer values in between are also valid.
titlecharacter varyingCan be used to provide some additional information about the job.
created_on_workercharacter varyingIdentifies the machine that created this background_jobs record.
processed_on_workercharacter varyingIdentifies the machine on which the job is run.
linktextUsed, for certain types of jobs, to record a relevant URL.
lock_versionintegerUsed to implement "optimistic locking." Don't set this or mess with it, it's all handled automatically.
backgrounder_idcharacter varyingIndicates which backgrounder process ran the job.
serial_collection_idintegerIt is possible to designate a job as part of a "serial collection," by setting its serial_collection_id. Two jobs with the same serial_collection_id cannot be processed simultaneously. Note that serial_collection_id is actually a foreign key to the serial_collections table. This is not a capability that sees much use.
site_idintegerLinks to a site, if one is relevant, otherwise it is left NULL.
subtitlecharacter varyingCan be used to provide some additional information about the job.
languagecharacter varyingThe language for the job is listed here.
localecharacter varyingThe locale for the job is listed here.
correlation_idintegerThe ID to correlate occurrences of the same job, which is the foreign key reference to the record in the respective definition table for subscriptions (subscriptions table) and extract-refresh jobs (tasks table).
attempts_remainingintegerUsed track amount of execution attempts remaining for the job. Usually NULL for job that are attempted only once. Number greater than 0 for jobs that will be retried.
luiduuidAn identifier that is unique in combination with the site_id.
job_rankbigintStores the calculated ranking of the job, determines the order it will be run on
queue_idintegerIdentifier representing which virtual queue this job belongs to
overflowbooleanRepresents if the job is in overflow queue or not
promoted_attimestamp without time zoneWhen the job is promoted to primary queue from overflow queue. Null for non overflow jobs
task_idintegerId of the task associated with the job. Explicitly not a foreign key to allow for tasks to be deleted without deleting related job records.
run_nowbooleanIndicates if the job was triggered by run now
creator_idintegerIndicates what user id is the creator of the job
public.background_jobs_cancel: BG jobs for which cancellation has been requested
NameTypeDescription
Foreign key/Primary key relation from background_job_id on this table to id on table, public.background_jobs
idintegerPrimary key for the cancellation request
background_job_idintegerThe id of the job to be cancelled
created_attimestamp without time zoneWhen the cancellation was requested
updated_attimestamp without time zoneWhen the cancellation was last updated
user_idintegerThe user who requested cancellation
users_to_notifytextCSV encoded list of IDs representing users to notify about job cancellation
cancellation_reasoncharacter varyingUser provided reason for the cancellation of the job
public.big_texts: This table serves as a convenient place to store a big text object, if necessary. It's kind of a utility table. This table is really just used for internal purposes.
NameTypeDescription
idintegerPrimary key for this record.
txttextHolds whatever text object is desired. There is no specific designated use for this field. Any code can store a text object here for whatever purpose it wishes.
updated_attimestamp without time zoneThe time at which this record was last changed.
site_idintegerSite ID of the big_texts.
public.caching_policies: This table stores the caching policy configuration for workbooks for which the feature is enabled.
NameTypeDescription
Foreign key/Primary key relation from site_id on this table to id on table, public.sites
Foreign key/Primary key relation from workbook_id on this table to id on table, public.workbooks
idintegerAuto-generated id from postgres; also the primary key for the table.
site_idintegerID of the site. This id is same as the id (primary key) of the public.sites table.
workbook_idintegerID of the workbook. This id is same as the id (primary key) of the public.workbooks table.
policy_detail_jsontextA JSON structure with a few fields describing the workbook caching policy.
public.capabilities: Holds a relatively short list of capabilities. A user can be allowed certain capabilities either through being some sort of admin, or through owning something like a workbook or a project, or via entries in the next_gen_permissions table. Capabilities are things like read, write, export_data, publish, web_authoring, etc.
NameTypeDescription
idintegerPrimary key for the record.
namecharacter varyingThis (or the id) is how the capability is referred to by code.
display_namecharacter varyingThis is the name that may be displayed to a user.
display_orderintegerAscending order of this value is the order in which capabilities are listed, when displayed.
public.capability_roles: This table serves primarily to associate roles with capabilities. A given role can have many capabilities, and a given capability can be associated with several roles.
NameTypeDescription
Foreign key/Primary key relation from capability_id on this table to id on table, public.capabilities
Foreign key/Primary key relation from role_id on this table to id on table, public.roles
idintegerPrimary key for this record.
capability_idintegerForeign key reference to the capabilities table.
role_idintegerForeign key reference to the roles table.
public.collection_metrics_aggregations: Each record represents a partial aggregation of analytics for a given collection in a given time interval. It is often necessary to sum across multiple rows to find a total for a given time interval.
NameTypeDescription
Foreign key/Primary key relation from collection_id on this table to id on table, public.asset_lists
Foreign key/Primary key relation from site_id on this table to id on table, public.sites
idintegerPrimary key for the record.
collection_idintegerA foreign key reference to the collection (in asset_lists table).
day_indexintegerRecords what day of the month the analytics are aggregated over. When 0, the aggregation is for the month and year as designated by month_index and year_index.
month_indexintegerRecords what month of the year the analytics are aggregated over. When 0, the aggregation is for the year as designated by year_index.
year_indexintegerRecords what year the analytics are aggregated over
view_countintegerRecords the number of times a collection was viewed in the given time interval.
site_idintegerThe ID of the site the collection metrics aggregation belong to.
public.column_assets: Each record represents a column asset that exists on Tableau Server.
NameTypeDescription
Foreign key/Primary key relation from table_id on this table to id on table, public.table_assets
Foreign key/Primary key relation from site_id on this table to id on table, public.sites
idintegerPrimary key for the column asset record.
namecharacter varyingThe name of the column asset.
luiduuidA unique, immutable identifier for the column asset.
site_idintegerThe id of the site that this column asset is associated with.
created_attimestamp without time zoneThe time the record was created.
updated_attimestamp without time zoneThe time the record was updated.
descriptiontextThe description of the column asset.
table_idintegerThe table this column belongs to.
remote_typecharacter varyingThe data type of the column.
is_tombstonedbooleanTombstoned columns are "soft deleted" because they have been grouped with other columns. They can be ungrouped to remove this
is_nullablebooleanNullable columns may have null values; non-nullable columns only have non-null values.
public.command_job_mappings: Each record represents a mapping between an extract command and a background job.
NameTypeDescription
Foreign key/Primary key relation from background_job_id on this table to id on table, public.background_jobs
Foreign key/Primary key relation from site_id on this table to id on table, public.sites
idbigintPrimary key for the record.
extract_command_luiduuidLUID of an extract command created by Extract Service.
background_job_idintegerA foreign key reference to the background job that runs the extract command.
site_idintegerA foreign key reference to the site where the extract command exists.
created_attimestamp without time zoneCommand-job mapping creation timestamp.
updated_attimestamp without time zoneCommand-job mapping modified timestamp.
public.comment_attachments: Attachments for comments.
NameTypeDescription
Foreign key/Primary key relation from comment_id on this table to id on table, public.comments
Foreign key/Primary key relation from site_id on this table to id on table, public.sites
idintegerPrimary key for the record.
comment_idintegerA foreign key reference to the comment that the attachments is attached to.
attachment_typecharacter varyingThe type of the attachment.
attachment_idintegerThe id of the attachment.
site_idintegerThe ID of the site the comment attachments belong to.
public.comments: Comments users made on views.
NameTypeDescription
Foreign key/Primary key relation from site_id on this table to id on table, public.sites
Foreign key/Primary key relation from user_id on this table to id on table, public.users
idintegerPrimary key for this record.
titletextNot used.
commenttextComment text.
created_attimestamp without time zoneDate when comment was created.
commentable_idintegerCorresponding view id.
commentable_typecharacter varyingView.
user_idintegerId of the user who made the comment.
drawingtextNot used.
updated_attimestamp without time zoneDate when comment was last updated.
site_idintegerThe ID of the site the comments belong to.
public.connected_apps: Properties of Connected Apps
NameTypeDescription
Foreign key/Primary key relation from site_id on this table to id on table, public.sites
namecharacter varyingUser-friendly name for the Connected App
enabledbooleanTrue to enable functionality of the Connected App
created_attimestamp without time zoneThe timestamp for when the Connected App was created
updated_attimestamp without time zoneThe timestamp for when the Connected App was last updated
client_iduuidThe identifier for the Connected App
site_idintegerThe identifier for the site the Connected App is tied to
project_luiduuidThe UUID for the project the Connected App is granted access to; NULL to grant access to the entire site
secret_1_iduuidThe identifier for secret #1 associated with the Connected App
secret_1_created_attimestamp without time zoneThe timestamp for when secret #1 is created
secret_2_iduuidThe identifier for secret #2 associated with the Connected App
secret_2_created_attimestamp without time zoneThe timestamp for when secret #2 is created
domain_safelisttextList of domains which this Connected App is allowed to embed vizzes into
unrestricted_embeddingbooleanWhether this Connected App ignores domain_safelist to allow vizzes be embeded on any domains
public.content_migration_manifest: for storing data related to a content migration
NameTypeDescription
Foreign key/Primary key relation from content_migration_id on this table to id on table, public.content_migrations
Foreign key/Primary key relation from site_id on this table to id on table, public.sites
idintegermigration manifest entry id
content_migration_idintegercontent migration id
site_idintegersite id the migration is for
content_migration_content_tokenuuidContent Migration Tool generated content token
content_migration_payload_typetexttype of the payload for this entry in the content manifest
entry_expirationtimestamp without time zonetime at which this migration manifest entry can be deleted
content_payloadtextpayload for this entry in the content migration manifest
is_processedbooleanindicates if this entry has been processed and can be deleted
asset_key_idintegerUsed for encrypting data with keyfile
public.content_migrations: for storing data related to a content migration
NameTypeDescription
Foreign key/Primary key relation from site_id on this table to id on table, public.sites
idintegerauto-generated id
site_idintegersite id the migration is for
site_luiduuidsite luid the migration is for
is_destinationbooleanindicates if the migration is source or destination side
public_keytextpublic key for content transfer encryption
private_keytextprivate key for content transfer decryption. Only used at destination
migration_expirationtimestamp without time zonetime at which the migration data can be purged
destination_site_nametextMigration destination site name
destination_server_urltextMigration destination server url
authorized_migration_runner_user_luiduuidUser LUID of the authorized migration runner
asset_key_idintegerused for encrypting data with keyfile
public.content_sync_token: Each record stores the checksum associated to a piece of content
NameTypeDescription
Foreign key/Primary key relation from site_id on this table to id on table, public.sites
idintegerId associated to that piece of content.
content_typecharacter varyingThe type of the content.
site_idintegerThe associated site.
sync_tokencharacter varyingA unique identifier for this version of the associated content.
public.content_usage: Information about operations performed on Server content.
NameTypeDescription
Foreign key/Primary key relation from site_id on this table to id on table, public.sites
idintegerAuto-generated id from postgres. Primary key for table.
content_typesmallintInteger relating to the type of content. 1 - workbooks, 2 - datasources, 3 - flows.
content_idintegerMaps to the id of the workbook/datasource/flow in their respective tables.
operation_typetextThe operation performed on the content. This can be a server operation like extract refresh or a type of REST API call.
last_recorded_attimestamp without time zoneTimestamp of when the operation was performed. It is updated no more than once a day, so the time part may be older than the actual latest usage.
site_idintegerID of the site to which this content belongs.
public.custom_views_metrics_aggregations: Each record represents a partial aggregation of analytics for a given custom view in a given time interval. It is often necessary to sum across multiple rows to find a total for a given time interval.
NameTypeDescription
Foreign key/Primary key relation from custom_view_id on this table to id on table, public.customized_views
Foreign key/Primary key relation from site_id on this table to id on table, public.sites
idintegerPrimary key for the record.
site_idintegerSite where custom view exists.
custom_view_idintegerA foreign key reference to the custom view.
day_indexintegerRecords what day of the month the analytics are aggregated over. When 0, the aggregation is for the month and year as designated by month_index and year_index.
month_indexintegerRecords what month of the year the analytics are aggregated over. When 0, the aggregation is for the year as designated by year_index.
year_indexintegerRecords what year the analytics are aggregated over
view_countintegerRecords the number of times a custom view was viewed in a given day.
public.customized_views: When a user creates a customized view, the data that supports that goes in this table.
NameTypeDescription
Foreign key/Primary key relation from creator_id on this table to id on table, public.users
Foreign key/Primary key relation from site_id on this table to id on table, public.sites
Foreign key/Primary key relation from start_view_id on this table to id on table, public.views
Foreign key/Primary key relation from view_id on this table to id on table, public.views
idintegerPrimary key for the record.
namecharacter varyingThe name of the customized view.
descriptiontextA description of the customized view. Seems not to be used commonly.
view_idintegerA foreign key reference to the views table. Refers specifically to the view that this customized view is based on.
created_attimestamp without time zoneWhen this record was created.
updated_attimestamp without time zoneWhen this record was last updated.
creator_idintegerForeign key reference to the user who created this customized view.
publicbooleanIndicates if the user elected to share his customized view.
sizeintegerThe number of bytes it took to describe the changes from the base view to the customized view.
site_idintegerA foreign key to the site that this customized view is associated with (the site of the user who created it).
repository_thumbnail_data_idbigintA reference to an entry in the repository_data table, which, in turn references the PostgreSQL large object that contains the thumbnail image for this customized view.
url_idcharacter varyingA URL compatible string derived from the name of the customized view. This must be unique when taken together with the customized view creator and the view.
start_view_idintegerA foreign key reference to the view from which this customized view was derived.
luiduuidA "locally unique" id used to identify this record for certain uses. It is generated automatically, and is nothing that a customer needs to worry about.
data_idcharacter varyingUnique ID used to identify the view data.
thumbnail_idcharacter varyingUnique ID used to identify the thumbnail.
hiddenbooleanIndicates if the custom view is hidden.
created_by_featureintegerFeature which created customized view.
accessed_attimestamp without time zoneLast accessed datetime for customized view. NULL: never accessed
modified_attimestamp without time zoneIndicates the last time at which this customized view was updated.
public.data_acceleration_schedule: for storing the schedules of data acceleration backgrounder jobs
NameTypeDescription
Foreign key/Primary key relation from site_id on this table to id on table, public.sites
idintegerauto-generated id
object_idintegerworkbook id, datasource or data connection id
run_next_attimestamp without time zonethe next timestamp the backgrounder should be run
created_attimestamp without time zonethe timestamp of the schedule is created
site_idintegerthe site id the schedule beloings to
public.data_alerts: Each record represents an alert. An alert is a predefined data conditions on a view, and if conditions are met all alert recipients get notified.
NameTypeDescription
Foreign key/Primary key relation from creator_id on this table to id on table, public.users
Foreign key/Primary key relation from customized_view_id on this table to id on table, public.customized_views
Foreign key/Primary key relation from site_id on this table to id on table, public.sites
Foreign key/Primary key relation from view_id on this table to id on table, public.views
Foreign key/Primary key relation from workbook_id on this table to id on table, public.workbooks
idintegerPrimary key for the record.
titlecharacter varyingA string that describes the alert.
creator_idintegerUser id for user who created the alert. FK reference to users.id.
site_idintegerSite ID for alert. FK reference to sites.id.
workbook_idintegerA foreign key reference to the workbook.id.
view_idintegerA foreign key reference to the view.id.
customized_view_idintegerA foreign key reference to the customized.view.id.
luiduuidUUID for alert used in REST APIs.
data_specificationcharacter varyingPlatform-parsable blob that describes which data to track.
last_checkedtimestamp without time zoneThe last time at which the the alert was checked.
notification_interval_in_minutesintegerThe interval in minutes in which to send no more than one alert.
created_attimestamp without time zoneThe time when this row was created.
updated_attimestamp without time zoneThe time when this row was last updated.
last_editedtimestamp without time zoneThe time a user last edited this data alert.
suspend_stateinteger0: alert is not suspended, 1: alert was auto-suspended, 2: alert was manually suspended.
failure_countintegerThe number of consecutive times evaluating this alert failed.
device_typeinteger0: device type is default, 1: device type is desktop, 2: device type is tablet, 3: device type is phone.
publicbooleanDetermines whether the alert is shared with other users
public.data_alerts_recipients: Each record represents the intent of recipient to be notified if an event is triggered.
NameTypeDescription
Foreign key/Primary key relation from site_id on this table to id on table, public.sites
Foreign key/Primary key relation from data_alert_id on this table to id on table, public.data_alerts
idintegerPrimary key for the record.
recipient_idintegerIt references a user or group id.
data_alert_idintegerA reference to data alert id.
recipient_typecharacter varyingA string that describes the recipient type, currently single user or group.
last_senttimestamp without time zoneThe last time at which the the alert was sent to the user.
last_statebooleanWhether the condition evaluated to true or false for the user the last time it was checked.
created_attimestamp without time zoneThe time when this row was created.
updated_attimestamp without time zoneThe time when this row was last updated.
site_idintegerThe ID of the site the data alert recipient belongs to.
public.data_connections: Describes various data sources that are included in either workbooks or datasources.
NameTypeDescription
Foreign key/Primary key relation from site_id on this table to id on table, public.sites
Foreign key/Primary key relation from datasource_id on this table to id on table, public.datasources
idintegerPrimary key for the record.
servertextDNS server name to connect to.
dbclasscharacter varyingType of data connection (ie mysql, postgres, sqlproxy etc).
portintegerTCP port number of the connection (eg. 5432 for postgres).
usernametextUsername to use when connecting.
passwordbooleanTrue means password is embedded in owner (see owner_type and owner_id fields).
namecharacter varyingUnique identifier for this data_connection.
dbnamecharacter varyingThe database name to which the particular connection is linked.
tablenamecharacter varyingThe name of the table in the database that this connection connects to.
owner_typecharacter varyingOne of "Datasource" or "Workbook". It is the type of object making the data connection.
owner_idintegerThe ID of the workbook or datasource that is creating the data connection.
created_attimestamp without time zoneWhen this record was created.
updated_attimestamp without time zoneWhen this record was last updated.
captioncharacter varyingFriendly name of this connection as seen in the Desktop data pane.
site_idintegerA foreign key reference to the site in which this data connection is contained.
keychaintextEncode string in yaml format. An attribute bag that will match the embedded keychain connection this connection is associated with.
luiduuidThe locally unique ID, which is intended for exposing externally by the server API. This is automatically generated.
has_extractbooleanIndicates if the data connection is an extract.
datasource_idintegerReference to the Datasource that owns this data connection.
db_subclasscharacter varyingSubclass of the dbclass, for example, dbclass is webdata-direct, db_subclass is intuit-quickbook
authenticationcharacter varyingWhen present, can be used to identify what authentication method is being used for the data connection
using_remote_query_agentbooleanWhether the data connection needs to be proxied via a remote query agent (AKA Bridge Client)
query_tagging_enabledbooleanWhether queries for this data connection should be tagged with information about their origin in Tableau.
public.data_quality_indicators: Table to store data quality indicators.
NameTypeDescription
Foreign key/Primary key relation from site_id on this table to id on table, public.sites
Foreign key/Primary key relation from user_id on this table to id on table, public.users
idbigintAuto increment primary key.
luiduuidAutogenerated luid for data quality indicator.
site_idintegerId of the site where data quality indicator belongs.
user_idintegerId of user who created/updated data quality indicator.
user_display_namecharacter varyingDisplay name of user who created/updated data quality indicator.
content_idintegerId of content for which data quality indicator stored.
content_typecharacter varyingType of content for which data quality indicator stored.
messagetextMessage of data quality indicator.
data_quality_typecharacter varyingType of data quality indicator.
is_activebooleanRepresents state of data quality indicator as true or false.
created_attimestamp without time zoneTimestamp when record is created.
updated_attimestamp without time zoneTimestamp when record is updated.
is_severebooleanindicates the if a data_quality_indicator is severe or not. True means severe otherwise not.
metadatatextMetadata related to the data quality indicator
public.data_quality_triggers: Table to store data quality triggers.
NameTypeDescription
Foreign key/Primary key relation from site_id on this table to id on table, public.sites
Foreign key/Primary key relation from user_id on this table to id on table, public.users
idbigintAuto increment primary key.
luiduuidAutogenerated luid for data quality trigger.
site_idintegerId of the site where data quality trigger belongs.
user_idintegerId of user who created/updated data quality trigger.
user_display_namecharacter varyingDisplay name of user who created/updated data quality trigger.
content_idintegerId of content to which data quality trigger applies.
content_typecharacter varyingType of content to which data quality trigger applies.
messagetextMessage of data quality trigger.
trigger_typecharacter varyingType of data quality trigger.
is_activebooleanIndicates whether or not data quality trigger is active.
is_severebooleanIndicates whether or not data quality trigger is severe.
created_attimestamp without time zoneTimestamp when record is created.
updated_attimestamp without time zoneTimestamp when record is updated.
public.data_role_contents_association: Represents the association between the data_role and other content types.
NameTypeDescription
Foreign key/Primary key relation from data_role_id on this table to id on table, public.data_roles
Foreign key/Primary key relation from site_id on this table to id on table, public.sites
idbigintPrimary key for the record.
data_role_idintegerThe data_role_id for the data_role entity.
content_typetextIdentifies the content-type which is associated with the data_role.
content_idintegercontent_id is the unique identifier for the corresponding content-type.
site_idintegerThe id of the site that the content belongs to
public.data_role_datasource_field_association: Represents the association between the data_role and the field on a datasource
NameTypeDescription
Foreign key/Primary key relation from published_datasource_id on this table to id on table, public.datasources
Foreign key/Primary key relation from site_id on this table to id on table, public.sites
Foreign key/Primary key relation from associator_user_id on this table to id on table, public.users
idbigintPrimary key for the record.
site_idintegerThe id of the site on which the datasource is published
published_datasource_idintegerThe id of the published datasource on the site
field_graph_idtextThe graph id of the field in the datasource
field_concept_keytextfield_concept_key is the unique identifier for the dataRole
associator_user_idintegerassociator_user_id is the unique identifier for the user who created the association
link_statusintegerlink_status tells the current state of the association between the field and the dataRole
public.data_roles: Each record represents an entry of Semantics Service data role metadata.
NameTypeDescription
Foreign key/Primary key relation from owner_id on this table to id on table, public.users
Foreign key/Primary key relation from project_id on this table to id on table, public.projects
Foreign key/Primary key relation from site_id on this table to id on table, public.sites
idintegerPrimary key for the data role metadata record.
nametextThe name of the data role.
owner_idintegerThe user id of the owner/publisher of the data role.
project_idintegerThe id of the project that this data role lives under.
site_idintegerThe id of the site that this data role is associated with.
created_attimestamp without time zoneThe timestamp when the record was created.
updated_attimestamp without time zoneThe timestamp when the record was last updated.
descriptiontextThe description of the data role.
luiduuidAn identifier that is unique in combination with the site_id.
public.data_update_job_artifacts: Information about files used by data update jobs.
NameTypeDescription
Foreign key/Primary key relation from site_id on this table to id on table, public.sites
idintegerAuto-generated id from postgres and primary key.
site_idintegerId of the site to which the artifact belongs to.
nametextA unique generated name given to the file.
file_typeintegerThe type of file represented by an int.
sizebigintSize of the file in bytes.
stateintegerState of the file in SOS. Used to help with SOS reconciliation.
job_idintegerThe ID of the Hyper Data Update job that the artifact belongs to.
created_attimestamp without time zoneTimestamp when this record was created.
updated_attimestamp without time zoneSame as created_at.
public.database_asset_events: Used to store database_asset events stream.
NameTypeDescription
idbigintPrimary key for this record.
database_asset_idintegerdatabase_asset ID.
site_idintegerSite ID.
event_created_attimestamp without time zoneTimestamp indicating when the record was inserted.
event_typesmallintEvent type to differentiate between insert, update, delete.
public.database_assets: Each record represents a database that exists on Tableau Server.
NameTypeDescription
Foreign key/Primary key relation from certifier_user_id on this table to id on table, public.users
Foreign key/Primary key relation from site_id on this table to id on table, public.sites
Foreign key/Primary key relation from grouped_parent_id on this table to id on table, public.database_assets
idintegerPrimary key for the database record.
connection_typecharacter varyingConnection type for the database record.
namecharacter varyingThe name of the database.
portintegerThe name of the database port.
luiduuidA unique, immutable identifier for the database.
site_idintegerThe id of the site that this database is associated with.
created_attimestamp without time zoneThe time the record was created.
updated_attimestamp without time zoneThe time the record was updated.
descriptiontextThe description of the database.
controlled_permissions_enabledbooleanWhether controlled permissions are enabled for the database
contact_idintegerThe contact for this database.
contact_typecharacter varyingThe contact type (user or group) for this database.
typecharacter varyingType (Database, File, WebDataConnector) for the database record.
file_pathtextPath to file.
is_embeddedbooleanWhether file is embedded (e.g., packaged in a twbx/tflx) or not.
connector_urltextThe connector url for a web data connector.
host_nametextThe database server host name.
providercharacter varyingProvider for a Cloud File.
file_extensioncharacter varyingFile Extension for a Cloud File.
mime_typecharacter varyingmime type for a Cloud File.
file_idcharacter varyingFile Id for a Cloud File.
request_urltextRequest URL for a Cloud File.
is_certifiedbooleanWhether this database is certified.
certification_notetextCertification note for this database.
certifier_user_idintegerCertifier user_id for this database.
certifier_detailstextCertifier details for this database.
source_typecharacter varyingType of the database source, if this database is embedded.
source_idintegerID of the database source, if this database is embedded.
internal_identifiertextA unique identifier for an embedded database internal to its parent content item.
extended_connection_typecharacter varyingoptional - type of connection - some dbs require it - for example SingleNode or MultiNode for SAP HANA
servicecharacter varyingoptional - some dbs optionally have it - for example Snowflake has option roles which we store in this field
duplicate_idintegerIf not null, id of database that is a duplicate of this one.
is_tombstonedbooleanTombstoned databases are "soft deleted" because they have been grouped with other databases. They can be ungrouped to remove this soft deletion.
grouped_parent_idintegerID in database_assets table of database this tombstoned database was grouped into.
is_grouped_parentbooleanTrue if this database is the result of grouping other databases.
source_disconnected_atdateThe date source was checked and was found to be disconnected from this database asset.
tombstoned_reasoncharacter varyingThe reason the database was tombstoned.
public.datasource_events: Used to store datasource events stream.
NameTypeDescription
idbigintPrimary key for this record.
datasource_idintegerDatasource ID.
site_idintegerSite ID.
event_timetimestamp without time zoneTimestamp indicating when the record was inserted.
event_typeintegerEvent type to differentiate between insert, update, delete.
public.datasource_fields: Describes datasource fields.
NameTypeDescription
Foreign key/Primary key relation from site_id on this table to id on table, public.sites
Foreign key/Primary key relation from datasource_id on this table to id on table, public.datasources
idintegerPrimary key for the datasource field record.
nametextThe name of the datasource field.
descriptiontextThe description of the datasource field.
datasource_idintegerThe id of the datasource that this field is associated with.
site_idintegerThe site id.
created_attimestamp without time zoneThe time the record was created.
updated_attimestamp without time zoneThe time the record was updated.
public.datasource_metrics_aggregations: Each record represents a partial aggregation of analytics for a given datasource in a given time interval. It is often necessary to sum across multiple rows to find a total for a given time interval.
NameTypeDescription
Foreign key/Primary key relation from datasource_id on this table to id on table, public.datasources
Foreign key/Primary key relation from site_id on this table to id on table, public.sites
idintegerPrimary key for the record.
datasource_idintegerA foreign key reference to the datasource.
day_indexintegerRecords what day of the month the analytics are aggregated over. When 0, the aggregation is for the month and year as designated by month_index and year_index.
month_indexintegerRecords what month of the year the analytics are aggregated over. When 0, the aggregation is for the year as designated by year_index.
year_indexintegerRecords what year the analytics are aggregated over
view_countintegerRecords the number of times a datasource was viewed in the given time interval.
site_idintegerThe ID of the site the datasource metrics aggregation belong to.
public.datasource_refresh_properties: Extension of datasources table for refresh properties (Online). This is 1-0/1 relationship to datasources table. It is a separate table since it contains Online-specific properties.
NameTypeDescription
Foreign key/Primary key relation from id on this table to id on table, public.datasources
Foreign key/Primary key relation from remote_agent_id on this table to id on table, public.remote_agents
Foreign key/Primary key relation from site_id on this table to id on table, public.sites
idintegerDatasource ID from datasources table. it is 1-0/1 relationship to datasources table.
refresh_modecharacter varyingSpecifies the mode of datasource refresh
remote_agent_idintegerThe associated remote agent ID responsible for data source refresh.
schedulesjsonArray of DatasourceRefreshSchedule objects in JSON format.
last_refresh_error_client_datacharacter varyingInformation about the last refresh error for the purpose of reconstructing the client view of the errors.
remote_agent_reservation_idcharacter varyingUnique string, e.g. GUID, that represents a reservation that a remote agent has yet to claim.
expected_refresh_timetimestamp with time zoneTime at which the schedule is expected to refresh in UTC
expected_refresh_durationintegerTime duration in seconds after which a scheduled extract refresh is expected to complete
next_check_timetimestamp with time zoneThe next check time in UTC when the server checks if the linked bridge client is actively running or other interesting scenarios that might arise in the future
site_idintegerThe id of the site that the datasource belongs to
public.datasource_versions: Datasource versions saved on server.
NameTypeDescription
Foreign key/Primary key relation from datasource_id on this table to id on table, public.datasources
Foreign key/Primary key relation from site_id on this table to id on table, public.sites
idintegerThe id of a version. Primary key.
site_idintegerReference to entury in sites table. Indicates the site to which this datasource version belongs to.
datasource_idintegerA foreign key to the datasources table. Reference to Datasource.
publisher_idintegerReference to user in site users table. User who published this version. Can point to deleted user.
version_numberintegerThe version number.
published_attimestamp without time zoneThe time when this version was initially published. Copied from datasource record last_updated field at the time of being overwritten.
sizebigintThe size, in bytes, of this version of datasource.
content_keycharacter varyingKey of the datasource as string
sos_typecharacter varyingThe SOS data type under which this version document is stored, or null if it is not stored in SOS.
public.datasources: Records all Published datasources on server.
NameTypeDescription
Foreign key/Primary key relation from modified_by_user_id on this table to id on table, public.users
Foreign key/Primary key relation from owner_id on this table to id on table, public.users
Foreign key/Primary key relation from project_id on this table to id on table, public.projects
Foreign key/Primary key relation from site_id on this table to id on table, public.sites
idintegerPrimary key for the record.
namecharacter varyingThe name of the published datasource.
repository_urltextUniquely identifies a datasource. More or less consists of a slightly modified name, but not totally obviously, especially in the presence of non-ASCII characters. Used in URLs meant to access this datasource.
owner_idintegerThe user ID of the owner/uploader of the datasource.
created_attimestamp without time zoneWhen this record was created.
updated_attimestamp without time zoneWhen this record was last updated.
project_idintegerThe associated project ID where the datasource was published.
sizebigintThe size in bytes of the datasource.
lock_versionintegerUsed to implement "optimistic locking". Don't set this or mess with it, it's all handled automatically.
statecharacter varyingOne of "active" or NULL.
db_classtextThe origin of the data. It's often a database, but the concept is a bit more general than that. For example, "oracle" and "db2" are possibilities, but so are "excel" and "dataengine" (and many more).
db_nametextThe name of the database associated with the published datasource. But because data sources are more general than databases, in some instances, this might actually be a file path, or blank.
table_nametextThe name of the table associated with the published datasource. But, because data sources are more general than databases, this might, for example, actually refer to an Excel worksheet, or be blank.
site_idintegerA foreign key reference to the site with which this datasource is associated.
revisioncharacter varyingIncrements each time a new version of the datasource is published.
embeddedtextAn encrypted keychain holding any credentials stored with the datasource.
incrementable_extractsbooleanTrue or false as to whether incrementable extracts are allowed for the published datasource.
refreshable_extractsbooleanTrue or false as to whether refreshable extracts are avaliable for the published datasource.
data_engine_extractsbooleanTrue means the data was supplied in the form of a Tableau data extract, though the original source of the data may be known to reside elsewhere.
extracts_refreshed_attimestamp without time zoneRecords the time of the last full extract refresh.
first_published_attimestamp without time zoneWhen the first publication of this datasource occurred.
connectablebooleanIf this datasource was published using a release of the software where connecting to datasources through the Data Server was supported (post 7.0).
is_hierarchicalbooleanSet to true if the source is a hierarchical (cube) database.
extracts_incremented_attimestamp without time zoneRecords the time of the last incremental extract refresh.
luiduuidUnique identifier.
document_versioncharacter varyingThe internal version of the .tds file associated with this record.
descriptiontextA textual description of the datasource.
content_versioninteger$Version number of the datasource. updated on each publish
parent_workbook_idintegerIs set to null for published datasources or else references the workbook id that contains this datasource.
hidden_namecharacter varyingAuto-generated name for the datasource extracted from the twb/tds file.
last_published_attimestamp without time zoneTime that the user last published this datasource to server. For datasources that were last published before this column existed, the value will be null.
data_idcharacter varyingUnique ID used to identify the datasource data.
reduced_data_idcharacter varyingUnique ID used to identify the reduced datasource data.
remote_query_agent_idintegerIf present, the agent to remote queries to.
using_remote_query_agentbooleanWhether the queries to this data source may be proxied via a remote agent.
is_certifiedbooleanWhether or not this datasource is certified.
certification_notetextExplanation for the certification status of this datasource.
certifier_user_idintegerThe user id of the user that certified this datasource, or null if it is not certified.
certifier_detailstextA snapshot of user information that we want to retain even when the user is deleted.
extract_encryption_statesmallintIf not null, encryption state of the extracts. null or 0 - unencrypted, 1 - encrypted, 2 - pending encryption, 3 - pending decryption, 5 - pending rekey
nlp_settingtextSetting to enable/disable nlp feature on this datasource
extract_creation_pendingsmallintnull or 0 - there is not extract creation in progress, 1 - there is an extract creation in progress
parent_typetextIndicates the parent_type of the datasource (datarole, workbook, null)
nlp_setting_newtextSetting to specify whether a datasource should have Ask Data enabled, disabled, or set to the site default. The site default value was added in 2019.4. This column is kept in sync with the old nlp_setting column until we can deprecate nlp_setting in 2020.3
modified_by_user_idintegerThe user who last modified and published this datasource to server or saved the datasource during web edit. For datasource that were last published before this column existed, the value will be same as owner_id.
separated_data_idcharacter varyingUnique ID used to identify the datasource data without the tds file.
tds_luidtextUnique ID to reference the tds file in the TDS Service.
ask_data_settingcharacter varyingSetting to enable/disable Ask Data feature
ask_data_indexingcharacter varyingData source indexing setting for Ask Data
ask_data_curator_feedbackcharacter varyingSetting to enable/disable Ask Data feedback to curator
separated_reduced_data_idcharacter varyingUnused column, should be removed next deployment
extract_storage_formatsmallintHow extracts for this data source are stored. NULL means no extracts or old-style extract folder. 0 means no extracts. 1 means old-style extract folder. 2 means new-style individual Hyper and TDE files in file store.
ask_data_indexing_newcharacter varyingData source indexing setting for Ask Data to use with lenses
public.desktop_reporting: Each record represents a Tableau Desktop usage report.
NameTypeDescription
idintegerThe id of the report. Primary key.
app_versioncharacter varyingTableau product version.
emailcharacter varyingRegistered email address.
expiration_datedateExpiration date of active key. NULL means permanent.
first_namecharacter varyingFirst Name.
last_namecharacter varyingLast Name.
computer_user_idcharacter varyingComputer user or login id.
host_namecharacter varyingComputer host name.
departmentcharacter varyingDepartment.
companycharacter varyingCompany or organization.
os_versioncharacter varyingOS version.
os_architecturecharacter varyingOS architecture.
registration_datetimestamp without time zoneDate active key was registered.
last_report_datetimestamp without time zoneLast report for this Desktop.
maintenance_expirationdateMaintenance expiration of in use product key.
product_namecharacter varyingProduct name.
editioncharacter varyingTableau Desktop Edition. E.g Professional or Standard.
typecharacter varyingType of key. Trial or Perpetual.
product_keyscharacter varyingSemicolon delimited product keys. Characters beyond 9 replaced with X.
serial_numbercharacter varyingComputer serial number.
mac_addresscharacter varyingNetwork card MAC address.
domaincharacter varyingComputer Active Directory domain.
unique_machine_numbercharacter varyingUnique Machine Number. A string uniquely identifying a computer.
actioncharacter varyingAction: Activate, Use or Return.
action_keycharacter varyingKey being used activated or returned.
public.domains: Records represent either an Active Directory domain or an authenticate system.
NameTypeDescription
idintegerPrimary key for the record
namecharacter varyingThe name is either "local" or the name of some Active Directory group.
short_namecharacter varyingAn alternate shorter form of the name
activebooleanIndicates if the domain is active or not.
familycharacter varyingEither local or ActiveDirectory.
public.draft_metadata: Each record represents a workbook draft per site, per project per user.
NameTypeDescription
draft_luiduuidPrimary key for the record.
site_luiduuidUnique identifier of the site
namecharacter varyingUser friendly name for the draft
user_luiduuidUser luid of the owner of the workbook draft
project_luiduuidUnique identifier of the project where draft is saved
parent_luiduuidUnique identifier of the content from which the draft is created. For new draft this value will be null
parent_revision_idcharacter varyingRevision id for the content from which the draft is created. For new draft this value will be null
thumbnail_urlcharacter varyingThumbnail url for the draft
snapshot_timeline_idcharacter varyingTimeline id of vizqlserver snapshot
created_attimestamp without time zoneDraft creation timestamp
updated_attimestamp without time zoneDraft modified timestamp
public.edge_pool_domain_mappings: Each record represents a resource URI managed by edge pool.
NameTypeDescription
Foreign key/Primary key relation from pool_id, site_id on this table to pool_id, site_id on table, public.edge_pool_metadata
idintegerAuto-generated id from postgres; also the primary key for the table.
pool_iduuidThe associated edge pool within a site.
site_idintegerThe associated site.
domaincharacter varyingThe fully qualified domain or domain wildcard mapped to edge pool.
created_attimestamp without time zoneThe time the record was created, in UTC.
updated_attimestamp without time zoneThe time the record was updated, in UTC.
site_luiduuidLuid of the site
public.edge_pool_metadata: Each record represents an edge pool.
NameTypeDescription
Foreign key/Primary key relation from site_id on this table to id on table, public.sites
idintegerAuto-generated id from postgres; also the primary key for the table.
pool_iduuidA unique, immutable identifier within a site.
site_idintegerThe associated site.
display_namecharacter varyingThe use-created display name.
pool_typecharacter varyingThe type of the pool (ex: User, Default).
created_attimestamp without time zoneThe time the record was created, in UTC.
updated_attimestamp without time zoneThe time the record was updated, in UTC.
site_luiduuidLuid of the site
public.extensions_block_list: Table which stores the block list of extensions on this server
NameTypeDescription
luiduuidThe luid which uniquely identifies the extensions blocklist row.
urltextThe url of extension which is blocked.
activebooleanThe check to see if the current entry is active or archived.
created_attimestamp without time zoneCreated date for this record.
updated_attimestamp without time zoneModified date for this record.
public.extensions_events: Table which stores the events of referenced extensions calculation service
NameTypeDescription
luiduuidThe luid which uniquely identifies the extensions events row.
workbook_luiduuidThe luid which uniquely identifies the workbook.
site_luiduuidThe luid which uniquely identifies the site.
site_idintegerThe id which uniquely identifies the site.
statusintegerThe status of the current task.
created_attimestamp without time zoneCreated date for this record.
updated_attimestamp without time zoneModified date for this record.
public.extensions_instances: Table which stores referenced extensions information calculated from across the workbooks.
NameTypeDescription
Foreign key/Primary key relation from site_id on this table to id on table, public.sites
luiduuidThe luid which uniquely identifies the extensions instance row.
extension_luiduuidThe luid which uniquely identifies the extension.
workbook_luiduuidThe luid which uniquely identifies the workbook.
view_luiduuidThe luid which uniquely identifies the view.
site_luiduuidThe luid which uniquely identifies the site.
site_idintegerThe id which uniquely identifies the site.
activebooleanThe check to determine if the current entry is active or archived.
countintegerThe count of extensions in views of a given workbook
created_attimestamp without time zoneCreated date for this record.
updated_attimestamp without time zoneModified date for this record.
idbigintThe unique identifier for this entry.
public.extensions_metadata: Table which stores Metadata of Extensions.
NameTypeDescription
Foreign key/Primary key relation from site_id on this table to id on table, public.sites
luiduuidThe luid which uniquely identifies the extensions metadata row.
site_luiduuidThe luid which identifies the site.
site_idintegerThe id which identifies the site.
extension_idtextThe extension id defined in the manifest.
typetextThe type of extension.
versiontextThe version of extension.
manifest_versiontextThe version of the manifest of the extension.
min_api_versiontextThe minimum api version needed for the extension.
default_localetextThe default locale of the extension.
name_locale_valuetextThe name of the extension.
name_locale_resourceidtextThe resource id for the name of the extension.
desc_locale_valuetextThe description of the extension.
dec_locale_resourceidtextThe resource id for the description of the extension.
resourcestextThe localization resources for the extension.
permissionstextThe permissions defined in the manifest of the extension.
author_nametextThe name of the author of extension.
author_emailtextThe email of the author of extension.
author_orgtextThe organization of the author of extension.
author_websitetextThe website of the author of extension.
urltextThe url of extension.
icontextThe icon of extension.
installedbooleanThe check to see if the extension is installed.
created_attimestamp without time zoneCreated date for this record.
updated_attimestamp without time zoneModified date for this record.
idbigintThe id of the extension from the manifest.
public.extensions_safe_list: Table which stores safe list of extensions that are configured for a given site.
NameTypeDescription
Foreign key/Primary key relation from site_id on this table to id on table, public.sites
site_luiduuidThe luid which uniquely identifies the site.
site_idintegerThe id which uniquely identifies the site.
luiduuidThe luid which uniquely identifies the extensions safe list row.
urltextThe url of the safe list extension.
allow_full_databooleanThe full data access permission of an extension.
prompt_neededbooleanThe prompt needed setting of an extension.
activebooleanThe check to determine if the current entry is active or archived.
created_attimestamp without time zoneCreated date for this record.
updated_attimestamp without time zoneModified date for this record.
idbigintThe unique identifier for this entry.
public.extensions_site_settings: Table which stores the site specific settings for extensions
NameTypeDescription
Foreign key/Primary key relation from site_id on this table to id on table, public.sites
site_luiduuidThe luid which uniquely identifies the site.
site_idintegerThe id which uniquely identifies the site.
luiduuidThe luid which uniquely identifies the extensions settings row.
extensions_enabledbooleanThe check to see if the extensions are enabled on the site.
default_settingbooleanThe check to see if the default settings are enable for extensions
activebooleanThe check to determine if the current entry is active or archived.
updated_attimestamp without time zoneModified date for this record.
idbigintThe unique identifier for this entry.
allow_sandboxedbooleanWhether sandboxed extensions are allowed to run
public.external_service_connections: Table which stores the site specific settings for external service connections
NameTypeDescription
Foreign key/Primary key relation from site_id on this table to id on table, public.sites
idintegerThe id which uniquely identifies the connection.
luiduuidThe luid which uniquely identifies the connection, for security purpose.
site_idintegerThe site_id which uniquely identifies the site.
connection_typetextThe connection_type identifies the external service type.
hosttextThe host identifies host name or ip address of the external server
portintegerThe port identifies port of the external service.
is_auth_enabledbooleanThe is_auth_enabled identifies whether authentication is enabled.
usernametextThe username for authentication of the external service, if is_auth_enabled.
pwdtextThe encrypted password for authentication of the external service, if is_auth_enabled.
is_ssl_enabledbooleanThe is_ssl_enabled identifies whether SSL is enabled for the external service.
asset_key_idintegerThe asset_key_id which uniquely identifies the asset key with which secrets in this row are encrypted
connection_namecharacter varyingunique name for the connection
public.external_service_site_settings: Table which stores the site level settings for external services
NameTypeDescription
Foreign key/Primary key relation from site_id on this table to id on table, public.sites
idintegerThe id which uniquely identifies the site setting.
site_idintegerThe site_id which uniquely identifies the site.
extsvc_enabledbooleanThe extsvc_enabled identifies whether external service is enabled on certain site.
time_outintegerThe time_out identifies the time out value when connect to external service.
public.extract_operations: Each record represents an extract create operation on a Tableau workbook.
NameTypeDescription
Foreign key/Primary key relation from owner_id on this table to id on table, public.users
Foreign key/Primary key relation from site_id on this table to id on table, public.sites
idintegerPrimary key for the extract operation record.
job_idintegerThe background job id for this opeartion.
session_idcharacter varyingThe session identifier.
workbook_idintegerThe ID of the workbook associated with this operation. It is null when this operation is for a new workbook.
operation_datajsonThe data sources to create extracts with json format.
document_data_idcharacter varyingThe identifier for the workbook file data associated with this operation.
owner_idintegerThe user ID of the owner of the operation.
site_idintegerThe ID of the site associated with this operation.
embeddedtextAn encrypted keychain holding any credentials stored with the workbook.
asset_key_idintegerThe asset encryption key used to encrypt the keychain in the embedded column.
statusintegerThe status of the operation.
error_messagetextStore the error message of the operation.
updated_attimestamp without time zoneWhen this record was last updated.
created_attimestamp without time zoneWhen this record was created.
extract_idintegerID of the extract record used by this operation.
lock_versionintegerVersion of the database record.
luiduuidA unique identifier of the extract operation.
public.extract_service_commands: Table which stores the extract commands for extract service
NameTypeDescription
Foreign key/Primary key relation from site_id on this table to id on table, public.sites
idbigintThe id which uniquely identifies row in the table
luiduuidThe luid of record in the table
created_attimestamp without time zoneThe timestamp for creating the extract command
updated_attimestamp without time zoneThe timestamp for updating the extract command
site_idintegerA foreign key reference to the site to where the extract command exists.
site_luiduuidExtract command site luid
owner_luiduuidExtract command owner luid
durationbigintDuration of extract command execution time
statuscharacter varyingStatus of extract command
messagetextMessage of extract command
execute_nodeuuidWhich node execute the extract command
resource_typecharacter varyingExtract command for what extractable resource type
operationcharacter varyingExtract command operation
starting_itemstextExtract command starting items
transaction_levelcharacter varyingExtract command transaction level
extract_iduuidExtract command operate on extract id
result_versionintegerExtract command result version
resource_idcharacter varyingExtract command for which extractable resource id
callercharacter varyingWhich service issued the command
public.extract_service_extracts: Table which stores the extracts for extract service
NameTypeDescription
Foreign key/Primary key relation from site_id on this table to id on table, public.sites
idbigintThe id which uniquely identifies row in the table
luiduuidThe luid of record in the table
created_attimestamp without time zoneThe timestamp for creating the extract
updated_attimestamp without time zoneThe timestamp for updating the extract
site_idintegerA foreign key reference to the site to where the extracts exists.
site_luiduuidExtract site luid.
owner_luiduuidExtract owner luid
latest_versionintegerLatest version of extract result for the extract
public.extract_service_object_queue: Table which stores the object queue for extract service
NameTypeDescription
Foreign key/Primary key relation from site_id on this table to id on table, public.sites
idbigintThe id which uniquely identifies row in the table
created_attimestamp without time zoneThe timestamp for creating the object queue
updated_attimestamp without time zoneThe timestamp for updating the object queue
object_typecharacter varyingThe object type of record in the table
site_idintegerA foreign key reference to the site to where the objects exists.
site_luiduuidObject site luid.
object_idcharacter varyingThe object id of record in the table
public.extract_service_object_queue_element: Table which stores the object queue for extract service
NameTypeDescription
Foreign key/Primary key relation from object_queue_id on this table to id on table, public.extract_service_object_queue
Foreign key/Primary key relation from site_id on this table to id on table, public.sites
idbigintThe id which uniquely identifies row in the table
payload_luiduuidThe payload luid of record in the table
payloadtextThe payload content of record in the table
sequenceintegerThe element sequence in queue of record in the table
object_queue_idbigintThe queue id of record in the table
site_idintegerA foreign key reference to the site to where the elements exists.
site_luiduuidElement site luid.
public.extract_service_results: Table which stores the extract results for extract service
NameTypeDescription
Foreign key/Primary key relation from command_id on this table to id on table, public.extract_service_commands
Foreign key/Primary key relation from extract_id on this table to id on table, public.extract_service_extracts
Foreign key/Primary key relation from site_id on this table to id on table, public.sites
idbigintThe id which uniquely identifies row in the table
created_attimestamp without time zoneThe timestamp for creating the extract command
extract_idbigintA foreign key reference to the extract
command_idbigintA foreign key reference to the extract command
site_idintegerA foreign key reference to the site to where the extract command exists.
site_luiduuidExtract result site luid
sos_data_idcharacter varyingSOS data id of extract result
versionintegerResult version of extract
relative_pathcharacter varyingRelative path of result extract file.
file_sizebigintExtracted file size
check_sumcharacterExtracted file size
encryption_key_idtextEncryption key id for this extract result
public.extract_sessions: Extracts that have active vizql sessions.
NameTypeDescription
Foreign key/Primary key relation from site_id on this table to id on table, public.sites
idintegerPrimary key for this record.
extract_idintegerForeign key reference to the extracts table.
session_guidcharacter varyingVizql session identifier.
session_typecharacter varyingOne of "Workbook" or "Datasource"
created_attimestamp without time zoneDate when extract session was created.
worker_namecharacter varyingWorker on which extract session was created.
site_idintegerSite ID of the extract session.
public.extracts: Each record corresponds to a directory that contains one or more extract files associated with either a workbook or datasource.
NameTypeDescription
Foreign key/Primary key relation from datasource_id on this table to id on table, public.datasources
Foreign key/Primary key relation from site_id on this table to id on table, public.sites
Foreign key/Primary key relation from workbook_id on this table to id on table, public.workbooks
idintegerPrimary key for this record.
workbook_idintegerIf the extracts are associated with a workbook, then this is a foreign key link to that workbook, otherwise it is NULL.
descriptorcharacter varyingThe UUID that is the name of the directory where the extracts are saved.
created_attimestamp without time zoneWhen this record was created.
updated_attimestamp without time zoneWhen this record was last updated.
datasource_idintegerIf the extracts are associated with a datasource, then this is a foreign key link to that datasource, otherwise it is NULL.
encryption_key_idcharacter varyingIf not null, id of the extract encryption key (KEK) with which these extracts are encrypted.
site_idintegerSite ID of the extract.
sizebigintSize of the extract(s) in bytes.
public.field_indexability: The user-defined NLP indexability rules for fields in datasources
NameTypeDescription
Foreign key/Primary key relation from published_datasource_id on this table to id on table, public.datasources
Foreign key/Primary key relation from site_id on this table to id on table, public.sites
idbigintThe unique identifier for this row that is automatically generated on insert
created_attimestamp with time zoneThe timestamp for when this row entry was created
updated_attimestamp with time zoneThe timestamp for when this row entry was updated
site_idintegerThe id of the site on which the datasource is published
published_datasource_idintegerThe id of the published datasource on the site
field_graph_idtextThe graph id of the field in the datasource
indexing_modetextThe user-specified behavior for NLP to index the field
public.flow_drafts: Each record represents a draft for a Tableau Prep flow that exists on Tableau Server.
NameTypeDescription
Foreign key/Primary key relation from flow_id on this table to id on table, public.flows
Foreign key/Primary key relation from owner_id on this table to id on table, public.users
Foreign key/Primary key relation from project_id on this table to id on table, public.projects
Foreign key/Primary key relation from site_id on this table to id on table, public.sites
idintegerPrimary key for the flow draft record.
luiduuidAn immutable identifier for the flow draft, unique within a site.
owner_idintegerThe user ID of the owner of the flow draft. The owner of the draft may differ from the owner of the flow.
flow_idintegerThe ID of the flow associated with this draft. If null, this draft is for a new flow.
site_idintegerThe ID of the site containing this flow draft.
project_idintegerThe ID of the project containing this flow draft. Present if and only if flow ID is null. Otherwise, shares project of flow.
namecharacter varyingThe name of the flow draft. Present if and only if flow ID is null. Otherwise, shares name of flow.
document_data_idcharacter varyingThe identifier for the .TFL(X) file data associated with this flow draft.
packaged_files_data_idcharacter varyingThe identifier for the packaged file data associated with this flow draft.
content_versionintegerVersion of the flow draft. Incremented on each update.
created_attimestamp without time zoneThe time the record was created.
last_force_updated_attimestamp without time zoneThe time the record was last forcibly updated, bypassing certain time-based update throttling.
updated_attimestamp without time zoneThe time the record was last updated.
document_file_sizebigintThe size of the flow draft document file in bytes.
packaged_files_sizebigintThe size of the flow draft packaged files in bytes.
flow_content_versionintegerThe version of the flow to which this draft corresponds. If not associated with a flow, this value will be null.
is_virtual_draftbooleanTrue if this draft is virtual, meaning no changes have been saved to it. False otherwise.
lock_versionintegerOptimistic lock version intended for internal usage only. Should not be manually set or retrieved.
encryption_keycharacter varyingThe ID of the encryption key (KEK) with which data in this flow draft is encrypted. If the flow draft has no encryption key, this value will be null.
data_engine_extractsbooleanTrue if the flow draft contains data was supplied in the form of a Tableau data extract. False otherwise.
extract_encryption_statesmallintEncryption state of the extracts for this flow draft. null or 0 - unencrypted, 1 - encrypted, 2 - pending encryption, 3 - pending decryption, 5 - pending rekey
published_attimestamp without time zoneThe time the flow draft was last published into a flow.
last_session_idcharacter varyingThe id of the most recent flow edit session that was created for this draft. Null indicates there are no active sesions for the draft.
hiddenbooleanFlag to indicate whether or not we the flow draft is hidden from content management system.
kindcharacter varyingIndicates what kind of flow draft this record represents.
public.flow_events: Each row represents an event affecting a flow
NameTypeDescription
idintegerPrimary key of the event
flow_idintegerForeign key to the corresponding flow
event_typeintegerEvent type integer value
event_created_attimestamp without time zoneTime of event creation
site_idintegerSite ID of flow event
public.flow_input_steps: Each record represents an individual input step from a published Tableau Prep flow.
NameTypeDescription
Foreign key/Primary key relation from data_connection_id on this table to id on table, public.data_connections
Foreign key/Primary key relation from flow_id on this table to id on table, public.flows
Foreign key/Primary key relation from site_id on this table to id on table, public.sites
idintegerPrimary key for the record of the input step.
step_idcharacter varyingUnique id for the input step, pulled from the TFL file.
namecharacter varyingThe name of the input step, pulled from TFL.
flow_idintegerThe FK to flows for the flow where this input step exists.
data_connection_idinteger The FK to data_connections.
site_idintegerThe id of the site associated with the flow where this input step exists.
luiduuidA unique, immutable identifier for the input step.
public.flow_models: Each row contains model metadata for a flow
NameTypeDescription
Foreign key/Primary key relation from flow_id on this table to id on table, public.flows
Foreign key/Primary key relation from site_id on this table to id on table, public.sites
idintegerPrimary key of the model metadata
flow_idintegerForeign key to the corresponding flow
data_idcharacter varyingData store ID of model
generated_attimestamp without time zoneTime of model generation
stale_attimestamp without time zoneModel expiration time
site_idintegerSite ID of the flow_models.
public.flow_output_step_runs: Each record represents a run of an output step of a flow. See flow_runs for per-flow run history.
NameTypeDescription
Foreign key/Primary key relation from flow_id on this table to id on table, public.flows
Foreign key/Primary key relation from flow_output_step_id on this table to id on table, public.flow_output_steps
Foreign key/Primary key relation from flow_run_id on this table to id on table, public.flow_runs
Foreign key/Primary key relation from site_id on this table to id on table, public.sites
idintegerPrimary key for the record.
flow_idintegerForeign key to the flow that was run.
flow_run_idintegerForeign key to the flow_runs table which gives the flow-level run history.
flow_output_step_idintegerForeign key to the flow_output_steps table.
started_attimestamp without time zoneWhen the flow processing system began executing the execution plan associated with this output step.
completed_attimestamp without time zoneWhen the flow processing system completed publishing the output of this output step.
progressintegerCan be used to indicate percent complete for the job, but in most cases simply gets set to 100 when the job is completed. -1 means pending.
finish_codeintegerWhether or not the job succeeded. 0 for success; 1 for failure; 2 for cancelled.
rows_producedbigintThe count of rows produced.
notescharacter varyingCan be used to store additional information about the running of the job. Often errors.
is_incrementalbooleanWhether the run was incremental in run history
site_idintegerSite ID of the flow_output_step_runs.
public.flow_output_steps: Each record represents an individual output step from a published Maestro flow.
NameTypeDescription
Foreign key/Primary key relation from data_connection_id on this table to id on table, public.data_connections
Foreign key/Primary key relation from datarole_id on this table to id on table, public.data_roles
Foreign key/Primary key relation from datasource_id on this table to id on table, public.datasources
Foreign key/Primary key relation from flow_id on this table to id on table, public.flows
Foreign key/Primary key relation from site_id on this table to id on table, public.sites
idintegerPrimary key for the record of the output step.
step_idcharacter varyingUnique id for the output step, pulled from the TFL file.
namecharacter varyingThe name of the output step from TFL.
flow_idintegerThe FK to flows for the flow where this output step exists.
data_connection_idintegerThe FK to data_connections.
site_idintegerThe id of the site associated with the flow where this output step exists.
luiduuidA unique, immutable identifier for the output step.
is_deletedbooleanWhether this flow output step is deleted or not.
datasource_idintegerid of associated datasource
datarole_idintegerid of associated datarole
is_incremental_enabledbooleanWhether to give user the option to run this output incrementally
is_incremental_defaultbooleanWhether running this output incrementally is the default option.
output_operation_typeintegerWhether to create-1, append-2 or truncate-3 the output when run type is full refresh.
incremental_output_operation_typeintegerWhether to create-1, append-2 or truncate-3 the output when run type is incremental refresh.
output_namecharacter varyingThe name of the output that the flow creates.
public.flow_output_steps_data_connections: Serves as a linking mechanism between flow output steps, data_connections, and datasources.
NameTypeDescription
Foreign key/Primary key relation from data_connection_id on this table to id on table, public.data_connections
Foreign key/Primary key relation from datasource_id on this table to id on table, public.datasources
Foreign key/Primary key relation from flow_output_step_id on this table to id on table, public.flow_output_steps
Foreign key/Primary key relation from site_id on this table to id on table, public.sites
idintegerThe primary key for the record.
site_idintegerThe ID of the site the record is associated with.
flow_output_step_idintegerThe ID of the flow output step the record is associated with.
data_connection_idintegerThe ID of the data connection the record is associated with.
datasource_idintegerThe ID of the datasource the record is associated with, if exists.
public.flow_output_steps_parameters: Serves as a many to many linking mechanism between flow parameters and flow output steps. An output step can require multiple parameters, and a parameter can be required by multiple output steps.
NameTypeDescription
Foreign key/Primary key relation from flow_output_step_id on this table to id on table, public.flow_output_steps
Foreign key/Primary key relation from flow_parameter_id on this table to id on table, public.flow_parameters
Foreign key/Primary key relation from site_id on this table to id on table, public.sites
idintegerThe primary key for the record.
site_idintegerThe id of the site the record is associated with.
flow_output_step_idintegerThe id of the flow output step the record is associated with.
flow_parameter_idintegerThe id of the flow parameter the record is associated with.
public.flow_parameter_list_domain_values: Each record contains a value for the domain for a list type parameter.
NameTypeDescription
Foreign key/Primary key relation from flow_parameter_list_domain_id on this table to id on table, public.flow_parameter_list_domains
Foreign key/Primary key relation from site_id on this table to id on table, public.sites
idintegerThe primary key for the record.
site_idintegerThe id of the site this record is associated with.
flow_parameter_list_domain_idintegerThe id of the flow parameter list domain this record is associated with.
valuecharacter varyingThe list value for the domain of the list type parameter.
public.flow_parameter_list_domains: Each record contains the domain information for a list type parameter.
NameTypeDescription
Foreign key/Primary key relation from flow_parameter_id on this table to id on table, public.flow_parameters
Foreign key/Primary key relation from site_id on this table to id on table, public.sites
idintegerThe primary key for the record.
site_idintegerThe id of the site this record is associated with.
flow_parameter_idintegerThe id of the flow parameter this record is associated with.
public.flow_parameter_range_domains: Each record contains the domain information for a range type parameter.
NameTypeDescription
Foreign key/Primary key relation from flow_parameter_id on this table to id on table, public.flow_parameters
Foreign key/Primary key relation from site_id on this table to id on table, public.sites
idintegerThe primary key for the record.
site_idintegerThe id of the site this record is associated with.
flow_parameter_idintegerThe id of the flow parameter this record is associated with.
min_valuecharacter varyingThe minimum value of this parameter range domain.
max_valuecharacter varyingThe maximum value of this parameter range domain.
step_sizecharacter varyingThe step size of this parameter range domain.
date_unitintegerThe date unit of this parameter range domain, if the parameter data type is date or datettime. NULL = N/A, 0 = second, 1, = minute, 2 = hour, 3 = day, 4 = week, 5 = month, 6 = quarter, 7 = year
public.flow_parameters: Each record represents a parameter for a flow on Tableau Server.
NameTypeDescription
Foreign key/Primary key relation from flow_id on this table to id on table, public.flows
Foreign key/Primary key relation from site_id on this table to id on table, public.sites
idintegerThe primary key for the parameter
luiduuidA unique, immutable identifier within a site.
site_idintegerThe id of the site this parameter is associated with.
flow_idintegerThe id of the flow this parameter is associated with.
parameter_guidcharacter varyingThe unique id for this parameter used in the TFL file.
namecharacter varyingThe name for this parameter.
descriptiontextThe description for this parameter.
domain_typeintegerThe domain type for this parameter. 0 = all, 1 = binary, 2 = range, 3 = list.
valuecharacter varyingThe value for this parameter. Set if and only if is_required is false.
is_requiredbooleanTrue if the parameter is required, false otherwise.
data_typeintegerThe data type of this parameter. 0 = string, 1 = integer, 2 = float, 3 = date, 4 = datetime, 5 = boolean.
is_activebooleanTrue if the parameter is currently referenced in the flow, false otherwise.
public.flow_run_errors: Each record represents an individual flow run error which has detailed information about the error
NameTypeDescription
Foreign key/Primary key relation from flow_id on this table to id on table, public.flows
Foreign key/Primary key relation from flow_output_step_id on this table to id on table, public.flow_output_steps
Foreign key/Primary key relation from flow_output_step_run_id on this table to id on table, public.flow_output_step_runs
Foreign key/Primary key relation from flow_run_id on this table to id on table, public.flow_runs
Foreign key/Primary key relation from site_id on this table to id on table, public.sites
idintegerPrimary key for the record of the flow run error.
flow_idintegerThe FK to flows for the flow which this run error is about.
flow_output_step_idintegerThe FK to flow output steps for the output step which this run error is about.
flow_run_idintegerThe FK to flow runs for the flow run where this error got reported from.
flow_output_step_run_idintegerThe FK to flow output step runs for the flow output step run where this error got reported from.
error_typecharacter varyingThe type of this error
object_idcharacter varyingThe object id this error is about, could be null if the error is not about specific object but the entire flow.
object_typecharacter varyingThe type of the object, like node or connection in the maestro doc
object_namecharacter varyingThe name of the object according to the maestro doc, used to display name in clients
error_message_paramstextstring params for the flow run error messages, formatted as yaml.
exception_classtextthe class name of the original exception of the flow run error
exception_stacktracetextthe stacktrace of the original exception of the flow run error
flowprocessor_raw_error_messagetextthe raw error message in English from flow processor, if the flow run error is originated from flow processor
site_idintegerSite ID of the flow_run_errors.
error_sourcecharacter varyingThe Tableau Error Source for the flow run error.
public.flow_run_spec_output_steps: Each record represents an individual output step in a flow run specification.
NameTypeDescription
Foreign key/Primary key relation from flow_output_step_id on this table to id on table, public.flow_output_steps
Foreign key/Primary key relation from flow_run_spec_id on this table to id on table, public.flow_run_specs
Foreign key/Primary key relation from site_id on this table to id on table, public.sites
idintegerPrimary key for the record of the flow run spec output step.
flow_run_spec_idintegerThe FK to flow_run_spec for the flow run spec which this output step belongs to.
flow_output_step_idintegerThe FK to flow_output_steps table for the flow output step which this Id refers to .
site_idintegerThe id of the site associated with the flow which the entire flow run spec is about.
luiduuidA unique, immutable identifier for the flow run spec output step.
is_incrementalbooleanWhether user chooses incremental run in scheduler
public.flow_run_spec_parameters: Each record holds the override value for a parameter.
NameTypeDescription
Foreign key/Primary key relation from flow_parameter_id on this table to id on table, public.flow_parameters
Foreign key/Primary key relation from flow_run_spec_id on this table to id on table, public.flow_run_specs
Foreign key/Primary key relation from site_id on this table to id on table, public.sites
idintegerThe primary key for the record.
luiduuidA unique, immutable identifier within a site.
site_idintegerThe id of the site the record is associated with.
flow_parameter_idintegerThe id of the flow parameter the record is associated with.
flow_run_spec_idintegerThe id of the flow run spec the record is associated with.
override_valuecharacter varyingThe override value for the parameter.
public.flow_run_specs: Each record represents an individual specification about how a Tableau Prep flow should be run
NameTypeDescription
Foreign key/Primary key relation from flow_id on this table to id on table, public.flows
Foreign key/Primary key relation from site_id on this table to id on table, public.sites
idintegerPrimary key for the record of the flow run spec.
flow_idintegerThe FK to flows for the flow which this run spec is about.
trigger_typecharacter varyingThe trigger type of this flow run, currently 0 for scheduled run, 1 for ad-hoc run
site_idintegerThe id of the site associated with the flow which this run spec is about.
luiduuid A unique, immutable identifier for the flow run spec.
run_all_outputsbooleanWhether to run flow with all outputs, future outputs included
is_incrementalbooleanWhether to force all output nodes run incrementally (true) or full refresh (false) or unspecified (null).
public.flow_runs: Each record represents a run of a flow. See flow_output_step_runs for per-output-step run history.
NameTypeDescription
Foreign key/Primary key relation from flow_id on this table to id on table, public.flows
Foreign key/Primary key relation from flow_run_spec_id on this table to id on table, public.flow_run_specs
Foreign key/Primary key relation from site_id on this table to id on table, public.sites
Foreign key/Primary key relation from task_id on this table to id on table, public.tasks
Foreign key/Primary key relation from user_id on this table to id on table, public.users
idintegerPrimary key for the record.
flow_idintegerForeign key to the flow that was run.
flow_processor_run_idcharacter varyingIdentifier for a given run from the flow processing system.
flow_run_spec_idintegerIdentifier for the specification of a given run.
started_attimestamp without time zoneWhen the flow processing system began execution.
completed_attimestamp without time zoneWhen the flow processing system completed execution.
task_idintegerForeign key to the task that triggered this flow run (if one exists).
trigger_typecharacter varyingSpecifies what caused this flow run to occur. Currently 0 for scheduled run (task), 1 for ad-hoc run.
progressintegerCan be used to indicate percent complete for the job, but in most cases simply gets set to 100 when the job is completed. -1 means pending.
finish_codeintegerWhether or not the job succeeded. 0 for success; 1 for failure; 2 for cancelled.
notescharacter varyingCan be used to store additional information about the running of the job. Often errors.
background_job_idintegerID of the background job associated with this flow run
luiduuidAn immutable identifier for the flow run.
user_idintegerUser ID of the user who started the flow run.
site_idintegerSite ID of the flow_runs.
attachment_sos_idcharacter varyingID representing SOS token where the unprocessed attachments are stored
public.flow_runtime_owners: Table to keep track of flow/flow output step owner at flow run time. Used to calculate derived permission on flow outputs.
NameTypeDescription
Foreign key/Primary key relation from flow_id on this table to id on table, public.flows
Foreign key/Primary key relation from flow_output_step_id on this table to id on table, public.flow_output_steps
Foreign key/Primary key relation from owner_id on this table to id on table, public.users
Foreign key/Primary key relation from site_id on this table to id on table, public.sites
Foreign key/Primary key relation from table_id on this table to id on table, public.table_assets
idintegerPrimary key.
flow_idintegerFlow id.
flow_output_step_idintegerFlow output step id for this flow runtime owner.
created_attimestamp without time zoneWhen this flow runtime owner record was created.
updated_attimestamp without time zoneWhen this flow runtime owner record was updated.
table_idintegerTable related to this flow runtime owner.
owner_idintegerOwner for this flow/table/output step.
site_idintegerSite this flow runtime owner belongs to.
public.flow_user_settings: Each record represents a users selected settings for a Prep flow.
NameTypeDescription
Foreign key/Primary key relation from flow_id on this table to id on table, public.flows
Foreign key/Primary key relation from site_id on this table to id on table, public.sites
Foreign key/Primary key relation from user_id on this table to id on table, public.users
idintegerPrimary key for the flow users settings.
user_idintegerThe user ID of the user with the settings record for this flow.
flow_idintegerThe ID of the flow that this user has made these settings selection.
site_idintegerThe ID of the site containing this flow and user.
embed_modebooleanTrue if the user selected to embed credentials in the flow, false if they selected to not embed credentials.
public.flow_versions: flow versions saved on server.
NameTypeDescription
Foreign key/Primary key relation from flow_id on this table to id on table, public.flows
Foreign key/Primary key relation from site_id on this table to id on table, public.sites
idintegerThe id of a version. Primary key.
site_idintegerReference to entry in sites table. Indicates the site to which this flow version belongs to.
flow_idintegerA foreign key to the flows table. Reference to flow.
publisher_idintegerReference to user in site users table. User who published this version. Can point to deleted user.
version_numberintegerThe version number.
published_attimestamp without time zoneThe time when this version was initially published. Copied from flow record last_updated field at the time of being overwritten.
sizebigintThe size, in bytes, of this version of flow.
content_keycharacter varyingKey of the flow as string
sos_typecharacter varyingThe SOS data type under which this version document is stored, or null if it is not stored in SOS.
encryption_key_idcharacter varyingIf not null, id of the flow version encryption key (KEK) with which data in this flow is encrypted.
data_engine_extractsbooleanTrue means the data was supplied in the form of a Tableau data extract, though the original source of the data may be known to reside elsewhere.
extract_encryption_statesmallintIf not null, encryption state of the extracts. null or 0 - unencrypted, 1 - encrypted, 2 - pending encryption, 3 - pending decryption, 5 - pending rekey
public.flows: Each record represents a Tableau Prep flow that exists on Tableau Server.
NameTypeDescription
Foreign key/Primary key relation from owner_id on this table to id on table, public.users
Foreign key/Primary key relation from project_id on this table to id on table, public.projects
Foreign key/Primary key relation from site_id on this table to id on table, public.sites
idintegerPrimary key for the flow record.
namecharacter varyingThe name of the published flow.
luiduuidA unique, immutable identifier for the flow.
owner_idintegerThe user id of the owner/publisher of the flow.
project_idintegerThe id of the project that this flow is associated with.
site_idintegerThe id of the site that this flow is associated with.
data_idcharacter varyingThe identifier for the data of the .tfl file associated with this flow.
reduced_data_idcharacter varyingUnique ID used to identify the flow's packaged files (removed from the .TFLX and stored separately).
created_attimestamp without time zoneThe time the record was created.
updated_attimestamp without time zoneThe time the record was updated.
descriptiontextThe description of the flow.
lock_versionintegerUsed to implement "optimistic locking." Do not set this or mess with it, its all handled automatically.
sizebigintThe size of the flow file in bytes
embeddedtextThe encrypted keychain with credentials stored with the flow.
asset_key_idintegerThe asset encryption key used to encrypt the keychain in the embedded column.
thumbnail_idcharacter varyingThe identifier for the thumbnail data.
last_published_attimestamp without time zoneThe last time the flow file was published.
content_versionintegerVersion of the flow file, increments on each publish.
document_versioncharacter varyingThe internal version of the .tfl file associated with this record.
file_typecharacter varyingWhether this flow file is a tfl or tflx.
graph_image_idcharacter varyingLocator id for the graph image of the flow in SOS
encryption_key_idcharacter varyingIf not null, id of the flow encryption key (KEK) with which data in this flow is encrypted.
data_engine_extractsbooleanTrue means the data was supplied in the form of a Tableau data extract, though the original source of the data may be known to reside elsewhere.
extract_encryption_statesmallintIf not null, encryption state of the extracts. null or 0 - unencrypted, 1 - encrypted, 2 - pending encryption, 3 - pending decryption, 5 - pending rekey
is_deletedbooleanWhen is_deleted is true then flow is deleted, no active job or user request can see it. It is considered to reside in Recycle Bin until either restored or permanently deleted.
hiddenbooleanFlag to indicate whether or not we the flow is hidden from content management system.
kindcharacter varyingIndicates what kind of flow this record represents.
public.geocoding: Information about geocoding databases.
NameTypeDescription
Foreign key/Primary key relation from site_id on this table to id on table, public.sites
idintegerAuto-generated id from postgres; also the primary key for the table.
sos_idtextStorage ID of this database.
versiontextVersion of the database.
created_attimestamp without time zoneTimestamp when this record was created.
updated_attimestamp without time zoneSame as created_at.
sizebigintSize of the geocoding database.
site_idintegerThe ID of the site the geocoding database belong to.
public.global_geocoding: Information about global geocoding databases.
NameTypeDescription
idintegerAuto-generated id from postgres; also the primary key for the table.
sos_idtextStorage ID of this database.
versiontextVersion of the database.
sizebigintSize of the geocoding database.
activebooleanWhether the database is used by the server.
created_attimestamp without time zoneTimestamp when this record was created.
updated_attimestamp without time zoneSame as created_at.
storage_typesmallintType of the storage used, e.g. folder or hyper.
public.group_users: Serves as a many to many linking mechanism between users and groups. A user can belong to multiple groups, and a group can contain multiple users.
NameTypeDescription
Foreign key/Primary key relation from group_id on this table to id on table, public.groups
Foreign key/Primary key relation from site_id on this table to id on table, public.sites
Foreign key/Primary key relation from user_id on this table to id on table, public.users
idintegerPrimary key for this record.
group_idintegerA foreign key reference to an entry in the groups table.
user_idintegerA foreign key reference to an entry in the users table.
site_idintegerSite ID of the group_users.
public.groups: A grouping of users. Can be locally created or imported from Active Directory.
NameTypeDescription
Foreign key/Primary key relation from domain_id on this table to id on table, public.domains
Foreign key/Primary key relation from site_id on this table to id on table, public.sites
idintegerPrimary key for this record.
namecharacter varyingThe name that was given to the group.
created_attimestamp without time zoneWhen this record was created.
updated_attimestamp without time zoneWhen this record was last updated.
systembooleanIndicates if this group was created by Tableau itself, or if it was created by user action.
owner_idintegerA foreign key link to the user who owns this group.
domain_idintegerA foreign key link to the domain that corresponds to this group.
site_idintegerA foreign key link to the site to which this group belongs.
luiduuidAn identifier that is unique in combination with the site_id.
minimum_site_rolecharacter varyingThe minimum site role given to members of the AD group
last_synchronizedtimestamp without time zoneLast time that synchronization for an AD group was completed
minimum_site_role_idintegerthe id of the minimum site role of the group
grant_license_modecharacter varyingWhen to grant a license to the users in the group. Can either by ON_SYNC or ON_LOGIN
public.hist_capabilities: Records the most useful information about a capability that was relevant at the time of the event (see capabilities table).
NameTypeDescription
idintegerPrimary key for the record.
capability_idintegerA foreign key reference to an entry in the capabilities table. This could be NULL if the matching record in the capabilities table was deleted since this record was created.
nametextThis (or the id) is how the capability is referred to by code.
allowbooleanWhether or not the capability is allowed.
public.hist_collections: Records the most useful information about a collection that was relevant at the time of the event.
NameTypeDescription
idintegerPrimary key for this record.
collection_luidcharacter varyingluid of the collection
namecharacter varyingThe human readable name of the collection.
public.hist_column_assets: Records the most useful information about a column that was relevant at the time of the event (see column_assets table).
NameTypeDescription
idintegerPrimary key for this record.
column_idintegerA foreign key reference to an entry in the columns table. This could be NULL if the matching record in the column_assets table was deleted since this record was created.
namecharacter varyingThe name of the column.
public.hist_comments: Records the most useful information about a comment that was relevant at the time of the event (see comments table).
NameTypeDescription
idintegerPrimary key for this record.
comment_idintegerA foreign key link to the primary key for the comments record. This could be NULL if the matching record in the comments table was deleted since this record was created.
commenttextComment text.
public.hist_configs: Can be used to record information about configuration that was in effect at the time of the historical event.
NameTypeDescription
idintegerPrimary key for this record.
keytextA unique name for the specific configuration.
valuetextThe value of the configuration.
public.hist_data_connections: Records the most useful information about a data connection that was relevant at the time of the event (see data_connections table).
NameTypeDescription
idintegerPrimary key for this record.
data_connection_idintegerA foreign key reference to an entry in the data_connections table. This could be NULL if the matching record in the data_connections table was deleted since this record was created.
servertextDNS server name to connect to.
nametextUnique identifier for this data_connection.
dbnametextThe database name to which the particular connection is linked.
table_nametextThe name of the table in the database that this connection connects to.
public.hist_data_quality_indicators: Records the most useful information about a data quality indicator that was relevant at the time of the event (see data_quality_indicators table).
NameTypeDescription
idintegerPrimary key for this record.
data_quality_indicator_idbigintA foreign key reference to an entry in the data quality indicators table. This could be NULL if the matching record in the data_quality_indicators table was deleted since this record was created.
data_quality_typecharacter varyingType of data quality indicator.
is_activebooleanRepresents state of data quality indicator as true or false.
is_severebooleanIndicates whether a data quality indicator is severe or not. True means severe, otherwise false.
messagetextMessage of data quality indicator.
user_idintegerId of user who created/updated data quality indicator.
user_display_namecharacter varyingDisplay name of user who created/updated data quality indicator.
public.hist_data_roles: Records the most useful information about a data role that was relevant at the time of the event (see data_roles table).
NameTypeDescription
idintegerPrimary key for this record.
data_role_idintegerA foreign key reference to an entry in the data_roles table. This could be NULL if the matching record in the data_roles table was deleted since this record was created.
namecharacter varyingThe name of the data_role.
public.hist_database_assets: Records the most useful information about a database that was relevant at the time of the event (see database_assets table).
NameTypeDescription
idintegerPrimary key for this record.
database_idintegerA foreign key reference to an entry in the databases table. This could be NULL if the matching record in the database_assets table was deleted since this record was created.
namecharacter varyingThe name of the database.
public.hist_datasources: Records the most useful information about a data source that was relevant at the time of the event (see datasources table).
NameTypeDescription
idintegerPrimary key for this record.
datasource_idintegerA foreign key reference to an entry in the datasources table. This could be NULL if the matching record in the datasources table was deleted since this record was created.
nametextThe name of the published datasource.
repository_urltextUniquely identifies a datasource. More or less consists of a slightly modified name, but not totally obviously, especially in the presence of non-ASCII characters. Used in URLs meant to access this datasource.
sizebigintThe size in bytes of the datasource.
revisiontextIncrements each time a new version of the datasource is published.
using_remote_query_agentbooleanWhether this datasource is using remote query agent.
remote_query_agent_nametextThe remote query agent name used by the data source.
is_certifiedbooleanWhether or not this datasource is certified.
certification_notetextExplanation for the certification status of this datasource.
public.hist_flow_drafts: Records the most useful information about a flow draft that was relevant at the time of the event (see flow_drafts table).
NameTypeDescription
idintegerPrimary key for this record.
flow_draft_idintegerThe ID of the flow draft.
flow_idintegerThe ID of the flow if the flow draft is associated with a flow, NULL otherwise.
namecharacter varyingThe name of the flow draft.
sizebigintThe number of bytes used in storing the flow draft information.
public.hist_flows: Records the most useful information about a flow that was relevant at the time of the event (see flows table).
NameTypeDescription
idintegerPrimary key for this record.
flow_idintegerA foreign key reference to an entry in the flows table. This could be NULL if the matching record in the flows table was deleted since this record was created.
namecharacter varyingThe name of the flow.
sizebigintThe number of bytes used in storing the flow information.
content_versioncharacter varyingVersion of the flow file, increments by 1 on each publish.
public.hist_groups: Records the most useful information about a group that was relevant at the time of the event (see groups table).
NameTypeDescription
idintegerPrimary key for this record.
group_idintegerA foreign key reference to an entry in the groups table. This could be NULL if the matching record in the groups table was deleted since this record was created.
nametextThe name that was given to the group.
domain_nametextThe name is either "local" or the name of some Active Directory group.
public.hist_licensing_roles: Records the most useful information about a licensing role that was relevant at the time of the event (see licensing_roles table).
NameTypeDescription
idintegerPrimary key for this record.
licensing_role_idintegerA foreign key reference to an entry in the licensing_roles table. This could be NULL if the matching record in the licensing_roles table was deleted since this record was created.
nametextThe name of the licensing role.
public.hist_metrics: Records the most useful information about a metric that was relevant at the time of the event (see metrics table).
NameTypeDescription
idintegerPrimary key for this record.
metric_idintegerA foreign key reference to an entry in the metrics table. This could be NULL if the matching record in the metrics table was deleted since this record was created.
namecharacter varyingThe name of the metric.
public.hist_projects: Records the most useful information about a project that was relevant at the time of the event (see projects table).
NameTypeDescription
idintegerPrimary key for this record.
project_idintegerA foreign key reference to an entry in the projects table. This could be NULL if the matching record in the projects table was deleted since this record was created.
nametextThe name of the project.
public.hist_published_connections: Records the most useful information about a published connection that was relevant at the time of the event (see published_connections table).
NameTypeDescription
idintegerPrimary key for this record.
published_connection_idintegerA foreign key reference to an entry in the published_connections table. This could be NULL if the matching record in the published_connections table was deleted since this record was created.
nametextThe name of the published connection.
public.hist_remote_agents: Records the most useful information about a remote agent that was relevant at the time of the event.
NameTypeDescription
idintegerPrimary key for the record.
remote_agent_idintegerA reference to an entry in the remote_agents table. This could be NULL if the matching record in the datasources table was deleted since this record was created.
nametextThe value of remote_agents.name at the time of the event.
public.hist_schedules: Records the most useful information about a schedule that was relevant at the time of the event (see schedules table).
NameTypeDescription
Foreign key/Primary key relation from schedule_id on this table to id on table, public.schedules
idintegerPrimary key for this record.
schedule_idintegerA foreign key reference to an entry in the schedules table. This could be NULL if the matching record in the schedules table was deleted since this record was created.
nametextA schedule can be given a name, which is stored here.
schedule_typeintegerOne of 0 (Hourly), 1 (Daily), 2 (Weekly), 3 (Monthly).
priorityintegerPriority can range from 1 to 100, with lower values corresponding to higher priority.
scheduled_actionintegerUsed to classify schedules into one of two categories: 0 (Extract related) 1 (Subscription related)
is_serialbooleanSet to true if the schedule must be run serially with other jobs in the same serial collection.
day_of_week_maskintegerIndicates which day of the week this schedule will run. The information is encoded in the given integer. To interpret it, convert the integer to binary. The days of the week correspond to Sunday : 1, Monday : 10, Tuesday : 100, Wednesday : 1000, Thursday : 10000, Friday : 100000, Saturday : 1000000.
day_of_month_maskintegerIndicates which day of the month this schedule will run. The information is encoded in the given integer. To interpret it, convert the integer to binary. The days of the month correspond to 1st : 1, 2nd: 10, 3rd: 100, 4th: 1000, 5th: 10000, etc.
start_at_minuteintegerThe minute following the start of the designated time period implied by the schedule_type. For example, for a daily schedule, this would be number of minutes past midnight at the start of the day. For hourly, it would be the number of minutes past the beginning of the hour.
minute_intervalintegerOnce the schedule triggers, it will retrigger at this interval during the time period implied by the schedule_type or until end_at_minute, or end_schedule_at.
end_at_minuteintegerThe minute following the start of the designated time period implied schedule_type, at which the schedule should stop triggering.
end_schedule_attimestamp without time zoneUsed to indicate a point in time, after which the schedule should never trigger.
public.hist_sites: Records the most useful information about a site that was relevant at the time of the event (see sites table).
NameTypeDescription
idintegerPrimary key for this record.
site_idintegerA foreign key reference to an entry in the sites table. This could be NULL if the matching record in the sites table was deleted since this record was created.
nametextThe name of the site.
url_namespacetextString used in the construction of URLs that target this site.
public.hist_table_assets: Records the most useful information about a table that was relevant at the time of the event (see table_assets table).
NameTypeDescription
idintegerPrimary key for this record.
table_idintegerA foreign key reference to an entry in the tables table. This could be NULL if the matching record in the table_assets table was deleted since this record was created.
namecharacter varyingThe name of the table.
public.hist_tags: Records the most useful information about a tag that was relevant at the time of the event (see tags table).
NameTypeDescription
idintegerPrimary key for this record.
tag_idintegerA foreign key reference to an entry in the tags table. This could be NULL if the matching record in the tags table was deleted since this record was created.
nametextThe value of the tag.
public.hist_tasks: Records the most useful information about a task that was relevant at the time of the event (see tasks table).
NameTypeDescription
idintegerPrimary key for this record.
task_idintegerA foreign key reference to an entry in the tasks table. This could be NULL if the matching record in the tasks table was deleted since this record was created.
typetextIdentifies the specific type of task that this is. This is how the system identifies what code to execute when this task is to be run.
priorityintegerAn integer where 0 is the highest priority and 10 is the default priority. Other values can be set if desired). Higher priority jobs should be processed earlier.
stateintegerState of the task. 0 - active, 1 - suspended, 2 - disabled.
public.hist_users: Records the most useful information about a user and corresponding system_user that was relevant at the time of the event (see users and system_users tables).
NameTypeDescription
Foreign key/Primary key relation from hist_licensing_role_id on this table to id on table, public.hist_licensing_roles
idintegerPrimary key for this record.
user_idintegerA foreign key reference to an entry in the users table. This could be NULL if the matching record in the users table was deleted since this record was created.
nametextThe username of the user.
domain_nametextThe name is either "local" or the name of some Active Directory group.
emailtextThe email of the user.
system_user_idintegerA foreign key reference to the system user that this user is identified with. This could be NULL if the matching record in the system_users table was deleted since this record was created.
system_admin_levelintegerIndicates if the user is a system administrator. 10 : system admin, 0 : not a system admin
hist_licensing_role_idintegerA foreign key reference to the licensing_role_id column for a record in the hist_licensing_roles table.
site_admin_levelintegerIndicates if this user is a site admin. 5 : site admin, 0 : not site admin.
publisher_tristateintegerDeprecated. Column will be removed in a future release.
site_role_idintegerThe ID of the site role for this user. The mapping is described in the comment for the column users.site_role_id.
public.hist_views: Records the most useful information about a view that was relevant at the time of the event (see views table).
NameTypeDescription
idintegerPrimary key for this record.
view_idintegerA foreign key reference to an entry in the views table. This could be NULL if the matching record in the views table was deleted since this record was created.
nametextThe name of the view.
repository_urltextUniquely identifies a view. More or less composed of workbook and sheet names, but not totally obviously, especially in the presence of non-ASCII characters. Used in URLs meant to access this view.
revisiontextStarts with 1.0 and increments by 0.1 with each republication.
public.hist_workbooks: Records the most useful information about a workbook that was relevant at the time of the event (see workbooks table).
NameTypeDescription
idintegerPrimary key for this record.
workbook_idintegerA foreign key reference to an entry in the workbooks table. This could be NULL if the matching record in the workbooks table was deleted since this record was created.
nametextThe name of the workbook.
repository_urltextA unique name for the workbook, derived from the ASCII characters in the name, which can be used in URLs to refer to this workbook.
sizebigintThe number of bytes used in storing the workbook information.
revisiontextStarts with 1.0 and increments by 0.1 with each republication.
public.historical_disk_usage: Records historical disk utilization by Tableau Server for storage monitoring.
NameTypeDescription
idintegerPrimary key for this record.
worker_idcharacter varyingHostname of the worker the resource exists on.
resource_typeintegerType of resource being monitored. 0 (Entire disk).
pathcharacter varyingDisk path of the monitored resource.
total_space_bytesbigintTotal disk size in bytes.
used_space_bytesbigintDisk space used by the resource in bytes.
stateintegerFree space state of the disk. One of 1 (Normal), 2 (Warning), 3 (Critical).
record_timestamptimestamp without time zoneThe time at which this record was created.
public.historical_event_types: The types of historical events which can be recorded.
NameTypeDescription
type_idintegerPrimary key for this record.
nametextThe name of the specific event that occurred.
action_typetextEvents are grouped together into action types, such as Create, Access, Update and Delete.
public.historical_events: This table is the heart of the cluster of tables devoted to historical event auditing. For each event, a record is created on this table. The type of event is indicated through historical_event_type_id, which links to the historical_event_types table. Other information relevant to the event is linked through some of the other id fields in this table. Note these links go to other hist* tables, which allows the event to refer to things that might have since been deleted from the regular tables.
NameTypeDescription
Foreign key/Primary key relation from historical_event_type_id on this table to type_id on table, public.historical_event_types
idintegerPrimary key for this record.
historical_event_type_idintegerA foreign key reference to an entry in the historical_event_types table.
workertextThe name or IP address of the worker where the event occurred.
is_failurebooleanIndicates if the event was an attempted action that failed. May not be implemented across all events.
detailstextDetail text about the event.
created_attimestamp without time zoneDatetime that the event was recorded.
hist_actor_user_idintegerA reference to the primary key id column for the record in the hist_users table of the user who initiated the event.
hist_target_user_idintegerA reference to the primary key id column for the record in the hist_users table of the user who was the target of the event.
hist_actor_site_idintegerA reference to the primary key id column for the record in the hist_sites table where the event was initiated.
hist_target_site_idintegerA reference to the primary key id column for the record in the hist_sites table which was the target of the event.
hist_project_idintegerA reference to the primary key id column for a record in the hist_projects table.
hist_workbook_idintegerA reference to the primary key id column for a record in the hist_workbooks table.
hist_view_idintegerA reference to the primary key id column for a record in the hist_views table.
hist_datasource_idintegerA reference to the primary key id column for a record in the hist_datasources table.
hist_comment_idintegerA reference to the primary key id column for a record in the hist_comments table.
hist_tag_idintegerA reference to the primary key id column for a record in the hist_tags table.
hist_group_idintegerA reference to the primary key id column for a record in the hist_groups table.
hist_licensing_role_idintegerA reference to the primary key id column for a record in the hist_licensing_roles table.
hist_schedule_idintegerA reference to the primary key id column for a record in the hist_schedules table.
hist_task_idintegerA reference to the primary key id column for a record in the hist_tasks table.
hist_data_connection_idintegerA reference to the primary key id column for a record in the hist_data_connections table.
hist_config_idintegerA foreign key reference to the config_id column for a record in the hist_configs table.
hist_capability_idintegerA reference to the primary key id column for a record in the hist_capabilities table.
hist_remote_agent_idintegerA reference to the primary key id column for a record in the hist_remote_agents table.
hist_flow_idintegerA reference to the primary key id column for a record in the hist_flows table.
hist_data_role_idintegerA reference to the primary key id column for a record in the hist_data_roles table.
hist_database_idintegerA reference to the primary key id column for a record in the hist_database_assets table.
hist_table_idintegerA reference to the primary key id column for a record in the hist_table_assets table.
hist_column_idintegerA reference to the primary key id column for a record in the hist_column_assets table.
hist_metric_idintegerA reference to the primary key id column for a record in the hist_metrics table.
hist_published_connection_idintegerA reference to the primary key id column for a record in the hist_published_connections table.
hist_collection_idintegerA reference to the primary key id column for a record in the hist_collections table.
hist_flow_draft_idintegerA reference to the primary key id column for a record in the hist_flow_drafts table.
hist_data_quality_indicator_idintegerA reference to the primary key id column for a record in the hist_data_quality_indicators table.
public.http_requests: Each record represents a request received by Tableau Server.
NameTypeDescription
idintegerPrimary key for this table.
controllercharacter varyingThe part of the application that received the request.
actioncharacter varyingThe action requested.
http_referercharacter varyingThe referrer.
http_user_agentcharacter varyingThe agent string supplied by the client.
http_request_uritextThe requested URI.
remote_ipcharacter varyingThe client's IP address (from the perspective of the server).
created_attimestamp without time zoneWhen this record was created.
session_idcharacter varyingThe session with which the request is associated.
completed_attimestamp without time zoneWhen the request was completed.
portintegerThe port on which the request was received.
user_idintegerThe user associated with the request.
workercharacter varyingWhich worker machine received the request.
statusintegerThe status returned to the client.
user_cookiecharacter varyingThe user cookie provided in the request.
user_ipcharacter varyingThe IP address of the originator of the request.
vizql_sessiontextThe vizql session associated with this request.
site_idintegerThe site associated with the request.
currentsheetcharacter varyingWhich sheet was being viewed.
flags_usedbigintInteger representing the bitmap of feature flags used in the request.
public.hyper_data_update_jobs: Each record represents a data update job for a live-to-Hyper connection.
NameTypeDescription
Foreign key/Primary key relation from site_id on this table to id on table, public.sites
idintegerPrimary key for the data update job record.
job_idintegerThe background job id for the job.
object_idintegerThe ID of the parent workbook/datasource of the Hyper connection.
object_typetextA string representing the type of object.
site_idintegerThe ID of the site associated with the job.
statusintegerThe status of the operation.
sos_data_idtextThe identifier for the job data associated with the update.
job_datajsonData needed to perform the update stored in a json format.
error_messagetextThe error message associated with the job to be returned to the user.
created_attimestamp without time zoneThe time the record was created.
updated_attimestamp without time zoneThe time the record was last updated.
request_idtextThe unique ID for the job provided by the user. This maps 1 to 1 to the backgrounder job.
public.hyper_databases: Information about Hyper databases.
NameTypeDescription
Foreign key/Primary key relation from site_id on this table to id on table, public.sites
idintegerAuto-generated id from postgres; also the primary key for the table.
site_idintegerId of the site to which the database belongs.
nametextUnique name of the database.
sizebigintSize of the database in bytes.
created_attimestamp without time zoneTimestamp when this record was created.
updated_attimestamp without time zoneSame as created_at.
kindsmallintKind of the database. 0 means extract, 1 means geocoding.
public.hyper_databases_validation: Stores hyper databases which went through validation.
NameTypeDescription
Foreign key/Primary key relation from id on this table to id on table, public.hyper_databases
Foreign key/Primary key relation from site_id on this table to id on table, public.sites
idintegerId of the hyper database.
site_idintegerId of the site to which database belongs.
datedateDate of the last validation.
hyper_versioncharacter varyingVersion of the hyper engine.
elapsed_timeintegerTime it took to validate in ms.
corruptedbooleanIf the file was determined to be corrupted during validation.
error_codecharacter varyingThe error code returned by the validation statement.
public.id__ad_identity_stores: Identities for Active Directory identity stores.
NameTypeDescription
Foreign key/Primary key relation from instance_id on this table to id on table, public.id__identity_store_instances
identity_uuiduuidUuid of identity.
instance_idintegerInstance identifier for identity store.
security_idcharacter varyingSID of identity in Active Directory.
sam_account_namecharacter varyingsAMAccountName of identity in Active Directory.
fqdncharacter varyingFully qualified domain name of Active Directory domain.
upncharacter varyinguserPrincipalName of identity in Active Directory.
external_idcharacter varyingOptional external identifier for identity.
created_attimestamp without time zoneCreation time of record.
updated_attimestamp without time zoneLast updated time of record.
guiduuidGUID of identity in Active Directory.
public.id__identity_store_instances: Instances of identity stores.
NameTypeDescription
Foreign key/Primary key relation from type_id on this table to id on table, public.id__identity_store_types
idintegerPrimary key for identity store instance.
type_idsmallintForeign key for type of identity store instance.
namecharacter varyingMachine consumable name for identity store instance.
display_namecharacter varyingHuman consumable name for identity store instance.
created_attimestamp without time zoneCreation time of record.
updated_attimestamp without time zoneLast updated time of record.
public.id__identity_store_types: Types of identity stores.
NameTypeDescription
idsmallintPrimary key for identity store type.
namecharacter varyingMachine consumable name for identity store type.
display_namecharacter varyingHuman consumable name for identity store type.
created_attimestamp without time zoneCreation time of record.
updated_attimestamp without time zoneLast updated time of record.
public.id__ldap_identity_stores: Identities for LDAP identity stores.
NameTypeDescription
Foreign key/Primary key relation from instance_id on this table to id on table, public.id__identity_store_instances
identity_uuiduuidUuid of identity.
instance_idintegerInstance identifier for identity store.
entry_uuiduuidEntryUUID of identity in LDAP.
distinguished_namecharacter varyingNormalized distinguished name of identity in LDAP.
external_idcharacter varyingOptional external identifier for identity.
created_attimestamp without time zoneCreation time of record.
updated_attimestamp without time zoneLast updated time of record.
usernamecharacter varyingUsername for this identity.
public.id__local_identity_stores: Identities for Local identity stores.
NameTypeDescription
Foreign key/Primary key relation from instance_id on this table to id on table, public.id__identity_store_instances
identity_uuiduuidUuid of identity.
instance_idintegerInstance identifier for identity store.
usernamecharacter varyingUsername for identity.
protected_passwordcharacter varyingProtected password for identity.
protected_password_bad_formatbooleanSet to true if protected password format unrecognized.
failed_login_attemptsintegerInteger that represents the number of failed attempts since the last successful login.
last_failed_logintimestamp without time zoneDate that represents the last time the user had an unsuccessful login.
force_password_updatebooleanBoolean that represents if we want to force a password reset on the user the next time it tries to log in.
last_password_updatetimestamp without time zoneDate that represents the last time the user updated the password to the current value.
external_idcharacter varyingOptional external identifier for identity.
created_attimestamp without time zoneCreation time of record.
updated_attimestamp without time zoneLast updated time of record.
public.identity_based_activation_reporting: Login-based License Management (LBLM) - NOTE: For any custom vizzes or reporting, it is recommended instead to use the View identity_based_activation_admin_view. In this table each row contains important dates with regard to ATR Issuing and Login-based License Usage for a given User, Site, Device and Product combination.
NameTypeDescription
Foreign key/Primary key relation from site_id on this table to id on table, public.sites
idbigintPrimary Key generated by PostgreSQL.
iba_user_idcharacter varyingGenerated Id for user for IBA Reporting
site_idinteger(foreign key) Holds the primary key of the sites table. Allows site filtering to work on Admin Views.
device_fingerprintcharacter varyingUniquely identifies device. Built/generated from umn.
product_typecharacter varyingProduct being used at the client level.
host_namecharacter varyingComputer host name.
product_versioncharacter varyingapplication/product version being used at the client level.
registration_first_namecharacter varyingRegistered user first name
registration_last_namecharacter varyingRegistered user last name
registration_emailcharacter varyingRegistered user email address
registration_datetimestamp without time zoneDate active key was registered.
client_user_namecharacter varyingLogin/User name from the client level.
atr_expiration_datetimestamp without time zoneExpiration date of active key. This date will remain NULL until first reporting event is sent.
hardware_serial_numbercharacter varyingUniquely identifies company's hardware asset.
registration_custom_fieldcharacter varyingcustom field from registration
machine_oscharacter varyingos_architecture
virtual_machinebooleanis the machine virtual
atr_chain_idcharacter varyingATR Chain Id
domain_informationcharacter varyingComputer Active Directory domain.
date_atr_issuedtimestamp without time zoneThe date-time the ATR was successfully issued by the ATR Service. This gets filled in when the Server successfully receives an ATR from the ATR Service, but before the Server returns the ATR to Desktop.
date_atr_failedtimestamp without time zonedate-time the last time an ATR request returned from from the ATR Service UNSUCCESSFULLY-(FAILED) for this user, device, product and site.
date_activatedtimestamp without time zonedate-time is set upon first activation by the client (e.g. Tableau Desktop), after which it is never updated. The intent of this field is to allow the admin to understand when a user first began utilizing their Tableau license.
date_last_usedtimestamp without time zonedate-time the last time the user used this product from this device for this site. NOTE: 1) The server used for activation will be updated, even if the user works and publishes on a different server. 2) This field is updated every time Desktop activates with LBLM and also every time an LBLM reporting event is sent.
date_last_updatedtimestamp without time zoneThis field is updated anytime any of date_atr_issued, date_atr_failed, date_activated, date_last_used is updated. This field makes it easy to determine when the user last attempted any action against a given productType, device, site combination.
server_user_namecharacter varyingFull user friendly name on the server level.
server_emailcharacter varyingEmail for user on the server level.
site_luidcharacter varyingHolds the site luid from the sites table.
user_rolecharacter varyingDEPRECATED - Please use user_role in the VIEW identity_based_activation_admin_view instead. This column is no longer updated and will be deleted.
public.identity_based_activation_user_role_change: Login-based License Management (LBLM) - NOTE: For any custom vizzes or reporting, it is recommended instead to use the View identity_based_activation_admin_view. This table tracks site role creator changes for each given user on a given site.
NameTypeDescription
Foreign key/Primary key relation from site_id on this table to id on table, public.sites
site_idintegerThe site ID of the User represented in this row.
user_luidcharacter varyingUnique ID for user from users table.
system_user_idintegerForeign Key to System User table.
system_user_namecharacter varyingName of the user across all sites. Populated from system_users table.
date_creator_role_assignedtimestamp without time zoneDatetime user was assigned from a non-creator role to a creator role -- triggered from the users table.
date_creator_role_unassignedtimestamp without time zoneDatetime user was unassigned from a creator role to a non-creator role -- triggered from the users table.
site_role_idintegerForeign key to site_roles table to allow access to site_roles display_name.
public.jwt_info: Records for the JWT token ids
NameTypeDescription
idbigintPrimary key for the record.
jwt_idcharacter varyingJWT id (jti).
issuercharacter varyingIssuer of the JWT
expires_attimestamp without time zoneThe time JWT expires.
public.language_prefs: Contains a listing of information about languages for which Tableau Server has been localized.
NameTypeDescription
language_idcharacter varyingA unique ASCII string identifier for the language.
display_namecharacter varyingThe name of the language (in the language, itself).
display_orderintegerGoverns the order in which these languages will appear when listed in the user interface.
help_linktextUsed in constructing help links, so that help can be presented in the appropriate language.
locale_idcharacter varyingA unique identifying string that corresponds to a locale with this language.
public.last_seen_user_notifications: This table stores the last seen notification time for each user.
NameTypeDescription
Foreign key/Primary key relation from site_id on this table to id on table, public.sites
idintegerPrimary key for the last seen notification entry.
user_idintegerIdentifier for the user.
last_seen_notification_timetimestamp without time zoneThe latest created_at timestamp of the notifications that have already been seen by the user.
site_idintegerIdentifier for the site that the user belongs to.
public.lens_content_relationships: Represents the relationship between the lens and other content types.
NameTypeDescription
Foreign key/Primary key relation from lens_id on this table to id on table, public.lenses
idbigintPrimary key for the record.
lens_idintegerThe id for identifying the lens entity.
content_typetextContent types that are associated with the lens.
content_idintegercontent_id is the unique identifier for the corresponding content-type.
public.lens_datasource_associations: Represents the association between the lens and the source datasources for a lens.
NameTypeDescription
Foreign key/Primary key relation from lens_id on this table to id on table, public.lenses
Foreign key/Primary key relation from published_datasource_id on this table to id on table, public.datasources
Foreign key/Primary key relation from site_id on this table to id on table, public.sites
idbigintPrimary key for the record.
lens_idintegerThe luid for identifying the lens.
site_idintegerThe id of the site on which the lens is created
published_datasource_idintegerThe id of the published datasource on the site
public.lens_fields: Table to store fields associated with lenses
NameTypeDescription
Foreign key/Primary key relation from lens_id on this table to id on table, public.lenses
Foreign key/Primary key relation from published_datasource_id on this table to id on table, public.datasources
Foreign key/Primary key relation from site_id on this table to id on table, public.sites
idbigintPrimary key for the record.
lens_idintegerThe id for identifying the lens.
site_idintegerThe id of the site on which the lens is created
published_datasource_idintegerThe id of the datasource to which the field belong
graph_idtextThe unique graph id of the field
statustextStatus indicator of the field. For example Displayed, Hidden etc
created_attimestamp with time zoneTimestamp at which the record was created
updated_attimestamp with time zoneTimestamp at which the record was updated
custom_labeltextuser defined label for the field
custom_descriptiontextdescription of the lens field
nlp_popularity_factorintegernlp popularity factor is used to calculate a fields popularity score
public.lenses: Represents the table for storing lenses.
NameTypeDescription
Foreign key/Primary key relation from owner_id on this table to id on table, public.users
Foreign key/Primary key relation from project_id on this table to id on table, public.projects
Foreign key/Primary key relation from site_id on this table to id on table, public.sites
idbigintId is the primary key for the record.
luiduuidluid for uniquely identifying a record within a site.
site_idintegerThe site id this lens is created in.
owner_idintegerThe owner id identifies the current owner of the lens.
created_attimestamp with time zoneTimestamp at which the record was created
updated_attimestamp with time zoneTimestamp when the record was last updated at.
index_version_numbertextIndex version number at which the lens is indexed to.
nametextname of the lens
descriptiontextdescription of the lens
project_idintegerproject to which the lens belong
repository_urltextThe repository url for lens.
error_codetexterror code for the lens.
outdatedbooleanoutdated status of the lens. If outdated is true, lens needs to be reindexed
last_indexed_timetimestamp with time zonetime stamp when lens was last indexed.
is_default_lensbooleanIndicates if the lens is default lens or not.
is_feedback_enabledbooleanfeedback to lens author setting
public.licensing_roles: Lists the various possible licensing scenarios. (Unlicensed, Guest, Viewer, or Interactor).
NameTypeDescription
idintegerPrimary key for the record.
namecharacter varyingThe name of the licensing role.
rankintegerUsed to provide an order of increasing rights.
licensing_roles_countintegerCount of used licensing roles.
public.linked_task_actions: Stores an action for a linked task step.
NameTypeDescription
Foreign key/Primary key relation from site_id on this table to id on table, public.sites
Foreign key/Primary key relation from linked_task_step_id on this table to id on table, public.linked_task_steps
idintegerPrimary key for this record.
luiduuidA unique, immutable identifier within a site.
site_idintegerThe id of the site that this record is associated with.
linked_task_step_idintegerThe id of the task step that this record is associated with.
action_typecharacter varyingThe type of this action.
run_conditioncharacter varyingUnder what condition should this action run.
content_typecharacter varyingThe type of content of this action.
created_attimestamp without time zoneThe time the record was created.
updated_attimestamp without time zoneThe time the record was updated.
public.linked_task_child_jobs: A job for a child step of a linked task.
NameTypeDescription
Foreign key/Primary key relation from linked_task_job_id on this table to id on table, public.linked_task_jobs
Foreign key/Primary key relation from linked_task_step_id on this table to id on table, public.linked_task_steps
Foreign key/Primary key relation from linked_task_id on this table to id on table, public.linked_tasks
Foreign key/Primary key relation from site_id on this table to id on table, public.sites
idintegerPrimary key for this record.
luiduuidA unique, immutable identifier within a site.
site_idintegerThe id of the site that this record is associated with.
created_attimestamp without time zoneThe time the record was created.
updated_attimestamp without time zoneThe time the record was updated.
linked_task_idintegerThe linked task this child job belongs to.
linked_task_job_idintegerThe parent linked task job this child job belongs to.
background_job_idintegerThe background job this linked task job is associated with.
linked_task_step_idintegerThe step of the linked task this child job is associated with.
completed_attimestamp without time zoneThe time the linked task child job completed.
finish_codeintegerFinish code of this linked task job. 0=Success, 1=Failure, 2=Cancelled
started_attimestamp without time zoneThe time the linked task child job started.
public.linked_task_jobs: A specific run of a a linked task.
NameTypeDescription
Foreign key/Primary key relation from linked_task_id on this table to id on table, public.linked_tasks
Foreign key/Primary key relation from site_id on this table to id on table, public.sites
idintegerPrimary key for this record.
luiduuidA unique, immutable identifier within a site.
site_idintegerThe id of the site that this record is associated with.
created_attimestamp without time zoneThe time the record was created.
updated_attimestamp without time zoneThe time the record was updated.
completed_attimestamp without time zoneThe time the linked task job completed.
linked_task_idintegerThe linked task this job belongs to.
finish_codeintegerFinish code of this linked task job. 0 = Success, 1 = Failure
current_step_idintegerThe step number of the linked task this job is on.
user_idintegerId of the user who created this linked task job.
started_attimestamp without time zoneThe time the linked task job started.
public.linked_task_steps: Stores a step for a linked task.
NameTypeDescription
Foreign key/Primary key relation from linked_task_id on this table to id on table, public.linked_tasks
Foreign key/Primary key relation from task_id on this table to id on table, public.tasks
Foreign key/Primary key relation from site_id on this table to id on table, public.sites
idintegerPrimary key for this record.
luiduuidA unique, immutable identifier within a site.
site_idintegerThe id of the site that this record is associated with.
created_attimestamp without time zoneThe time the record was created.
updated_attimestamp without time zoneThe time the record was updated.
linked_task_idintegerLinked task this step belongs to.
task_idintegerTask for this linked task step.
step_numberintegerWhich number in this sequence this step is.
stop_downstream_on_failurebooleanWhether failure of this step should stop downstream processing.
content_typecharacter varyingThe content type for the linked task step
content_idintegerThe content id for the linked task step
public.linked_task_triggers: A trigger for a linked task. Will fire on completion on the associated task.
NameTypeDescription
Foreign key/Primary key relation from linked_task_id on this table to id on table, public.linked_tasks
Foreign key/Primary key relation from site_id on this table to id on table, public.sites
Foreign key/Primary key relation from task_id on this table to id on table, public.tasks
idintegerPrimary key for this record.
luiduuidA unique, immutable identifier within a site.
site_idintegerThe id of the site that this record is associated with.
created_attimestamp without time zoneThe time the record was created.
updated_attimestamp without time zoneThe time the record was updated.
task_idintegerThe task this trigger is associated with.
linked_task_idintegerThe linked task this trigger is associated with.
public.linked_tasks: Stores linked tasks, which allow users to specify tasks to run after each other in sequence.
NameTypeDescription
Foreign key/Primary key relation from creator_id on this table to id on table, public.users
Foreign key/Primary key relation from site_id on this table to id on table, public.sites
idintegerPrimary key for this record.
luiduuidA unique, immutable identifier within a site.
site_idintegerThe id of the site that this record is associated with.
created_attimestamp without time zoneThe time the record was created.
updated_attimestamp without time zoneThe time the record was updated.
creator_idintegerUser id who created this linked task.
public.local_names: Contains translations of certain words or phrases that are relevant to some Tableau Server database constructs.
NameTypeDescription
idintegerPrimary key for the record.
language_idcharacter varyingAbbreviation for a particular language.
obj_namecharacter varyingA string that uniquly represents the object to be translated. This name, by convention, is very similar, if not identical to the name field for English.
obj_typecharacter varyingThe type of the object. For example, "Project" or "Site".
namecharacter varyingHow to call this object in the specified language, as given by language_id.
public.materialize_views_job_sos_directory: Each row in the table is a mapping of a workbook id and revision in a materialize views job to the sos directories that the job requires.
NameTypeDescription
Foreign key/Primary key relation from site_id on this table to id on table, public.sites
idintegerPrimary key for the record.
workbook_idintegerID of the workbook whose query results in this materialized view. This id is same as the id (primary key) of the public.workbooks table in the database.
workbook_revisiontextRevision of the workbook whose id is the workbook_id column.
materialized_query_directory_sos_idtextid of the directory in sos that contains the queries that are materialized.
site_idintegerSite ID of the materialize_views_job_sos_directory.
background_job_luiduuidThe luid of the background job that created the sos directory to store its materialized-views related files.
saved_attimestamp without time zoneThe timestamp when the sos id is inserted to the table.
public.materialized_queries: This table stores the information for materialized queries.
NameTypeDescription
Foreign key/Primary key relation from hyper_database_id on this table to id on table, public.hyper_databases
Foreign key/Primary key relation from site_id on this table to id on table, public.sites
idintegerAuto-generated id from postgres; also the primary key for the table.
materialized_view_indexing_keytextIndexing key of materialized views.
logical_query_xmltextLogical query in XML format of the materialized query.
metadata_xmltextMetadata in XML format of the materialized query.
serialized_source_connection_attributestextSerialized connection attributes of the materialized query datasource.
serialized_mv_connection_attributestextSerialized connection attributes of the materialized view.
materialized_view_table_nametextName of the table storing materialized view of the query.
source_relation_xmltextDatasource relation XML of the materialized query.
query_execution_timestamptimestamp without time zoneThe timestamp right before the query is executed.
materialization_job_created_attimestamp without time zoneThe timestamp when the materialization job is created.
materialized_view_expiration_timetimestamp without time zoneThe timestamp at which the view is considered obsolete and becomes a candidate for removal by background job ReapExpiredMaterializedViews.
encryption_key_idtextEncryption key id of the materialized view when the materialized view is encrypted, null otherwise.
site_idintegerID of the site. This id is same as the id (primary key) of the public.sites table.
materialized_view_sos_idtextID of the directory in sos that contains the materialized view.
hyper_database_idintegerA foreign key to hyper_databases.id
workbook_idintegerthe workbook_id for which this materialized query is for
public.materialized_sheets_to_queries: Enabled sheets and materialized queries are many to many relation. This table stores the mapping between sheets and materialized queries.
NameTypeDescription
Foreign key/Primary key relation from materialized_query_id on this table to id on table, public.materialized_queries
Foreign key/Primary key relation from site_id on this table to id on table, public.sites
Foreign key/Primary key relation from view_id on this table to id on table, public.views
idintegerAuto-generated id from postgres; also the primary key for the table.
view_idintegerID of the worksheet. This id is same as the id (primary key) of the public.views table.
materialized_query_idintegerID of the materialized query. This id is the same as the id (primary key) of the public.materialized_queries table.
site_idintegerID of the site. This id is same as the id (primary key) of the public.sites table.
public.materialized_views: This table stores the materialized views for queries in workbooks.
NameTypeDescription
Foreign key/Primary key relation from materialized_view_connection_id on this table to id on table, public.materialized_views_connections
Foreign key/Primary key relation from site_id on this table to id on table, public.sites
idintegerAuto-generated id from postgres; also the primary key for the table.
workbook_idintegerID of the workbook whose query results in this materialized view. This id is same as the id (primary key) of the public.workbooks table in the database.
workbook_revisiontextRevision of the workbook whose id is the workbook_id column.
materialized_query_file_nametextName of the file that stores the materialized query in sos.
table_nametextName of the table storing the materialized view of the query.
materialized_query_directory_sos_idtextid of the directory in sos that contains the queries that are materialized.
materialized_view_connection_idintegerID (foreign key from materialized view connection table) of the connection that stores the materialized view
materialized_view_expiration_timetimestamp without time zoneTimestamp at which the view is considered obsolete and becomes a candidate for removal by MaterializedViewService.garbageCollector.
elapsed_query_secondsrealTotal elapsed time (in seconds) for the query.
materialized_query_result_size_lower_bound_bytesbigintmaterialized query result size without indrect referenced values(such as string).
materialized_query_result_size_upper_bound_bytesbigintmaterialized query result size with indrect referened values (such as string).
materialization_job_created_attimestamp without time zoneStores the timestamp at which the materialization job was created
query_view_bitmapbyteaBitmap to store a mapping of all the views that use the query
query_hashnumericunsigned 64 bit hash of the materialized logical query.
query_hash_stringcharacter varyingstring representation of hash of the materialized logical query.
query_execution_timestamptimestamp without time zoneTimestamp when query is executed in a materialization job.
site_idintegerSite ID of the materialized_views.
public.materialized_views_bloom_filters: This table stores the bloom filters indicating materialized sites/workbooks.
NameTypeDescription
bloom_filter_typesmallintType of this bloom filter
update_timestamptimestamp without time zoneTimestamp when the bloomfilter is updated.
serialized_bloom_filterbyteaSerialized bloom filters.
stalebooleanFlag to indicate whether or not we need to rebuild the bloom filter.
public.materialized_views_connections: This table stores the information required to fetch materialized views files from the server where they are stored.
NameTypeDescription
Foreign key/Primary key relation from site_id on this table to id on table, public.sites
idintegerPrimary key for the table.
materialized_views_directory_sos_idtextId of the sos directory in which the materialized views are contained.
datasource_nametextName of the data source against which we run the query to generate the materialized view.
serialized_source_connection_attributestextSerialized connection attributes for the source datasource connection from which the materialized views are created.
serialized_materialized_view_connection_attributestextSerialized connection attributes to connect to the datasource storing the materialized views.
logical_query_cache_key_xmltextXML containing the datasource columns that is used for generating the cache key for logical query cache. This is known as relationXML in parts of the code.
encryption_key_idcharacter varyingIf not null, the ID of materialized views encryption key (KEK).
site_idintegerIf not null, ID of the site, is same as (not fkey of) the id (primary key) of the public.sites table.
public.materialized_views_job_stats: This table stores daily aggregated materialized views job stats.
NameTypeDescription
Foreign key/Primary key relation from site_id on this table to id on table, public.sites
Foreign key/Primary key relation from view_id on this table to id on table, public.views
idintegerAuto-generated id from postgres; also the primary key for the table.
site_idintegerID of the site. This id is same as the id (primary key) of the public.sites table.
view_idintegerID of the view. This id is same as the id (primary key) of the public.views table.
completed_at_daytimestamp without time zoneA timestamp truncated at the day.
job_countintegerthe number of materialized views jobs during the day.
job_total_run_time_secdouble precisionthe total run time of materialized views jobs during the day.
public.materialized_views_metadata: This table stores the metadata for the materialized view service.
NameTypeDescription
keycharacter varyingThe key name of the metadata
valuecharacter varyingThe value of the metadata
public.materialized_views_object_status: This table stores the materialized views state configuration for objects for which the feature is enabled.
NameTypeDescription
Foreign key/Primary key relation from site_id on this table to id on table, public.sites
Foreign key/Primary key relation from object_id on this table to id on table, public.workbooks
site_idintegerID of the site. This id is same as the id (primary key) of the public.sites table.
object_idintegerID of the object (workbook or flow).
statesmallintA small int representing the current state of the materialized views for the site (and workbook if it is not null).
change_timestamptimestamp without time zoneTimestamp of the last change made to the record.
idintegerauto generated integer primary key.
sheet_statscharacter varyingthe stats of materialized views for worksheets.
public.materialized_views_query_store: for storing logical queries and their stats from the traffic
NameTypeDescription
Foreign key/Primary key relation from site_id on this table to id on table, public.sites
idintegerauto-generated id
workbook_luidtextthe workbook luid for the query, it is not a foreign key to workbooks.luid
logical_query_xmltextserialized logical query tree
metadatatextserialized metadata
connection_infotextserialized connection info
countintegerhow many times the query was excuted
cache_hit_countintegerhow many times the query hit on cache
bootstrap_query_countintegerhow many times the query was used in bootstraps
sum_prebuffered_bytesintegercumulative prebuffered bytes of query results
sum_elapsed_in_secdouble precisioncumulative elapsed time in seconds of query execution
sheet_luidstextsheet luids for which this query has been executed
saved_attimestamp without time zonethe time when this record is saved to the table
site_idintegerthe site id for which the query is executed
hash_indextextthe hash string that makes sure a unique query is saved once an hour
user_luidstextuser luids in CSV if query is user specific
public.materialized_views_sheet_performance: This table stores daily aggregated materialized views job stats.
NameTypeDescription
Foreign key/Primary key relation from site_id on this table to id on table, public.sites
Foreign key/Primary key relation from view_id on this table to id on table, public.views
Foreign key/Primary key relation from workbook_id on this table to id on table, public.workbooks
idintegerAuto-generated id from postgres; also the primary key for the table.
site_idintegerID of the site. This id is same as the id (primary key) of the public.sites table.
workbook_idintegerID of the site. This id is same as the id (primary key) of the public.workbooks table.
view_idintegerID of the view. This id is same as the id (primary key) of the public.views table.
day_timestamptimestamp without time zoneA timestamp truncated at the day.
total_load_time_in_secondsdouble precisionthe total bootstrap time for the view on a given day
load_countintegerthe number of visits to the view.
materialized_statussmallintan integer showing if the view is loaded with or without materialized views
total_query_batch_time_in_secondsdouble precisionthe total query batch time for the view on a given day
query_batch_countintegerthe number of query batch events for a view on a given day
public.materialized_views_sheet_status: This table stores the materialized views state configuration for worksheets for which the feature is enabled.
NameTypeDescription
Foreign key/Primary key relation from site_id on this table to id on table, public.sites
Foreign key/Primary key relation from view_id on this table to id on table, public.views
Foreign key/Primary key relation from workbook_id on this table to id on table, public.workbooks
idintegerAuto-generated id from postgres; also the primary key for the table.
site_idintegerID of the site. This id is same as the id (primary key) of the public.sites table.
workbook_idintegerID of the workbook. This id is same as the id (primary key) of the public.workbooks table.
view_idintegerID of the worksheet. This id is same as the id (primary key) of the public.views table.
statesmallintA small int representing the current state of the materialized views for the worksheet.
change_timestamptimestamp without time zoneTimestamp of the last change made to the record.
sheet_statstextthe stats of materialized views for the worksheet.
estimated_disk_usage_bytesbigintAn estimate of materialized views size for this sheet when the state of the sheet is Materialized.
public.materialized_views_site_resource_limit: This table stores the resource limit for acceleration for each site.
NameTypeDescription
Foreign key/Primary key relation from site_id on this table to id on table, public.sites
idintegerAuto-generated id from postgres; also the primary key for the table.
site_idintegerID of the site. This id is same as the id (primary key) of the public.sites table.
views_limitintegerThis is the max number of views allowed for acceleration for a site.
updated_attimestamp without time zoneTimestamp of the last change made to the record.
public.mentions: Mentions for comments.
NameTypeDescription
Foreign key/Primary key relation from comment_id on this table to id on table, public.comments
Foreign key/Primary key relation from site_id on this table to id on table, public.sites
idintegerPrimary key for the record.
comment_idintegerA foreign key reference to the comment that the mention is attached to.
target_typecharacter varyingThe type of the mention target.
target_idintegerThe id of the target.
site_idintegerThe ID of the site the mentions belong to.
mention_idintegerThe ID used to map the @{id} in the comment text to the user in the corresponding mentions row.
public.metric_metrics_aggregations: Each record represents a partial aggregation of analytics for a given metric in a given time interval. It is often necessary to sum across multiple rows to find a total for a given time interval.
NameTypeDescription
Foreign key/Primary key relation from metric_id on this table to id on table, public.metrics
Foreign key/Primary key relation from site_id on this table to id on table, public.sites
idintegerPrimary key for the record.
metric_idintegerA foreign key reference to the metric.
day_indexintegerRecords what day of the month the analytics are aggregated over. When 0, the aggregation is for the month and year as designated by month_index and year_index.
month_indexintegerRecords what month of the year the analytics are aggregated over. When 0, the aggregation is for the year as designated by year_index.
year_indexintegerRecords what year the analytics are aggregated over
view_countintegerRecords the number of times a metric was viewed in the given time interval.
site_idintegerThe ID of the site the metric metrics aggregation belong to.
public.metrics: Each record represents a Metric.
NameTypeDescription
Foreign key/Primary key relation from customized_view_id on this table to id on table, public.customized_views
Foreign key/Primary key relation from dataalert_id on this table to id on table, public.data_alerts
Foreign key/Primary key relation from datasource_id on this table to id on table, public.datasources
Foreign key/Primary key relation from owner_id on this table to id on table, public.users
Foreign key/Primary key relation from project_id on this table to id on table, public.projects
Foreign key/Primary key relation from site_id on this table to id on table, public.sites
Foreign key/Primary key relation from view_id on this table to id on table, public.views
Foreign key/Primary key relation from workbook_id on this table to id on table, public.workbooks
idintegerPrimary key.
namecharacter varyingA descriptive name.
luiduuidA unique, immutable identifier within a site.
owner_idintegerThe last publisher.
project_idintegerThe associated project.
site_idintegerThe associated site.
created_attimestamp without time zoneThe time the record was created, in UTC.
descriptiontextA user-supplied description.
embeddedtextThe encrypted keychain with credentials.
asset_key_idintegerThe asset encryption key used to encrypt the keychain in the embedded column.
updated_attimestamp without time zoneThe time the record was updated.
datasource_idintegerThe datasource from which the metric queries its data.
dataalert_idintegerThe data alert from which the metric queries its data.
workbook_idintegerThe workbook from which the metric queries its data.
view_idintegerThe view within the workbook specified by workbook_id.
last_scheduled_attimestamp without time zoneThe last time a refresh for this Metric was scheduled
last_refreshed_attimestamp without time zoneThe last time a Metric's data was refreshed successfully
incomplete_refresh_attemptsintegerThe amount of incomplete attempts to refresh this Metric
customized_view_idintegerThe ID of the customized view the metric was created on.
suspend_stateinteger0: metric is not suspended, 1: metric was auto-suspended, 2: metric was manually suspended.
connected_view_pathcharacter varyingThe connected view path for the metric
connected_view_namecharacter varyingThe connected view name for the metric
public.metrics_definition: Each record represents a metrics definition.
NameTypeDescription
iduuidPrimary key for the record.
metric_luiduuidMetric unique identifier
site_luiduuidAn identifier which is unique to the site
created_attimestamp without time zoneTimestamp when this metric definition is created
metric_definitionbyteaDefinition of the metric
public.metrics_snapshot: Each record represents a metrics snapshot.
NameTypeDescription
Foreign key/Primary key relation from metric_view_id on this table to id on table, public.metrics_view
iduuidPrimary key for the record.
metric_view_iduuidAn identifier for metric view
client_timestamptimestamp without time zoneTimestamp when this metric snapshot is created on client
server_timestamptimestamp without time zoneTimestamp when this metric snapshot is created on server
site_luiduuidAn identifier which is unique to the site
public.metrics_snapshot_delta: Each record represents a metrics snapshot delta.
NameTypeDescription
Foreign key/Primary key relation from metric_view_id on this table to id on table, public.metrics_view
iduuidPrimary key for the record.
metric_view_iduuidAn identifier for metric snapshot
delta_timestamptimestamp without time zoneTimestamp when this metric snapshot delta is created
process_keycharacter varyingProcess Key for this metric snapshot delta
databyteaData for metric snapshot delta
site_luiduuidAn identifier which is unique to the site
public.metrics_view: Each record represents a metrics view.
NameTypeDescription
iduuidPrimary key for the record.
metric_luiduuidAn identifier which is unique to the metric definition
site_luiduuidAn identifier which is unique to the site
namecharacter varyingName of the metric view
created_attimestamp without time zoneTimestamp when this metric view is created
columnsbyteaMetrics columns blob
public.mobile_security_server_settings: A key-value store for mobile secuirty server settings.
NameTypeDescription
idintegerPrimary key.
keytextString key for the setting.
valuetextString value for the setting. Can be parsed into other formats by clients.
public.mobile_security_site_settings: A key-value store for mobile security site settings.
NameTypeDescription
Foreign key/Primary key relation from site_id on this table to id on table, public.sites
idintegerPrimary key.
site_idintegerSite id that setting applies to.
keytextString key for the setting.
valuetextString value for the setting. Can be parsed into other formats by clients.
public.most_recent_refreshes: most recent refresh data for alerts
NameTypeDescription
Foreign key/Primary key relation from site_id on this table to id on table, public.sites
idintegerPrimary key for the record.
historical_event_type_idintegerhistorical event type of the refresh
workertextworker executing refresh
duration_in_msintegerduration of refresh
detailstextdetails of refresh
task_idintegertask id
site_idintegersite id
data_connection_idintegerdata connection id
is_failurebooleanwhether or not refresh failed
created_attimestamp without time zonewhen refresh occurred
workbook_idintegerworkbook being refreshed
datasource_idintegerdatasource being refreshed
has_retry_jobbooleanIndicator for refresh job in background job table, if there is pending/running refresh job, the value is true.
public.most_recent_subscription_runs: most recent subscription runs data for suspend subscriptions
NameTypeDescription
Foreign key/Primary key relation from site_id on this table to id on table, public.sites
Foreign key/Primary key relation from subscription_id on this table to id on table, public.subscriptions
subscription_idintegersubscription id
detailstextdetails of subscription run in plain text
completed_attimestamp without time zoneThe time at which the subscription job was last completed and this record was last updated or created
site_idintegerThe ID of the site the subscription belongs to.
public.mru_list_entries: Holds most recently used list entries. The records here are linked to the lists to which they belong. Those lists are defined in the mru_lists table.
NameTypeDescription
Foreign key/Primary key relation from mru_list_id on this table to id on table, public.mru_lists
Foreign key/Primary key relation from site_id on this table to id on table, public.sites
idintegerPrimary key for the record.
mru_list_idintegerA foreign key reference to the mru_list record to which this item belongs.
useable_idintegerA kind of "polymorphic" foreign key reference. It contains the id of the item to which this entry refers. Look for it in the table indicated by the useable_type field.
useable_typecharacter varyingOne of "User" "View" "Project" "Workbook" or "Tag". Indicates the type of item that this is.
positionintegerWhen the items are shown in order, this field defines that order.
used_attimestamp without time zoneThe last time at which the item referred to by this entry was accessed.
usedobj_nametextThe name of the item referred to by this entry.
usedobj_urltextA URL-like identifier for the item referred to by this entry.
site_idintegerThe ID of the site the MRU list entry belong to.
public.mru_lists: Most recently used lists by user. The actual list contents are in the mru_list_entries table.
NameTypeDescription
Foreign key/Primary key relation from site_id on this table to id on table, public.sites
Foreign key/Primary key relation from user_id on this table to id on table, public.users
idintegerPrimary key for the record.
user_idintegerA foreign key reference to the user who is associated with this list.
list_typecharacter varyingOne of "users" "views" "projects" "workbooks" or "tags".
site_idintegerThe ID of the site the MRU list belong to.
public.next_gen_permissions: This table provides a flexible means of describing which users and groups have been granted which capabilities, on which things. Be aware that permissions is a complex topic and that this table does not contain all relevant information about permissions. For example, some permissions are given, automatically, to owners of workbooks or projects.
NameTypeDescription
Foreign key/Primary key relation from capability_id on this table to id on table, public.capabilities
Foreign key/Primary key relation from site_id on this table to id on table, public.sites
idintegerPrimary key for the record.
authorizable_typecharacter varyingDescribes the type of thing for which permissions are being specified. Must be one of "Project" "Workbook" "Datasource" "View" or "NamedResource".
authorizable_idintegerThe id value of the thing for which permissions are being specified. So, for example, if authorizable_type were "Workbook" then authorizable_id would correspond to the id value of the workbook in question.
grantee_idintegerRefers to either the id of the "users" table or the id of the "groups" table depending on the value of grantee_type.
grantee_typecharacter varyingPermissions can be assigned to either users or groups, and this tells you which. Entry must be one of "User" or "Group".
capability_idintegerIndicates which capability is to be granted or denied by this record. It is a foreign key link to the capabilities table where the corresponding record describes the nature of the capability in question.
permissionintegerAn integer from 1 to 4 that combines whether the permission is applied to a user or to a group (which can also be seen from grantee_type) as well as whether this is granting or denying the capability. The meaning of the values is: 1: grant to group, 2: deny to group, 3: grant to user, 4: deny to user. Ascending order corresponds to increasing precedence. For example, a capability denied to a group (2) can be overriden by the same capability granted specifically to a user in that group (3).
site_idintegerThe ID of the site the permissions belong to.
public.nlp_suggested_questions: Suggested questions
NameTypeDescription
Foreign key/Primary key relation from lens_id on this table to id on table, public.lenses
Foreign key/Primary key relation from parent_group_id on this table to id on table, public.nlp_suggestion_groups
Foreign key/Primary key relation from published_datasource_id on this table to id on table, public.datasources
Foreign key/Primary key relation from site_id on this table to id on table, public.sites
idintegerThe unique identifier for this row that is automatically generated on insert
expressiontextSerialized and versioned expression
parent_group_luidtextLUID of the question's parent group
sort_orderintegerThe position at which the question should be displayed within its parent group
luidtextThe unique identifier for this row to be referenced by application code
site_idintegerSite ID of datasource the question belongs to
published_datasource_idintegerDatasource ID of datasource the question belongs to
interpretation_nlgtextHuman readable text of the suggested question
created_attimestamp with time zoneThe timestamp for when this row entry was created
updated_attimestamp with time zoneThe timestamp for when this row entry was updated
colloquial_aliastextUser-defined colloquial alias of a suggested question
parent_group_idintegerID of the parent suggestion group a question belongs to
lens_idintegerid of the lens for which the suggestion is applicable
public.nlp_suggestion_groups: Suggested question groups
NameTypeDescription
Foreign key/Primary key relation from lens_id on this table to id on table, public.lenses
Foreign key/Primary key relation from published_datasource_id on this table to id on table, public.datasources
Foreign key/Primary key relation from site_id on this table to id on table, public.sites
idintegerThe unique identifier for this row that is automatically generated on insert
group_nametextName of the group of suggested questions
descriptiontextDescription of the group of suggested questions
sort_orderintegerThe position at which the group should be displayed relative to other groups
luidtextThe unique identifier for this row to be referenced by application code
site_idintegerSite ID of datasource the suggestion group belongs to
published_datasource_idintegerDatasource ID of datasource the suggestion group belongs to
created_attimestamp with time zoneThe timestamp for when this row entry was created
updated_attimestamp with time zoneThe timestamp for when this row entry was updated
lens_idintegerid of the lens for which the suggestion group is applicable
public.oauth_authorization_codes: OAuth authorization codes
NameTypeDescription
idbigintId of this oauth authorizations code row
uuiduuidUUID of an oauth authorization code
expires_attimestamp with time zoneExpiration of the authorization code
public.oauth_clients: A map that register oauth CI/CS/redierctUri per site per dbclass.
NameTypeDescription
Foreign key/Primary key relation from site_id on this table to id on table, public.sites
idintegerPrimary key for the record.
site_idintegerSite where the oauth client applies to
db_classcharacter varyingThe database class name this oauth client is used for.
instance_urlcharacter varyingThe instanceUrl for this oauth client, only used for oauth class supports multiple domain such as Snowflake. Can be null.
client_idcharacter varyingThe clientId for this oauth client.
client_secrettextThe clientSecret for this oauth client.
asset_key_idintegerThe asset_key_id which cleintSecret is encrypted with.
redirect_uricharacter varyingThe redirectUri for this oauth client.
created_attimestamp without time zoneThe time when this oauthClient was created.
updated_attimestamp without time zoneThe time when this oauthClient was updated at.
public.oauth_request_tokens: Table of tokens used for OAuth authorization requests.
NameTypeDescription
idintegerPrimary key for the record.
entry_db_classcharacter varyingThe connection class of the connection to which the token will belong.
entry_db_subclasscharacter varyingThe connection subclass of the connection to which the token will belong
request_tokentextThe request token which can be exchanged for an access token along with the request token secret.
request_token_secret_encryptedtextThe encrypted request token secret which can be exchanged for an access token along with the request token
is_usedbooleanWhether or not the request token/request token secret were exchanged for an access token or not.
created_attimestamp without time zoneThe time the record was created.
updated_attimestamp without time zoneThe time the record was last updated.
asset_key_idintegerID of key used to encrypt the token secret.
public.oauth_service_code_verifiers: Short lived storage for the code verifier used in PKCE requests.
NameTypeDescription
Foreign key/Primary key relation from site_id on this table to id on table, public.sites
idbigintPrimary key for the record.
luiduuidA unique, immutable identifier for the code verifier.
site_idintegerSite where the code_verifier was created at
user_idintegerUser on the site requesting to authenticate with the code verifier.
db_classcharacter varyingThe database class name this code_verifier is used for.
code_verifiercharacter varyingThe authorization code verifier.
created_attimestamp without time zoneThe time when this code_verifier was created.
expires_attimestamp without time zoneThe time when this code_verifier expires, defalt per spec 1 min.
updated_attimestamp without time zoneThe time when this code_verifier was updated at.
public.password_tokens: Tokens issued to client through link in email which can be redeemed to change their password
NameTypeDescription
Foreign key/Primary key relation from system_user_id on this table to id on table, public.system_users
idintegerPrimary key identifier for row
guiduuidUnique identifier for token
saltcharacter varyingThe salt is used to hash the password
hashed_secretcharacter varyingSecret portion of token thats been hashed
expires_attimestamp without time zoneWhen the token becomes expired
system_user_idintegerReference to system user that requested the token
public.pdf_subscription_options: Used to store different PDF layout options.
NameTypeDescription
Foreign key/Primary key relation from site_id on this table to id on table, public.sites
Foreign key/Primary key relation from subscription_id on this table to id on table, public.subscriptions
idintegerPrimary key for this record.
pdf_page_size_optioncharacter varyingType of page size such as A4, letter etc
pdf_page_orientationcharacter varyingOrientation in which page should be rendered.
subscription_idintegerID of the subscription with these attachments options.
site_idintegerThe ID of the site to which this entry belongs.
public.pending_search_update_items: This table represents an item that is associated with a pending_search_update.
NameTypeDescription
Foreign key/Primary key relation from pending_search_update_id on this table to id on table, public.pending_search_updates
idintegerPrimary key for the pending search update item.
pending_search_update_idintegerPrimary key id for pending search update associated with the item.
item_idintegerPrimary key for the item. The type of the item is determined by the pending search update.
public.permission_reasons: When calculating effective permissions in the perm_users_*_capabilities functions, this table maps the integer precedence of the effective permission rule to the varchar effective permission reason. The integer precedence is internal to the stored procedures. The effective permission reason is returned to callers.
NameTypeDescription
precedenceintegerThe integer precedence of an effective permission rule. Higher value means higher precedence. Used in the perm_users_*_capabilities functions.
reasoncharacter varyingThe external identifier for an effective permission rule. Returned by the perm_users_*_capabilities functions.
public.permission_set_classes: Represents a class of permission sets. Generally 1-to-1 with capabilities.
NameTypeDescription
idintegerPrimary key for the permission set class record.
namecharacter varyingThe name of the permission set class.
public.permission_set_items: Represents a single next_gen_permission in a permission_set. The columns mirror the next_gen_permissions table.
NameTypeDescription
Foreign key/Primary key relation from capability_id on this table to id on table, public.capabilities
Foreign key/Primary key relation from permission_set_id on this table to id on table, public.permission_sets
Foreign key/Primary key relation from site_id on this table to id on table, public.sites
idintegerPrimary key for the record.
grantee_idintegerRefers to either the id of the "users" table or the id of the "groups" table depending on the value of grantee_type.
grantee_typecharacter varyingPermissions can be assigned to either users or groups, and this tells you which. Entry must be one of "User" or "Group".
capability_idintegerIndicates which capability is to be granted or denied by this record. It is a foreign key link to the capabilities table where the corresponding record describes the nature of the capability in question.
permissionintegerAn integer from 1 to 4 that combines whether the permission is applied to a user or to a group (which can also be seen from grantee_type) as well as whether this is granting or denying the capability. The meaning of the values is: 1: grant to group, 2: deny to group, 3: grant to user, 4: deny to user. Ascending order corresponds to increasing precedence. For example, a capability denied to a group (2) can be overriden by the same capability granted specifically to a user in that group (3).
permission_set_idintegerThe permission set this item is a part of.
site_idintegerThe site.
public.permission_sets: Represents a common set of permissions used by multiple authorizables.
NameTypeDescription
Foreign key/Primary key relation from permission_set_class_id on this table to id on table, public.permission_set_classes
Foreign key/Primary key relation from site_id on this table to id on table, public.sites
idintegerPrimary key for the permission set record.
permission_set_class_idintegerThe permission set class.
site_idintegerThe site id.
delete_if_unreferenced_aftertimestamp without time zoneThe earliest time it is safe to delete this permission_set if it is unreferenced by authorizable_permission_sets
permission_set_keycharacter varyingHashcode representation of permission set class and grantees list capabilities.
public.permissions_templates: This table provides a flexible means of describing which users and groups will be granted which capabilities by default, on non-overwrite publishes of workbooks and datasources. Be aware that permissions is a complex topic and that this table does not contain all relevant information about permissions. For example, some permissions are given, automatically, to owners of workbooks or projects.
NameTypeDescription
Foreign key/Primary key relation from capability_id on this table to id on table, public.capabilities
Foreign key/Primary key relation from site_id on this table to id on table, public.sites
idintegerPrimary key for the record.
template_typecharacter varyingDetermines whether the permission template applies to workbooks or datasource. Value must be "Workbook" or "Datasource".
grantee_idintegerRefers to either the id of the "users" table or the id of the "groups" table depending on the value of grantee_type.
grantee_typecharacter varyingPermissions can be assigned to either users or groups, and this tells you which. Entry must be one of "User" or "Group".
capability_idintegerIndicates which capability is to be granted or denied by this record. It is a foreign key link to the capabilities table where the corresponding record describes the nature of the capability in question.
permissionintegerAn integer from 1 to 4 that combines whether the permission is applied to a user or to a group (which can also be seen from grantee_type) as well as whether this is granting or denying the capability. The meaning of the values is: 1: grant to group, 2: deny to group, 3: grant to user, 4: deny to user. Ascending order corresponds to increasing precedence. For example, a capability denied to a group (2) can be overridden by the same capability granted specifically to a user in that group (3).
container_typetextType of container for which this permission template applies, possbile value are Database and Project.
container_idintegerIdentifies the container for which this permission template applies.
site_idintegerThe ID of the site the permission templates belong to.
public.pkce_tokens: Proof Key for Credential Exchange (RFC 7636) short-lived storage.
NameTypeDescription
Foreign key/Primary key relation from user_id on this table to id on table, public.users
idbigintPrimary key for the record.
user_idintegerA foreign key reference to the user.
authorization_codebyteaThe authorization code (RFC 7636).
code_challengebyteaThe code challenge (RFC 7636).
code_challenge_methodcharacter varyingThe code challenge method (RFC 7636).
expires_attimestamp with time zoneThe time when this token expires.
redeemed_attimestamp with time zoneThe time when this token was redeemed.
public.projects: Each row of the table corresponds to a project on Tableau Server.
NameTypeDescription
Foreign key/Primary key relation from controlling_permissions_project_id on this table to id on table, public.projects
Foreign key/Primary key relation from owner_id on this table to id on table, public.users
Foreign key/Primary key relation from parent_project_id on this table to id on table, public.projects
Foreign key/Primary key relation from site_id on this table to id on table, public.sites
idintegerPrimary key for the record.
namecharacter varyingThe name of the project.
owner_idintegerThe id of the user who owns this project.
created_attimestamp without time zoneThe time at which this record was created.
updated_attimestamp without time zoneThe time at which this record was last changed.
statecharacter varyingIf this is anything other than "active" then the project is inactive.
descriptiontextA textual description of the project.
site_idintegerThe site which contains this project.
specialintegerHas a value of 1 if this is a special system-created project (like the default project). Otherwise it is NULL.
luiduuidThe locally unique ID, which is intended for exposing externally by the server API. This is automatically generated.
controlled_permissions_enabledbooleanIndicates whether permissions on workbooks, views, and data sources are controlled at the project level.
parent_project_idintegerId of the parent project. NULL for top-level projects.
admin_insights_enabledbooleanIndicates if project is a Admin Insights project
nested_projects_permissions_includedbooleanIndicates whether nested projects should be included when permissions are controlled or not controlled at the project level. Associated with controlled_permissions_enabled column
controlling_permissions_project_idintegerThe id of the ancestor project that is controlling the permissions for this project.
lower_namecharacter varyinggenerated column that is the projects name lower cased to be used in indices
public.projects_contents: Table which stores the contents of projects
NameTypeDescription
Foreign key/Primary key relation from project_id on this table to id on table, public.projects
Foreign key/Primary key relation from site_id on this table to id on table, public.sites
idintegerThe id which uniquely identifies row in the table
project_idintegerThe project_id which identifies the project that the row is associated with
site_idintegerThe site_id which identifies the site that the row is associated with
content_idintegerThe id of the content being stored in the project denoted by project_id. With content_type uniquely identifies a piece of content.
content_typecharacter varyingThe type of content being represented by the given row. Together with content_id uniquely identifies a piece of content
public.published_connection_revision_tables: Represents a table of a revision of a published connection.
NameTypeDescription
Foreign key/Primary key relation from revision_id on this table to id on table, public.published_connection_revisions
Foreign key/Primary key relation from site_id on this table to id on table, public.sites
idintegerPrimary key.
site_idintegerThe associated site.
lock_versionintegerUsed to implement "optimistic locking."
created_attimestamp without time zoneTime when created.
updated_attimestamp without time zoneLast time when updated.
revision_idintegerThe associated revision.
published_connection_table_luiduuidThe associated published connection table luid.
revisable_propertiesjsonbProperties revisable by Tableau users.
system_propertiesjsonbMisc metadata maintained by the system.
public.published_connection_revisions: Represents a revision of a published connection.
NameTypeDescription
Foreign key/Primary key relation from owner_id on this table to id on table, public.users
Foreign key/Primary key relation from published_connection_id on this table to id on table, public.published_connections
Foreign key/Primary key relation from site_id on this table to id on table, public.sites
idintegerPrimary key.
luiduuidA unique, immutable identifier within a site.
site_idintegerThe associated site.
owner_idintegerThe associated user that owns this.
lock_versionintegerUsed to implement "optimistic locking."
created_attimestamp without time zoneTime when created.
updated_attimestamp without time zoneLast time when updated.
revision_typeintegerType of revision: 0=draft, 1=active, 2=historical.
published_connection_idintegerThe associated published connection.
secured_connection_attributesjsonbConnection attributes requiring encryption
revisable_propertiesjsonbProperties revisable by Tableau users.
system_propertiesjsonbMisc metadata maintained by the system.
revisable_properties_updated_attimestamp without time zoneLast time revisable properties of this or child entities were updated.
revisable_properties_versionintegerMonotonically increasing number that increments every time the revisable properties of this or child entities are updated.
public.published_connection_tables: Represents the published connection table content type.
NameTypeDescription
Foreign key/Primary key relation from published_connection_id on this table to id on table, public.published_connections
Foreign key/Primary key relation from site_id on this table to id on table, public.sites
idintegerPrimary key.
luiduuidA unique, immutable identifier within a site.
site_idintegerThe associated site.
namecharacter varyingThe name of the published connection table.
descriptiontextThe description of the published connection table.
lock_versionintegerUsed to implement "optimistic locking."
created_attimestamp without time zoneTime when created.
updated_attimestamp without time zoneLast time when updated.
published_connection_idintegerThe associated published connection.
public.published_connections: Represents the published connection content type.
NameTypeDescription
Foreign key/Primary key relation from owner_id on this table to id on table, public.users
Foreign key/Primary key relation from project_id on this table to id on table, public.projects
Foreign key/Primary key relation from site_id on this table to id on table, public.sites
idintegerPrimary key.
luiduuidA unique, immutable identifier within a site.
site_idintegerThe associated site.
owner_idintegerThe associated user that owns this.
project_idintegerThe associated project.
namecharacter varyingThe name of the published connection.
descriptiontextThe description of the published connection.
lock_versionintegerUsed to implement "optimistic locking."
created_attimestamp without time zoneTime when created.
updated_attimestamp without time zoneLast time when updated.
activatedbooleanWhether or not this published connection was ever made available for consumption.
public.querypolicycollection: Table to store query policy collections.
NameTypeDescription
Foreign key/Primary key relation from site_id on this table to id on table, public.sites
idbigintAuto increment primary key.
luiduuidUUID of the policy collection.
site_luiduuidUUID of the site.
site_idintegerSite Id to link to public.sites.
payloadtextJSON blob representing the policy collection
update_versionintegerField to facilitate optimistic concurrency check
created_attimestamp without time zoneUTC time of record creation.
created_byuuidIdentity of record creator.
updated_attimestamp without time zoneUTC time that the record was updated last.
updated_byuuidIdentity of a user who updated the record last.
is_publishedbooleanIndicates if the policy collection has been published.
public.quota_definitions: Table which stores all the quota definitions for QuotaService
NameTypeDescription
idintegerThe id (pk) which uniquely identifies row in the table
namespacecharacter varyingThe namespace that the quota definition belongs to
quota_namecharacter varyingThe name of the quota
public.quota_limits: Table which stores the limits info for all quotas for QuotaService
NameTypeDescription
Foreign key/Primary key relation from quota_definition_id on this table to id on table, public.quota_definitions
idintegerThe id (pk) which uniquely identifies row in the table
quota_definition_idintegerThe quota_definition_id identifies a quota definition
site_luiduuidThe luid of the site
limit_valuebigintThe quota limit value
last_updatedtimestamp without time zoneThe timestamp when the limit_value was set
public.quota_usage: Table which stores the usage info for all quotas for QuotaService
NameTypeDescription
Foreign key/Primary key relation from quota_definition_id on this table to id on table, public.quota_definitions
idintegerThe id (pk) which uniquely identifies row in the table
quota_definition_idintegerThe quota_definition_id identifies a quota definition
site_luiduuidThe luid of the site
item_luiduuidThe luid of the item that uses the quota
usage_valuebigintThe quota usage value for the item
last_updatedtimestamp without time zoneThe timestamp when the usage_value was computed
public.recommendations_dismissed_views: Views dismissed by user in context of viz recommendations
NameTypeDescription
Foreign key/Primary key relation from site_id on this table to id on table, public.sites
Foreign key/Primary key relation from user_id on this table to id on table, public.users
Foreign key/Primary key relation from view_id on this table to id on table, public.views
idintegerPrimary key for the record.
site_idintegerSite Id associated with this dismissed view
user_idintegerUser Id of user that dismissed the view
view_idintegerView Id that was dismissed by user
dismissed_attimestamp without time zoneTime in Utc when the view was dismissed by user
public.recycle_bin_content_types: Content Type lookup table for Recycle Bin.
NameTypeDescription
idintegerAuto incremented primary key.
content_typecharacter varyingContent type of the object in Recycle Bin.
sos_typecharacter varyingSOS Type for thumbnails of this content type
public.refresh_token_devices: Devices that have been issued at least one refresh token
NameTypeDescription
idintegerPrimary key identifier
device_idcharacter varyingUnique identifier of the device. Must be unique across all instances of the same installations of client applications. This is expected to stay the same through the lifetime of the application.
device_namecharacter varyingFriendly name of the device to be displayed
system_user_idintegerReference to the system user the token is issued to
last_used_attimestamp without time zoneThe last time the device redeemed the refresh token.
public.refresh_tokens: Tokens issued to clients which can be redeemed by the client for access to the server
NameTypeDescription
Foreign key/Primary key relation from refresh_token_device_id on this table to id on table, public.refresh_token_devices
idintegerPrimary key identifier
guiduuidUnique identifer of the refresh token
client_idcharacter varyingUnique identifier with which to associate to the refresh token series.
client_namecharacter varyingThis column is no longer used and will be deleted once it will no longer be breaking an upgrade scenario
system_user_idintegerReference to the system user the token is issued to
expires_attimestamp without time zoneWhen this token becomes expired. null means that it does not have absolute expiration time
last_used_attimestamp without time zoneWhen the token was last redeemed for an access token
issued_attimestamp without time zoneWhen this token was issued to the client
saltcharacter varyingThe salt used when hashing the secret
hashed_secretcharacter varyingSecret portion of the token thats been hashed
session_idcharacter varyingThe most current session that has been redeemed using this refresh token. Null if no sessions have been redeemed
refresh_token_device_idintegerReference to the device the token is issued to
next_hashed_secretcharacter varyingSecret portion of the token thats been hashed for the next refresh token
next_saltcharacter varyingThe salt used when hashing the secret for the next refresh_token
public.remote_agents: Registry of remote agents (Online). Remote agents are programs installed on customer PC and executing tasks on a behalf of a customer. The first example of agent is Tableau Data Sync. It is running in background on customer desktop and performing automatic data source refreshes based on schedules defined by customers.
NameTypeDescription
Foreign key/Primary key relation from owner_id on this table to id on table, public.users
Foreign key/Primary key relation from site_id on this table to id on table, public.sites
idintegerPrimary key for the record.
owner_idintegerForeign key reference to the user who owns this project.
site_idintegerForeign key reference to the site which contains this remote agent.
namecharacter varyingName of the remote agent. Usually agent computer name. This name must be unique for a specific site/user. Different users can have same agent (for example of shared computer).
time_zone_idcharacter varyingString identifier of agent's time zone. Time zone is specified during registration and can be changed later. Time zone ID is full name such as "America/Los_Angeles". It should be accepted by Java method java.util.TimeZone.getTimeZone(java.lang.String).
schedules_synced_attimestamp without time zoneUTC time of last agent synchronization of schedules with the server. Time is the recorded server time.
device_idcharacter varyingID generated by client and also given to the Refresh Token Service. Otherwise, one is randomly generated.
concurrent_live_operations_allowedintegerNumber of concurrent live operations allowed on a remote agent.
capacitiestextThe capacities that this remote agent exhibits, e.g. LiveQueryAlpha, LiveQueryBeta, LiveQueryV1
pooledbooleanIf part of the site pool to handle shared work.
versioncharacter varyingThe version of the remote agent.
pool_iduuidIdentifies the pool that the agent belongs to
public.repository_data: This table forms the link between other tables that need to store "large object" data, and the large object storage, itself.
NameTypeDescription
Foreign key/Primary key relation from sos_blob_data_id on this table to id on table, public.sos_blob_data
idbigintPrimary key for the record.
nametextA possibly useful string that is mostly here to make it easier to debug.
contentoidAn oid field that references the corresponding data stored in the pg_largeobject system table. Be aware pg_largeobject is not accessible by the "tableau" or "readonly" users.
created_attimestamp without time zoneThe time at which this record was created.
tracking_idcharacter varyingUnique ID used to track the repository data.
typecharacter varyingSimple Object Storage type.
kindcharacter varyingKind of data in content; file or folder.
sos_blob_data_idbigintforeign key referencing sos_blob_data.id
public.resource_holder_types: Information about entities which can hold on to resources. For instance workbook is such an entity, it can reference a geocoding database and keep it alive.
NameTypeDescription
idsmallintUnique numeric id of the type. This value is used as the value of resource_usage.resource_holder_type column.
nametextUnique name of the type, used in the code to identify the particular resource holder type.
descriptiontextDescription of the type.
public.resource_types: Information about resources which are used by some server entities. For instance geocoding databases are such resources, a workbook can reference a geocoding database and keep it alive.
NameTypeDescription
idsmallintUnique numeric id of the type. This value is used as the value of resource_usage.resource_type column.
nametextUnique name of the type, used in the code to identify the particular resource type.
descriptiontextDescription of the type.
public.resource_usage: Information about resources by tableau server entities, for example which geocoding databases are used by which workbooks.
NameTypeDescription
Foreign key/Primary key relation from resource_holder_type on this table to id on table, public.resource_holder_types
Foreign key/Primary key relation from resource_type on this table to id on table, public.resource_types
Foreign key/Primary key relation from site_id on this table to id on table, public.sites
idintegerAuto-generated id from postgres; also the primary key for the table.
resource_holder_typesmallintType of the entity which references the resource. Values correspond to the values in the resource_holder_type.id column.
resource_holder_idintegerID of the entity for which this entry was created. The meaning of the ID depends on the resource_holder_type value. For instance, for workbooks it is the workbook ID
resource_typesmallintType of the resource, e.g. geocoding database. Values correspond to the values in the resource_type.id column.
resource_idintegerID of the resource. The meaning of the ID depends on the resource_type value. For instance, for geocoding databases it is the id from the geocoding table.
created_attimestamp without time zoneTimestamp when this record was created.
updated_attimestamp without time zoneSame as created_at.
site_idintegerSite ID of the resource.
resource_nametextOptional resource name, for debugging and logging.
public.roles: This table contains records corresponding to various classifications of users. It should really be viewed in conjuction with the capabilities and capability_roles tables. Taken together, these tables associate different roles with different sets of capabilities. The capabilities sets serve as templates when creating content.
NameTypeDescription
idintegerPrimary key for the record.
namecharacter varyingEach role has a name by which it is known to program code. Examples include, viewer, editor, interactor, ds_editor, etc.
created_attimestamp without time zoneThe time at which this record was created.
updated_attimestamp without time zoneThe time at which this record was last changed.
creator_idintegerLinks to the user who created this record, or is NULL. Not a significant value.
displayablebooleanUsed to distinguish between records that can be displayed in the GUI and those that cannot.
administrativebooleanRoles are categorized as administrative in nature, or not. This field is used for filtering.
display_orderintegerAscending order of this value is the order in which roles are listed, when displayed.
display_namecharacter varyingThis is the name for the role, which will be displayed to the user.
public.saml_assertions_metadata: Records for the saml assertions
NameTypeDescription
idbigintPrimary key for the record.
assertion_idcharacter varyingSaml assertion id.
idp_entity_idcharacter varyingIdP entity id URI.
expires_attimestamp without time zoneThe time saml assertion expires. Null indicates no expiration time
public.schedules: Records in this table define a schedule according to which certain regular tasks may be performed (see tasks table). They also indicate the next time at which the schedule will be triggered.
NameTypeDescription
idintegerPrimary key for the record.
namecharacter varyingA schedule can be given a name, which is stored here.
activebooleanIf set to false, this means that the schedule is inactive, meaning that no tasks will be performed when the schedules triggers.
priorityintegerPriority can range from 1 to 100, with lower values corresponding to higher priority.
schedule_typeintegerOne of 0 (Hourly), 1 (Daily), 2 (Weekly), 3 (Monthly).
day_of_week_maskintegerIndicates which day of the week this schedule will run. The information is encoded in the given integer. To interpret it, convert the integer to binary. The days of the week correspond to Sunday : 1, Monday : 10, Tuesday : 100, Wednesday : 1000, Thursday : 10000, Friday : 100000, Saturday : 1000000.
day_of_month_maskintegerIndicates which day of the month this schedule will run. The information is encoded in the given integer. To interpret it, convert the integer to binary. The days of the month correspond to 1st : 1, 2nd: 10, 3rd: 100, 4th: 1000, 5th: 10000, etc.
start_at_minuteintegerThe minute following the start of the designated time period implied by the schedule_type. For example, for a daily schedule, this would be number of minutes past midnight at the start of the day. For hourly, it would be the number of minutes past the beginning of the hour.
minute_intervalintegerOnce the schedule triggers, it will retrigger at this interval during the time period implied by the schedule_type or until end_at_minute, or end_schedule_at.
end_at_minuteintegerThe minute following the start of the designated time period implied schedule_type, at which the schedule should stop triggering.
end_schedule_attimestamp without time zoneUsed to indicate a point in time, after which the schedule should never trigger.
run_next_attimestamp without time zoneWhen the schedule will next trigger.
created_attimestamp without time zoneThe time at which this record was created.
updated_attimestamp without time zoneThe last time any changes were made to this record.
hiddenbooleanIf set to true, then this schedule will not be listed in the GUI, otherwise it will be.
serial_collection_idintegerA foreign key to the serial_collections table. Two jobs with the same serial_collection_id cannot be processed simultaneously. When the job record for a task linked to this schedule is created, it is assigned this serial_collection_id.
lock_versionintegerUsed to implement "optimistic locking" by JPA/Hibernate. The counter increases each time the record is changed. Not useful for customers.
scheduled_actionintegerUsed to classify schedules into categories: 0 (Extracts), 1 (Subscriptions), 2 (Sync AD users and groups), 3 (Auto Refresh Extracts), 4 (Flows)
luiduuiduuid for schedules used in the REST API
defined_byintegerThe mechanism type of how the schedule is created, e.g. 0 for system_admin, 1 for self_service.
timezoneidtextThe IANA timezoneid for the schedule when it is created i.e. America/Los_angeles
actionablebooleanFlag to indicate whether or not the schedule is actionable.
linked_task_enabledbooleanWhether users are allowed to create linked tasks on this schedule or not.
public.schema_migrations: This table tracks which database migrations have been applied to this database.
NameTypeDescription
versioncharacter varyingA string, derived from the name of the migration file, which serves to identify a particular migration that has been applied.
public.semantics_service_data_source_events: Stores the last data source event processed by semantics service
NameTypeDescription
idintegerThe unique identifier for this row that is automatically generated on insert
updated_attimestamp with time zoneThe timestamp for when this row entry was updated
last_enqueued_idbigintThe ID of the event that is last processed by semantics service
processing_nodetextThe ID of the semantics service node that is currently processing the events. If the field is empty, no semantics service node is currently processing events.
public.serial_collections: Records in this table represent groups of background jobs that should not be run simultaneously.
NameTypeDescription
idintegerThe primary key for the record.
descriptioncharacter varyingWhoever creates the serial collection can decide what they want this description to say.
created_attimestamp without time zoneThe time at which this record was created
updated_attimestamp without time zoneThe last time any changes were made to this record.
public.sessions: Settings associated with a user's browser session.
NameTypeDescription
Foreign key/Primary key relation from initiating_user_id on this table to id on table, public.users
idintegerThe primary key for the record.
session_idcharacter varyingSession identifier.
datatextSerialized session data.
updated_attimestamp without time zoneTime when session was last updated, used to expire inactive sessions.
user_idintegerForeign key to users table
shared_wg_writetextSettings used by wgserver (language/country preference etc).
shared_vizql_writetextSettings used by vizql server.
site_idintegerA foreign key to the sites table. Indicates the site to which this session belongs.
created_attimestamp without time zoneA timestamp without timezone indicating how long ago the session was created
lock_versionintegerUsed to implement "optimistic locking." Don't set this or mess with it, it's all handled automatically.
saltcharacter varyingThe salt used when hashing the secret.
hashed_secretcharacter varyingSecret portion of the token thats been hashed.
oauth_statetextThe OAuth request state, will be verified later to prevent CSRF attack.
initiating_user_idintegerthe id of site user initiating logging in. Can be an admin impersonating (acting on behalf of) the other user. Or the site user self in case or regular log in
public.share_actions: Table storing share actions.
NameTypeDescription
Foreign key/Primary key relation from site_id on this table to id on table, public.sites
idintegerPrimary key for the record.
sharer_idintegerUserId of the sharer (if not deleted). Backed up id (if deleted). Product spec: sharing action is not cascade deleted with sharer.
was_sharer_deletedbooleanIf sharer was deleted. False (regular user). True (name backed up for historical reason)
site_idintegerThe ID of the site where content was shared.
messagecharacter varyingSharers message to recipients. Max char count by PM spec is 500.
created_attimestamp without time zoneShare action creation timestamp.
public.share_contents: Table storing shared content (view/workboook/etc).
NameTypeDescription
Foreign key/Primary key relation from share_action_id on this table to id on table, public.share_actions
Foreign key/Primary key relation from site_id on this table to id on table, public.sites
idintegerPrimary key for the record.
share_action_idintegerShare action ID which was used to share this content.
content_idintegerShared content ID. Note: depending on "content_type" can be ID of different content.
content_typecharacter varyingShared content type.
site_idintegerThe ID of the site where content was shared.
public.share_deleted_sharers: Table storing deleted sharers backed up details (e.g. name). Needed because we do not cascade delete sharing action after sharer was deleted.
NameTypeDescription
Foreign key/Primary key relation from site_id on this table to id on table, public.sites
idintegerPrimary key for the record.
namecharacter varyingName for deleted sharer. Backed up from system_users.name.
friendly_namecharacter varyingFriendly name for deleted sharer. Backed up from system_users.friendly_name.
site_idintegerThe ID of the site where content was shared by sharer.
public.share_recipients: Table storing share recipients (users/groups/etc).
NameTypeDescription
Foreign key/Primary key relation from share_action_id on this table to id on table, public.share_actions
Foreign key/Primary key relation from site_id on this table to id on table, public.sites
idintegerPrimary key for the record.
share_action_idintegerShare action ID which was used to share this content.
site_idintegerThe ID of the site where content was shared.
recipient_idintegerRecipient ID whom this content was shared with. Note: depending on "recipient_type" can be ID of different recipients.
recipient_typeintegerRecipient type (e.g. "USER", "GROUP").
public.share_single_user_options: Table storing single user options on shared content (does not change the content itself).
NameTypeDescription
Foreign key/Primary key relation from single_user_id on this table to id on table, public.users
Foreign key/Primary key relation from site_id on this table to id on table, public.sites
idintegerPrimary key for the record.
content_idintegerContent ID on which user set a custom option.
content_typecharacter varyingContent type on which user set a custom option.
site_idintegerThe ID of the site where content was shared.
single_user_idintegerUser ID who set a custom option.
single_user_option_valueintegerValue of some certain option a user has set.
single_user_option_typeintegerOption type a user has set on a shared content.
public.sheet_images: Serves as a cache for all the sheet images generated by server.
NameTypeDescription
Foreign key/Primary key relation from customized_view_id on this table to id on table, public.customized_views
Foreign key/Primary key relation from generated_as_user_id on this table to id on table, public.users
Foreign key/Primary key relation from site_id on this table to id on table, public.sites
Foreign key/Primary key relation from view_id on this table to id on table, public.views
idintegerPrimary key for the record.
widthintegerThe port size (width) used to generate the image.
heightintegerThe port size (height) used to generate the image.
pixel_ratiorealThe pixel ratio used to generate the image.
view_idintegerA foreign key reference to the view used to generate the image.
language_idcharacter varyingA code indicating the language used to generate the image.
locale_idcharacter varyingA code indicating the locale used to generate the image.
generated_attimestamp without time zoneA timestamp indicating when the image was generated.
data_storage_idbigintA reference to an entry in the repository_data table, which, in turn references the PostgreSQL large object that contains the sheet image for this entry.
generated_as_user_idintegerA foreign key reference to the user the image was generated as. Can be null if the image was not generated as any user in particular.
customized_view_idintegerA foreign key reference to the customized view that the image was generated as. Can be null if the image was not generated with a customized view.
cropped_heightintegerIndicates how many pixels were vertically cropped off of the generated image.
cropped_widthintegerIndicates how many pixels were horizontally cropped off of the generated image.
freshness_verified_attimestamp without time zoneThis date represents a point in time at which this sheet image is considered to be fresh.
data_idcharacter varyingUnique ID used to identify the image.
show_commands_query_strtextRepresents hash of the possible show commands to be applied to the viz in the native api code.
file_typeintegerThe file type. 0 for Image, 1 for Pdf
page_orientationintegerPDF page orientation
page_size_optionintegerPDF page size option
site_idintegerThe ID of the site to which this entry belongs.
public.site_keychains: This table stores keychains for site, which is used for credentials service V1
NameTypeDescription
Foreign key/Primary key relation from site_id on this table to id on table, public.sites
idintegerPrimary key for the record.
luiduuidUUID for the record.
site_idintegerThe associated site id.
target_classcharacter varyingThe dsClass this credential belongs to.
target_authcharacter varyingThe authenticationType of this credential.
target_endpointcharacter varyingPart of this credential identifier, usually would be a Database server address.
target_portintegerDatabase server port.
target_user_namecharacter varyingPart of this credential identifier, usually would be a Database username.
target_dbcharacter varyingPart of this credential identifier, can be a database name/project-id.
target_user_rolecharacter varyingUsed when the credential has a "role" property such as Snowflake OAuth.
target_extra_infotextExtra info about the target.
credential_typeintegerType of the credential
asset_key_idintegerId of asset_key which is used for encrypted entry_xml
entry_xmlcharacter varyingEncrypted keychain xml entry.
created_attimestamp without time zoneThe time the credential was created.
updated_attimestamp without time zoneThe latest time the credential was updated.
public.site_logos: custom logo image metadata for sites
NameTypeDescription
Foreign key/Primary key relation from site_id on this table to id on table, public.sites
idintegerPrimary key for the record.
site_idbigintthe site the logo belongs to
widthintegerthe image width in px
heightintegerthe image height in px
storage_idcharacter varyingidentifies the logo image on the storage back_end
urltextthe public URL of the logo
mime_typecharacter varyingthe MIME type of the logo
created_attimestamp without time zoneThe time when this row was created.
updated_attimestamp without time zoneThe time when this row was last updated.
logo_typecharacter varyingtype of logo (header or compact)
public.site_oidc_configurations: Defines the OpenID Connect IdP associated with a site.
NameTypeDescription
site_luiduuidPrimary key for this table, matches the site.site_luid column.
is_enabledbooleanDefines if the configration is active.
known_provider_aliastextName of the preconfigured provider, which must be defined in SiteSAML application.yml file.
salesforce_domaincharacter varyingCustom authorization domain for pre-configured Salesforce OIDC (OpenID Connect) provider.
allow_embedded_authenticationbooleanFlag if the site permits the authentication flow to be hosted in an iframe.
public.site_roles: Lists the various possible user site roles.
NameTypeDescription
idintegerUser site role ID is unique key correspondent to site_role_id from users table.
namecharacter varyingUser site role name.
licensing_rankintegerUser license role rank for the purpose of licensing users with the correct priority when the number of available licenses is less that users. 1000-600 Tier Interactor users, down to 500 - Basic Tier users, 300 - Support users, 200 - guest users, 100 and below - Unlicensed.
display_namecharacter varyingUser Friendly value to display on the IBA License Usage Admin View.
public.site_saml_configurations: Defines the SAML IdP associated with a site.
NameTypeDescription
Foreign key/Primary key relation from site_luid on this table to luid on table, public.sites
site_luiduuidPrimary key for this table, matches the site.site_luid column.
idp_entity_descriptortextXML block of the EntityDescriptor for the Identity Provider.
attribute_mappingtextDefines mapping for the saml response fields.
sp_certificatetextPEM encoded certificate.
sp_private_keytextPEM encoded private key.
is_enabledbooleanDefines if the configration is active.
entity_descriptor_validation_resulttextJSON Serialized validation result.
authentication_domain_idcharacter varyingAuthentication Domain.
authentication_type_for_embeddedcharacter varyingAuthentication type: DEFAULT or SAML.
allow_embedded_authenticationbooleanFlag if the site permits the authentication flow to be hosted in an iframe.
generationcharacter varyingDescribes level of support and/or blocklisting of certain features in the SAML implementation.
public.site_saml_events: Log table for all SAML actions.
NameTypeDescription
Foreign key/Primary key relation from site_luid on this table to luid on table, public.sites
iduuidPrimary key for this table.
timestamptimestamp without time zoneTimestamp for the event.
log_levelcharacter varyingString value of the logging level.
messagetextText of the logged message.
site_luiduuidMatches the site.site_luid column and site_saml_configurations.site_luid.
public.site_saml_sessions: Records the user sessions authenticated by the SiteSAML service.
NameTypeDescription
idcharacter varyingPrimary key for this table.
site_luiduuidMatches the site.site_luid column and site_saml_configurations.site_luid.
last_accessed_attimestamp without time zoneTimestamp for the last_accessed_at time of the seesion.
http_sessionbyteaHTTP Session representation.
versionbigintVersion value if set.
public.site_saml_users: Users that are allowed to use Per Site SAML authentication.
NameTypeDescription
Foreign key/Primary key relation from site_luid on this table to luid on table, public.sites
iduuidPrimary key for this table.
site_luiduuidMatches the site.site_luid column and site_saml_configurations.site_luid.
user_namecharacter varyingUser name field.
auth_user_idcharacter varyingMatches the auth_user_id of the user stored in the system_users table.
authentication_typecharacter varyingWhich type of authentication to use, e.g. SAML or OIDC.
public.site_user_prefs: Site user preferences.
NameTypeDescription
Foreign key/Primary key relation from site_id on this table to id on table, public.sites
Foreign key/Primary key relation from user_id on this table to id on table, public.users
idintegerThe id of a site user preference. Primary key.
user_idintegerA foreign key to users table. Indicates the site user to which this preference belongs.
refresh_failure_notification_enabledbooleanWhether to send notification on failed extracts for this site user.
notification_enabledbooleanSetting for enabling system notifications
show_welcome_screenbooleanShows the Welcome Screen on the Home space in Vizportalclient
show_metrics_bannerbooleanShows the metrics banner on the metric detail screen in Vizportalclient
site_idintegerSite ID of the site_user_prefs.
public.sites: Each record represents a site. Each site holds its own workbooks, datasources, users, etc. Strict isolation between the contents of each site is maintained.
NameTypeDescription
idintegerPrimary key for the record.
namecharacter varyingThe name of the site.
url_namespacecharacter varyingString used in the construction of URLs that target this site.
statuscharacter varyingOne of "active" "suspended" or "locked".
created_attimestamp without time zoneThe time at which this record was created.
updated_attimestamp without time zoneThe last time any changes were made to this record.
content_admin_modeintegerOne of 1 (content only) or 2 (content and users).
storage_quotabigintMaximum storage for the site in megabytes.
status_reasoncharacter varyingHolds an explanation for why a site is in a "suspended" status.
subscriptions_enabledbooleanTrue if subscriptions are allowed for this site, otherwise false.
custom_subscription_footertextContent to be placed as the footer in each subscription email sent.
custom_subscription_emailtextThe email from which to send subscriptions.
luiduuidAn identifier which is unique to this site.
authoring_disabledbooleanIf true, then web authoring is disabled.
sheet_image_enabledbooleanTrue if sheet image API is enabled for this site, otherwise false.
refresh_token_settingintegerIf true, oauth is enabled on server, allowing connected clients.
version_history_enabledbooleanSetting for enabling/disabling version history on a site
notification_enabledbooleanSetting for enabling/disabling system notification such as email notification on a site
content_version_limitintegerMaximum number of versions to retain for each content type : workbooks ,datasources
subscribe_others_enabledbooleanSetting for enabling/disabling the subscribe others functionality on a site
lock_versionintegerUsed to implement "optimistic locking." Don't set this or mess with it, it's all handled automatically.
guest_access_enabledbooleanSetting for enabling/disabling guest account per site
support_access_enabledbooleanSetting for enabling/disabling access to a Tableau Online site by a Tableau support user
cache_warmup_enabledbooleanTrue if cache warmup is enabled for this site.
cache_warmup_thresholdsmallintHow recently a view must have been viewed to run warmup for it in days, defaulting to 30.
data_alerts_enabledbooleanSetting for enabling/disabling data driven alerts on a site
allow_live_query_syncbooleanSetting for allowing live query sync on a site
commenting_enabledbooleanSetting for enabling/disabling commenting on a site
self_service_schedules_enabledbooleanSetting for enabling/disabling self service schedules on a site
tier_interactor_capacityintegerMax site-wide tier interactor license capacity limit.
tier_basic_user_capacityintegerMax site-wide tier basic user license capacity limit.
tier_author_capacityintegerMax site-wide tier author license capacity limit.
viz_in_tooltip_enabledbooleanSetting for enabling/disabling Viz in Tooltip on a site
protocol_cache_lifetimeintegerLifetime for native connections, in minutes
protocol_group_size_limitintegerLimit on connection parallelism
commenting_mentions_enabledbooleanSetting for enabling/disabling commenting mentions on a site
mixed_content_enabledbooleanSetting for enabling/disabling mixed content on a site
site_invite_notification_enabledbooleanSetting for enabling/disabling site invite notification on a site
extract_encryption_modesmallintExtract encryption mode: whether it is disabled (null or 0), enabled (1), or enforced (2).
flows_enabledbooleanSetting for enabling/disabling Tableau Prep flows on a site
materialized_views_enabledbooleana flag to indicate whether the feature of materialized views is enabled for this site or not, enabled if true.
allow_subscriptions_attach_pdfbooleanWhether to allow users to attach PDFs to subscription emails.
materialized_views_modesmallintCode representing the materialized views mode for the site.
start_page_uritextif not set the value from global_settings.start_page_uri is used
afe_enabledbooleanAlternative Federation Engine (afe) is enabled or not
sandbox_enabledbooleanWhether to enable sandbox for the site or not
viz_recs_enabledbooleanSetting for enabling/disabling Viz Recommendations on a site
biometrics_mobile_enabledbooleanSetting for enabling/disabling biometrics for mobile clients for a site
iba_enabledbooleanSetting for enabling/disabling Identity Based Activation on a site. Only applicable for Online
named_sharing_enabledbooleanWhether Named Sharing is enabled on the site
sandbox_storage_quotabigintthe per user storage quota for sandboxes on a site in bytes. If null is unlimited
sandbox_datasources_enabledbooleanWhether to enable datasources on sandboxes for the site or not
sandbox_flows_enabledbooleanWhether to enable flows on sandboxes for the site or not
cataloging_enabledbooleanSetting for enabling/disabling data cataloging features on a site
derived_permissions_enabledbooleanSetting for enabling/disabling derived metadata permissions on a site
viz_recs_username_enabledbooleanSetting for enabling/disabling the display of usernames along with viz recommendations
user_visibilityintegerWhether to user visibility is set to 0 - FULL or 1 - LIMITED
request_accessintegerOne of 3 options for request access: on, off, custom_note
ask_data_modetextSetting the ask data mode for each site
run_now_enabledbooleanSetting for allowing run now background jobs.
web_extraction_enabledsmallintEnable or disable extract creation/live 1: enable, 0: disable the default is 1
metrics_enabledbooleanSetting for enabling the metrics feature
web_editing_enabledbooleanOne of two options for web editing enabled: on, off
notify_site_admins_on_throttlebooleanSetting for allowing site admins to opt in on receiving an email when background jobs are throttled.
obfuscation_enabledbooleanSetting to enable or disable the obfuscation feature for Data Catalog
flow_auto_save_enabledbooleanSetting to enable or disable auto save feature for flows
time_zonetextIANA time zone name to be used with Hyper connections on this site. If not set or is empty then the server time zone is used.
public_collections_enabledbooleanSetting for enabling public collections
self_service_schedule_for_refresh_enabledbooleanSetting for allowing self service schedule for refresh.
self_service_schedule_for_flow_enabledbooleanSetting for allowing self service schedule for flow.
auto_suspend_refresh_enabledbooleanSetting for enabling/disabling Extract Refresh Auto Suspend feature on a site
auto_suspend_refresh_inactivity_windowintegerNumber of days after which extract refresh will be suspended for inactive workbooks.
web_zone_content_enabledbooleanSetting for enabling the Web Page Objects
personal_space_enabledbooleanWhether to enable personal space for the site or not
personal_space_storage_quotabigintthe per user storage quota for personal spaces on a site in bytes. If null is unlimited
tag_limitintegerSetting the max tag limit
einstein_in_flow_enabledbooleanWhether einstein is enabled for flow on this site or not
explain_data_enabledbooleanWhether explain data is enabled on this site or not
linked_tasks_enabledbooleanTrue if scheduling linked tasks is enabled for this site.
linked_tasks_run_now_enabledbooleanTrue if linked tasks run now is enabled for this site.
dqw_subscriptions_enabledbooleanWhether dqw subscriptions are enabled on this site or not
flow_output_subscriptions_enabledbooleanWhether flow output subscriptions are enabled on this site or not
flow_output_subscriptions_data_in_email_body_enabledbooleanWhether data in email body is enabled for flow output subscriptions on this site or not
flow_output_subscriptions_data_as_email_attachment_enabledbooleanWhether data as email attachment is enabled for flow output subscriptions on this site or not
flow_parameters_enabledbooleanWhether Flow parameters are enabled on this site or not
flow_parameters_any_type_enabledbooleanWhether Flow parameters of type ANY are enabled on this site or not
admin_insights_publish_frequencyintegerPublish frequency of admin insights. 0 is daily, 1 is weekly
backgrounder_governance_default_limit_enabledbooleanFor On-Prem Only. True if default govrenance limits are set for backgrounders on this site.
public.slack_version_update: Table which holds flag indicating whether SlackVersionUpdate job has executed. This job is triggered manually before an upcoming Tableau Online release, if it contains new version of Slack app. The trigger will send email to admins of sites, which are connected to Slack. see TFS1302023
NameTypeDescription
idintegerid column
has_executedbooleanSingleton boolean value indicating whether the job has executed.
public.sos_blob_data: table to store sos file types as binary data
NameTypeDescription
idbigintid referenced by repository_data sos_blob_data_id foreign key
databyteaSOS content stored as binary data
public.sos_blob_data_site_enabled: table with site_luid column to store sos file types as binary data
NameTypeDescription
idintegerid referenced by repository_data_site_enabled sos_blob_data_id foreign key
databyteaSOS content stored as binary data
site_luiduuidThis is foreign key referencing public.sites.luid table.
public.sos_metadata: This table with site_luid column forms the link between other tables that need to store blob data, and the blob storage, itself.
NameTypeDescription
Foreign key/Primary key relation from sos_blob_data_site_enabled_id on this table to id on table, public.sos_blob_data_site_enabled
idintegerPrimary key for the record.
nametextA possibly useful string that is mostly here to make it easier to debug.
created_attimestamp without time zoneThe time at which this record was created.
tracking_idcharacter varyingUnique ID used to track the repository data.
typecharacter varyingSimple Object Storage type.
kindcharacter varyingKind of data in content; file or folder.
sos_blob_data_site_enabled_idbigintforeign key referencing sos_blob_data_site_enabled.id
data_sizebigintThe data size of large object.
site_luiduuidThis is foreign key referencing public.sites.luid table.
public.sos_virtual_folder_entries: Each record represents a file in a virtual folder currently tracked in Simple Object Storage.
NameTypeDescription
Foreign key/Primary key relation from site_id on this table to id on table, public.sites
Foreign key/Primary key relation from virtual_folder_id on this table to id on table, public.sos_virtual_folders
idbigintPrimary key for the virtual folder entry record.
site_idintegerID of the site containing the virtual folder containing this entry.
virtual_folder_idintegerID of the virtual folder containing this entry.
sos_typecharacter varyingThe SOS type name of this virtual folder entry.
sos_idcharacter varyingThe SOS LUID corresponding to this virtual folder entry.
relative_pathtextRelative path to this entry starting from the root of the virtual folder.
created_attimestamp without time zoneThe time the virtual folder entry was created.
site_luiduuidThis is the site luid from public.site.luid table.
public.sos_virtual_folders: Each record represents a virtual folder currently tracked in Simple Object Storage.
NameTypeDescription
Foreign key/Primary key relation from site_id on this table to id on table, public.sites
idbigintPrimary key for the virtual folder record.
site_idintegerID of the site containing this virtual folder.
sos_idcharacter varyingThe SOS LUID corresponding to this virtual folder.
sos_typecharacter varyingThe SOS type name of this virtual folder.
created_attimestamp without time zoneThe time the virtual folder was created.
last_updated_attimestamp without time zoneThe time the virtual folder was last updated.
site_luiduuidThis is the site luid from public.site.luid table
public.ss_custom_value_concepts: The table to hold value concepts used by semantics service
NameTypeDescription
Foreign key/Primary key relation from ontology_id, field_concept_key on this table to ontology_id, key on table, public.ss_field_concepts
idbigintThe unique identifier for this row that is automatically generated on insert
created_attimestamp with time zoneThe timestamp for when this row entry was created
updated_attimestamp with time zoneThe timestamp for when this row entry was updated
keytextKey of a value concept which is unique within one ontology
valuetextThe value of the value concept in string format
value_typetextThe enum that represents the value type
field_concept_keytextKey of the field concept that this value concept belongs to
ontology_idbigintID of the ontology that this value concept belongs to
synonymsjsonbA list of synonyms of this value concept
public.ss_field_concepts: The table to hold field concepts used by semantics service
NameTypeDescription
Foreign key/Primary key relation from ontology_id, object_concept_key on this table to ontology_id, key on table, public.ss_object_concepts
Foreign key/Primary key relation from vs_datasource_id on this table to id on table, public.datasources
idbigintThe unique identifier for this row that is automatically generated on insert
created_attimestamp with time zoneThe timestamp for when this row entry was created
updated_attimestamp with time zoneThe timestamp for when this row entry was updated
keytextKey of a field concept which is unique within one ontology
namesjsonbA list of synonyms of this field concept
descriptiontextDescription of this field concept
name_characteristicsjsonbA json blob that contains name characteristics of this field concept
data_typesARRAYA list of possible data types of this field concept
field_rolesARRAYA list of possible field roles of this field concept
default_formatsARRAYA list of possible default formats of this field concept
value_characteristicsjsonbA json blob that contains value characteristics of this field concept
ontology_idbigintID of ontology that this field concept belongs to
owner_idtextUser that creates this field concept, empty for built-in ones
object_concept_keytextKey of object concept that this field concept belongs to
parent_field_concept_keytextKey of field concept that is parent of this field concept
vs_field_nametextField in a published datasource that we sync value concepts of this field concept from
vs_datasource_idbigintId of published datasource that we sync value concepts of this field concept from
user_idbigintID of user who creates this field concept, empty for built-in ones
data_role_idbigintThe ID of the data role that corresponds to the field concept. Data roles are stored in table `data_roles`.
value_source_kindtextContains a serialization of the kind of the value source (ie. datasource, builtin, valuelist, etc.)
public.ss_object_concepts: The table to hold object concepts used by semantics service
NameTypeDescription
Foreign key/Primary key relation from ontology_id on this table to id on table, public.ss_ontologies
idbigintThe unique identifier for this row that is automatically generated on insert
created_attimestamp with time zoneThe timestamp for when this row entry was created
updated_attimestamp with time zoneThe timestamp for when this row entry was updated
keytextKey of an object concept which is unique within one ontology
namesjsonbA list of synonyms of this object concept
descriptiontextDescription of this object concept
ontology_idbigintID of ontology that this object concept belongs to
source_versiontextSource data version of built-in object concepts
public.ss_ontologies: The table to hold ontologies used by semantics service
NameTypeDescription
Foreign key/Primary key relation from site_id on this table to id on table, public.sites
idbigintThe unique identifier for this row that is automatically generated on insert
created_attimestamp with time zoneThe timestamp for when this row entry was created
updated_attimestamp with time zoneThe timestamp for when this row entry was updated
site_idintegerID of the site that this ontology belongs to, empty for built-in ontology
descriptiontextDescription of this ontology
public.subscription_messages: This table represent a subscription email message.
NameTypeDescription
Foreign key/Primary key relation from site_id on this table to id on table, public.sites
idintegerPrimary key for the subscription message.
message_texttextThe text of the message.
site_idintegerThe ID of the site the subscription belongs to.
public.subscriptions: Each record represents a subscription.
NameTypeDescription
Foreign key/Primary key relation from subscription_message_id on this table to id on table, public.subscription_messages
Foreign key/Primary key relation from schedule_id on this table to id on table, public.schedules
Foreign key/Primary key relation from site_id on this table to id on table, public.sites
Foreign key/Primary key relation from user_id on this table to id on table, public.users
idintegerPrimary key for the record.
subjectcharacter varyingA string that describes the nature of the subscription.
user_idintegerA foreign key reference to the user who will receive the subscription.
schedule_idintegerA foreign key reference to the record in the schedules table that describes exactly when the subscription will be triggered.
last_senttimestamp without time zoneThe last time at which the the subscription was sent.
site_idintegerSite ID for Subscriptions. FK reference to sites.id
luiduuidUUID for subscriptions used in REST APIs
creator_idintegerUser id for user who created the subscription. FK reference to users.id
data_condition_typecharacter varyingThe type of data condition that will cause this subscription to be sent out. Defaults to "Always", but can also be "DataPresent", "Constant", "Band", etc.
is_refresh_extract_triggeredbooleanWhether or not subscription is triggered by refresh extract
created_attimestamp without time zoneThe time at which this record was created.
subscription_message_idintegerLocator for the subscription message.
content_has_user_referencesbooleanBoolean that represents whether the content of the subscription has user references. NULL means subscription has not run yet
attach_pdfbooleanBoolean that represents whether to attach a PDF to the subscription
attach_imagebooleanBoolean that represents whether to attach images to the subscription
target_typecharacter varyingString that represents the type of object being subscribed to. Either View or Workbook
target_idintegerInteger that represents the id of the object being subscribed to.
public.subscriptions_customized_views: This table is used to link various customized views to the subscriptions in which those customized views must be generated and emailed.
NameTypeDescription
Foreign key/Primary key relation from customized_view_id on this table to id on table, public.customized_views
Foreign key/Primary key relation from site_id on this table to id on table, public.sites
Foreign key/Primary key relation from subscription_id on this table to id on table, public.subscriptions
idintegerPrimary key for the record.
subscription_idintegerA foreign key reference to a record in the subscriptions table. Emailing the customized view referenced by the customized_view_id is one of the activities of the linked subscription.
customized_view_idintegerA foreign key reference to a particular customized view.
site_idintegerThe ID of the site the subscription belongs to.
public.subscriptions_flow_metadata: Stores subscriptions metadata, which allow users to subscribe to flow outputs.
NameTypeDescription
Foreign key/Primary key relation from creator_id on this table to id on table, public.users
Foreign key/Primary key relation from schedule_id on this table to id on table, public.schedules
Foreign key/Primary key relation from site_id on this table to id on table, public.sites
Foreign key/Primary key relation from user_id on this table to id on table, public.users
idintegerPrimary key for this record.
luiduuidA unique, immutable identifier within a site.
site_idintegerThe id of the site that this record is associated with.
created_attimestamp without time zoneThe time the record was created.
updated_attimestamp without time zoneThe time the record was updated.
creator_idintegerUser id who created this subscription metadata.
user_idintegerUser id who is subscribed to the flow output.
target_idintegerTarget id (content id) of this subscription.
subjecttextSubject of this subscription.
messagetextMessage of this subscription.
schedule_idintegerSchedule id of this subscription.
public.subscriptions_flows: Stores subscriptions flows, which allow users to subscribe to flow outputs.
NameTypeDescription
Foreign key/Primary key relation from output_id on this table to id on table, public.flow_output_steps
Foreign key/Primary key relation from flow_run_spec_id on this table to id on table, public.flow_run_specs
Foreign key/Primary key relation from site_id on this table to id on table, public.sites
Foreign key/Primary key relation from subscription_id on this table to id on table, public.subscriptions
idintegerPrimary key for this record.
luiduuidA unique, immutable identifier within a site.
site_idintegerThe id of the site that this record is associated with.
created_attimestamp without time zoneThe time the record was created.
updated_attimestamp without time zoneThe time the record was updated.
subscription_flow_metadata_idintegerSubscription metadata id associated with this subscription flow.
flow_run_spec_idintegerFlow run spec id that this subscription is created for.
output_idintegerOutput id for the content that would be shown in this subscription email.
include_output_databooleanIf to include output data in this subscription email.
include_link_to_output_databooleanIf to include a Link to the output data in this subscription email.
show_rows_in_email_bodybooleanIf to include the output data in this subscription email body.
attach_output_databooleanIf to attach the output data to this subscription email.
attached_output_data_formatcharacter varyingAttached output data format of this subscription.
subscription_idintegerSubscription id of this subscription.
public.subscriptions_views: This table is used to link various views to the subscriptions in which those views must be generated and emailed.
NameTypeDescription
Foreign key/Primary key relation from site_id on this table to id on table, public.sites
Foreign key/Primary key relation from subscription_id on this table to id on table, public.subscriptions
idintegerPrimary key for the record.
subscription_idintegerA foreign key reference to a record in the subscriptions table. Emailing the view referenced by the repository_url is one of the activities of the linked subscription.
repository_urltextUsed as a means to reference the particular view that is to be included in the subscription.
site_idintegerThe ID of the site the subscription belongs to.
public.subscriptions_workbooks: This table is used to link various workbooks to the subscriptions in which those workbooks must have views generated and emailed.
NameTypeDescription
Foreign key/Primary key relation from site_id on this table to id on table, public.sites
Foreign key/Primary key relation from subscription_id on this table to id on table, public.subscriptions
idintegerPrimary key for the record.
subscription_idintegerA foreign key reference to a record in the subscriptions table. Emailing the views of the workbook referenced by the repository_url is one of the activities of the linked subscription.
repository_urltextUsed as a means to reference the particular workbook that is to be included in the subscription.
site_idintegerA foreign key reference to the site that the workbooked referred to by repository_url belongs.
public.synonyms: The table to hold the synonyms for fields of datasources
NameTypeDescription
Foreign key/Primary key relation from lens_id on this table to id on table, public.lenses
Foreign key/Primary key relation from published_datasource_id on this table to id on table, public.datasources
Foreign key/Primary key relation from site_id on this table to id on table, public.sites
site_idintegerThe site id of the datasource
published_datasource_idintegerThe published datasource id of the datasource
field_graph_idtextThe graph id corresponding to the field of a datasource
synonymsARRAYThe synonyms corresponding to a particular field of a datasource
created_attimestamp with time zoneThe timestamp for when this row entry was created
updated_attimestamp with time zoneThe timestamp for when this row entry was updated
idbigintThe unique identifier for this row that is automatically generated on insert
lens_idintegerid of the lens for which the synonym is applicable
public.system_user_identities: Identity to SystemUser mappings.
NameTypeDescription
Foreign key/Primary key relation from system_user_id on this table to id on table, public.system_users
identity_uuiduuidPrimary key for identity mapping.
system_user_idintegerSystemUser for identity mapping.
created_attimestamp without time zoneCreation time of record.
updated_attimestamp without time zoneLast updated time of record.
public.system_user_migration_conflicts: Conflicts when migrating system_user identities.
NameTypeDescription
Foreign key/Primary key relation from duplicate_system_user_id on this table to id on table, public.system_users
Foreign key/Primary key relation from system_user_id on this table to id on table, public.system_users
idintegerThe autoincremental id for this record.
system_user_idintegerSystemUser for which the migration failed.
failure_typecharacter varyingThe type of failure that was registered when migrating this system_user.
created_attimestamp without time zoneCreation time of this record.
discard_identitybooleanIf the admin acknowledge they will not create an identity for this system_user.
error_messagecharacter varyingInformation on the exception raised during the migration of this system_user.
duplicate_system_user_idintegerThe id of the system_user for which the original system_user is a duplicate of.
public.system_user_migration_conflicts_identity_data: Identity information related to ambiguous results when migrating system_user identities.
NameTypeDescription
Foreign key/Primary key relation from migration_conflict_id on this table to id on table, public.system_user_migration_conflicts
idintegerThe autoincremental id for this record.
migration_conflict_idintegerThe id of the ambiguous migration conflict to which this identity information corresponds.
domain_fqdncharacter varyingThe fqdn from the domain of the active directory user.
sam_account_namecharacter varyingThe sAMAccountName of the active directory user from the query result.
user_principal_namecharacter varyingThe Full-UPN of the active directory user attributes.
distinguished_namecharacter varyingThe DN of the ldap user from the query result.
display_namecharacter varyingThe display name attribute from the query result.
public.system_users: Each record represents a user of the server. These records correspond to login identity. A single system_user may potentially be able to login to multiple sites. The linkage between a system_user and their allowed sites is defined through the "users" table.
NameTypeDescription
Foreign key/Primary key relation from domain_id on this table to id on table, public.domains
idintegerPrimary key for the record.
namecharacter varyingThe username of the user.
emailcharacter varyingThe email of the user.
hashed_passwordcharacter varyingHashed password - only used for local authentication.
saltcharacter varyingThe salt used when hashing the password - only used for local authentication.
keychaintextThe encyrpted keychain for the user.
domain_idintegerThe domain for this user.
friendly_namecharacter varyingA friendly name that might be used in the GUI to refer to the user.
custom_display_namebooleanIf set to true, this prevents the friendly_name from potentially being overwritten by Active Airectory information when the user is read in from Active Directory. Seldom done.
admin_levelintegerIndicates if the user is a system administrator. 10 : system admin, 0 : not a system admin
created_attimestamp without time zoneThe time at which this record was created.
updated_attimestamp without time zoneThe last time any changes were made to this record.
auth_user_idcharacter varyingAn external, immutable identifier for the user provided by an external authorization system.
asset_key_idintegerThe id for the asset encryption key used to encrypt the keychain for this user.
lock_versionintegerUsed to implement "optimistic locking." Don't set this or mess with it, it's all handled automatically.
last_password_updatetimestamp without time zoneDate that represents the last time the user updated the password to the current value.
force_password_updatebooleanBoolean that represents if we want to force a password reset on the user the next time it tries to log in.
protected_passwordcharacter varyingProtected form of the user password - only used for local authentication.
last_failed_logintimestamp without time zoneDate that represents the last time the user had an unsuccessful login.
failed_login_attemptsintegerInteger that represents the number of failed attempts since the last successful login.
protected_password_bad_formatbooleanSet to true if protected password format unrecognized
public.table_asset_events: Used to store table_asset events stream.
NameTypeDescription
idbigintPrimary key for this record.
table_asset_idintegertable_asset ID.
site_idintegerSite ID.
event_created_attimestamp without time zoneTimestamp indicating when the record was inserted.
event_typesmallintEvent type to differentiate between insert, update, delete.
public.table_asset_sources: Used to store mappings between tables and their source.
NameTypeDescription
Foreign key/Primary key relation from site_id on this table to id on table, public.sites
Foreign key/Primary key relation from table_asset_id on this table to id on table, public.table_assets
idintegerPrimary key.
site_idintegerSite id.
table_asset_idintegerTable Asset ID.
source_idintegerSource ID.
source_typecharacter varyingSource type, e.g. Workbook, Datasource, Flow.
created_attimestamp without time zoneCreated at.
updated_attimestamp without time zoneUpdated at.
public.table_assets: Each record represents a table asset that exists on Tableau Server.
NameTypeDescription
Foreign key/Primary key relation from grouped_parent_id on this table to id on table, public.table_assets
Foreign key/Primary key relation from database_id on this table to id on table, public.database_assets
Foreign key/Primary key relation from certifier_user_id on this table to id on table, public.users
Foreign key/Primary key relation from site_id on this table to id on table, public.sites
idintegerPrimary key for the table asset record.
namecharacter varyingThe name of the table asset.
luiduuidA unique, immutable identifier for the table asset.
site_idintegerThe id of the site that this table asset is associated with.
created_attimestamp without time zoneThe time the record was created.
updated_attimestamp without time zoneThe time the record was updated.
descriptiontextThe description of the table asset.
database_idintegerThe database this table belongs to.
table_schematextSchema for this table.
contact_idintegerThe contact for this table.
contact_typecharacter varyingThe contact type (user or group) for this table.
is_certifiedbooleanWhether this table is certified.
certification_notetextCertification note for this table.
certifier_user_idintegerCertifier user_id for this table.
certifier_detailstextCertifier details for this table.
full_namecharacter varyingThe fully qualified name of the table.
duplicate_idintegerIf not null, id of table that is a duplicate of this one.
is_tombstonedbooleanTombstoned tables are "soft deleted" because they are associated with databases that have been grouped with other databases.
grouped_parent_idintegerID in table_assets table of table this tombstoned database was grouped into.
public.taggings: Associates tags with taggable items.
NameTypeDescription
Foreign key/Primary key relation from site_id on this table to id on table, public.sites
Foreign key/Primary key relation from tag_id on this table to id on table, public.tags
Foreign key/Primary key relation from user_id on this table to id on table, public.users
idintegerThe primary key for the table.
tag_idintegerThe ID of the tag.
taggable_idintegerThe ID of the taggable item.
taggable_typecharacter varyingThe type of the taggable item - this is used to identify which table to join to.
user_idintegerThe ID of the owning user.
site_idintegerThe ID of the site the tagging belong to.
public.tags: Each tag is a string value. A given tag can be associated with many taggable items in a site.
NameTypeDescription
Foreign key/Primary key relation from site_id on this table to id on table, public.sites
idintegerThe primary key for the table.
namecharacter varyingThe value of the tag.
created_attimestamp without time zoneThe time at which this record was created.
updated_attimestamp without time zoneThe last time any changes were made to this record.
site_idintegerThe ID of the site to which the tag belongs.
public.tasks: Serves to connect schedules with background tasks that should be run on that schedule. The schedule is defined in the schedules table, while the task is defined by type.
NameTypeDescription
Foreign key/Primary key relation from schedule_id on this table to id on table, public.schedules
Foreign key/Primary key relation from site_id on this table to id on table, public.sites
idintegerThe primary key for the table.
schedule_idintegerLinks to a schedule. When the schedule's "run_next_at" time arrives, any tasks linked to that schedule will run.
typecharacter varyingIdentifies the specific type of task that this is. This is how the system identifies what code to execute when this task is to be run.
priorityintegerAn integer where 0 is the highest priority and 10 is the default priority. Other values can be set if desired). Higher priority jobs should be processed earlier.
obj_idintegerSome tasks are specific to a particular workbook or datasource. In such cases, the object_id is the primary key of the relevant item, in either the workbooks or datasources tables, as indicated by obj_type.
created_attimestamp without time zoneWhen this record was created.
updated_attimestamp without time zoneThe last time this record was updated.
site_idintegerSome tasks are specific to a particular site. In such cases, this field links to the relevant site in the sites table.
obj_typecharacter varyingOne of either "Workbook" or "Datasource". Used in conjuction with obj_id, as described there.
luiduuiduuid for tasks used in the REST API
consecutive_failure_countintegerThe number of times this task has failed.
activebooleanIf set to false, this means that the task is inactive, implying it won't be run when the schedule triggers
argstextUsed to pass parameters for the task, formatted as yaml.
titletextCan be used to provide some additional information about the task
subtitletextCan be used to provide some additional information about the task
historical_run_timeintegerStored as the historical run time in seconds for the task, used for sorting background jobs and comparing current run time to the past
historical_queue_timeintegerStored as the historical queue time in seconds for the task, used for comparing the current queue time to the past
run_countintegerNumber of times this task has run since we created this column. Do not use this value as gospel, as it is will not be accurate for tasks created before this column.
stateintegerOne of 3 options for task state: 0 - active, 1 - suspended, 2 - disabled
last_success_completed_attimestamp without time zoneThe last time the task successfully completed.
creator_idintegerIndicates what user id is the creator of the task
public.tde_files: Information about TDE files.
NameTypeDescription
Foreign key/Primary key relation from site_id on this table to id on table, public.sites
idintegerAuto-generated id from postgres; also the primary key for the table.
site_idintegerId of the site to which the TDE file belongs.
nametextUnique name of the TDE file.
sizebigintSize of the file in bytes.
created_attimestamp without time zoneTimestamp when this record was created.
updated_attimestamp without time zoneSame as created_at.
public.tds_datasource_files: The TDS files.
NameTypeDescription
idbigintPrimary key for the record.
created_attimestamp with time zoneThe timestamp for creating the file.
updated_attimestamp with time zoneThe timestamp for updating the file.
site_idintegerReference to the site to where the datasource exists.
luiduuidThe unique ID of the datasource.
tds_xml_sos_idtextThe ID of the xml within SOS.
site_luidtextThe luid which uniquely identifies the site.
public.tds_datasource_model_fields: Fields of datasource models.
NameTypeDescription
Foreign key/Primary key relation from datasource_model_id on this table to id on table, public.tds_datasource_models
idbigintPrimary key for the record.
created_attimestamp with time zoneThe timestamp for creating the model.
updated_attimestamp with time zoneThe timestamp for updating the model.
luidtextInternally used LUID for the record.
content_site_idintegerA foreign key reference to the site to where the datasource exisits.
qualified_nametextThe qualified name of the field, the qualified name is represented in JSON style.
datasource_model_idintegerA foreign key reference to the tds datasource model to where the field exisits.
captiontextFriendly name for the data source field that is seen in Tableau.
is_hiddenbooleanDetermines if the field is hidden or not.
is_auto_hiddenbooleanThe visibility of Autohidden fields are not under user control.
is_layeredbooleanThe field is layered on top of a field from a remote data source.
field_typeintegerThe type of the field.
field_roleintegerThe role of the field.
folder_nametextThe optional folder name if this field is in a folder.
user_captiontextThe optional user generated name for the field.
server_captiontextThe optional caption provided by the server.
user_descriptiontextThe optional user description defined by user, the representation type is JSON.
site_luidtextThe luid which uniquely identifies the site.
public.tds_datasource_models: Model of the datasource.
NameTypeDescription
Foreign key/Primary key relation from tds_file_id on this table to id on table, public.tds_datasource_files
idbigintPrimary key for the record.
created_attimestamp with time zoneThe timestamp for creating the model.
updated_attimestamp with time zoneThe timestamp for updating the model.
nametextThe name of the datasource.
captiontextThe caption of the datasource.
schema_versionintegerThe schema version number of this data source model
tds_file_idbigintReference to tds file associated with this model
public.trusted_tickets: This table lists trusted tickets that have been created. Tickets that are redeemed are deleted once used, hence can only be used once. Tickets that are never redeemed become invalid after the time given by "expires_at" and are eventually deleted from the table automatically.
NameTypeDescription
Foreign key/Primary key relation from site_id on this table to id on table, public.sites
Foreign key/Primary key relation from user_id on this table to id on table, public.users
idintegerPrimary key for the record.
usernamecharacter varyingThe name of the user, under whose authority, the ticket is created. Access to content is provided as if the ticket redeemer were this user.
ticketcharacter varyingThe unique ticket string, i.e. the "value" of the trusted ticket.
client_ipcharacter varyingIf you have configured wgserver.extended_trusted_ip_checking to true, then the IP address of the client that is authorized to redeem the ticket will be recorded here.
created_attimestamp without time zoneWhen this record was created, i.e. the time of creation of the ticket.
user_idintegerLinks to the user that has the given username, and is associated with the current site.
expires_attimestamp without time zoneTickets can be redeemed no more than one time, but if it gets any later than this time, then the ticket cannot be redeemed at all. Unless configured differently, this time will be 3 minutes after the ticket is created.
site_idintegerThe site of the user.
originating_session_idcharacter varyingThe user session which created the ticket. Null if the ticket was not created by an authenticated user.
guidcharacter varyingUniquely identifies a trusted ticket when ticket hashing is enabled.
saltcharacter varyingCombined with ticket to form the hash.
hashed_ticketcharacter varyingThe hash of the salt and the ticket.
public.usage_statistics_partition_past: Each record represents a partial aggregation of analytics for content in a given time interval. It is often necessary to sum across multiple rows to find a total for a given time interval.
NameTypeDescription
idbigintPrimary key for the record.
content_idintegerA foreign key reference to the content.
content_typetextThe type of content.
year_indexintegerRecords what year the analytics are aggregated over.
month_indexintegerRecords what month of the year the analytics are aggregated over. When 0, the aggregation is for the year as designated by year_index.
day_indexintegerRecords what day of the month the analytics are aggregated over. When 0, the aggregation is for the month and year as designated by month_index and year_index.
access_countbigintRecords the number of times the content was accessed in the given time interval.
site_idintegerThe ID of the site the metrics aggregation belongs to.
partition_nametextRecords which partition the analytics belongs to
public.usage_statistics_partition_today: Each record represents a partial aggregation of analytics for content in a given time interval. It is often necessary to sum across multiple rows to find a total for a given time interval.
NameTypeDescription
idbigintPrimary key for the record.
content_idintegerA foreign key reference to the content.
content_typetextThe type of content.
year_indexintegerRecords what year the analytics are aggregated over.
month_indexintegerRecords what month of the year the analytics are aggregated over. When 0, the aggregation is for the year as designated by year_index.
day_indexintegerRecords what day of the month the analytics are aggregated over. When 0, the aggregation is for the month and year as designated by month_index and year_index.
access_countbigintRecords the number of times the content was accessed in the given time interval.
site_idintegerThe ID of the site the metrics aggregation belongs to.
partition_nametextRecords which partition the analytics belongs to
public.user_default_customized_views: Defines what customized view a user should see for a given view, by default.
NameTypeDescription
Foreign key/Primary key relation from customized_view_id on this table to id on table, public.customized_views
Foreign key/Primary key relation from site_id on this table to id on table, public.sites
Foreign key/Primary key relation from user_id on this table to id on table, public.users
Foreign key/Primary key relation from view_id on this table to id on table, public.views
idintegerPrimary key for the record.
user_idintegerA foreign key reference to the user.
view_idintegerA foreign key reference to the view.
customized_view_idintegerA foreign key reference to the customized view.
created_attimestamp without time zoneWhen this record was created.
updated_attimestamp without time zoneWhen this record was last updated.
site_idintegerThe ID of the site to which this entry belongs.
public.user_images: Represents images for each associated system user.
NameTypeDescription
Foreign key/Primary key relation from system_user_id on this table to id on table, public.system_users
idintegerPrimary key for the record.
repository_data_idbigintA reference to an entry in the repository_data table.
image_idcharacter varyingThe id of the image in storage.
image_typecharacter varyingA string representing the size of the image.
system_user_idintegerThe id of the user this image is associated with.
public.user_notification_content_reference_list_items: Lists of references to other DB records in user notification content.
NameTypeDescription
Foreign key/Primary key relation from notification_id on this table to id on table, public.user_notifications
Foreign key/Primary key relation from site_id on this table to id on table, public.sites
idintegerThe identifier of the record.
notification_idintegerThe identifier of the notification this record belongs to.
field_nametextThe name of the content field.
list_indexintegerThe 0-based index of the item in the list.
reference_typeintegerThe type of the referenced object.
reference_idintegerThe identifier of the referenced object.
site_idintegerThe identifier of the site the record belongs to.
public.user_notification_content_references: References to other DB records in user notification content.
NameTypeDescription
Foreign key/Primary key relation from notification_id on this table to id on table, public.user_notifications
Foreign key/Primary key relation from site_id on this table to id on table, public.sites
idintegerThe identifier of the record.
notification_idintegerThe identifier of the notification this record belongs to.
field_nametextThe name of the content field.
reference_typeintegerThe type of the referenced object.
reference_idintegerThe identifier of the referenced object.
site_idintegerThe identifier of the site the record belongs to.
public.user_notification_recipients: Holds metadata for all user notification recipients on the server.
NameTypeDescription
Foreign key/Primary key relation from site_id on this table to id on table, public.sites
Foreign key/Primary key relation from notification_id on this table to id on table, public.user_notifications
idintegerPrimary key for the user notification recipient.
recipient_user_idintegerThe identifier for the recipient of the user notification.
notification_idintegerThe identifier of the notification for the recipient.
read_statebooleanTrue if the notification has been read, false if it is unread.
site_idintegerThe identifier of the site the recipient belongs to.
recipient_typeintegerThe (enum internal value of the) recipient type.
public.user_notifications: Holds metadata for all user notifications on the server.
NameTypeDescription
Foreign key/Primary key relation from site_id on this table to id on table, public.sites
idintegerPrimary key for the user notification.
luiduuidThe identifier for the user notification.
notification_typetextThe type of the user notification.
event_timetimestamp without time zoneThe time at which the event that triggered this notification occurred.
subject_typeintegerThe subject type of the user notification.
subject_idintegerThe identifier for the subject of the user notification.
site_idintegerThe identifier for the site that the user notification belongs to.
contenttextThe text content of the user notification.
sender_user_idintegerThe identifier for the (optional) sender of the user notification.
created_attimestamp without time zoneThe time at which the user notification was persisted.
public.user_notifications_server_settings: A key-value store for user notifications server settings.
NameTypeDescription
idintegerPrimary key.
keytextString key for the setting.
valuetextString value for the setting. Can be parsed into other formats by clients.
public.user_notifications_site_settings: A key-value store for user notifications site settings.
NameTypeDescription
Foreign key/Primary key relation from site_id on this table to id on table, public.sites
idintegerPrimary key.
site_idintegerSite id that setting applies to.
keytextString key for the setting.
valuetextString value for the setting. Can be parsed into other formats by clients.
public.user_notifications_user_settings: A key-value store for user notifications user settings.
NameTypeDescription
Foreign key/Primary key relation from site_id on this table to id on table, public.sites
idintegerPrimary key.
user_idintegerUser id that setting applies to.
site_idintegerSite id that user belongs to.
keytextString key for the setting.
valuetextString value for the setting. Can be parsed into other formats by clients.
public.user_onboardings: This table stores onboarding information for tableau features based on system user ids
NameTypeDescription
Foreign key/Primary key relation from system_user_id on this table to id on table, public.system_users
idintegerPrimary key for the record.
system_user_idintegerThe id of the user this onboarding info is associated with.
nlp_onboarding_stagecharacter varyingThe nlp onboarding stage of this user.
nlp_help_center_stagecharacter varyingAsk data help center onboarding stage
public.user_prefs: Contains a variety of preferences for the various system users.
NameTypeDescription
Foreign key/Primary key relation from system_user_id on this table to id on table, public.system_users
idintegerPrimary key for the record.
system_user_idintegerForeign key reference to the system_users table. This tells us which system user these preferences apply to.
versionintegerUsed to indicate how to interpret the prefs information.
prefsbyteaA serialized object containing the various preferences.
language_idcharacter varyingA code indicating the desired language for this system_user
locale_idcharacter varyingA code indicating the locale (country and language) for this system_user.
start_pagetextA relative url of the start page saved by the user.
suppress_getting_started_notificationsbooleanFlag which indicates if user has selected to suppress getting started notifications (used in online case only so far).
display_modecharacter varyingA display mode "thumbnail" or "list" that the user last selected for viewing contents.
local_timezone_offsetintegerlocal user timezone offset (in minutes) from utc from last login location
local_timezone_namecharacter varyingbest guess of local user timezone name from last login location
lock_versionintegerUsed to implement "optimistic locking." Don't set this or mess with it, it's all handled automatically.
is_user_set_timezonebooleanIndicating whether user explicitly set the timezone or inferred by system
suspended_subscription_notificationbooleanSite and System admins only. When true admins receive notification about suspended subscriptions
suspended_data_alert_notificationbooleanSite and System admins only. When true admins receive notification about suspended alerts
mark_animation_enabledbooleanWhen true, users will see mark animations on sheets
public.users: Each record links a system_users record to a site. The user's site specific settings are captured here.
NameTypeDescription
Foreign key/Primary key relation from site_id on this table to id on table, public.sites
Foreign key/Primary key relation from system_user_id on this table to id on table, public.system_users
idintegerPrimary key for the record.
login_attimestamp without time zoneThe time of the most recent login for this user.
created_attimestamp without time zoneWhen the record was created.
updated_attimestamp without time zoneWhen the record was last updated.
site_idintegerA foreign key reference to the site that the user belongs to.
system_user_idintegerA foreign key reference to the system user that this user is identified with.
system_admin_autobooleanA flag indicating if the user is a system_admin that is not explicitly a member of the site.
luiduuidAn immutable identifier for the record.
lock_versionintegerUsed to implement "optimistic locking." Don't set this or mess with it, it's all handled automatically.
site_role_idintegerThe ID of the site role for this user. The mapping is below. 0 = SiteAdministrator 1 = SupportUser 2 = Publisher 3 = Interactor 4 = ViewerWithPublish 5 = Viewer 6 = UnlicensedWithPublish 7 = Guest 8 = Unlicensed 9 = BasicUser
public.value_synonyms: The user defined synonyms associated with values of fields in datasources
NameTypeDescription
Foreign key/Primary key relation from lens_id on this table to id on table, public.lenses
Foreign key/Primary key relation from published_datasource_id on this table to id on table, public.datasources
Foreign key/Primary key relation from site_id on this table to id on table, public.sites
idbigintThe unique identifier for this row that is automatically generated on insert
created_attimestamp with time zoneThe timestamp for when this row entry was created
updated_attimestamp with time zoneThe timestamp for when this row entry was updated
site_idintegerThe id of the site on which the datasource is published
published_datasource_idintegerThe id of the published datasource on the site
field_graph_idtextThe graph id of the field in the datasource
field_valuetextThe name of the value in the field
user_defined_synonymsARRAYThe user defined synonyms associated with the value
lens_idintegerid of the lens for which the value synonym is applicable
public.view_metrics_aggregations: Each record represents a partial aggregation of analytics for a given view in a given time interval. It is often necessary to sum across multiple rows to find a total for a given time interval.
NameTypeDescription
Foreign key/Primary key relation from site_id on this table to id on table, public.sites
Foreign key/Primary key relation from view_id on this table to id on table, public.views
idintegerPrimary key for the record.
view_idintegerA foreign key reference to the view.
day_indexintegerRecords what day of the month the analytics are aggregated over. When 0, the aggregation is for the month and year as designated by month_index and year_index.
month_indexintegerRecords what month of the year the analytics are aggregated over. When 0, the aggregation is for the year as designated by year_index.
year_indexintegerRecords what year the analytics are aggregated over
view_countintegerRecords the number of time a view was viewed in the given time interval.
device_typetextDSD device type detected (non-null only if view is dashboard in non-authoring mode)
site_idintegerThe ID of the site the view metrics aggregation belong to.
public.view_refreshed_timestamps: This table stores timestamps at which users click on the refresh button.
NameTypeDescription
Foreign key/Primary key relation from site_id on this table to id on table, public.sites
Foreign key/Primary key relation from user_id on this table to id on table, public.users
Foreign key/Primary key relation from view_id on this table to id on table, public.views
idintegerAuto-generated id from postgres; also the primary key for the table.
site_idintegerID of the site. This id is same as the id (primary key) of the public.sites table.
view_idintegerID of the view. This id is same as the id (primary key) of the public.views table.
user_idintegerID of the user. This id is same as the id (primary key) of the public.users table.
refreshed_attimestamp without time zoneThe timestamp when the view is refreshed by the user.
public.views: Each records represents a view in a workbook.
NameTypeDescription
Foreign key/Primary key relation from owner_id on this table to id on table, public.users
Foreign key/Primary key relation from site_id on this table to id on table, public.sites
Foreign key/Primary key relation from workbook_id on this table to id on table, public.workbooks
idintegerPrimary key for the record.
namecharacter varyingThe name of the view.
repository_urltextUniquely identifies a view. More or less composed of workbook and sheet names, but not totally obviously, especially in the presence of non-ASCII characters. Used in URLs meant to access this view.
descriptiontextCan hold a description of the view, but not normally populated.
created_attimestamp without time zoneThe time at which this record was created.
workbook_idintegerA foreign key reference to the workbook the view is part of.
indexintegerEach view has an index that is unique among views belonging to that workbook.
updated_attimestamp without time zoneThe last time any changes were made to this record
owner_idintegerA foreign key reference to the user who owns this view.
fieldstextA list of fields extracted from the workbook's twb file.
titletextA title for the worksheet extracted from the workbook's twb file.
captiontextA descriptive phrase constructed for the worksheet, based on the workbook definition.
sheet_idcharacter varyingAn identifier for the sheet. Based on the name of the sheet.
statecharacter varyingOne of either "active" or "disabled".
sheettypecharacter varyingOne of "story" "dashboard" and "view".
site_idintegerA foreign key link to the site to which this view belongs.
first_published_attimestamp without time zoneRecords the timestamp for the first time this view was published. This value will not change is the workbook containing this view is later republished.
revisioncharacter varyingStarts with 1.0 and increments by 0.1 with each republication.
luiduuidAn immutable identifier for the record.
thumbnail_idcharacter varyingUnique ID used to identify the thumbnail data.
is_deletedbooleanWhether a view has been soft deleted and is now in the recycle bin
public.views_stats: This table is used to track how many times each user has accessed different views.
NameTypeDescription
Foreign key/Primary key relation from site_id on this table to id on table, public.sites
Foreign key/Primary key relation from view_id on this table to id on table, public.views
idintegerPrimary key for the record.
user_idintegerA foreign key reference to a particular user.
view_idintegerA foreign key reference to the view that was accessed. This field must be populated.
nviewsintegerKeeps a cumulative count of the number of times the view was accessed by this user.
timetimestamp without time zoneThe time of the most recent access of the specified view by the specified user.
site_idintegerThe site to which the view and the user belong.
device_typetextDevice type detected for Device Designer (non-null only if view is dashboard in non-authoring mode)
public.viz_snapshots: This table represents a snapshots of viz.
NameTypeDescription
Foreign key/Primary key relation from view_id on this table to id on table, public.views
Foreign key/Primary key relation from site_id on this table to id on table, public.sites
idintegerPrimary key for the viz snapshot.
view_idintegerPrimary key id for view associated with the viz snapshot.
image_idcharacter varyingLocator for the full image of the viz snapshot.
thumbnail_idcharacter varyingLocator for the thumbnail image of the viz snapshot.
data_idcharacter varyingLocator for the data of the viz snapshot.
created_attimestamp without time zoneThe time at which this record was created.
reference_countintegerThe number of objects that reference a viz snapshot.
site_idintegerThe ID of the site the viz_snapshots belong to.
public.viz_states: This table represents a snapshot of the state of a viz.
NameTypeDescription
Foreign key/Primary key relation from view_id on this table to id on table, public.views
idintegerPrimary key for the viz state entity.
view_idintegerForeign key reference to the view associated with this viz state.
image_idcharacter varyingLocator for the full image of the viz state.
thumbnail_idcharacter varyingLocator for the thumbnail image of the viz state.
data_idcharacter varyingA reference to an entry in SOS which references a tcv file of the viz state.
created_attimestamp without time zoneWhen this recorded was created
public.webhooks: Holds metadata for all registered webhooks on the server.
NameTypeDescription
Foreign key/Primary key relation from site_id on this table to id on table, public.sites
idintegerPrimary key for the webhook.
luiduuidIdentifier for webhook.
site_luiduuidThe site that the webhook belongs to.
site_idintegerThe id of the site that the webhook belongs to.
versionintegerThe version of this webhook. 1 on create, monotonically increasing with each update of the webhook.
owner_luiduuidThe user who is the current owner of the webhook.
urltextThe fully specified URL for the webhook to POST to when triggered.
body_templatetextJSON template for the body of the request to send when the webhook is triggered.
nametextHuman readable name for the webhook, defaults to the value Unnamed Webhook.
event_typetextThe type of event on the server that will trigger this webhook e.g datasource refresh.
isenabledbooleanWhether the webhook is currently run on trigger events
statuschangereasontextRecord the reason for any automated disabling/enabling of a webhook
failedattemptsintegerNumber of consecutive failed delivery attempts
public.workbook_checksums: This table provides a set of checksums associated with a workbook which can be used to validate existence of a workbook based on its checksum.
NameTypeDescription
Foreign key/Primary key relation from workbook_id on this table to id on table, public.workbooks
idintegerPrimary key for the record.
workbook_idintegerIdentifies the workbook for which this checksum applies.
checksumcharacter varyingThe computed checksum of the workbook during download.
created_attimestamp without time zoneWhen this checksum entry was created and will be valid only if associated workbook update timestamp is earlier than this.
expires_attimestamp without time zoneWhen this checksum entry expires and became eligible for cleanup by background task.
site_idintegerSite ID of the workbook_checksums.
public.workbook_events: Used to store workbook events stream.
NameTypeDescription
idbigintPrimary key for this record.
workbook_idintegerWorkbook ID.
site_idintegerSite ID.
event_timetimestamp without time zoneTimestamp indicating when the record was inserted.
event_typeintegerEvent type to differentiate between insert, update, delete.
public.workbook_exports: Each row in the table corresponds to a cached pdf file.
NameTypeDescription
Foreign key/Primary key relation from generated_as_user_id on this table to id on table, public.users
Foreign key/Primary key relation from site_id on this table to id on table, public.sites
Foreign key/Primary key relation from workbook_id on this table to id on table, public.workbooks
idintegerPrimary key for the record.
language_idcharacter varyingThe language ID the pdf was generated with.
locale_idcharacter varyingThe locale ID the pdf was generated with.
generated_as_user_idintegerThe user ID iff the pdf was generated with user references. Otherwise NULL.
workbook_idintegerThe workbook id this pdf is generated from.
generated_attimestamp without time zoneThe timestamp at which the pdf was generated.
freshness_verified_attimestamp without time zoneThe timestamp at which the cached file was last verified as fresh.
data_storage_idbigintA reference to an entry in the repository_data table, which, in turn references the PostgreSQL large object that contains the sheet image for this entry.
data_idcharacter varyingUnique ID used to identify the pdf.
show_commands_query_strtextRepresents hash of the possible show commands to be applied to the viz in the native api code.
page_orientationcharacter varyingPDF page orientation
page_size_optioncharacter varyingPDF page size option
file_typeintegerThe file type (PDF = 0, PPT = 1). Enum to be defined in WorkbookExportOptions
customized_viewscharacter varyingComma separated list of custom view IDs associated with the workbook export, sorted in ascending order. NULL if not applicable
site_idintegerThe ID of the site to which this entry belongs.
public.workbook_extension_connections: Associate a workbook with an analytics extension connection.
NameTypeDescription
Foreign key/Primary key relation from connection_id on this table to id on table, public.external_service_connections
Foreign key/Primary key relation from site_id on this table to id on table, public.sites
Foreign key/Primary key relation from workbook_id on this table to id on table, public.workbooks
idintegerID of association.
workbook_idintegerID of the analytics extension connection.
connection_idintegerID of the workbook.
site_idintegerID of the corresponding site.
public.workbook_versions: Workbook versions saved on server.
NameTypeDescription
Foreign key/Primary key relation from site_id on this table to id on table, public.sites
Foreign key/Primary key relation from workbook_id on this table to id on table, public.workbooks
idintegerThe id of a version. Primary key.
site_idintegerReference to entry in sites table. Indicates the site to which this workbook version belongs to.
workbook_idintegerA foreign key to the workbooks table. Reference to workbook.
publisher_idintegerReference to user in site users table. User who published this version. Can point to deleted user.
version_numberintegerThe version number.
published_attimestamp without time zoneThe time when this version was initially published. Copied from workbook record last_updated field at the time of being overwritten.
sizebigintThe size, in bytes, of this version of workbook.
content_keycharacter varyingKey of the workbook as string
publish_metadatatextMetadata about how this version was published on server, such as visiblity of views. Metadata is stored as a serialized JSON object.
sos_typecharacter varyingThe SOS data type under which this version document is stored, or null if it is not stored in SOS.
is_revision_file_reducedbooleanBoolean flag indicating if the stored workbook version has an extract that is not stored in the workbook document, since extracts are not versioned.
public.workbooks: Each record represents a workbook that exists on the server.
NameTypeDescription
Foreign key/Primary key relation from modified_by_user_id on this table to id on table, public.users
Foreign key/Primary key relation from owner_id on this table to id on table, public.users
Foreign key/Primary key relation from project_id on this table to id on table, public.projects
Foreign key/Primary key relation from site_id on this table to id on table, public.sites
idintegerThe primary key for the record.
namecharacter varyingThe name of the workbook.
repository_urltextA unique name for the workbook, derived from the ASCII characters in the name, which can be used in URLs to refer to this workbook.
created_attimestamp without time zoneThe time at which this record was created.
updated_attimestamp without time zoneThe last time any changes were made to this record.
owner_idintegerA foreign key reference to the user that owns this workbook.
project_idintegerA foreign key reference to the project in which this workbook exists.
view_countintegerKeeps count of the number of views that are associated with this workbook.
sizebigintThe number of bytes used in storing the workbook information.
embeddedtextAn encrypted keychain holding any credentials stored with the workbook.
thumb_userintegerThe user to be used when generating the thumbnail image. Null unless specified.
refreshable_extractsbooleanWhether the extracts in the workbook can be refreshed.
extracts_refreshed_attimestamp without time zoneThe time at which the last extract refresh occurred.
lock_versionintegerUsed to implement "optimistic locking." Don't set this or mess with it, it's all handled automatically.
display_tabsbooleanIf true, then the sheets of the workbook are displayed on tabs.
data_engine_extractsbooleanIndicates if this workbook has associated data engine extracts.
incrementable_extractsbooleanIndicates if it is possible to perform an incrementable extract refresh for this workbook.
site_idintegerThe site to which the workbook was published.
revisioncharacter varyingStarts with 1.0 and increments by 0.1 with each republication.
first_published_attimestamp without time zoneRecords the timestamp for the first time this view was published. This value will not change is the workbook containing this view is later republished.
extracts_incremented_attimestamp without time zoneThe time of the last incremental extract refresh for extracts in this workbook.
default_view_indexintegerIndicates which view will be shown by default.
luiduuidAn immutable identifier for the record.
asset_key_idintegerThe asset encryption key used to encrypt the keychain in the embedded column.
document_versioncharacter varyingA string that indicates the version of the document description that was used when saving this workbook.
content_versionintegerVersion number of the workbook. updated on each publish
last_published_attimestamp without time zoneTime that the user last published this workbook to server or saved the workbook during web edit. For workbooks that were last published before this column existed, the value will be null.
data_idcharacter varyingUnique ID used to identify the workbook data.
reduced_data_idcharacter varyingUnique ID used to identify the reduced workbook data.
published_all_sheetsbooleanTrue if user previously published all sheets in the workbook, false if they chose to not publish a sheet
extract_encryption_statesmallintIf not null, encryption state of the extracts. null or 0 - unencrypted, 1 - encrypted, 2 - pending encryption, 3 - pending decryption, 5 - pending rekey
extract_creation_pendingsmallintnull or 0 - there is not extract creation in progress, 1 - there is an extract creation in progress
is_deletedbooleanWhen is_deleted is true then workbook is deleted, no active job or user request can see it. It is considered to reside in Recycle Bin until either restored or permanently deleted.
parent_workbook_idintegernull - there is no parenet workbook; if not null, it stores the id of the original workbook from which this private workbook is derived
is_privatebooleannull or false - this is not a private workbook, true - this is a private workbook
modified_by_user_idintegerThe user who last modified and published this workbook to server or saved the workbook during web edit. For workbooks that were last published before this column existed, the value will be same as owner_id.
extract_storage_formatsmallintHow extracts for this data source are stored. NULL means no extracts or old-style extract folder. 0 means no extracts. 1 means old-style extract folder. 2 means new-style individual Hyper and TDE files in file store.
public.wps_extracts: Each record represents an extract.
NameTypeDescription
Foreign key/Primary key relation from workbook_persistence_luid on this table to workbook_persistence_luid on table, public.wps_workbooks
idintegerPrimary key for the record, auto increment.
site_luiduuidLUID of the site where parent workbook belongs.
workbook_persistence_luiduuidForeign key for the record. ID of the workbook.
extract_typeintegerType of extract.
extract_guidcharacter varyingExtract identifier.
public.wps_workbooks: Each record represents a versioned, per-user, per-site workbook.
NameTypeDescription
workbook_persistence_luiduuidPrimary key for the record. ID of the workbook.
revisionintegerStarts from zero, increments by one each time a new checkpoint is stored to this workbook
author_luiduuidLUID of the user who created this workbook.
site_luiduuidLUID of the site where parent workbook belongs.
parent_content_luiduuidLUID of the parent published workbook.
parent_content_revisionintegerParent published workbook version number.
checkpoint_produced_at_timetimestamp without time zoneTimestamp when the checkpoint was made.
checkpoint_producer_idcharacter varyingClient-provided, identifies who produced the checkpoint.
checkpoint_metadatacharacter varyingClient-provided, versions the checkpoint from the client perspective
checkpoint_sizeintegerCheckpoint size (KB)
checkpoint_storage_keycharacter varyingLookup key of the checkpoint in the storage provider
checkpoint_formatintegerSpecifies binary format of checkpoint payload
recommendations.connection_fields: fields used in joins (extracted for the joins recommender)
NameTypeDescription
Foreign key/Primary key relation from rec_connection_tables_id on this table to id on table, recommendations.connection_tables
idintegerThe primary key for the table
column_namecharacter varyingfield column name
rec_connection_tables_idintegerID of the table in connection_tables
recommendations.connection_tables: tables used in a connection in a published or embedded data source
NameTypeDescription
Foreign key/Primary key relation from rec_connections_id on this table to id on table, recommendations.connections
idintegerThe primary key for the table
namecharacter varyingdisplayed table name
custom_sqlbyteaStores the custom sql used to generate this table if it exists
table_valuecharacter varyinginternal expanded table name
typecharacter varyingTABLE or CUSTOM_SQL
rec_connections_idintegerID of the connection
recommendations.connections: a connection used by a Datasource to connect to an underlying database or data file
NameTypeDescription
Foreign key/Primary key relation from rec_datasources_id on this table to id on table, recommendations.datasources
idintegerThe primary key for the table
classcharacter varyingclass of connection (hyper, postgresql, etc)
data_connection_idintegerid of data connection in public schema
databasecharacter varyingdatabase name
portintegerport
raw_servercharacter varyingraw server name as passed to the entity builder
servercharacter varyingcanonicalized version of raw_server
rec_datasources_idintegerdatasource id the connection is used in, local to the recs tables
schemacharacter varyingStores the value the schema for the connection if applicable to this driver
catalogcharacter varyingStores the value the catalog for the connection if applicable to this driver (eg. Google BigQuery)
exec_catalogcharacter varyingStores the value the schema for the connection if applicable to this driver (eg. Google BigQuery where it is also known as Billing Project)
projectcharacter varyingStores the value the project for the connection if applicable to this driver (eg. Google BigQuery)
servicecharacter varyingStores the value the service for the connection if applicable to this driver (eg. Snowflake)
warehousecharacter varyingStores the value the warehouse for the connection if applicable to this driver (eg. Snowflake)
recommendations.datasources: stores published datasource metadata for datasource recs trainer
NameTypeDescription
Foreign key/Primary key relation from rec_workbooks_id on this table to id on table, recommendations.workbooks
idintegerThe primary key for the table
namecharacter varyingdatasource name
name_in_twbcharacter varyingdatasource name in twb
datasources_idintegerdatasource id of the datasource in the public schema
repository_urltextrepository url
site_idintegerreference to the site id in public schema
rec_workbooks_idintegerrec workbooks id the data source is used in
last_published_attimestamp without time zoneThe UTC time at which the content was published.
is_certifiedbooleanFlag that indicates whether or not this datasource is certified
recommendations.fields: field in a data source
NameTypeDescription
Foreign key/Primary key relation from rec_datasources_id on this table to id on table, recommendations.datasources
idintegerThe primary key for the table
captiontextdisplayed name
nametextinternal name
rec_datasources_idintegerrec datasources id
recommendations.join_expressions: join expressions for TableJoinTrainer
NameTypeDescription
Foreign key/Primary key relation from rec_joins_id on this table to id on table, recommendations.joins
Foreign key/Primary key relation from left_rec_connection_fields_id on this table to id on table, recommendations.connection_fields
Foreign key/Primary key relation from right_rec_connection_fields_id on this table to id on table, recommendations.connection_fields
idintegerThe primary key for the table
operationcharacter varyingoperation
rec_joins_idintegerrec joins id
left_rec_connection_fields_idintegerleft rec connection fields id
right_rec_connection_fields_idintegerright rec connection fields id
recommendations.joins: stores joins in data sources for the TableJoinTrainer
NameTypeDescription
Foreign key/Primary key relation from rec_connections_id on this table to id on table, recommendations.connections
idintegerThe primary key for the table
join_typecharacter varyingjoin type
rec_connections_idintegerconnection where the join was found
recommendations.ml_association_rules: the association rules used by the table recommender
NameTypeDescription
idintegerThe primary key for the table
group_nametextcanonicalized identifier for the connection
json_indexertextIn combination, the indexer, item_sets, and joins represent the trained model for datasource recommendations
json_item_setstextIn combination, the indexer, item_sets, and joins represent the trained model for datasource recommendations
json_joinstextIn combination, the indexer, item_sets, and joins represent the trained model for datasource recommendations
created_attimestamp without time zonewhen the rule was created
site_idintegerStores the site ID the model was trained on
recommendations.ml_factorization_models: the collaborative filter model used for data source recommendations
NameTypeDescription
idintegerThe primary key for the table
contentsbyteaStore a factorization model used in table recommendations
site_idintegerStores the site ID the model was trained on
created_attimestamp without time zoneThe time at which this model was created.
recommendations.ml_last_trained: Track model loading and training on a per-site basis so it can be resumed if interrupted
NameTypeDescription
idintegerthe primary key for the table
site_idintegerID for the site the model is trained on
started_attimestamp without time zoneTime at which loading and training began
completed_attimestamp without time zoneTime at which loading and training successfully completed
training_resultintegerResult code for training on site (1: In progress, 2: Failed, 3: Interrupted, 4: Crashed, 5: Success )
trainer_typeintegerType of trainer that was used to produce this result: 1=datasource, 2=viz
recommendations.ml_ranked_datasource_fields: Selected top fields per datasource and their usage statistics (for published datasources)
NameTypeDescription
datasource_remote_idintegerCorresponds to the field datasources.datasources_id (in recommendations schema), and the primary key field datasources.id (in public schema)
field_nametextCorresponds to the field fields.caption (in recommendations schema)
usageintegerStores the count of the workbooks referencing the field name
site_idintegerStores the site ID the model was trained on
idbigintThe primary key for the table
recommendations.ml_related_view_predictions: view predictions generated by the trainer
NameTypeDescription
idintegerprimary key
site_idintegerreference to the site id in public schema
view_remote_idintegerreference to the view id in public schema
view_remote_luiduuidreference to the view luid in public schema
predictions_jsonjsonview predictions info stored as json
recommendations.ml_viz_recommendations_models: Viz recommendations models. Stores a model per user, site pair.
NameTypeDescription
idintegerprimary key
contentsbyteabinarized json string containing the viz recommendations model
site_idintegerreference to the site which the recommendations belong to
user_idintegerreference to the user which the recommendations belong to. This id refers back to the table users in the public schema
recommendations.views_json: Views info stored as json
NameTypeDescription
idintegerprimary key
luiduuidreference to the view luid in public schema
site_idintegerreference to the site id in public schema
contentjsoncontent of the view info stored as json
last_published_attimestamp without time zoneThe UTC time at which the content was published.
query_versionsmallintversion of the data catalog query the data originated from
recommendations.workbooks: workbook metadata extracted for view and data source recommenders
NameTypeDescription
idintegerThe primary key for the table
namecharacter varyingThe name of the workbook as extracted from workgroup.workbooks.name
workbooks_idintegerThe id of the workbook as extracted from workgroup.workbooks.id
site_idintegerThe id of the workbook as extracted from workgroup.workbooks.id
last_published_attimestamp without time zoneUsed to determine if this extracted record is out of date
recommendations.worksheet_fields: map from extracted worksheet id to field ids
NameTypeDescription
Foreign key/Primary key relation from rec_fields_id on this table to id on table, recommendations.fields
Foreign key/Primary key relation from rec_worksheets_id on this table to id on table, recommendations.worksheets
idintegerThe primary key for the table
rec_worksheets_idintegerrec worksheets id
rec_fields_idintegerrec fields id
recommendations.worksheets: worksheets, used to map user access counts to datasource access in the datasource trainer
NameTypeDescription
Foreign key/Primary key relation from rec_workbooks_id on this table to id on table, recommendations.workbooks
idintegerThe primary key for the table
namecharacter varyingname
rec_workbooks_idintegerrec workbooks id
semantics.indexing_status: This table holds indexing status of field concepts.
NameTypeDescription
Foreign key/Primary key relation from field_concept_key, ontology_id on this table to key, ontology_id on table, semantics.ss_field_concepts
idbigintUnique id for each row of indexing_status.
created_attimestamp with time zoneThe timestamp for when this row entry was created.
updated_attimestamp with time zoneThe timestamp for when this row entry was updated.
field_concept_keytextfield_concept_key referencing to ss_field_concepts.
ontology_idbigintOntology id referencing to ontology_id in ss_field_concepts.
indexing_statusintegerReferences to current indexing status for a field_concept.
error_codeintegerReferences to error_code for error occurred while indexing.
indexed_value_concept_versiontextVersion of the field concept index.
webhooks.webhooks: Holds metadata for all registered webhooks on the server.
NameTypeDescription
luiduuidPrimary key for the webhook.
site_luiduuidThe site that the webhook belongs to.
versionintegerThe version of this webhook. 1 on create, monotonically increasing with each update of the webhook.
owner_luiduuidThe user who is the current owner of the webhook.
urltextThe fully specified URL for the webhook to POST to when triggered.
body_templatetextJSON template for the body of the request to send when the webhook is triggered.
event_typetextThe type of event on the server that will trigger this webhook e.g datasource refresh.
nametextHuman readable name for the webhook, defaults to the value Unnamed Webhook.
isenabledbooleanWhether the webhook is currently run on trigger events
statuschangereasontextRecord the reason for any automated disabling/enabling of a webhook
failedattemptsintegerNumber of consecutive failed delivery attempts
public._background_tasks: This view combines the important contents of both the background_jobs table and the async_jobs table to give an overall picture of jobs that were given to a backgrounder process.
NameTypeDescription
backgrounder_idcharacter varyingThe id of the backgrounder process that did the work.
idintegerThe primary key of either the background_jobs record or the async_jobs record, depending on where this record is coming from.
created_attimestamp without time zoneWhen this record was created.
completed_attimestamp without time zoneWhen the job finished execution. When set, this should generally agree with the updated_at field.
finish_codeintegerCompletion status for the job. Will be 0 for success, 1 for failure, and 2 for cancelled.
job_typecharacter varyingThe type of job being run. This looks a bit odd because it comes from a serialized symbol.
progressintegerCan be used to indicate percent complete for the job, but in most cases simply gets set to 100 when the job is completed.
argstextUsed as a means of passing parameters about the background job. This information is stored in a special serialized format, and thus is not easily readable.
notestextCan be used to store additional information about the running of the job.
started_attimestamp without time zoneWhen the execution of the job was started. This is not generally the same as created_at, because it may take some time before a backgrounder "notices" the newly created record and begins to process it.
job_namecharacter varyingA nice readable name for this type of job.
priorityintegerControls which background_jobs records are processed first. The highest priority is 0, and the lowest is 100. Integer values in between are also valid.
titlecharacter varyingCan be used to provide some additional information about the job.
processed_on_workercharacter varyingIdentifies the machine on which the job is run.
subtitlecharacter varyingCan be used to provide some additional information about the job.
languagecharacter varyingThe language for the job is listed here.
site_idintegerLinks to a site, if one is relevant, otherwise it is left NULL.
localecharacter varyingThe locale for the job is listed here.
subscriptions_attach_imagebooleanBoolean that represents whether to attach images to a subscription background_job. Will be NULL if the background_job is not a subscription.
subscriptions_attach_pdfbooleanBoolean that represents whether to attach a PDF to a subscription background_job. Will be NULL if the background_job is not a subscription.
public._comments: Comments users made on views.
NameTypeDescription
idintegerPrimary key for the underlying comments record.
titletextNot used.
commenttextComment text.
commentable_typecharacter varyingView.
created_attimestamp without time zoneDate when comment was created.
drawingtextNot used.
commentable_idintegerCorresponding view id.
user_idintegerId of the user who made the comment.
site_idintegerLinks to the site that the user and this comment belong to.
public._customized_views: When a user creates a customized view, the data that supports that goes in the customized_views table, and is reflected in this view.
NameTypeDescription
namecharacter varyingA combination of the site name and the customized_view name.
repository_urlcharacter varyingURL text created from workbook, sheet domain, and url_id.
idintegerPrimary key for the underlying customized_views record.
sizeintegerThe number of bytes it took to describe the changes from the base view to the customized view.
view_namecharacter varyingThe name of the view that this customized view is based on.
sheet_idcharacter varyingAn identifier for the sheet. Based on the name of the sheet.
workbook_urltextA unique name for the workbook, that contains the base view, derived from the ASCII characters in the name, which can be used in URLs to refer to this workbook.
workbook_namecharacter varyingThe actual name of the workbook, that contains the base view, derived from the ASCII characters in the name, which can be used in URLs to refer to this workbook.
emailcharacter varyingThe email of the system_user associated with this customized view.
user_namecharacter varyingThe name of the system_user associated with this customized view.
site_idintegerA foreign key to the site that this customized view is associated with (the site of the user who created it).
public._datasources: Shows all Published datasources on server, along with some associated information.
NameTypeDescription
idintegerPrimary key for the underlying datasources record.
namecharacter varyingThe name of the published datasource.
datasource_urltextUniquely identifies a datasource. More or less consists of a slightly modified name, but not totally obviously, especially in the presence of non-ASCII characters. Used in URLs meant to access this datasource.
owner_idintegerThe user ID of the owner/uploader of the datasource.
owner_namecharacter varyingThe name of the system_user linked to owner_id
created_attimestamp without time zoneWhen this record was created.
updated_attimestamp without time zoneWhen this record was last updated.
sizebigintThe size in bytes of the datasource.
project_idintegerThe associated project ID where the datasource was published.
project_namecharacter varyingThe name of the project linked via project_id.
servertextDNS server name to connect to (for the associated data_connection record).
dbclasscharacter varyingType of data connection (ie mysql, postgres, sqlproxy etc) (for the associated data_connection record).
portintegerTCP port number of the connect (eg. 5432 for postgres) (for the associated data_connection record).
usernametextUsername to use when connecting.
dbnamecharacter varyingThe database name associated with the linked data_connection record.
owner_typecharacter varying"Datasource"
system_user_idintegerThe system_user linked to the user whose id is owner_id.
site_idintegerThe site that contains this datasource.
domain_idintegerA foreign key reference to the domain of the owner.
domain_namecharacter varyingThe name is either "local" or the name of some Active Directory group.
public._datasources_stats: Some historical useage information about datasources. Based on the records that exist in the historical events tables.
NameTypeDescription
nviewsbigintThe number of times that the datasource has been accessed.
last_access_timetimestamp without time zoneThe most recent access of the datasource
datasource_idintegerLinks to the datasource whose usage is being described.
site_idintegerThe site in which this datasource exists.
public._groups: A grouping of users. Can be locally created or imported from Active Directory. Reflects the contents of the groups table and associated tables.
NameTypeDescription
idintegerThe primary key of the underlying groups record.
namecharacter varyingThe name that was given to the group.
site_namecharacter varyingThe name of the site that this group belongs in.
domain_namecharacter varyingThe name of the domain that this group is linked to.
domain_short_namecharacter varyingA short version of the domain that this group is linked to.
domain_familycharacter varyingEither local or ActiveDirectory.
public._http_requests: Each record represents a request received by Tableau Server. Reflects data in the http_requests table.
NameTypeDescription
controllercharacter varyingThe part of the application that received the request.
actioncharacter varyingThe action requested.
http_referercharacter varyingThe referrer.
http_user_agentcharacter varyingThe agent string supplied by the client.
http_request_uritextThe requested URI.
remote_ipcharacter varyingThe client's IP address (from the perspective of the server).
created_attimestamp without time zoneWhen this record was created.
session_idcharacter varyingThe session with which the request is associated.
completed_attimestamp without time zoneWhen the request was completed.
portintegerThe port on which the request was received.
user_idintegerThe user associated with the request.
workercharacter varyingWhich worker machine received the request.
vizql_sessiontextThe vizql session associated with this request.
user_ipcharacter varyingThe IP address of the originator of the request.
currentsheetcharacter varyingWhich sheet was being viewed.
site_idintegerThe site associated with the request.
public._projects: Each row of the table corresponds to a project on Tableau Server.
NameTypeDescription
idintegerPrimary key for the underlying record in the projects table.
namecharacter varyingThe name of the project.
created_attimestamp without time zoneThe time at which this record was created.
owner_idintegerThe id of the user who owns this project.
owner_namecharacter varyingThe name of the system_user who owns this project.
system_user_idintegerThe id of the system_user who owns this project.
site_idintegerRefers to the site which contains this project.
public._schedules: Records define a schedule according to which certain regular tasks may be performed (see tasks table). They also indicate the next time at which the schedule will be triggered.
NameTypeDescription
idintegerPrimary key for the record in the underlying schedules table.
namecharacter varyingA schedule can be given a name, which is stored here.
activebooleanIf set to false, this means that the schedule is inactive, meaning that no tasks will be performed when the schedules triggers.
priorityintegerPriority can range from 1 to 100, with lower values corresponding to higher priority.
schedule_typeintegerOne of 0 (Hourly), 1 (Daily), 2 (Weekly), 3 (Monthly).
day_of_week_maskintegerIndicates which day of the week this schedule will run. The information is encoded in the given integer. To interpret it, convert the integer to binary. The days of the week correspond to Sunday : 1, Monday : 10, Tuesday : 100, Wednesday : 1000, Thursday : 10000, Friday : 100000, Saturday : 1000000.
day_of_month_maskintegerIndicates which day of the month this schedule will run. The information is encoded in the given integer. To interpret it, convert the integer to binary. The days of the month correspond to 1st : 1, 2nd: 10, 3rd: 100, 4th: 1000, 5th: 10000, etc.
start_at_minuteintegerThe minute following the start of the designated time period implied by the schedule_type. For example, for a daily schedule, this would be number of minutes past midnight at the start of the day. For hourly, it would be the number of minutes past the beginning of the hour.
minute_intervalintegerOnce the schedule triggers, it will retrigger at this interval during the time period implied by the schedule_type or until end_at_minute, or end_schedule_at.
end_at_minuteintegerThe minute following the start of the designated time period implied schedule_type, at which the schedule should stop triggering.
end_schedule_attimestamp without time zoneUsed to indicate a point in time, after which the schedule should never trigger.
run_next_attimestamp without time zoneWhen the schedule will next trigger.
created_attimestamp without time zoneThe time at which this record was created.
updated_attimestamp without time zoneThe last time any changes were made to this record.
hiddenbooleanIf set to true, then this schedule will not be listed in the GUI, otherwise it will be.
serial_collection_idintegerA foreign key to the serial_collections table. Two jobs with the same serial_collection_id cannot be processed simultaneously. When the job record for a task linked to this schedule is created, it is assigned this serial_collection_id.
lock_versionintegerUsed to implement "optimistic locking" by JPA/Hibernate. The counter increases each time the record is changed. Not useful for customers.
scheduled_actionintegerUsed to classify schedules into one of two categories: 0 (Extract related) 1 (Subscription related)
scheduled_action_typetextA friendly string representation of the type of scheduled action.
defined_byintegerThe mechanism type of how the schedule is created, e.g. 0 for system_admin, 1 for self_service.
public._sessions: Settings associated with a user's browser session.
NameTypeDescription
session_idcharacter varyingSession identifier.
updated_attimestamp without time zoneTime when session was last updated, used to expire inactive sessions.
user_idintegerForeign key to users table. Tells the user whose session this is.
user_namecharacter varyingThe name of the system_user linked to the user whose session this is.
system_user_idintegerThe id of the system_user linked to the user whose session this is.
site_idintegerThe site that this session belongs to.
public._sites: Each record represents a site. Each site holds its own workbooks, datasources, users, etc. Strict isolation between the contents of each site is maintained.
NameTypeDescription
idintegerPrimary key for the underlying sites record.
namecharacter varyingThe name of the site.
url_namespacecharacter varyingString used in the construction of URLs that target this site.
statuscharacter varyingOne of "active" "suspended" or "locked".
public._subscriptions: Each record provides information about subscriptions that are scheduled. Subscriptions are a mechanism for receiving specified content by email on some schedule.
NameTypeDescription
idintegerPrimary key for the underlying subscriptions record.
subjectcharacter varyingA string that describes the nature of the subscription.
content_typetextDescribes what type of content is being delivered by this subscription. One of: "Customized View - Single View", "Workbook", "Single View", or "Customized View - Workbook".
view_urltextA URL string that describes the view to be delivered, when the subscription is for a view.
workbook_urltextA URL string that describes the workbook to be delivered, when the subscription is for a workbook.
customized_view_idintegerA foreign key reference to the customized view, if the subscription is for a customized view.
last_senttimestamp without time zoneThe last time at which the the subscription was sent.
user_idintegerA foreign key reference to the user who will receive the subscription.
user_namecharacter varyingThe name of the system_user who will receive the subscription.
site_idintegerThe site that the subscription (and the user) belongs to.
site_namecharacter varyingThe name of the site that the subscription (and the user) belongs to.
schedule_namecharacter varyingThe name of the schedule that this subscription runs under.
schedule_activebooleanIf set to false, this means that the subscription is inactive.
schedule_run_next_attimestamp without time zoneThe next time the subscription should be sent.
schedule_priorityintegerPriority can range from 1 to 100, with lower values corresponding to higher priority.
public._system_users: Each record represents a user of the server. These records correspond to login identity. A single system_user may potentially be able to login to multiple sites. The linkage between a system_user and their allowed sites is defined through the "users" table.
NameTypeDescription
idintegerPrimary key for the underlying system_user record.
namecharacter varyingThe username of the user.
emailcharacter varyingThe email of the user.
friendly_namecharacter varyingA friendly name that might be used in the GUI to refer to the user.
custom_display_namebooleanIf set to true, this prevents the friendly_name from potentially being overwritten by Active Airectory information when the user is read in from Active Directory. Seldom done.
admin_levelintegerIndicates if the user is a system administrator. 10 : system admin, 0 : not a system admin
domain_namecharacter varyingThe name of the domain that the user belongs to. The name is either "local" or the name of some Active Directory group.
domain_short_namecharacter varyingAn alternate shorter form of the name
domain_familycharacter varyingEither local or ActiveDirectory.
public._tags: Each tag is a string value. A given tag can be associated with many taggable items in a site.
NameTypeDescription
tag_idintegerThe primary key for the underlying tags table.
tag_namecharacter varyingThe value of the tag.
object_typecharacter varyingThe type of the taggable item - this is used to identify which table to join to.
taggable_idintegerThe ID of the taggable item.
object_idintegerThe same as taggable_id.
object_namecharacter varyingThe name of the view, workbook, or datasource that is being tagged.
user_idintegerThe ID of the user that owns the tagging.
user_namecharacter varyingThe name of the system_user that owns the tagging.
system_user_idintegerThe id of the system_user that owns the tagging.
site_idintegerThe site in which the tagged object exists (likewise the user, etc.).
public._users: Information relating to users.
NameTypeDescription
idintegerPrimary key for the underlying user record.
namecharacter varyingThe name of the system_user linked to the user record.
login_attimestamp without time zoneThe time of the most recent login for this user.
friendly_namecharacter varyingThe friendly name of the system_user linked to the user record.
licensing_role_idintegerForeign key reference to the licensing_roles table. Indicates the licensing role that is assigned to this user.
licensing_role_namecharacter varyingThe name of the licensing role that is assigned to this user.
domain_idintegerThe domain_id of the system_user linked to the user record.
system_user_idintegerThe id of the system_user linked to the user record.
domain_namecharacter varyingThe domain_name of the system_user linked to the user record.
domain_short_namecharacter varyingThe a shorter version of the domain_name of the system_user linked to the user record.
site_idintegerThe id of the site that the user belongs to.
public._views: Each records represents a view in a workbook.
NameTypeDescription
idintegerPrimary key for the underlying views record.
namecharacter varyingThe name of the view.
view_urltextUniquely identifies a view. More or less composed of workbook and sheet names, but not totally obviously, especially in the presence of non-ASCII characters. Used in URLs meant to access this view.
created_attimestamp without time zoneThe time at which the underlying views record was created.
owner_idintegerA foreign key reference to the user who owns this view.
owner_namecharacter varyingThe name of the user who owns this view.
workbook_idintegerA foreign key reference to the workbook the view is part of.
indexintegerEach view has an index that is unique among views belonging to that workbook.
titletextA title for the worksheet extracted from the workbook's twb file.
captiontextA descriptive phrase constructed for the worksheet, based on the workbook definition.
site_idintegerA foreign key link to the site to which this view belongs.
public._views_stats: Used to track how many times each user has accessed different views.
NameTypeDescription
users_idintegerA foreign key reference to a particular user.
system_users_namecharacter varyingThe name of the system_user that corresponds to the user.
users_login_attimestamp without time zoneThe time of the most recent login for this user.
system_users_friendly_namecharacter varyingThe friendly_name of the system_user that corresponds to the user.
views_idintegerA foreign key reference to the view that was accessed. This field must be populated.
system_users_idintegerThe id of the system_user that corresponds to the user.
views_namecharacter varyingThe name of the view that was accessed.
views_urltextUniquely identifies a view. More or less composed of workbook and sheet names, but not totally obviously, especially in the presence of non-ASCII characters. Used in URLs meant to access this view.
views_workbook_idintegerA foreign key reference to the workbook the view is part of.
views_created_attimestamp without time zoneThe time at which the view was created.
views_owner_idintegerA foreign key reference to the user who owns the view.
views_indexintegerEach view has an index that is unique among views belonging to that workbook.
views_titletextA title for the worksheet extracted from the workbook's twb file.
views_captiontextA descriptive phrase constructed for the worksheet, based on the workbook definition.
device_typetextDSD device type detected (non-null only if view is dashboard in non-authoring mode)
nviewsintegerKeeps a cumulative count of the number of times the view was accessed by this user.
last_view_timetimestamp without time zoneThe time of the most recent access of the specified view by the specified user.
site_idintegerLinks to the site that contains the view.
public._workbooks: Each record represents a workbook that exists on the server.
NameTypeDescription
idintegerThe primary key for the underlying workbook record.
namecharacter varyingThe name of the workbook.
workbook_urltextA unique name for the workbook, derived from the ASCII characters in the name, which can be used in URLs to refer to this workbook.
created_attimestamp without time zoneThe time at which the workbook record was created.
updated_attimestamp without time zoneThe last time any changes were made to this workbook record.
owner_idintegerA foreign key reference to the user that owns this workbook.
project_idintegerA foreign key reference to the project in which this workbook exists.
sizebigintThe number of bytes used in storing the workbook information.
view_countintegerKeeps count of the number of views that are associated with this workbook.
owner_namecharacter varyingThe name of the system_user who is the owner.
project_namecharacter varyingThe name of the project that this workbook is part of.
system_user_idintegerThe id of the system_user who is the owner.
site_idintegerLinks to the site that contains this workbook.
domain_idintegerA foreign key reference to the domain of the owner.
domain_namecharacter varyingThe name is either "local" or the name of some Active Directory group.
public.identity_based_activation_admin_view: Login-based License Management (LBLM) - Database view to faciliate Admin Server and Site Views for Login-based License Usage Reporting.
NameTypeDescription
iba_user_idcharacter varyingGenerated Id for user for IBA Reporting
site_idintegerSite being used.
device_fingerprintcharacter varyingUniquely identifies device. Built/generated from umn.
product_typecharacter varyingProduct being used at the client level.
user_rolecharacter varyingValues: CREATOR, SITE_ADMINISTRATOR, SERVER_ADMINISTRATOR
host_namecharacter varyingComputer host name.
product_versioncharacter varyingapplication/product version being used at the client level.
registration_first_namecharacter varyingRegistered user first name
registration_last_namecharacter varyingRegistered user last name
registration_emailcharacter varyingRegistered user email address
registration_datetimestamp without time zoneDate active key was registered.
client_user_namecharacter varyingLogin/User name from the client level.
atr_expiration_datetimestamp without time zoneExpiration date of active key. This date will remain NULL until first reporting event is sent.
hardware_serial_numbercharacter varyingUniquely identifies company's hardware asset.
registration_custom_fieldcharacter varyingcustom field from registration
machine_oscharacter varyingos_architecture
virtual_machinebooleanis the machine virtual
atr_chain_idcharacter varyingATR Chain Id
domain_informationcharacter varyingComputer Active Directory domain.
date_atr_issuedtimestamp without time zoneThe date-time the ATR was successfully issued by the ATR Service. This gets filled in when the Server successfully receives an ATR from the ATR Service, but before the Server returns the ATR to Desktop.
date_atr_failedtimestamp without time zonedate-time when the ATR successfully returned from the server for this user, device, product and site.
date_last_updatedtimestamp without time zoneThis field is updated anytime any of date_atr_issued, date_atr_failed, date_activated, date_last_used is updated. This field makes it easy to determine when the user last attempted any action against a given productType, device, site combination.
server_user_namecharacter varyingUser friendly name on the server level.
server_emailcharacter varyingEmail for user on the server level.
site_luidcharacter varyingLUID from sites table.
date_activatedtimestamp without time zonedate-time is set upon first activation by the client (e.g. Tableau Desktop), after which it is never updated. The intent of this field is to allow the admin to understand when a user first began utilizing their Tableau license.
date_last_usedtimestamp without time zonedate-time the last time the user used this product from this device for this site. NOTE: 1) The server used for activation will be updated, even if the user works and publishes on a different server. 2) This field is updated every time Desktop activates with LBLM and also every time an LBLM reporting event is sent.
date_creator_role_assignedtimestamp without time zoneDatetime user was assigned a creator role. Triggered by site role change in the users table.
date_creator_role_unassignedtimestamp without time zoneDatetime user was unassigned a creator role. Triggered by site role change in the users table.
site_namecharacter varyingThe name of the site sourced from the name column in the sites table.
public.users_view: Each record corresponds to a user on the system. The data presented is a combination of user data and data from the linked system_user.
NameTypeDescription
emailcharacter varyingThe email of the system_user.
login_attimestamp without time zoneThe last time the system_user logged in.
namecharacter varyingThe name of the system_user.
idintegerThe id of the underlying users record.
system_user_idintegerThe id of the linked system_users record.