| manifest_id | character varying | Local id from the <*-extension id="..."> attribute; unique within a package. Named manifest_id (rather than extension_id) to avoid colliding with the standard "_id" foreign-key convention.
| manifest_xml | bytea | Extracted .trex contents kept in-row for fast list/render paths |
| source_location | text | Manifest verbatim. Either an absolute http(s) URL (customer-hosted iframe) or a forward-slash relative path under the package's web/ tree; null when the manifest declares none. |
| configuration | text | Opaque extension-defined configuration blob. Format is owned by the extension; the server treats it as a string. May be plaintext or encrypted -- see configuration_asset_key_id. |
| configuration_asset_key_id | integer | Asset key id used to encrypt the configuration column. Null when configuration is stored in plaintext. |
| public.extensions_block_list: Table which stores the block list of extensions on this server |
| Name | Type | Description |
| luid | uuid | The luid which uniquely identifies the extensions blocklist row. |
| url | text | The url of extension which is blocked. |
| active | boolean | The check to see if the current entry is active or archived. |
| created_at | timestamp without time zone | Created date for this record. |
| updated_at | timestamp without time zone | Modified date for this record. |
| public.extensions_events: Table which stores the events of referenced extensions calculation service |
| Name | Type | Description |
| luid | uuid | The luid which uniquely identifies the extensions events row. |
| workbook_luid | uuid | The luid which uniquely identifies the workbook. |
| site_luid | uuid | The luid which uniquely identifies the site. |
| site_id | integer | The id which uniquely identifies the site. |
| status | integer | The status of the current task. |
| created_at | timestamp without time zone | Created date for this record. |
| updated_at | timestamp without time zone | Modified date for this record. |
| public.extensions_instances: Table which stores referenced extensions information calculated from across the workbooks. |
| Name | Type | Description |
| Foreign key/Primary key relation from site_id on this table to id on table, public.sites |
| luid | uuid | The luid which uniquely identifies the extensions instance row. |
| extension_luid | uuid | The luid which uniquely identifies the extension. |
| workbook_luid | uuid | The luid which uniquely identifies the workbook. |
| view_luid | uuid | The luid which uniquely identifies the view. |
| site_luid | uuid | The luid which uniquely identifies the site. |
| site_id | integer | The id which uniquely identifies the site. |
| active | boolean | The check to determine if the current entry is active or archived. |
| count | integer | The count of extensions in views of a given workbook |
| created_at | timestamp without time zone | Created date for this record. |
| updated_at | timestamp without time zone | Modified date for this record. |
| id | bigint | The unique identifier for this entry. |
| public.extensions_metadata: Table which stores Metadata of Extensions. |
| Name | Type | Description |
| Foreign key/Primary key relation from site_id on this table to id on table, public.sites |
| luid | uuid | The luid which uniquely identifies the extensions metadata row. |
| site_luid | uuid | The luid which identifies the site. |
| site_id | integer | The id which identifies the site. |
| extension_id | text | The extension id defined in the manifest. |
| type | text | The type of extension. |
| version | text | The version of extension. |
| manifest_version | text | The version of the manifest of the extension. |
| min_api_version | text | The minimum api version needed for the extension. |
| default_locale | text | The default locale of the extension. |
| name_locale_value | text | The name of the extension. |
| name_locale_resourceid | text | The resource id for the name of the extension. |
| desc_locale_value | text | The description of the extension. |
| dec_locale_resourceid | text | The resource id for the description of the extension. |
| resources | text | The localization resources for the extension. |
| permissions | text | The permissions defined in the manifest of the extension. |
| author_name | text | The name of the author of extension. |
| author_email | text | The email of the author of extension. |
| author_org | text | The organization of the author of extension. |
| author_website | text | The website of the author of extension. |
| url | text | The url of extension. |
| icon | text | The icon of extension. |
| installed | boolean | The check to see if the extension is installed. |
| created_at | timestamp without time zone | Created date for this record. |
| updated_at | timestamp without time zone | Modified date for this record. |
| id | bigint | The 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. |
| Name | Type | Description |
| Foreign key/Primary key relation from site_id on this table to id on table, public.sites |
| site_luid | uuid | The luid which uniquely identifies the site. |
| site_id | integer | The id which uniquely identifies the site. |
| luid | uuid | The luid which uniquely identifies the extensions safe list row. |
| url | text | The url of the safe list extension. |
| allow_full_data | boolean | The full data access permission of an extension. |
| prompt_needed | boolean | The prompt needed setting of an extension. |
| active | boolean | The check to determine if the current entry is active or archived. |
| created_at | timestamp without time zone | Created date for this record. |
| updated_at | timestamp without time zone | Modified date for this record. |
| id | bigint | The unique identifier for this entry. |
| public.extensions_site_settings: Table which stores the site specific settings for extensions |
| Name | Type | Description |
| Foreign key/Primary key relation from site_id on this table to id on table, public.sites |
| site_luid | uuid | The luid which uniquely identifies the site. |
| site_id | integer | The id which uniquely identifies the site. |
| luid | uuid | The luid which uniquely identifies the extensions settings row. |
| extensions_enabled | boolean | The check to see if the extensions are enabled on the site. |
| default_setting | boolean | The check to see if the default settings are enable for extensions |
| active | boolean | The check to determine if the current entry is active or archived. |
| updated_at | timestamp without time zone | Modified date for this record. |
| id | bigint | The unique identifier for this entry. |
| allow_sandboxed | boolean | Whether sandboxed extensions are allowed to run |
| allow_trusted | boolean | Whether trusted extensions are allowed to run |
| include_sandboxed | boolean | Whether sandboxed extensions are allowed to run, under the trusted extensions umbrella |
| include_tableau_built | boolean | Whether Tableau-built extensions are allowed to run, under the trusted extensions umbrella |
| include_partner_built | boolean | Whether partner-built extensions are allowed to run, under the trusted extensions umbrella |
| public.external_service_connections: Table which stores the site specific settings for external service connections |
| Name | Type | Description |
| Foreign key/Primary key relation from site_id on this table to id on table, public.sites |
| id | integer | The id which uniquely identifies the connection. |
| luid | uuid | The luid which uniquely identifies the connection, for security purpose. |
| site_id | integer | The site_id which uniquely identifies the site. |
| connection_type | text | The connection_type identifies the external service type. |
| host | text | The host identifies host name or ip address of the external server |
| port | integer | The port identifies port of the external service. |
| is_auth_enabled | boolean | The is_auth_enabled identifies whether authentication is enabled. |
| username | text | The username for authentication of the external service, if is_auth_enabled. |
| pwd | text | The encrypted password for authentication of the external service, if is_auth_enabled. |
| is_ssl_enabled | boolean | The is_ssl_enabled identifies whether SSL is enabled for the external service. |
| asset_key_id | integer | The asset_key_id which uniquely identifies the asset key with which secrets in this row are encrypted |
| connection_name | character varying | unique name for the connection |
| public.external_service_site_settings: Table which stores the site level settings for external services |
| Name | Type | Description |
| Foreign key/Primary key relation from site_id on this table to id on table, public.sites |
| id | integer | The id which uniquely identifies the site setting. |
| site_id | integer | The site_id which uniquely identifies the site. |
| extsvc_enabled | boolean | The extsvc_enabled identifies whether external service is enabled on certain site. |
| time_out | integer | The time_out identifies the time out value when connect to external service. |
| site_luid | uuid | Site ID of the external_service_site_settings. |
| public.extract_operations: Each record represents an extract create operation on a Tableau workbook. |
| Name | Type | Description |
| 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 |
| id | integer | Primary key for the extract operation record. |
| job_id | integer | The background job id for this opeartion. |
| session_id | character varying | The session identifier. |
| workbook_id | integer | The ID of the workbook associated with this operation. It is null when this operation is for a new workbook. |
| operation_data | json | The data sources to create extracts with json format. |
| document_data_id | character varying | The identifier for the workbook file data associated with this operation. |
| owner_id | integer | The user ID of the owner of the operation. |
| site_id | integer | The ID of the site associated with this operation. |
| embedded | text | An encrypted keychain holding any credentials stored with the workbook. |
| asset_key_id | integer | The asset encryption key used to encrypt the keychain in the embedded column. |
| status | integer | The status of the operation. |
| error_message | text | Store the error message of the operation. |
| updated_at | timestamp without time zone | When this record was last updated. |
| created_at | timestamp without time zone | When this record was created. |
| extract_id | integer | ID of the extract record used by this operation. |
| lock_version | integer | Version of the database record. |
| luid | uuid | A unique identifier of the extract operation. |
| public.extract_refresh_failure_user_notifications: each record represents the intent of recipient to be notified when an extract refresh fails. each row will have datasource_id null or workbook_id null. |
| Name | Type | Description |
| 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 user_id on this table to id on table, public.users |
| Foreign key/Primary key relation from workbook_id on this table to id on table, public.workbooks |
| id | bigint | primary key for the record. |
| user_id | integer | a user to recieve the notification. |
| workbook_id | integer | the workbook_id to notify of failed extract refresh. |
| datasource_id | integer | the datasource_id to notify of failed extract refresh |
| created_at | timestamp without time zone | the time when this row was created. |
| updated_at | timestamp without time zone | the time when this row was last updated. |
| site_id | integer | the id of the site the data alert recipient belongs to. |
| public.extract_service_commands: Table which stores the extract commands for extract service |
| Name | Type | Description |
| Foreign key/Primary key relation from site_id on this table to id on table, public.sites |
| id | bigint | The id which uniquely identifies row in the table |
| luid | uuid | The luid of record in the table |
| created_at | timestamp without time zone | The timestamp for creating the extract command |
| updated_at | timestamp without time zone | The timestamp for updating the extract command |
| site_id | integer | A foreign key reference to the site to where the extract command exists. |
| site_luid | uuid | Extract command site luid |
| owner_luid | uuid | Extract command owner luid |
| duration | bigint | Duration of extract command execution time |
| status | character varying | Status of extract command |
| message | text | Message of extract command |
| execute_node | uuid | Which node execute the extract command |
| resource_type | character varying | Extract command for what extractable resource type |
| operation | character varying | Extract command operation |
| starting_items | text | Extract command starting items |
| transaction_level | character varying | Extract command transaction level |
| extract_id | uuid | Extract command operate on extract id |
| result_version | integer | Extract command result version |
| resource_id | character varying | Extract command for which extractable resource id |
| caller | character varying | Which service issued the command |
| should_encrypt | boolean | Whether extract should be encrypted |
| public.extract_service_extracts: Table which stores the extracts for extract service |
| Name | Type | Description |
| Foreign key/Primary key relation from site_id on this table to id on table, public.sites |
| id | bigint | The id which uniquely identifies row in the table |
| luid | uuid | The luid of record in the table |
| created_at | timestamp without time zone | The timestamp for creating the extract |
| updated_at | timestamp without time zone | The timestamp for updating the extract |
| site_id | integer | A foreign key reference to the site to where the extracts exists. |
| site_luid | uuid | Extract site luid. |
| owner_luid | uuid | Extract owner luid |
| latest_version | integer | Latest version of extract result for the extract |
| public.extract_service_object_queue: Table which stores the object queue for extract service |
| Name | Type | Description |
| Foreign key/Primary key relation from site_id on this table to id on table, public.sites |
| id | bigint | The id which uniquely identifies row in the table |
| created_at | timestamp without time zone | The timestamp for creating the object queue |
| updated_at | timestamp without time zone | The timestamp for updating the object queue |
| object_type | character varying | The object type of record in the table |
| site_id | integer | A foreign key reference to the site to where the objects exists. |
| site_luid | uuid | Object site luid. |
| object_id | character varying | The object id of record in the table |
| public.extract_service_object_queue_element: Table which stores the object queue for extract service |
| Name | Type | Description |
| 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 |
| id | bigint | The id which uniquely identifies row in the table |
| payload_luid | uuid | The payload luid of record in the table |
| payload | text | The payload content of record in the table |
| sequence | integer | The element sequence in queue of record in the table |
| object_queue_id | bigint | The queue id of record in the table |
| site_id | integer | A foreign key reference to the site to where the elements exists. |
| site_luid | uuid | Element site luid. |
| public.extract_service_results: Table which stores the extract results for extract service |
| Name | Type | Description |
| 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 |
| id | bigint | The id which uniquely identifies row in the table |
| created_at | timestamp without time zone | The timestamp for creating the extract command |
| extract_id | bigint | A foreign key reference to the extract |
| command_id | bigint | A foreign key reference to the extract command |
| site_id | integer | A foreign key reference to the site to where the extract command exists. |
| site_luid | uuid | Extract result site luid |
| sos_data_id | character varying | SOS data id of extract result |
| version | integer | Result version of extract |
| relative_path | character varying | Relative path of result extract file. |
| file_size | bigint | Extracted file size |
| check_sum | character | Extracted file size |
| encryption_key_id | text | Encryption key id for this extract result |
| rekey_retry_count | smallint | Number of failed attempts for rekey operation |
| extract_encryption_state | smallint | Extract encryption state for this extract result |
| public.extract_sessions: Extracts that have active vizql sessions. |
| Name | Type | Description |
| Foreign key/Primary key relation from site_id on this table to id on table, public.sites |
| id | integer | Primary key for this record. |
| extract_id | integer | Foreign key reference to the extracts table. |
| session_guid | character varying | Vizql session identifier. |
| session_type | character varying | One of "Workbook" or "Datasource" |
| created_at | timestamp without time zone | Date when extract session was created. |
| worker_name | character varying | Worker on which extract session was created. |
| site_id | integer | Site ID of the extract session. |
| public.extract_storage_upgrades: Information for the upgrade process of extract storage. |
| Name | Type | Description |
| 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 |
| workbook_id | bigint | ID of the workbook, which failed to upgrade. |
| site_id | bigint | The site ID to which the workbook belongs. |
| public.extracts: Each record corresponds to a directory that contains one or more extract files associated with either a workbook or datasource. |
| Name | Type | Description |
| 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 |
| id | integer | Primary key for this record. |
| workbook_id | integer | If the extracts are associated with a workbook, then this is a foreign key link to that workbook, otherwise it is NULL. |
| descriptor | character varying | The UUID that is the name of the directory where the extracts are saved. |
| created_at | timestamp without time zone | When this record was created. |
| updated_at | timestamp without time zone | When this record was last updated. |
| datasource_id | integer | If the extracts are associated with a datasource, then this is a foreign key link to that datasource, otherwise it is NULL. |
| encryption_key_id | character varying | If not null, id of the extract encryption key (KEK) with which these extracts are encrypted. |
| site_id | integer | Site ID of the extract. |
| size | bigint | Size of the extract(s) in bytes. |
| public.field_indexability: The user-defined NLP indexability rules for fields in datasources |
| Name | Type | Description |
| 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 |
| id | bigint | The unique identifier for this row that is automatically generated on insert |
| created_at | timestamp with time zone | The timestamp for when this row entry was created |
| updated_at | timestamp with time zone | The timestamp for when this row entry was updated |
| site_id | integer | The id of the site on which the datasource is published |
| published_datasource_id | integer | The id of the published datasource on the site |
| field_graph_id | text | The graph id of the field in the datasource |
| indexing_mode | text | The user-specified behavior for NLP to index the field |
| public.file_upload_chunks: Used to track the individual chunks of a file during the upload process. |
| Name | Type | Description |
| Foreign key/Primary key relation from file_upload_id on this table to upload_id on table, public.file_uploads |
| Foreign key/Primary key relation from site_id on this table to id on table, public.sites |
| id | bigint | Auto-generated id from postgres; also the primary key for the table. |
| file_upload_id | character varying | The identifier of the file upload that the chunk is associated with. |
| chunk_sequence_id | bigint | The order of the chunk in the file upload. |
| chunk_sos_id | character varying | The SOS identifier of the chunk. |
| site_id | integer | The identifier of the site that the uploaded chunk belongs to. |
| chunk_size | bigint | The size of the chunk stored. |
| public.flow_drafts: Each record represents a draft for a Tableau Prep flow that exists on Tableau Server. |
| Name | Type | Description |
| 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 site_id on this table to id on table, public.sites |
| id | integer | Primary key for the flow draft record. |
| luid | uuid | An immutable identifier for the flow draft, unique within a site. |
| owner_id | integer | The user ID of the owner of the flow draft. The owner of the draft may differ from the owner of the flow. |
| flow_id | integer | The ID of the flow associated with this draft. If null, this draft is for a new flow. |
| site_id | integer | The ID of the site containing this flow draft. |
| project_id | integer | Deprecated. The ID of the project containing this flow draft. Present if and only if flow ID is null. Otherwise, shares project of flow. |
| name | character varying | The name of the flow draft. Present if and only if flow ID is null. Otherwise, shares name of flow. |
| document_data_id | character varying | The identifier for the .TFL(X) file data associated with this flow draft. |
| packaged_files_data_id | character varying | The identifier for the packaged file data associated with this flow draft. |
| content_version | integer | Version of the flow draft. Incremented on each update. |
| created_at | timestamp without time zone | The time the record was created. |
| last_force_updated_at | timestamp without time zone | The time the record was last forcibly updated, bypassing certain time-based update throttling. |
| updated_at | timestamp without time zone | The time the record was last updated. |
| document_file_size | bigint | The size of the flow draft document file in bytes. |
| packaged_files_size | bigint | The size of the flow draft packaged files in bytes. |
| flow_content_version | integer | The version of the flow to which this draft corresponds. If not associated with a flow, this value will be null. |
| is_virtual_draft | boolean | True if this draft is virtual, meaning no changes have been saved to it. False otherwise. |
| lock_version | integer | Optimistic lock version intended for internal usage only. Should not be manually set or retrieved. |
| encryption_key | character varying | The 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_extracts | boolean | True if the flow draft contains data was supplied in the form of a Tableau data extract. False otherwise. |
| extract_encryption_state | smallint | Encryption state of the extracts for this flow draft. null or 0 - unencrypted, 1 - encrypted, 2 - pending encryption, 3 - pending decryption, 5 - pending rekey |
| published_at | timestamp without time zone | The time the flow draft was last published into a flow. |
| last_session_id | character varying | The id of the most recent flow edit session that was created for this draft. Null indicates there are no active sesions for the draft. |
| hidden | boolean | Flag to indicate whether or not we the flow draft is hidden from content management system. |
| kind | character varying | Indicates what kind of flow draft this record represents. |
| state | character varying | One of "active" or "archived". "archived" indicates that the item is in the Recycle Bin. |
| public.flow_events: Each row represents an event affecting a flow |
| Name | Type | Description |
| id | integer | Primary key of the event |
| flow_id | integer | Foreign key to the corresponding flow |
| event_type | integer | Event type integer value |
| event_created_at | timestamp without time zone | Time of event creation |
| site_id | integer | Site ID of flow event |
| public.flow_input_steps: Each record represents an individual input step from a published Tableau Prep flow. |
| Name | Type | Description |
| 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 |
| id | integer | Primary key for the record of the input step. |
| step_id | character varying | Unique id for the input step, pulled from the TFL file. |
| name | character varying | The name of the input step, pulled from TFL. |
| flow_id | integer | The FK to flows for the flow where this input step exists. |
| data_connection_id | integer | The FK to data_connections. |
| site_id | integer | The id of the site associated with the flow where this input step exists. |
| luid | uuid | A unique, immutable identifier for the input step. |
| public.flow_models: Each row contains model metadata for a flow |
| Name | Type | Description |
| 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 |
| id | integer | Primary key of the model metadata |
| flow_id | integer | Foreign key to the corresponding flow |
| data_id | character varying | Data store ID of model |
| generated_at | timestamp without time zone | Time of model generation |
| stale_at | timestamp without time zone | Model expiration time |
| site_id | integer | Site 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. |
| Name | Type | Description |
| 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 |
| id | integer | Primary key for the record. |
| flow_id | integer | Foreign key to the flow that was run. |
| flow_run_id | integer | Foreign key to the flow_runs table which gives the flow-level run history. |
| flow_output_step_id | integer | Foreign key to the flow_output_steps table. |
| started_at | timestamp without time zone | When the flow processing system began executing the execution plan associated with this output step. |
| completed_at | timestamp without time zone | When the flow processing system completed publishing the output of this output step. |
| progress | integer | Can 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_code | integer | Whether or not the job succeeded. 0 for success; 1 for failure; 2 for cancelled. |
| rows_produced | bigint | The count of rows produced. |
| notes | character varying | Can be used to store additional information about the running of the job. Often errors. |
| is_incremental | boolean | Whether the run was incremental in run history |
| site_id | integer | Site ID of the flow_output_step_runs. |
| public.flow_output_steps: Each record represents an individual output step from a published Maestro flow. |
| Name | Type | Description |
| 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 |
| id | integer | Primary key for the record of the output step. |
| step_id | character varying | Unique id for the output step, pulled from the TFL file. |
| name | character varying | The name of the output step from TFL. |
| flow_id | integer | The FK to flows for the flow where this output step exists. |
| data_connection_id | integer | The FK to data_connections. |
| site_id | integer | The id of the site associated with the flow where this output step exists. |
| luid | uuid | A unique, immutable identifier for the output step. |
| is_deleted | boolean | Whether this flow output step is deleted or not. |
| datasource_id | integer | id of associated datasource |
| datarole_id | integer | id of associated datarole |
| is_incremental_enabled | boolean | Whether to give user the option to run this output incrementally |
| is_incremental_default | boolean | Whether running this output incrementally is the default option. |
| output_operation_type | integer | Whether to create-1, append-2 or truncate-3 the output when run type is full refresh. |
| incremental_output_operation_type | integer | Whether to create-1, append-2 or truncate-3 the output when run type is incremental refresh. |
| output_name | character varying | The 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. |
| Name | Type | Description |
| 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 |
| id | integer | The primary key for the record. |
| site_id | integer | The ID of the site the record is associated with. |
| flow_output_step_id | integer | The ID of the flow output step the record is associated with. |
| data_connection_id | integer | The ID of the data connection the record is associated with. |
| datasource_id | integer | The 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. |
| Name | Type | Description |
| 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 |
| id | integer | The primary key for the record. |
| site_id | integer | The id of the site the record is associated with. |
| flow_output_step_id | integer | The id of the flow output step the record is associated with. |
| flow_parameter_id | integer | The 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. |
| Name | Type | Description |
| 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 |
| id | integer | The primary key for the record. |
| site_id | integer | The id of the site this record is associated with. |
| flow_parameter_list_domain_id | integer | The id of the flow parameter list domain this record is associated with. |
| value | character varying | The 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. |
| Name | Type | Description |
| 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 |
| id | integer | The primary key for the record. |
| site_id | integer | The id of the site this record is associated with. |
| flow_parameter_id | integer | The 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. |
| Name | Type | Description |
| 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 |
| id | integer | The primary key for the record. |
| site_id | integer | The id of the site this record is associated with. |
| flow_parameter_id | integer | The id of the flow parameter this record is associated with. |
| min_value | character varying | The minimum value of this parameter range domain. |
| max_value | character varying | The maximum value of this parameter range domain. |
| step_size | character varying | The step size of this parameter range domain. |
| date_unit | integer | The 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. |
| Name | Type | Description |
| 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 |
| id | integer | The primary key for the parameter |
| luid | uuid | A unique, immutable identifier within a site. |
| site_id | integer | The id of the site this parameter is associated with. |
| flow_id | integer | The id of the flow this parameter is associated with. |
| parameter_guid | character varying | The unique id for this parameter used in the TFL file. |
| name | character varying | The name for this parameter. |
| description | text | The description for this parameter. |
| domain_type | integer | The domain type for this parameter. 0 = all, 1 = binary, 2 = range, 3 = list, 4 = system. |
| value | character varying | The value for this parameter. Set if and only if is_required is false. |
| is_required | boolean | True if the parameter is required, false otherwise. |
| data_type | integer | The data type of this parameter. 0 = string, 1 = integer, 2 = float, 3 = date, 4 = datetime, 5 = boolean, 6 = timestamp. |
| is_active | boolean | True if the parameter is currently referenced in the flow, false otherwise. |
| timestamp_format | integer | The timestamp format for this parameter. 0 = YYYY-MM-DD, 1 = YYYY-MM-DD_HH-MM-SS, 2 = YYYYMMDD, 3 = YYYYMMDD_HHMMSS, 4 = DD-MM-YYYY, 5 = Week Number, 6 = Month Number, 7 = Quarter Number, 8 = Month Name, 9 = Year Number. |
| public.flow_run_errors: Each record represents an individual flow run error which has detailed information about the error |
| Name | Type | Description |
| 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 |
| id | integer | Primary key for the record of the flow run error. |
| flow_id | integer | The FK to flows for the flow which this run error is about. |
| flow_output_step_id | integer | The FK to flow output steps for the output step which this run error is about. |
| flow_run_id | integer | The FK to flow runs for the flow run where this error got reported from. |
| flow_output_step_run_id | integer | The FK to flow output step runs for the flow output step run where this error got reported from. |
| error_type | character varying | The type of this error |
| object_id | character varying | The object id this error is about, could be null if the error is not about specific object but the entire flow. |
| object_type | character varying | The type of the object, like node or connection in the maestro doc |
| object_name | character varying | The name of the object according to the maestro doc, used to display name in clients |
| error_message_params | text | string params for the flow run error messages, formatted as yaml. |
| exception_class | text | the class name of the original exception of the flow run error |
| exception_stacktrace | text | the stacktrace of the original exception of the flow run error |
| flowprocessor_raw_error_message | text | the raw error message in English from flow processor, if the flow run error is originated from flow processor |
| site_id | integer | Site ID of the flow_run_errors. |
| error_source | character varying | The Tableau Error Source for the flow run error. |
| message_id | character varying | The key for the error message within the resource bundle. |
| bundle_name | character varying | The resource bundle from where to look for the message id. |
| error_code | integer | The raw error code as generated by flow processor. |
| public.flow_run_spec_output_steps: Each record represents an individual output step in a flow run specification. |
| Name | Type | Description |
| 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 |
| id | integer | Primary key for the record of the flow run spec output step. |
| flow_run_spec_id | integer | The FK to flow_run_spec for the flow run spec which this output step belongs to. |
| flow_output_step_id | integer | The FK to flow_output_steps table for the flow output step which this Id refers to . |
| site_id | integer | The id of the site associated with the flow which the entire flow run spec is about. |
| luid | uuid | A unique, immutable identifier for the flow run spec output step. |
| is_incremental | boolean | Whether user chooses incremental run in scheduler |
| public.flow_run_spec_parameters: Each record holds the override value for a parameter. |
| Name | Type | Description |
| 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 |
| id | integer | The primary key for the record. |
| luid | uuid | A unique, immutable identifier within a site. |
| site_id | integer | The id of the site the record is associated with. |
| flow_parameter_id | integer | The id of the flow parameter the record is associated with. |
| flow_run_spec_id | integer | The id of the flow run spec the record is associated with. |
| override_value | character varying | The override value for the parameter. |
| public.flow_run_specs: Each record represents an individual specification about how a Tableau Prep flow should be run |
| Name | Type | Description |
| 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 |
| id | integer | Primary key for the record of the flow run spec. |
| flow_id | integer | The FK to flows for the flow which this run spec is about. |
| trigger_type | character varying | The trigger type of this flow run, currently 0 for scheduled run, 1 for ad-hoc run |
| site_id | integer | The id of the site associated with the flow which this run spec is about. |
| luid | uuid | A unique, immutable identifier for the flow run spec. |
| run_all_outputs | boolean | Whether to run flow with all outputs, future outputs included |
| is_incremental | boolean | Whether 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. |
| Name | Type | Description |
| 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 |
| id | integer | Primary key for the record. |
| flow_id | integer | Foreign key to the flow that was run. |
| flow_processor_run_id | character varying | Identifier for a given run from the flow processing system. |
| flow_run_spec_id | integer | Identifier for the specification of a given run. |
| started_at | timestamp without time zone | When the flow processing system began execution. |
| completed_at | timestamp without time zone | When the flow processing system completed execution. |
| task_id | integer | Foreign key to the task that triggered this flow run (if one exists). |
| trigger_type | character varying | Specifies what caused this flow run to occur. Currently 0 for scheduled run (task), 1 for ad-hoc run. |
| progress | integer | Can 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_code | integer | Whether or not the job succeeded. 0 for success; 1 for failure; 2 for cancelled. |
| notes | character varying | Can be used to store additional information about the running of the job. Often errors. |
| background_job_id | integer | ID of the background job associated with this flow run |
| luid | uuid | An immutable identifier for the flow run. |
| user_id | integer | User ID of the user who started the flow run. |
| site_id | integer | Site ID of the flow_runs. |
| attachment_sos_id | character varying | ID 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. |
| Name | Type | Description |
| 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 |
| id | integer | Primary key. |
| flow_id | integer | Flow id. |
| flow_output_step_id | integer | Flow output step id for this flow runtime owner. |
| created_at | timestamp without time zone | When this flow runtime owner record was created. |
| updated_at | timestamp without time zone | When this flow runtime owner record was updated. |
| table_id | integer | Table related to this flow runtime owner. |
| owner_id | integer | Owner for this flow/table/output step. |
| site_id | integer | Site this flow runtime owner belongs to. |
| public.flow_user_settings: Each record represents a users selected settings for a Prep flow. |
| Name | Type | Description |
| 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 |
| id | integer | Primary key for the flow users settings. |
| user_id | integer | The user ID of the user with the settings record for this flow. |
| flow_id | integer | The ID of the flow that this user has made these settings selection. |
| site_id | integer | The ID of the site containing this flow and user. |
| embed_mode | boolean | True 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. |
| Name | Type | Description |
| 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 |
| id | integer | The id of a version. Primary key. |
| site_id | integer | Reference to entry in sites table. Indicates the site to which this flow version belongs to. |
| flow_id | integer | A foreign key to the flows table. Reference to flow. |
| publisher_id | integer | Reference to user in site users table. User who published this version. Can point to deleted user. |
| version_number | integer | The version number. |
| published_at | timestamp without time zone | The time when this version was initially published. Copied from flow record last_updated field at the time of being overwritten. |
| size | bigint | The size, in bytes, of this version of flow. |
| content_key | character varying | Key of the flow as string |
| sos_type | character varying | The SOS data type under which this version document is stored, or null if it is not stored in SOS. |
| encryption_key_id | character varying | If not null, id of the flow version encryption key (KEK) with which data in this flow is encrypted. |
| data_engine_extracts | boolean | True 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_state | smallint | If 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. |
| Name | Type | Description |
| 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 |
| id | integer | Primary key for the flow record. |
| name | character varying | The name of the published flow. |
| luid | uuid | A unique, immutable identifier for the flow. |
| owner_id | integer | The user id of the owner/publisher of the flow. |
| project_id | integer | Deprecated. The id of the project that this flow is associated with. |
| site_id | integer | The id of the site that this flow is associated with. |
| data_id | character varying | The identifier for the data of the .tfl file associated with this flow. |
| reduced_data_id | character varying | Unique ID used to identify the flow's packaged files (removed from the .TFLX and stored separately). |
| created_at | timestamp without time zone | The time the record was created. |
| updated_at | timestamp without time zone | The time the record was updated. |
| description | text | The description of the flow. |
| lock_version | integer | Used to implement "optimistic locking." Do not set this or mess with it, its all handled automatically. |
| size | bigint | The size of the flow file in bytes |
| embedded | text | The encrypted keychain with credentials stored with the flow. |
| asset_key_id | integer | The asset encryption key used to encrypt the keychain in the embedded column. |
| thumbnail_id | character varying | The identifier for the thumbnail data. |
| last_published_at | timestamp without time zone | The last time the flow file was published. |
| content_version | integer | Version of the flow file, increments on each publish. |
| document_version | character varying | The internal version of the .tfl file associated with this record. |
| file_type | character varying | Whether this flow file is a tfl or tflx. |
| graph_image_id | character varying | Locator id for the graph image of the flow in SOS |
| encryption_key_id | character varying | If not null, id of the flow encryption key (KEK) with which data in this flow is encrypted. |
| data_engine_extracts | boolean | True 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_state | smallint | If not null, encryption state of the extracts. null or 0 - unencrypted, 1 - encrypted, 2 - pending encryption, 3 - pending decryption, 5 - pending rekey |
| is_deleted | boolean | Whether this flow is deleted or not. |
| hidden | boolean | Flag to indicate whether or not we the flow is hidden from content management system. |
| kind | character varying | Indicates what kind of flow this record represents. |
| state | character varying | One of "active" or "archived". "archived" indicates that the item is in the Recycle Bin. |
| public.geocoding: Information about geocoding databases. |
| Name | Type | Description |
| Foreign key/Primary key relation from site_id on this table to id on table, public.sites |
| id | integer | Auto-generated id from postgres; also the primary key for the table. |
| sos_id | text | Storage ID of this database. |
| version | text | Version of the database. |
| created_at | timestamp without time zone | Timestamp when this record was created. |
| updated_at | timestamp without time zone | Same as created_at. |
| size | bigint | Size of the geocoding database. |
| site_id | integer | The ID of the site the geocoding database belong to. |
| public.geocoding_configs: Metadata about each geocoding config for a datasource. |
| Name | Type | Description |
| Foreign key/Primary key relation from datasource_id on this table to id on table, public.datasources |
| Foreign key/Primary key relation from last_estimation_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 |
| id | bigint | Primary key for the config. |
| luid | uuid | A unique immutable identifier for the config. |
| site_id | integer | A foreign key reference to the site to where the datasource exists. |
| datasource_id | integer | A foreign key reference to the datasource id. |
| config_name | text | The name of the address geocoding config. |
| target_address_column | text | The name for the address column for geocoding. |
| token_limit | integer | The maximum number of tokens that can be used to geocode. |
| last_estimation_job_id | integer | A foreign key reference to the last estimation job id. |
| last_estimation | integer | The last estimated number of entitlements needed to geocode this config |
| public.global_geocoding: Information about global geocoding databases. |
| Name | Type | Description |
| id | integer | Auto-generated id from postgres; also the primary key for the table. |
| sos_id | text | Storage ID of this database. |
| version | text | Version of the database. |
| size | bigint | Size of the geocoding database. |
| active | boolean | Whether the database is used by the server. |
| created_at | timestamp without time zone | Timestamp when this record was created. |
| updated_at | timestamp without time zone | Same as created_at. |
| storage_type | smallint | Type 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. |
| Name | Type | Description |
| 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 |
| id | integer | Primary key for this record. |
| group_id | integer | A foreign key reference to an entry in the groups table. |
| user_id | integer | A foreign key reference to an entry in the users table. |
| site_id | integer | Site ID of the group_users. |
| public.group_users_count: Each record represents a partial aggregation of a given users count for a group. |
| Name | Type | Description |
| Foreign key/Primary key relation from site_id on this table to id on table, public.sites |
| id | bigint | Primary key for the record. |
| group_id | integer | The ID of the group the user count aggregation belongs to. |
| site_id | integer | The ID of the site the group and its user count belong to. |
| user_count | integer | Records the number of users in the group. |
| public.groups: A grouping of users. Can be locally created or imported from Active Directory. |
| Name | Type | Description |
| 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 |
| id | integer | Primary key for this record. |
| name | character varying | The name that was given to the group. |
| created_at | timestamp without time zone | When this record was created. |
| updated_at | timestamp without time zone | When this record was last updated. |
| system | boolean | Indicates if this group was created by Tableau itself, or if it was created by user action. |
| owner_id | integer | A foreign key link to the user who owns this group. |
| domain_id | integer | A foreign key link to the domain that corresponds to this group. |
| site_id | integer | A foreign key link to the site to which this group belongs. |
| luid | uuid | An identifier that is unique in combination with the site_id. |
| minimum_site_role | character varying | The minimum site role given to members of the AD group |
| last_synchronized | timestamp without time zone | Last time that synchronization for an AD group was completed |
| minimum_site_role_id | integer | the id of the minimum site role of the group |
| grant_license_mode | character varying | When to grant a license to the users in the group. Can either by ON_SYNC or ON_LOGIN |
| external_user_enabled | boolean | enable add external users to groups |
| public.groupset_groups: Serves as a many to many linking mechanism between groups and groupsets. A group can belong to multiple groupsets, and a groupset can contain multiple groups. |
| Name | Type | Description |
| Foreign key/Primary key relation from group_id on this table to id on table, public.groups |
| Foreign key/Primary key relation from groupset_id on this table to id on table, public.groupsets |
| Foreign key/Primary key relation from site_id on this table to id on table, public.sites |
| id | bigint | Primary key for the record |
| groupset_id | integer | A foreign key reference to an entry in the groupsets table. |
| group_id | integer | A foreign key reference to an entry in the groups table. |
| site_id | integer | The id of the site that this record is associated with. |
| public.groupsets: Each record represents a groupset (set of groups) asset that exists on Tableau Server. |
| Name | Type | Description |
| Foreign key/Primary key relation from site_id on this table to id on table, public.sites |
| id | bigint | Primary key for the groupset record |
| name | character varying | The name of the group set |
| luid | uuid | A unique, immutable identifier |
| site_id | integer | The id of the site that this group set is associated with. |
| created_at | timestamp without time zone | The time the record was created. |
| public.guided_onboarding_actions: This table is to store guided onboarding actions state for a user on a site. |
| Name | Type | Description |
| 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 |
| id | bigint | Primary Key. Unique Identifier |
| user_id | integer | ID of the user. FK to id in public.users table. |
| site_id | integer | ID of the site. FK to id in public.sites table. |
| action_id | uuid | ID of the action. This is a UUID. Action represents the onboarding action for the user. |
| completed | boolean | Boolean field that represents if the user has successfully completed the action. |
| completed_at | timestamp without time zone | Timestamp representing when the user has completed the action. |
| public.hist_capabilities: Records the most useful information about a capability that was relevant at the time of the event (see capabilities table). |
| Name | Type | Description |
| id | integer | Primary key for the record. |
| capability_id | integer | A 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. |
| name | text | This (or the id) is how the capability is referred to by code. |
| allow | boolean | Whether 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. |
| Name | Type | Description |
| id | integer | Primary key for this record. |
| collection_luid | character varying | luid of the collection |
| name | character varying | The 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). |
| Name | Type | Description |
| id | integer | Primary key for this record. |
| column_id | integer | A 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. |
| name | character varying | The 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). |
| Name | Type | Description |
| id | integer | Primary key for this record. |
| comment_id | integer | A 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. |
| comment | text | Comment text. |
| public.hist_configs: Can be used to record information about configuration that was in effect at the time of the historical event. |
| Name | Type | Description |
| id | integer | Primary key for this record. |
| key | text | A unique name for the specific configuration. |
| value | text | The 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). |
| Name | Type | Description |
| id | integer | Primary key for this record. |
| data_connection_id | integer | A 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. |
| server | text | DNS server name to connect to. |
| name | text | Unique identifier for this data_connection. |
| dbname | text | The database name to which the particular connection is linked. |
| table_name | text | The 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). |
| Name | Type | Description |
| id | integer | Primary key for this record. |
| data_quality_indicator_id | bigint | A 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_type | character varying | Type of data quality indicator. |
| is_active | boolean | Represents state of data quality indicator as true or false. |
| is_severe | boolean | Indicates whether a data quality indicator is severe or not. True means severe, otherwise false. |
| message | text | Message of data quality indicator. |
| user_id | integer | Id of user who created/updated data quality indicator. |
| user_display_name | character varying | Display 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). |
| Name | Type | Description |
| id | integer | Primary key for this record. |
| data_role_id | integer | A 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. |
| name | character varying | The 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). |
| Name | Type | Description |
| id | integer | Primary key for this record. |
| database_id | integer | A 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. |
| name | character varying | The 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). |
| Name | Type | Description |
| id | integer | Primary key for this record. |
| datasource_id | integer | A 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. |
| name | text | The name of the published datasource. |
| repository_url | text | Uniquely 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. |
| size | bigint | The size in bytes of the datasource. |
| revision | text | Increments each time a new version of the datasource is published. |
| using_remote_query_agent | boolean | Whether this datasource is using remote query agent. |
| remote_query_agent_name | text | The remote query agent name used by the data source. |
| is_certified | boolean | Whether or not this datasource is certified. |
| certification_note | text | Explanation 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). |
| Name | Type | Description |
| id | integer | Primary key for this record. |
| flow_draft_id | integer | The ID of the flow draft. |
| flow_id | integer | The ID of the flow if the flow draft is associated with a flow, NULL otherwise. |
| name | character varying | The name of the flow draft. |
| size | bigint | The 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). |
| Name | Type | Description |
| id | integer | Primary key for this record. |
| flow_id | integer | A 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. |
| name | character varying | The name of the flow. |
| size | bigint | The number of bytes used in storing the flow information. |
| content_version | character varying | Version 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). |
| Name | Type | Description |
| id | integer | Primary key for this record. |
| group_id | integer | A 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. |
| name | text | The name that was given to the group. |
| domain_name | text | The 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). |
| Name | Type | Description |
| id | integer | Primary key for this record. |
| licensing_role_id | integer | A 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. |
| name | text | The 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). |
| Name | Type | Description |
| id | integer | Primary key for this record. |
| metric_id | integer | A 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. |
| name | character varying | The 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). |
| Name | Type | Description |
| id | integer | Primary key for this record. |
| project_id | integer | Deprecated. A 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. |
| name | text | The 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). |
| Name | Type | Description |
| id | integer | Primary key for this record. |
| published_connection_id | integer | A 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. |
| name | text | The 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. |
| Name | Type | Description |
| id | integer | Primary key for the record. |
| remote_agent_id | integer | A 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. |
| name | text | The 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). |
| Name | Type | Description |
| Foreign key/Primary key relation from schedule_id on this table to id on table, public.schedules |
| id | integer | Primary key for this record. |
| schedule_id | integer | A 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. |
| name | text | A schedule can be given a name, which is stored here. |
| schedule_type | integer | One of 0 (Hourly), 1 (Daily), 2 (Weekly), 3 (Monthly). |
| priority | integer | Priority can range from 1 to 100, with lower values corresponding to higher priority. |
| scheduled_action | integer | Used to classify schedules into one of two categories: 0 (Extract related) 1 (Subscription related) |
| is_serial | boolean | Set to true if the schedule must be run serially with other jobs in the same serial collection. |
| day_of_week_mask | integer | Indicates 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_mask | integer | Indicates 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_minute | integer | The 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_interval | integer | Once 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_minute | integer | The minute following the start of the designated time period implied schedule_type, at which the schedule should stop triggering. |
| end_schedule_at | timestamp without time zone | Used 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). |
| Name | Type | Description |
| id | integer | Primary key for this record. |
| site_id | integer | A 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. |
| name | text | The name of the site. |
| url_namespace | text | String 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). |
| Name | Type | Description |
| id | integer | Primary key for this record. |
| table_id | integer | A 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. |
| name | character varying | The 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). |
| Name | Type | Description |
| id | integer | Primary key for this record. |
| tag_id | integer | A 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. |
| name | text | The 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). |
| Name | Type | Description |
| id | integer | Primary key for this record. |
| task_id | integer | A 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. |
| type | text | Identifies 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. |
| priority | integer | An 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. |
| state | integer | State 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). |
| Name | Type | Description |
| Foreign key/Primary key relation from hist_licensing_role_id on this table to id on table, public.hist_licensing_roles |
| id | integer | Primary key for this record. |
| user_id | integer | A 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. |
| name | text | The username of the user. |
| domain_name | text | The name is either "local" or the name of some Active Directory group. |
| email | text | The email of the user. |
| system_user_id | integer | A 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_level | integer | Indicates if the user is a system administrator. 10 : system admin, 0 : not a system admin |
| hist_licensing_role_id | integer | A foreign key reference to the licensing_role_id column for a record in the hist_licensing_roles table. |
| site_admin_level | integer | Indicates if this user is a site admin. 5 : site admin, 0 : not site admin. |
| publisher_tristate | integer | Deprecated. Column will be removed in a future release. |
| site_role_id | integer | The 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). |
| Name | Type | Description |
| id | integer | Primary key for this record. |
| view_id | integer | A 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. |
| name | text | The name of the view. |
| repository_url | text | Uniquely 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. |
| revision | text | Starts 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). |
| Name | Type | Description |
| id | integer | Primary key for this record. |
| workbook_id | integer | A 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. |
| name | text | The name of the workbook. |
| repository_url | text | A unique name for the workbook, derived from the ASCII characters in the name, which can be used in URLs to refer to this workbook. |
| size | bigint | The number of bytes used in storing the workbook information. |
| revision | text | Starts 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. |
| Name | Type | Description |
| id | integer | Primary key for this record. |
| worker_id | character varying | Hostname of the worker the resource exists on. |
| resource_type | integer | Type of resource being monitored. 0 (Entire disk). |
| path | character varying | Disk path of the monitored resource. |
| total_space_bytes | bigint | Total disk size in bytes. |
| used_space_bytes | bigint | Disk space used by the resource in bytes. |
| state | integer | Free space state of the disk. One of 1 (Normal), 2 (Warning), 3 (Critical). |
| record_timestamp | timestamp without time zone | The time at which this record was created. |
| public.historical_event_types: The types of historical events which can be recorded. |
| Name | Type | Description |
| type_id | integer | Primary key for this record. |
| name | text | The name of the specific event that occurred. |
| action_type | text | Events 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. |
| Name | Type | Description |
| Foreign key/Primary key relation from historical_event_type_id on this table to type_id on table, public.historical_event_types |
| id | bigint | Primary key for this record. |
| historical_event_type_id | integer | A foreign key reference to an entry in the historical_event_types table. |
| worker | text | The name or IP address of the worker where the event occurred. |
| is_failure | boolean | Indicates if the event was an attempted action that failed. May not be implemented across all events. |
| details | text | Detail text about the event. |
| created_at | timestamp without time zone | Datetime that the event was recorded. |
| hist_actor_user_id | integer | A 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_id | integer | A 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_id | integer | A reference to the primary key id column for the record in the hist_sites table where the event was initiated. |
| hist_target_site_id | integer | A reference to the primary key id column for the record in the hist_sites table which was the target of the event. |
| hist_project_id | integer | A reference to the primary key id column for a record in the hist_projects table. |
| hist_workbook_id | integer | A reference to the primary key id column for a record in the hist_workbooks table. |
| hist_view_id | integer | A reference to the primary key id column for a record in the hist_views table. |
| hist_datasource_id | integer | A reference to the primary key id column for a record in the hist_datasources table. |
| hist_comment_id | integer | A reference to the primary key id column for a record in the hist_comments table. |
| hist_tag_id | integer | A reference to the primary key id column for a record in the hist_tags table. |
| hist_group_id | integer | A reference to the primary key id column for a record in the hist_groups table. |
| hist_licensing_role_id | integer | A reference to the primary key id column for a record in the hist_licensing_roles table. |
| hist_schedule_id | integer | A reference to the primary key id column for a record in the hist_schedules table. |
| hist_task_id | integer | A reference to the primary key id column for a record in the hist_tasks table. |
| hist_data_connection_id | integer | A reference to the primary key id column for a record in the hist_data_connections table. |
| hist_config_id | integer | A foreign key reference to the config_id column for a record in the hist_configs table. |
| hist_capability_id | integer | A reference to the primary key id column for a record in the hist_capabilities table. |
| hist_remote_agent_id | integer | A reference to the primary key id column for a record in the hist_remote_agents table. |
| hist_flow_id | integer | A reference to the primary key id column for a record in the hist_flows table. |
| hist_data_role_id | integer | A reference to the primary key id column for a record in the hist_data_roles table. |
| hist_database_id | integer | A reference to the primary key id column for a record in the hist_database_assets table. |
| hist_table_id | integer | A reference to the primary key id column for a record in the hist_table_assets table. |
| hist_column_id | integer | A reference to the primary key id column for a record in the hist_column_assets table. |
| hist_metric_id | integer | A reference to the primary key id column for a record in the hist_metrics table. |
| hist_published_connection_id | integer | A reference to the primary key id column for a record in the hist_published_connections table. |
| hist_collection_id | integer | A reference to the primary key id column for a record in the hist_collections table. |
| hist_flow_draft_id | integer | A reference to the primary key id column for a record in the hist_flow_drafts table. |
| hist_data_quality_indicator_id | integer | A 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. |
| Name | Type | Description |
| id | bigint | Primary key for this table. |
| controller | character varying | The part of the application that received the request. |
| action | character varying | The action requested. |
| http_referer | character varying | The referrer. |
| http_user_agent | character varying | The agent string supplied by the client. |
| http_request_uri | text | The requested URI. |
| remote_ip | character varying | The client's IP address (from the perspective of the server). |
| created_at | timestamp without time zone | When this record was created. |
| session_id | character varying | The session with which the request is associated. |
| completed_at | timestamp without time zone | When the request was completed. |
| port | integer | The port on which the request was received. |
| user_id | integer | The user associated with the request. |
| worker | character varying | Which worker machine received the request. |
| status | integer | The status returned to the client. |
| user_cookie | character varying | The user cookie provided in the request. |
| user_ip | character varying | The IP address of the originator of the request. |
| vizql_session | text | The vizql session associated with this request. |
| site_id | integer | The site associated with the request. |
| currentsheet | character varying | Which sheet was being viewed. |
| flags_used | bigint | Integer 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. |
| Name | Type | Description |
| Foreign key/Primary key relation from site_id on this table to id on table, public.sites |
| id | integer | Primary key for the data update job record. |
| job_id | integer | The background job id for the job. |
| object_id | integer | The ID of the parent workbook/datasource of the Hyper connection. |
| object_type | text | A string representing the type of object. |
| site_id | integer | The ID of the site associated with the job. |
| status | integer | The status of the operation. |
| sos_data_id | text | The identifier for the job data associated with the update. |
| job_data | json | Data needed to perform the update stored in a json format. |
| error_message | text | The error message associated with the job to be returned to the user. |
| created_at | timestamp without time zone | The time the record was created. |
| updated_at | timestamp without time zone | The time the record was last updated. |
| request_id | text | The 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. |
| Name | Type | Description |
| Foreign key/Primary key relation from site_id on this table to id on table, public.sites |
| id | integer | Auto-generated id from postgres; also the primary key for the table. |
| site_id | integer | Id of the site to which the database belongs. |
| name | text | Unique name of the database. |
| size | bigint | Size of the database in bytes. |
| created_at | timestamp without time zone | Timestamp when this record was created. |
| updated_at | timestamp without time zone | Same as created_at. |
| kind | smallint | Kind of the database. 0 means extract, 1 means geocoding. |
| encryption_key_id | character varying | If not null, id of the encryption key with which this database is encrypted. |
| public.hyper_databases_validation: Stores hyper databases which went through validation. |
| Name | Type | Description |
| 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 |
| id | integer | Id of the hyper database. |
| site_id | integer | Id of the site to which database belongs. |
| date | date | Date of the last validation. |
| hyper_version | character varying | Version of the hyper engine. |
| elapsed_time | integer | Time it took to validate in ms. |
| corrupted | boolean | If the file was determined to be corrupted during validation. |
| error_code | character varying | The error code returned by the validation statement. |
| public.id__ad_identity_stores: Identities for Active Directory identity stores. |
| Name | Type | Description |
| Foreign key/Primary key relation from instance_id on this table to id on table, public.id__identity_store_instances |
| Foreign key/Primary key relation from state_id on this table to id on table, public.id__identity_store_identity_states |
| identity_uuid | uuid | Uuid of identity. |
| instance_id | integer | Instance identifier for identity store. |
| security_id | character varying | SID of identity in Active Directory. |
| sam_account_name | character varying | sAMAccountName of identity in Active Directory. |
| fqdn | character varying | Fully qualified domain name of Active Directory domain. |
| upn | character varying | userPrincipalName of identity in Active Directory. |
| external_id | character varying | Optional external identifier for identity. |
| created_at | timestamp without time zone | Creation time of record. |
| updated_at | timestamp without time zone | Last updated time of record. |
| guid | uuid | GUID of identity in Active Directory. |
| state_id | smallint | Foreign key for state of identity |
| public.id__auth_type_instances: Instance of authentication type. |
| Name | Type | Description |
| id | bigint | Identifier of the auth type instance. |
| authentication_type | character varying | The authentication type. |
| auth_config_id | uuid | The identifier of the associated authentication configuration. |
| iframed_idp_enabled | boolean | Whether IdP is allowed inside of an iframe. |
| created_at | timestamp without time zone | Creation time of record. |
| updated_at | timestamp without time zone | Last updated time of record. |
| public.id__identity_pools: Instance of identity pool. |
| Name | Type | Description |
| Foreign key/Primary key relation from auth_type_instance_id on this table to id on table, public.id__auth_type_instances |
| Foreign key/Primary key relation from store_instance_id on this table to id on table, public.id__identity_store_instances |
| id | uuid | Identifier of the identity pool. |
| name | character varying | Name of the identity pool. |
| is_enabled | boolean | Whether the identity pool is enabled. |
| store_instance_id | integer | Identifier of the associated identity store instance. |
| auth_type_instance_id | integer | Identifier of the associated auth type instance. |
| created_at | timestamp without time zone | Creation time of record. |
| updated_at | timestamp without time zone | Last updated time of record. |
| description | character varying | Description of the identity pool. |
| public.id__identity_store_identity_states: States of identity. |
| Name | Type | Description |
| id | smallint | Primary key for identity store state. |
| name | character varying | Name of the state, ACTIVE/STALE |
| created_at | timestamp without time zone | Creation time of record. |
| updated_at | timestamp without time zone | Last updated time of record. |
| public.id__identity_store_instances: Instances of identity stores. |
| Name | Type | Description |
| Foreign key/Primary key relation from type_id on this table to id on table, public.id__identity_store_types |
| id | integer | Primary key for identity store instance. |
| type_id | smallint | Foreign key for type of identity store instance. |
| name | character varying | Machine consumable name for identity store instance. |
| display_name | character varying | Human consumable name for identity store instance. |
| created_at | timestamp without time zone | Creation time of record. |
| updated_at | timestamp without time zone | Last updated time of record. |
| public.id__identity_store_types: Types of identity stores. |
| Name | Type | Description |
| id | smallint | Primary key for identity store type. |
| name | character varying | Machine consumable name for identity store type. |
| display_name | character varying | Human consumable name for identity store type. |
| created_at | timestamp without time zone | Creation time of record. |
| updated_at | timestamp without time zone | Last updated time of record. |
| public.id__ldap_identity_stores: Identities for LDAP identity stores. |
| Name | Type | Description |
| Foreign key/Primary key relation from instance_id on this table to id on table, public.id__identity_store_instances |
| Foreign key/Primary key relation from state_id on this table to id on table, public.id__identity_store_identity_states |
| identity_uuid | uuid | Uuid of identity. |
| instance_id | integer | Instance identifier for identity store. |
| entry_uuid | uuid | EntryUUID of identity in LDAP. |
| distinguished_name | character varying | Normalized distinguished name of identity in LDAP. |
| external_id | character varying | Optional external identifier for identity. |
| created_at | timestamp without time zone | Creation time of record. |
| updated_at | timestamp without time zone | Last updated time of record. |
| username | character varying | Username for this identity. |
| state_id | smallint | Foreign key for state of identity |
| public.id__local_identity_stores: Identities for Local identity stores. |
| Name | Type | Description |
| Foreign key/Primary key relation from instance_id on this table to id on table, public.id__identity_store_instances |
| identity_uuid | uuid | Uuid of identity. |
| instance_id | integer | Instance identifier for identity store. |
| username | character varying | Username for identity. |
| protected_password | character varying | Protected password for identity. |
| protected_password_bad_format | boolean | Set to true if protected password format unrecognized. |
| failed_login_attempts | integer | Integer that represents the number of failed attempts since the last successful login. |
| last_failed_login | timestamp without time zone | Date that represents the last time the user had an unsuccessful login. |
| force_password_update | boolean | Boolean that represents if we want to force a password reset on the user the next time it tries to log in. |
| last_password_update | timestamp without time zone | Date that represents the last time the user updated the password to the current value. |
| external_id | character varying | Optional external identifier for identity. |
| created_at | timestamp without time zone | Creation time of record. |
| updated_at | timestamp without time zone | Last updated time of record. |
| public.id__oidc_auth_configurations: The OIDC configuration associated with identity pool. |
| Name | Type | Description |
| id | uuid | UUID of the configuration. |
| client_id | character varying | The app public identifier associated with the IdP. |
| client_secret | character varying | The app secret associated with the IdP. |
| config_url | character varying | The IdP configuration metadata url. |
| static_file_path | character varying | The IdP configuration metadata file path in file system. |
| connection_timeout | integer | The connection timeout in second for connecting to IdP. |
| read_timeout | integer | The timeout in second for waiting for data from IdP. |
| ignore_domain | boolean | Ignore domain of email address when signing a user in for the first time. |
| ignore_jwk | boolean | Ignore jwk validation for IdP that doesn't support discovery auth flow. |
| custom_scope | character varying | The custom scope can be a list. The default for example would look like this: openid, profile, email |
| id_claim | character varying | The claim for retrieving auth user id from OIDC token. |
| username_claim | character varying | The claim for retrieving username from OIDC token. |
| client_authentication | character varying | Supported token endpoint authentication methods: client_secret_basic, client_secret_post. |
| essential_acr_values | character varying | List of essential Authentication Context Reference Class values used for Authentication. |
| voluntary_acr_values | character varying | List of voluntary Authentication Context Reference Class values used for Authentication. |
| prompt | character varying | List of string values that specifies whether the authorization server prompts the user for re-authentication and consent. Allowed values are none, login, consent, select_account. The list can be empty with no values specified |
| created_at | timestamp without time zone | Creation time of record. |
| updated_at | timestamp without time zone | Last updated time of record. |
| enable_slo | boolean | Whether Single Logout (SLO) is enabled for this OIDC configuration. |
| 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. |
| Name | Type | Description |
| Foreign key/Primary key relation from site_id on this table to id on table, public.sites |
| id | bigint | Primary Key generated by PostgreSQL. |
| iba_user_id | character varying | Generated Id for user for IBA Reporting |
| site_id | integer | (foreign key) Holds the primary key of the sites table. Allows site filtering to work on Admin Views. |
| device_fingerprint | character varying | Uniquely identifies device. Built/generated from umn. |
| product_type | character varying | Product being used at the client level. |
| host_name | character varying | Computer host name. |
| product_version | character varying | application/product version being used at the client level. |
| registration_first_name | character varying | Registered user first name |
| registration_last_name | character varying | Registered user last name |
| registration_email | character varying | Registered user email address |
| registration_date | timestamp without time zone | Date active key was registered. |
| client_user_name | character varying | Login/User name from the client level. |
| atr_expiration_date | timestamp without time zone | Expiration date of active key. This date will remain NULL until first reporting event is sent. |
| hardware_serial_number | character varying | Uniquely identifies company's hardware asset. |
| registration_custom_field | character varying | custom field from registration |
| machine_os | character varying | os_architecture |
| virtual_machine | boolean | is the machine virtual |
| atr_chain_id | character varying | ATR Chain Id |
| domain_information | character varying | Computer Active Directory domain. |
| date_atr_issued | timestamp without time zone | The 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_failed | timestamp without time zone | date-time the last time an ATR request returned from from the ATR Service UNSUCCESSFULLY-(FAILED) for this user, device, product and site. |
| date_activated | timestamp without time zone | date-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_used | timestamp without time zone | date-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_updated | timestamp without time zone | This 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_name | character varying | Full user friendly name on the server level. |
| server_email | character varying | Email for user on the server level. |
| site_luid | character varying | Holds the site luid from the sites table. |
| user_role | character varying | DEPRECATED - 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. |
| Name | Type | Description |
| Foreign key/Primary key relation from site_id on this table to id on table, public.sites |
| site_id | integer | The site ID of the User represented in this row. |
| user_luid | character varying | Unique ID for user from users table. |
| system_user_id | integer | Foreign Key to System User table. |
| system_user_name | character varying | Name of the user across all sites. Populated from system_users table. |
| date_creator_role_assigned | timestamp without time zone | Datetime user was assigned from a non-creator role to a creator role -- triggered from the users table. |
| date_creator_role_unassigned | timestamp without time zone | Datetime user was unassigned from a creator role to a non-creator role -- triggered from the users table. |
| site_role_id | integer | Foreign key to site_roles table to allow access to site_roles display_name. |
| public.inherited_datasource_relationships: This table is to store inheritance relationships between two published datasources. |
| Name | Type | Description |
| Foreign key/Primary key relation from child_datasource_id on this table to id on table, public.datasources |
| Foreign key/Primary key relation from parent_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_id | integer | ID of the site. FK to id in public.sites table. |
| parent_datasource_id | integer | Datasource ID of the parent published datasource from which the child inherits. Same as the id in datasources table. |
| child_datasource_id | integer | Datasource ID of the published datasource that inherits from parent datasource. FK to id in datasources.id |
| created_at | timestamp without time zone | The time the relationship between the two published datasources was created. |
| updated_at | timestamp without time zone | The latest time the relationship between the two published datasources was updated. |
| id | bigint | Relationship ID and primary key. |
| public.integ_slack_users: Holds slack user specific information. |
| Name | Type | Description |
| id | integer | The primary key for this table. |
| user_id | text | User Id as represented by slack. This is unique |
| public.integ_slack_workspaces: Holds metadata for slack workspaces. |
| Name | Type | Description |
| id | integer | The primary key. |
| app_id | text | The id of the installed app (as defined by slack). |
| team_id | text | The id of the team/workspace (as defined by slack). |
| enterprise_id | text | The id of the enterprise (as defined by slack). Not all workspaces will have one. |
| app_version | text | The version of the installed app. |
| name | text | Slack workspace name |
| public.integ_tab_sites: Holds site-specific metadata for app integrations. |
| Name | Type | Description |
| id | integer | The primary key. |
| site_luid | uuid | The externally exposed (pseudo-globally) unique identifier for a Tableau site; Not a hard FK to ensure proper isolation from Tableau core product. |
| external_id | character varying | The globally unique identifier for a site. Specific to Integration design; this is not a universal Tableau concept |
| foyer_tenant_id | character varying | The id of the foyer tenant for this site. Specific to the Slack integration. |
| site_name | character varying | The site name of the Tableau site, cannot be null or blank string |
| content_url | character varying | Content url of the site, can be a blank string. Default site has empty site url namespace. |
| public.integ_tab_slack_site_contexts: Holds slack-workspace to tableau-site association metadata. |
| Name | Type | Description |
| Foreign key/Primary key relation from tableau_id on this table to id on table, public.integ_tab_sites |
| Foreign key/Primary key relation from slack_id on this table to id on table, public.integ_slack_workspaces |
| id | integer | The primary key. |
| site_luid | uuid | The luid of the site this connection belongs to. Required by PRLS. |
| slack_id | integer | The id of the slack side of the connection (workspace). |
| tableau_id | integer | The id of the tableau side of the connection (site). |
| context_id | character varying | The externally-exposed identifier of the connection. |
| created_at | timestamp with time zone | The creation time of the connection. |
| updated_at | timestamp with time zone | The updated time of the connection. |
| public.integ_tab_slack_user_context: Holds association of a slack user to tableau user. |
| Name | Type | Description |
| Foreign key/Primary key relation from slack_id on this table to id on table, public.integ_slack_users |
| Foreign key/Primary key relation from tableau_id on this table to id on table, public.integ_tab_users |
| Foreign key/Primary key relation from tab_slack_context_id on this table to context_id on table, public.integ_tab_slack_site_contexts |
| id | integer | The primary key. Internally used. |
| site_luid | uuid | The site luid that this connection belongs to. Required by PRLS. |
| context_id | character varying | The externally-exposed identifier of the user connection. |
| slack_id | integer | Id representing the slack user |
| tableau_id | integer | Id representing tableau user |
| tab_slack_context_id | character varying | Unique identifier which identifies the association attributes of tableau site and slack app |
| created_at | timestamp with time zone | The creation time of the user connection. |
| tableau_connection_state | character varying | Represents the current status of the OAuth Connection to Tableau. |
| tableau_connection_state_updated_at | timestamp with time zone | The time at which the Tableau Connection State was last updated. |
| external_connection_state | character varying | Represents the current status of the OAuth Connection to the External System i.e. Slack. |
| external_connection_state_updated_at | timestamp with time zone | The time at which the External Connection State was last updated. |
| public.integ_tab_users: Holds Tableau user specific information. |
| Name | Type | Description |
| id | integer | The primary key for this table. |
| site_luid | uuid | The site luid that this user belongs to. Required by PRLS. |
| user_luid | uuid | The user luid (as set on Tableau server). |
| user_locale_id | character varying | Locale preference for this user (as set on Tableau server). NULL corresponds to Unspecified which is the default value on Tableau server |
| user_language_id | character varying | Language preference for this user (as set on Tableau server). NULL corresponds to Unspecified which is the default value on Tableau server. |
| public.jwt_info: Records for the JWT token ids |
| Name | Type | Description |
| id | bigint | Primary key for the record. |
| jwt_id | character varying | JWT id (jti). |
| issuer | character varying | Issuer of the JWT |
| expires_at | timestamp without time zone | The time JWT expires. |
| public.label_categories: Custom categories that label values belong to |
| Name | Type | Description |
| Foreign key/Primary key relation from site_id on this table to id on table, public.sites |
| id | bigint | Auto-generated id from postgres; also the primary key for the table. |
| site_id | integer | The id of the site to which the label category belongs. |
| key | character varying | The key of the label category, which internal services use to identify it. |
| name | character varying | The name of the label category, which clients use to identify it. |
| description | text | A description of the label category. |
| created_at | timestamp without time zone | The time the label category was created. |
| updated_at | timestamp without time zone | The latest time the label category was updated. |
| public.label_values: Custom values that can be assigned to labels |
| Name | Type | Description |
| Foreign key/Primary key relation from site_id on this table to id on table, public.sites |
| id | integer | Auto-generated id from postgres; also the primary key for the table. |
| site_id | integer | The id of the site to which the label value belongs. |
| key | character varying | The key of the label value, which internal services use to identify it. |
| name | character varying | The name of the label value, which clients use to identify it. |
| category | character varying | The category to which the label value belongs. |
| description | text | A description of the label value. |
| created_at | timestamp without time zone | The time the label value was created. |
| updated_at | timestamp without time zone | The latest time the label value was updated. |
| is_elevated_default | boolean | Indicates pre-populated severity of label value |
| public.language_prefs: Contains a listing of information about languages for which Tableau Server has been localized. |
| Name | Type | Description |
| language_id | character varying | A unique ASCII string identifier for the language. |
| display_name | character varying | The name of the language (in the language, itself). |
| display_order | integer | Governs the order in which these languages will appear when listed in the user interface. |
| help_link | text | Used in constructing help links, so that help can be presented in the appropriate language. |
| locale_id | character varying | A 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. |
| Name | Type | Description |
| Foreign key/Primary key relation from site_id on this table to id on table, public.sites |
| id | integer | Primary key for the last seen notification entry. |
| user_id | integer | Identifier for the user. |
| last_seen_notification_time | timestamp without time zone | The latest created_at timestamp of the notifications that have already been seen by the user. |
| site_id | integer | Identifier for the site that the user belongs to. |
| public.lens_content_relationships: Represents the relationship between the lens and other content types. |
| Name | Type | Description |
| Foreign key/Primary key relation from lens_id on this table to id on table, public.lenses |
| id | bigint | Primary key for the record. |
| lens_id | integer | The id for identifying the lens entity. |
| content_type | text | Content types that are associated with the lens. |
| content_id | integer | content_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. |
| Name | Type | Description |
| 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 |
| id | bigint | Primary key for the record. |
| lens_id | integer | The luid for identifying the lens. |
| site_id | integer | The id of the site on which the lens is created |
| published_datasource_id | integer | The id of the published datasource on the site |
| public.lens_fields: Table to store fields associated with lenses |
| Name | Type | Description |
| 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 |
| id | bigint | Primary key for the record. |
| lens_id | integer | The id for identifying the lens. |
| site_id | integer | The id of the site on which the lens is created |
| published_datasource_id | integer | The id of the datasource to which the field belong |
| graph_id | text | The unique graph id of the field |
| status | text | Status indicator of the field. For example Displayed, Hidden etc |
| created_at | timestamp with time zone | Timestamp at which the record was created |
| updated_at | timestamp with time zone | Timestamp at which the record was updated |
| custom_label | text | user defined label for the field |
| custom_description | text | description of the lens field |
| nlp_popularity_factor | integer | nlp popularity factor is used to calculate a fields popularity score |
| public.lenses: Represents the table for storing lenses. |
| Name | Type | Description |
| 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 |
| id | bigint | Id is the primary key for the record. |
| luid | uuid | luid for uniquely identifying a record within a site. |
| site_id | integer | The site id this lens is created in. |
| owner_id | integer | The owner id identifies the current owner of the lens. |
| created_at | timestamp with time zone | Timestamp at which the record was created |
| updated_at | timestamp with time zone | Timestamp when the record was last updated at. |
| index_version_number | text | Index version number at which the lens is indexed to. |
| name | text | name of the lens |
| description | text | description of the lens |
| project_id | integer | Deprecated. Project to which the lens belongs. |
| repository_url | text | The repository url for lens. |
| error_code | text | error code for the lens. |
| outdated | boolean | outdated status of the lens. If outdated is true, lens needs to be reindexed |
| last_indexed_time | timestamp with time zone | time stamp when lens was last indexed. |
| is_default_lens | boolean | Indicates if the lens is default lens or not. |
| is_feedback_enabled | boolean | feedback to lens author setting |
| site_luid | text | site luid of the lens |
| public.licensing_roles: Lists the various possible licensing scenarios. (Unlicensed, Guest, Viewer, or Interactor). |
| Name | Type | Description |
| id | integer | Primary key for the record. |
| name | character varying | The name of the licensing role. |
| rank | integer | Used to provide an order of increasing rights. |
| licensing_roles_count | integer | Count of used licensing roles. |
| public.link_users: Mapping table between Link user ID to a system_user on a site. |
| Name | Type | Description |
| Foreign key/Primary key relation from site_id on this table to id on table, public.sites |
| id | bigint | Primary key for the record. |
| system_user_id | integer | Records the system user id of the site user. |
| site_id | integer | Records the ID of the site the system user belongs to. |
| link_user_id | text | Records the ID of the Link user on CDS. |
| tenant_id | text | Records the tenant is the link user belongs to. |
| user_management_version | integer | Version number used for optimistic locking and conflict resolution |
| public.linked_task_actions: Stores an action for a linked task step. |
| Name | Type | Description |
| 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 |
| id | integer | Primary key for this record. |
| luid | uuid | A unique, immutable identifier within a site. |
| site_id | integer | The id of the site that this record is associated with. |
| linked_task_step_id | integer | The id of the task step that this record is associated with. |
| action_type | character varying | The type of this action. |
| run_condition | character varying | Under what condition should this action run. |
| content_type | character varying | The type of content of this action. |
| created_at | timestamp without time zone | The time the record was created. |
| updated_at | timestamp without time zone | The time the record was updated. |
| public.linked_task_child_jobs: A job for a child step of a linked task. |
| Name | Type | Description |
| 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 |
| id | integer | Primary key for this record. |
| luid | uuid | A unique, immutable identifier within a site. |
| site_id | integer | The id of the site that this record is associated with. |
| created_at | timestamp without time zone | The time the record was created. |
| updated_at | timestamp without time zone | The time the record was updated. |
| linked_task_id | integer | The linked task this child job belongs to. |
| linked_task_job_id | integer | The parent linked task job this child job belongs to. |
| background_job_id | integer | The background job this linked task job is associated with. |
| linked_task_step_id | integer | The step of the linked task this child job is associated with. |
| completed_at | timestamp without time zone | The time the linked task child job completed. |
| finish_code | integer | Finish code of this linked task job. 0=Success, 1=Failure, 2=Cancelled |
| started_at | timestamp without time zone | The time the linked task child job started. |
| public.linked_task_jobs: A specific run of a a linked task. |
| Name | Type | Description |
| 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 |
| id | integer | Primary key for this record. |
| luid | uuid | A unique, immutable identifier within a site. |
| site_id | integer | The id of the site that this record is associated with. |
| created_at | timestamp without time zone | The time the record was created. |
| updated_at | timestamp without time zone | The time the record was updated. |
| completed_at | timestamp without time zone | The time the linked task job completed. |
| linked_task_id | integer | The linked task this job belongs to. |
| finish_code | integer | Finish code of this linked task job. 0 = Success, 1 = Failure |
| current_step_id | integer | The step number of the linked task this job is on. |
| user_id | integer | Id of the user who created this linked task job. |
| started_at | timestamp without time zone | The time the linked task job started. |
| public.linked_task_steps: Stores a step for a linked task. |
| Name | Type | Description |
| 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 |
| id | integer | Primary key for this record. |
| luid | uuid | A unique, immutable identifier within a site. |
| site_id | integer | The id of the site that this record is associated with. |
| created_at | timestamp without time zone | The time the record was created. |
| updated_at | timestamp without time zone | The time the record was updated. |
| linked_task_id | integer | Linked task this step belongs to. |
| task_id | integer | Task for this linked task step. |
| step_number | integer | Which number in this sequence this step is. |
| stop_downstream_on_failure | boolean | Whether failure of this step should stop downstream processing. |
| content_type | character varying | The content type for the linked task step |
| content_id | integer | The 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. |
| Name | Type | Description |
| 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 |
| id | integer | Primary key for this record. |
| luid | uuid | A unique, immutable identifier within a site. |
| site_id | integer | The id of the site that this record is associated with. |
| created_at | timestamp without time zone | The time the record was created. |
| updated_at | timestamp without time zone | The time the record was updated. |
| task_id | integer | The task this trigger is associated with. |
| linked_task_id | integer | The 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. |
| Name | Type | Description |
| 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 |
| id | integer | Primary key for this record. |
| luid | uuid | A unique, immutable identifier within a site. |
| site_id | integer | The id of the site that this record is associated with. |
| created_at | timestamp without time zone | The time the record was created. |
| updated_at | timestamp without time zone | The time the record was updated. |
| creator_id | integer | User 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. |
| Name | Type | Description |
| id | integer | Primary key for the record. |
| language_id | character varying | Abbreviation for a particular language. |
| obj_name | character varying | A 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_type | character varying | The type of the object. For example, "Project" or "Site". |
| name | character varying | How 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. |
| Name | Type | Description |
| Foreign key/Primary key relation from site_id on this table to id on table, public.sites |
| id | integer | Primary key for the record. |
| workbook_id | integer | ID 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_revision | text | Revision of the workbook whose id is the workbook_id column. |
| materialized_query_directory_sos_id | text | id of the directory in sos that contains the queries that are materialized. |
| site_id | integer | Site ID of the materialize_views_job_sos_directory. |
| background_job_luid | uuid | The luid of the background job that created the sos directory to store its materialized-views related files. |
| saved_at | timestamp without time zone | The timestamp when the sos id is inserted to the table. |
| public.materialized_queries: This table stores the information for materialized queries. |
| Name | Type | Description |
| 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 |
| id | integer | Auto-generated id from postgres; also the primary key for the table. |
| materialized_view_indexing_key | text | Indexing key of materialized views. |
| logical_query_xml | text | Logical query in XML format of the materialized query. |
| metadata_xml | text | Metadata in XML format of the materialized query. |
| serialized_source_connection_attributes | text | Serialized connection attributes of the materialized query datasource. |
| serialized_mv_connection_attributes | text | Serialized connection attributes of the materialized view. |
| materialized_view_table_name | text | Name of the table storing materialized view of the query. |
| source_relation_xml | text | Datasource relation XML of the materialized query. |
| query_execution_timestamp | timestamp without time zone | The timestamp right before the query is executed. |
| materialization_job_created_at | timestamp without time zone | The timestamp when the materialization job is created. |
| materialized_view_expiration_time | timestamp without time zone | The timestamp at which the view is considered obsolete and becomes a candidate for removal by background job ReapExpiredMaterializedViews. |
| encryption_key_id | text | Encryption key id of the materialized view when the materialized view is encrypted, null otherwise. |
| site_id | integer | ID of the site. This id is same as the id (primary key) of the public.sites table. |
| materialized_view_sos_id | text | ID of the directory in sos that contains the materialized view. |
| hyper_database_id | integer | A foreign key to hyper_databases.id |
| workbook_id | integer | the workbook_id for which this materialized query is for |
| datasource_hash | text | the hash of datasource connection attributes against which this materialized query runs |
| 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. |
| Name | Type | Description |
| 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 |
| id | integer | Auto-generated id from postgres; also the primary key for the table. |
| view_id | integer | ID of the worksheet. This id is same as the id (primary key) of the public.views table. |
| materialized_query_id | integer | ID of the materialized query. This id is the same as the id (primary key) of the public.materialized_queries table. |
| site_id | integer | ID 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. |
| Name | Type | Description |
| 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 |
| id | integer | Auto-generated id from postgres; also the primary key for the table. |
| workbook_id | integer | ID 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_revision | text | Revision of the workbook whose id is the workbook_id column. |
| materialized_query_file_name | text | Name of the file that stores the materialized query in sos. |
| table_name | text | Name of the table storing the materialized view of the query. |
| materialized_query_directory_sos_id | text | id of the directory in sos that contains the queries that are materialized. |
| materialized_view_connection_id | integer | ID (foreign key from materialized view connection table) of the connection that stores the materialized view |
| materialized_view_expiration_time | timestamp without time zone | Timestamp at which the view is considered obsolete and becomes a candidate for removal by MaterializedViewService.garbageCollector. |
| elapsed_query_seconds | real | Total elapsed time (in seconds) for the query. |
| materialized_query_result_size_lower_bound_bytes | bigint | materialized query result size without indrect referenced values(such as string). |
| materialized_query_result_size_upper_bound_bytes | bigint | materialized query result size with indrect referened values (such as string). |
| materialization_job_created_at | timestamp without time zone | Stores the timestamp at which the materialization job was created |
| query_view_bitmap | bytea | Bitmap to store a mapping of all the views that use the query |
| query_hash | numeric | unsigned 64 bit hash of the materialized logical query. |
| query_hash_string | character varying | string representation of hash of the materialized logical query. |
| query_execution_timestamp | timestamp without time zone | Timestamp when query is executed in a materialization job. |
| site_id | integer | Site ID of the materialized_views. |
| public.materialized_views_bloom_filters: This table stores the bloom filters indicating materialized sites/workbooks. |
| Name | Type | Description |
| bloom_filter_type | smallint | Type of this bloom filter |
| update_timestamp | timestamp without time zone | Timestamp when the bloomfilter is updated. |
| serialized_bloom_filter | bytea | Serialized bloom filters. |
| stale | boolean | Flag 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. |
| Name | Type | Description |
| Foreign key/Primary key relation from site_id on this table to id on table, public.sites |
| id | integer | Primary key for the table. |
| materialized_views_directory_sos_id | text | Id of the sos directory in which the materialized views are contained. |
| datasource_name | text | Name of the data source against which we run the query to generate the materialized view. |
| serialized_source_connection_attributes | text | Serialized connection attributes for the source datasource connection from which the materialized views are created. |
| serialized_materialized_view_connection_attributes | text | Serialized connection attributes to connect to the datasource storing the materialized views. |
| logical_query_cache_key_xml | text | XML 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_id | character varying | If not null, the ID of materialized views encryption key (KEK). |
| site_id | integer | If 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. |
| Name | Type | Description |
| 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 |
| id | integer | Auto-generated id from postgres; also the primary key for the table. |
| site_id | integer | ID of the site. This id is same as the id (primary key) of the public.sites table. |
| view_id | integer | ID of the view. This id is same as the id (primary key) of the public.views table. |
| completed_at_day | timestamp without time zone | A timestamp truncated at the day. |
| job_count | integer | the number of materialized views jobs during the day. |
| job_total_run_time_sec | double precision | the total run time of materialized views jobs during the day. |
| job_failure_count | integer | the total job failure count for the view on a given day |
| public.materialized_views_metadata: This table stores the metadata for the materialized view service. |
| Name | Type | Description |
| key | character varying | The key name of the metadata |
| value | character varying | The 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. |
| Name | Type | Description |
| 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_id | integer | ID of the site. This id is same as the id (primary key) of the public.sites table. |
| object_id | integer | ID of the object (workbook or flow). |
| state | smallint | A small int representing the current state of the materialized views for the site (and workbook if it is not null). |
| change_timestamp | timestamp without time zone | Timestamp of the last change made to the record. |
| id | integer | auto generated integer primary key. |
| sheet_stats | character varying | the stats of materialized views for worksheets. |
| public.materialized_views_query_store: for storing logical queries and their stats from the traffic |
| Name | Type | Description |
| Foreign key/Primary key relation from site_id on this table to id on table, public.sites |
| id | integer | auto-generated id |
| workbook_luid | text | the workbook luid for the query, it is not a foreign key to workbooks.luid |
| logical_query_xml | text | serialized logical query tree |
| metadata | text | serialized metadata |
| connection_info | text | serialized connection info |
| count | integer | how many times the query was excuted |
| cache_hit_count | integer | how many times the query hit on cache |
| bootstrap_query_count | integer | how many times the query was used in bootstraps |
| sum_prebuffered_bytes | integer | cumulative prebuffered bytes of query results |
| sum_elapsed_in_sec | double precision | cumulative elapsed time in seconds of query execution |
| sheet_luids | text | sheet luids for which this query has been executed |
| saved_at | timestamp without time zone | the time when this record is saved to the table |
| site_id | integer | the site id for which the query is executed |
| hash_index | text | the hash string that makes sure a unique query is saved once an hour |
| user_luids | text | user luids in CSV if query is user specific |
| public.materialized_views_sheet_performance: This table stores daily aggregated materialized views job stats. |
| Name | Type | Description |
| Foreign key/Primary key relation from site_id on this table to id on table, public.sites |
| id | integer | Auto-generated id from postgres; also the primary key for the table. |
| site_id | integer | ID of the site. This id is same as the id (primary key) of the public.sites table. |
| workbook_id | integer | ID of the site. This id is same as the id (primary key) of the public.workbooks table. |
| view_id | integer | ID of the view. This id is same as the id (primary key) of the public.views table. |
| day_timestamp | timestamp without time zone | A timestamp truncated at the day. |
| total_load_time_in_seconds | double precision | the total bootstrap time for the view on a given day |
| load_count | integer | the number of visits to the view. |
| materialized_status | smallint | an integer showing if the view is loaded with or without materialized views |
| total_query_batch_time_in_seconds | double precision | the total query batch time for the view on a given day |
| query_batch_count | integer | the number of query batch events for a view on a given day |
| max_load_time_in_seconds | double precision | the max load time for a view on a given day |
| max_query_batch_time_in_seconds | double precision | the max query batch time for a view on a given day |
| public.materialized_views_sheet_performance_monthly: This table stores daily aggregated materialized views job stats. |
| Name | Type | Description |
| Foreign key/Primary key relation from site_id on this table to id on table, public.sites |
| id | integer | Auto-generated id from postgres; also the primary key for the table. |
| site_id | integer | ID of the site. This id is same as the id (primary key) of the public.sites table. |
| workbook_id | integer | ID of the site. This id is same as the id (primary key) of the public.workbooks table. |
| view_id | integer | ID of the view. This id is same as the id (primary key) of the public.views table. |
| month_timestamp | timestamp without time zone | A timestamp truncated at the month. |
| materialized_status | smallint | an integer showing if the view is loaded with or without materialized views |
| p90_max_load_time_in_seconds | double precision | the percentile 90 of max daily bootstrap time for the view on a given month |
| max_load_time_in_seconds | double precision | the average of max daily bootstrap time for the view on a given month |
| total_load_time_in_seconds | double precision | the total bootstrap time for the view on a given month |
| load_count | integer | the number of visits to the view. |
| p90_max_query_batch_time_in_seconds | double precision | the percentile 90 of max daily query batch time for the view on a given month |
| max_query_batch_time_in_seconds | double precision | the average of max daily query batch time for the view on a given month |
| total_query_batch_time_in_seconds | double precision | the total query batch time for the view on a given month |
| query_batch_count | integer | the number of query batch events for a view on a given month |
| public.materialized_views_sheet_status: This table stores the materialized views state configuration for worksheets for which the feature is enabled. |
| Name | Type | Description |
| 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 |
| id | integer | Auto-generated id from postgres; also the primary key for the table. |
| site_id | integer | ID of the site. This id is same as the id (primary key) of the public.sites table. |
| workbook_id | integer | ID of the workbook. This id is same as the id (primary key) of the public.workbooks table. |
| view_id | integer | ID of the worksheet. This id is same as the id (primary key) of the public.views table. |
| state | smallint | A small int representing the current state of the materialized views for the worksheet. |
| change_timestamp | timestamp without time zone | Timestamp of the last change made to the record. |
| sheet_stats | text | the stats of materialized views for the worksheet. |
| estimated_disk_usage_bytes | bigint | An estimate of materialized views size for this sheet when the state of the sheet is Materialized. |
| state_change_reason | character varying | the reason for changing to current state |
| last_enabled_timestamp | timestamp without time zone | the last enabled timestamp of the view |
| is_auto_accelerated | boolean | identifies if a view has been auto accelerated |
| public.materialized_views_site_metadata: This table is to store materialized views site metadata information. |
| Name | Type | Description |
| Foreign key/Primary key relation from site_id on this table to id on table, public.sites |
| id | integer | Auto-generated id from postgres; also the primary key for the table. |
| site_id | integer | ID of the site. This id is same as the id (primary key) of the public.sites table. |
| last_ranked_time | timestamp without time zone | Timestamp at which the site was ranked. |
| changed_at | timestamp without time zone | Timestamp at which the row was updated. |
| auto_accelerated_at | timestamp without time zone | time at which a site has been auto accelerated |
| public.materialized_views_site_resource_limit: This table stores the resource limit for acceleration for each site. |
| Name | Type | Description |
| Foreign key/Primary key relation from site_id on this table to id on table, public.sites |
| id | integer | Auto-generated id from postgres; also the primary key for the table. |
| site_id | integer | ID of the site. This id is same as the id (primary key) of the public.sites table. |
| views_limit | integer | This is the max number of views allowed for acceleration for a site. |
| updated_at | timestamp without time zone | Timestamp of the last change made to the record. |
| auto_suspend_failures_limit | integer | the total job failure count limit for the view |
| auto_suspend_failures_limit_time_period | character varying | the span over which the failures limit of a view has to be considered for auto suspension |
| auto_suspend_acceleration_improvement_threshold | double precision | the acceleration improvement threshold for the view |
| auto_suspend_views_limit | integer | the total views limit for the view |
| auto_suspend_views_limit_time_period | character varying | the total views limit time period whic has to be considered for auto suspension |
| public.mentions: Mentions for comments. |
| Name | Type | Description |
| 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 |
| id | integer | Primary key for the record. |
| comment_id | integer | A foreign key reference to the comment that the mention is attached to. |
| target_type | character varying | The type of the mention target. |
| target_id | integer | The id of the target. |
| site_id | integer | The ID of the site the mentions belong to. |
| mention_id | integer | The 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. |
| Name | Type | Description |
| 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 |
| id | integer | Primary key for the record. |
| metric_id | integer | A foreign key reference to the metric. |
| day_index | integer | Records 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_index | integer | Records what month of the year the analytics are aggregated over. When 0, the aggregation is for the year as designated by year_index. |
| year_index | integer | Records what year the analytics are aggregated over |
| view_count | integer | Records the number of times a metric was viewed in the given time interval. |
| site_id | integer | The ID of the site the metric metrics aggregation belong to. |
| public.metrics: Each record represents a Metric. |
| Name | Type | Description |
| 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 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 |
| id | integer | Primary key. |
| name | character varying | A descriptive name. |
| luid | uuid | A unique, immutable identifier within a site. |
| owner_id | integer | The last publisher. |
| project_id | integer | Deprecated. The associated project. |
| site_id | integer | The associated site. |
| created_at | timestamp without time zone | The time the record was created, in UTC. |
| description | text | A user-supplied description. |
| embedded | text | The encrypted keychain with credentials. |
| asset_key_id | integer | The asset encryption key used to encrypt the keychain in the embedded column. |
| updated_at | timestamp without time zone | The time the record was updated. |
| datasource_id | integer | The datasource from which the metric queries its data. |
| dataalert_id | integer | The data alert from which the metric queries its data. |
| workbook_id | integer | The workbook from which the metric queries its data. |
| view_id | integer | The view within the workbook specified by workbook_id. |
| last_scheduled_at | timestamp without time zone | The last time a refresh for this Metric was scheduled |
| last_refreshed_at | timestamp without time zone | The last time a Metric's data was refreshed successfully |
| incomplete_refresh_attempts | integer | The amount of incomplete attempts to refresh this Metric |
| customized_view_id | integer | The ID of the customized view the metric was created on. |
| suspend_state | integer | 0: metric is not suspended, 1: metric was auto-suspended, 2: metric was manually suspended. |
| connected_view_path | character varying | The connected view path for the metric |
| connected_view_name | character varying | The connected view name for the metric |
| public.metrics_definition: Each record represents a metrics definition. |
| Name | Type | Description |
| id | uuid | Primary key for the record. |
| metric_luid | uuid | Metric unique identifier |
| site_luid | uuid | An identifier which is unique to the site |
| created_at | timestamp without time zone | Timestamp when this metric definition is created |
| metric_definition | bytea | Definition of the metric |
| public.metrics_snapshot: Each record represents a metrics snapshot. |
| Name | Type | Description |
| Foreign key/Primary key relation from metric_view_id on this table to id on table, public.metrics_view |
| id | uuid | Primary key for the record. |
| metric_view_id | uuid | An identifier for metric view |
| client_timestamp | timestamp without time zone | Timestamp when this metric snapshot is created on client |
| server_timestamp | timestamp without time zone | Timestamp when this metric snapshot is created on server |
| site_luid | uuid | An identifier which is unique to the site |
| public.metrics_snapshot_delta: Each record represents a metrics snapshot delta. |
| Name | Type | Description |
| Foreign key/Primary key relation from metric_view_id on this table to id on table, public.metrics_view |
| id | uuid | Primary key for the record. |
| metric_view_id | uuid | An identifier for metric snapshot |
| delta_timestamp | timestamp without time zone | Timestamp when this metric snapshot delta is created |
| process_key | character varying | Process Key for this metric snapshot delta |
| data | bytea | Data for metric snapshot delta |
| site_luid | uuid | An identifier which is unique to the site |
| public.metrics_view: Each record represents a metrics view. |
| Name | Type | Description |
| id | uuid | Primary key for the record. |
| metric_luid | uuid | An identifier which is unique to the metric definition |
| site_luid | uuid | An identifier which is unique to the site |
| name | character varying | Name of the metric view |
| created_at | timestamp without time zone | Timestamp when this metric view is created |
| columns | bytea | Metrics columns blob |
| public.mobile_security_server_settings: A key-value store for mobile secuirty server settings. |
| Name | Type | Description |
| id | integer | Primary key. |
| key | text | String key for the setting. |
| value | text | String 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. |
| Name | Type | Description |
| Foreign key/Primary key relation from site_id on this table to id on table, public.sites |
| id | integer | Primary key. |
| site_id | integer | Site id that setting applies to. |
| key | text | String key for the setting. |
| value | text | String value for the setting. Can be parsed into other formats by clients. |
| public.most_recent_refreshes: most recent refresh data for alerts |
| Name | Type | Description |
| Foreign key/Primary key relation from site_id on this table to id on table, public.sites |
| id | integer | Primary key for the record. |
| historical_event_type_id | integer | historical event type of the refresh |
| worker | text | worker executing refresh |
| duration_in_ms | integer | duration of refresh |
| details | text | details of refresh |
| task_id | integer | task id |
| site_id | integer | site id |
| data_connection_id | integer | data connection id |
| is_failure | boolean | whether or not refresh failed |
| created_at | timestamp without time zone | when refresh occurred |
| workbook_id | integer | workbook being refreshed |
| datasource_id | integer | datasource being refreshed |
| has_retry_job | boolean | Indicator 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 |
| Name | Type | Description |
| 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_id | integer | subscription id |
| details | text | details of subscription run in plain text |
| completed_at | timestamp without time zone | The time at which the subscription job was last completed and this record was last updated or created |
| site_id | integer | The 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. |
| Name | Type | Description |
| 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 |
| id | integer | Primary key for the record. |
| mru_list_id | integer | A foreign key reference to the mru_list record to which this item belongs. |
| useable_id | integer | A 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_type | character varying | One of "User" "View" "Project" "Workbook" or "Tag". Indicates the type of item that this is. |
| position | integer | When the items are shown in order, this field defines that order. |
| used_at | timestamp without time zone | The last time at which the item referred to by this entry was accessed. |
| usedobj_name | text | The name of the item referred to by this entry. |
| usedobj_url | text | A URL-like identifier for the item referred to by this entry. |
| site_id | integer | The 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. |
| Name | Type | Description |
| 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 |
| id | integer | Primary key for the record. |
| user_id | integer | A foreign key reference to the user who is associated with this list. |
| list_type | character varying | One of "users" "views" "projects" "workbooks" or "tags". |
| site_id | integer | The 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. |
| Name | Type | Description |
| 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 |
| id | integer | Primary key for the record. |
| authorizable_type | character varying | Describes the type of thing for which permissions are being specified. Must be one of "Project" "Workbook" "Datasource" "View" or "NamedResource". |
| authorizable_id | integer | The 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_id | integer | Refers to either the id of the "users" table or the id of the "groups" table or the id of the "groupsets" table depending on the value of grantee_type. |
| grantee_type | character varying | Permissions can be assigned to either users, groups, or groupset. Entry must be one of "User", "Group", or "GroupAND". |
| capability_id | integer | Indicates 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. |
| permission | integer | An 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_id | integer | The ID of the site the permissions belong to. |
| public.nlp_suggested_questions: Suggested questions |
| Name | Type | Description |
| 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 |
| id | integer | The unique identifier for this row that is automatically generated on insert |
| expression | text | Serialized and versioned expression |
| parent_group_luid | text | LUID of the question's parent group |
| sort_order | integer | The position at which the question should be displayed within its parent group |
| luid | text | The unique identifier for this row to be referenced by application code |
| site_id | integer | Site ID of datasource the question belongs to |
| published_datasource_id | integer | Datasource ID of datasource the question belongs to |
| interpretation_nlg | text | Human readable text of the suggested question |
| created_at | timestamp with time zone | The timestamp for when this row entry was created |
| updated_at | timestamp with time zone | The timestamp for when this row entry was updated |
| colloquial_alias | text | User-defined colloquial alias of a suggested question |
| parent_group_id | integer | ID of the parent suggestion group a question belongs to |
| lens_id | integer | id of the lens for which the suggestion is applicable |
| public.nlp_suggestion_groups: Suggested question groups |
| Name | Type | Description |
| 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 |
| id | integer | The unique identifier for this row that is automatically generated on insert |
| group_name | text | Name of the group of suggested questions |
| description | text | Description of the group of suggested questions |
| sort_order | integer | The position at which the group should be displayed relative to other groups |
| luid | text | The unique identifier for this row to be referenced by application code |
| site_id | integer | Site ID of datasource the suggestion group belongs to |
| published_datasource_id | integer | Datasource ID of datasource the suggestion group belongs to |
| created_at | timestamp with time zone | The timestamp for when this row entry was created |
| updated_at | timestamp with time zone | The timestamp for when this row entry was updated |
| lens_id | integer | id of the lens for which the suggestion group is applicable |
| public.oauth_authorization_codes: OAuth authorization codes |
| Name | Type | Description |
| id | bigint | Id of this oauth authorizations code row |
| uuid | uuid | UUID of an oauth authorization code |
| expires_at | timestamp with time zone | Expiration of the authorization code |
| public.oauth_clients: A map that register oauth CI/CS/redierctUri per site per dbclass. |
| Name | Type | Description |
| Foreign key/Primary key relation from site_id on this table to id on table, public.sites |
| id | integer | Primary key for the record. |
| site_id | integer | Site where the oauth client applies to |
| db_class | character varying | The database class name this oauth client is used for. |
| instance_url | character varying | The instanceUrl for this oauth client, only used for oauth class supports multiple domain such as Snowflake. Can be null. |
| client_id | character varying | The clientId for this oauth client. |
| client_secret | text | The clientSecret for this oauth client. |
| asset_key_id | integer | The asset_key_id which cleintSecret is encrypted with. |
| redirect_uri | character varying | The redirectUri for this oauth client. |
| created_at | timestamp without time zone | The time when this oauthClient was created. |
| updated_at | timestamp without time zone | The time when this oauthClient was updated at. |
| oauth_config_id | character varying | The oauth config id for this registered oauth client, can be null |
| site_luid | uuid | The site luid of this registered oauth client |
| oauth_config_content | text | The oauth config content(XML) for this registered oauth client, can be null |
| oauth_config_file_name | text | The file name of the provided oauth config content |
| config_label | text | The label that will be displayed in place of the oauth config ID, can be null |
| public.oauth_request_tokens: Table of tokens used for OAuth authorization requests. |
| Name | Type | Description |
| id | integer | Primary key for the record. |
| entry_db_class | character varying | The connection class of the connection to which the token will belong. |
| entry_db_subclass | character varying | The connection subclass of the connection to which the token will belong |
| request_token | text | The request token which can be exchanged for an access token along with the request token secret. |
| request_token_secret_encrypted | text | The encrypted request token secret which can be exchanged for an access token along with the request token |
| is_used | boolean | Whether or not the request token/request token secret were exchanged for an access token or not. |
| created_at | timestamp without time zone | The time the record was created. |
| updated_at | timestamp without time zone | The time the record was last updated. |
| asset_key_id | integer | ID of key used to encrypt the token secret. |
| public.oauth_service_code_verifiers: Short lived storage for the code verifier used in PKCE requests. |
| Name | Type | Description |
| Foreign key/Primary key relation from site_id on this table to id on table, public.sites |
| id | bigint | Primary key for the record. |
| luid | uuid | A unique, immutable identifier for the code verifier. |
| site_id | integer | Site where the code_verifier was created at |
| user_id | integer | User on the site requesting to authenticate with the code verifier. |
| db_class | character varying | The database class name this code_verifier is used for. |
| code_verifier | character varying | The authorization code verifier. |
| created_at | timestamp without time zone | The time when this code_verifier was created. |
| expires_at | timestamp without time zone | The time when this code_verifier expires, defalt per spec 1 min. |
| updated_at | timestamp without time zone | The time when this code_verifier was updated at. |
| public.oauth_states: The OAuth request state, will be verified later to prevent CSRF attack. |
| Name | Type | Description |
| Foreign key/Primary key relation from site_id on this table to id on table, public.sites |
| id | integer | Auto-generated id from postgres; also the primary key for the table. |
| session_id | character varying | Id of the workgroup session. This id is same as the session_id (primary key) of the public.sessions table. |
| site_id | integer | Site where the OAuth state was created at. |
| state | text | OAuth state associated with the workgroup session and site |
| created_at | timestamp without time zone | The time the OAuth state was created. |
| updated_at | timestamp without time zone | The latest time the OAuth state was updated. |
| public.packages: Uploaded .tpkg packages; archive bytes live in SOS, metadata + manifest live here. |
| Name | Type | Description |
| Foreign key/Primary key relation from last_updated_by 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 |
| id | bigint | Primary key |
| luid | uuid | Stable external identifier for site-scoped packages. Null for workbook-embedded rows, which are addressed by (workbook_luid, manifest_id). |
| site_id | integer | Foreign key to public.sites.id |
| manifest_id | character varying | Reverse-domain id from package-manifest.json (e.g. com.customer.ai-suite); unique per site. Named manifest_id (rather than package_id) to avoid colliding with the standard "_id" foreign-key convention.
| version | character varying | Manifest-declared version string |
| name | character varying | Display name from the manifest |
| description | text | Optional human-readable description; null until exposed in the manifest / edit UI |
| author | character varying | Author name from the manifest |
| manifest_json | bytea | Extracted package-manifest.json contents kept in-row for fast list/render paths |
| archive_sos_data_id | character varying | SOS dataId for the .tpkg archive of a site-scoped package. Null for workbook-embedded rows, which live inside the workbook's .twbx. |
| content_folder_sos_id | character varying | SOS folder dataId for the package's extracted web/ tree; null when the package has no web content |
| content_version | integer | Monotonic cache-busting counter for the site-scoped content URL. Not used for workbook-embedded rows; the workbook's own version is the cache-busting axis. |
| enabled | boolean | Admin kill-switch. TRUE = extensions run; FALSE = extensions do not run for any user. Admin-controlled. Does NOT hide the package from catalog listings. |
| default_activation | boolean | When true, users with no row in user_package_preferences are treated as opted-in for runtime activation. Admin-controlled. |
| last_updated_by | integer | User who most recently uploaded a new version or edited metadata; null if that user has been deleted. |
| created_at | timestamp without time zone | When this package was first uploaded |
| last_updated_at | timestamp without time zone | When this row was last modified |
| workbook_id | integer | Non-null for a package embedded inside a workbook's .twbx (Packages//); null for a site-scoped package. |
| public.password_tokens: Tokens issued to client through link in email which can be redeemed to change their password |
| Name | Type | Description |
| Foreign key/Primary key relation from system_user_id on this table to id on table, public.system_users |
| id | integer | Primary key identifier for row |
| guid | uuid | Unique identifier for token |
| salt | character varying | The salt is used to hash the password |
| hashed_secret | character varying | Secret portion of token thats been hashed |
| expires_at | timestamp without time zone | When the token becomes expired |
| system_user_id | integer | Reference to system user that requested the token |
| public.pdf_subscription_options: Used to store different PDF layout options. |
| Name | Type | Description |
| 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 |
| id | integer | Primary key for this record. |
| pdf_page_size_option | character varying | Type of page size such as A4, letter etc |
| pdf_page_orientation | character varying | Orientation in which page should be rendered. |
| subscription_id | integer | ID of the subscription with these attachments options. |
| site_id | integer | The 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. |
| Name | Type | Description |
| Foreign key/Primary key relation from pending_search_update_id on this table to id on table, public.pending_search_updates |
| id | integer | Primary key for the pending search update item. |
| pending_search_update_id | integer | Primary key id for pending search update associated with the item. |
| item_id | integer | Primary 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. |
| Name | Type | Description |
| precedence | integer | The integer precedence of an effective permission rule. Higher value means higher precedence. Used in the perm_users_*_capabilities functions. |
| reason | character varying | The external identifier for an effective permission rule. Returned by the perm_users_*_capabilities functions. |
| public.permission_roles: Defines roles that can be assigned to users for permission management. |
| Name | Type | Description |
| id | bigint | Primary key for the role record. |
| name | character varying | The name of the role. |
| description | character varying | Description of the role. |
| luid | uuid | Unique identifier for the role across the system. |
| created_by | uuid | LUID of the user who created this role. |
| updated_by | uuid | LUID of the user who last updated this role. |
| created_at | timestamp without time zone | Timestamp when this role was created. |
| updated_at | timestamp without time zone | Timestamp when this role was last updated. |
| public.permission_set_classes: Represents a class of permission sets. Generally 1-to-1 with capabilities. |
| Name | Type | Description |
| id | integer | Primary key for the permission set class record. |
| name | character varying | The 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. |
| Name | Type | Description |
| 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 |
| id | integer | Primary key for the record. |
| grantee_id | integer | Refers to either the id of the "users" table or the id of the "groups" table or the id of the "groupsets" table depending on the value of grantee_type. |
| grantee_type | character varying | Permissions can be assigned to either users, groups, or groupset. Entry must be one of "User", "Group", or "GroupAND". |
| capability_id | integer | Indicates 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. |
| permission | integer | An 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_id | integer | The permission set this item is a part of. |
| site_id | integer | The site. |
| public.permission_sets: Represents a common set of permissions used by multiple authorizables. |
| Name | Type | Description |
| 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 |
| id | integer | Primary key for the permission set record. |
| permission_set_class_id | integer | The permission set class. |
| site_id | integer | The site id. |
| delete_if_unreferenced_after | timestamp without time zone | The earliest time it is safe to delete this permission_set if it is unreferenced by authorizable_permission_sets |
| permission_set_key | character varying | Hashcode 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. |
| Name | Type | Description |
| 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 |
| id | integer | Primary key for the record. |
| template_type | character varying | Determines whether the permission template applies to workbooks or datasource. Value must be "Workbook" or "Datasource". |
| grantee_id | integer | Refers to either the id of the "users" table or the id of the "groups" table or the id of the "groupsets" table depending on the value of grantee_type. |
| grantee_type | character varying | Permissions can be assigned to either users, groups, or groupset. Entry must be one of "User", "Group", or "GroupAND". |
| capability_id | integer | Indicates 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. |
| permission | integer | An 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_type | text | Type of container for which this permission template applies, possbile value are Database and Project. |
| container_id | integer | Identifies the container for which this permission template applies. |
| site_id | integer | The ID of the site the permission templates belong to. |
| public.pkce_tokens: Proof Key for Credential Exchange (RFC 7636) short-lived storage. |
| Name | Type | Description |
| Foreign key/Primary key relation from user_id on this table to id on table, public.users |
| id | bigint | Primary key for the record. |
| user_id | integer | A foreign key reference to the user. |
| authorization_code | bytea | The authorization code (RFC 7636). |
| code_challenge | bytea | The code challenge (RFC 7636). |
| code_challenge_method | character varying | The code challenge method (RFC 7636). |
| expires_at | timestamp with time zone | The time when this token expires. |
| redeemed_at | timestamp with time zone | The time when this token was redeemed. |
| auth_attributes | text | Auth attributes from originating session |
| public.predictive_model_jobs: Table contains data corresponding with predictive model data transfer and training jobs |
| Name | Type | Description |
| Foreign key/Primary key relation from flow_run_id on this table to id on table, public.background_jobs |
| Foreign key/Primary key relation from job_owner_id on this table to id on table, public.users |
| Foreign key/Primary key relation from predictive_model_version_id on this table to id on table, public.predictive_model_versions |
| Foreign key/Primary key relation from shadow_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 |
| id | bigint | Generated id for predictive_model_jobs table primary key |
| credential_id | character varying | Id used to retrieve OAuth token access from credential service |
| salesforce_user_id | character varying | Salesforce id of user who initiated job |
| predictive_model_version_id | integer | Id of the predictive model version the job is associated with |
| site_id | integer | Id of site the job is associated with |
| should_cancel | boolean | True if user has indicated the job should be cancelled |
| transfer_progress | integer | Predictive model job transfer progress |
| transfer_error | character varying | Error information relevant to transfer portion of job |
| job_start | timestamp without time zone | Time job was started. |
| job_end | timestamp without time zone | Time job was ended |
| created_at | timestamp without time zone | First time created |
| updated_at | timestamp without time zone | Last time updated |
| einstein_dataset_id | character varying | Einstein data set ID |
| einstein_dataset_version_id | character varying | Einstein data set version ID |
| einstein_story_id | character varying | Einstein story ID |
| einstein_run_id | character varying | Einstein run ID |
| einstein_model_id | character varying | Einstein model ID |
| luid | uuid | Job luid |
| job_owner_luid | uuid | Job owner luid |
| site_luid | uuid | Luid of the site the job is associated with |
| transfer_status | character varying | Status of the transfer portion of the job |
| training_status | character varying | Status of the training portion of the job |
| training_error | character varying | The error associated with the training portion of the job |
| training_progress | integer | Current training progress |
| job_owner_id | integer | Tableau user id of user who started job |
| einstein_model_results | jsonb | JSON blob representing model results returned from completed job |
| einstein_model_threshold | jsonb | JSON blob representing current model threshold for job |
| einstein_model_alerts | jsonb | JSON blob representing model alerts and their status |
| dataset_name | character varying | Dataset name used by the predictive model controller service to restart a job |
| shadow_flow_id | integer | Shadow flow id used by the predictive model controller service to restart a job. References a row in the public.flows table |
| flow_run_id | integer | Flow run id used by the predictive model controller service to restart a job. References a row in the public.background_jobs table |
| public.predictive_model_recipients: Table contains data corresponding with predictive model notification recipients |
| Name | Type | Description |
| Foreign key/Primary key relation from predictive_model_id on this table to id on table, public.predictive_models |
| Foreign key/Primary key relation from site_id on this table to id on table, public.sites |
| id | bigint | Generated id for predictive_model_recipients table primary key |
| luid | uuid | Generated unique UUID for the predictive model recipients |
| predictive_model_id | integer | Id of the predictive model the recipient record is associated with |
| site_id | integer | Id of site the recipient record is associated with |
| recipients | character varying | Ids of recipients as string separated by delimiter |
| created_at | timestamp without time zone | First time created |
| updated_at | timestamp without time zone | Last time updated |
| public.predictive_model_version_deployments: Table contains deployment timestamps associated with a particular Predictive Model Version of a Predictive Model |
| Name | Type | Description |
| Foreign key/Primary key relation from deployer_id on this table to id on table, public.users |
| Foreign key/Primary key relation from predictive_model_job_id on this table to id on table, public.predictive_model_jobs |
| Foreign key/Primary key relation from predictive_model_version_id on this table to id on table, public.predictive_model_versions |
| Foreign key/Primary key relation from site_id on this table to id on table, public.sites |
| id | integer | Generated id for predictive_model_version_deployments table primary key |
| site_id | integer | Site where the parent Predictive Model was created at |
| predictive_model_version_id | integer | Predictive Model Version that the deployment is associated with |
| deployed_at | timestamp without time zone | Time when a Predictive Model Version was deployed |
| undeployed_at | timestamp without time zone | Time when a Predictive Model Version was undeployed |
| created_at | timestamp without time zone | First time created |
| updated_at | timestamp without time zone | Last time updated |
| einstein_prediction_definition_id | character varying | Einstein prediction definition id |
| einstein_deployed_model_id | character varying | Einstein deployed model id |
| deployer_id | integer | User id of user that created the deployment |
| predictive_model_job_id | bigint | Id of the job that was deployed |
| public.predictive_model_versions: Table contains user-created predictive model versions associated with a predictive model |
| Name | Type | Description |
| Foreign key/Primary key relation from flow_id on this table to id on table, public.flows |
| Foreign key/Primary key relation from predictive_model_id on this table to id on table, public.predictive_models |
| Foreign key/Primary key relation from site_id on this table to id on table, public.sites |
| Foreign key/Primary key relation from user_last_changed_objective_id on this table to id on table, public.users |
| id | integer | Generated id for predictive_model_versions table primary key |
| luid | uuid | Generated unique UUID for the predictive model |
| site_id | integer | Site where predictive model version was created |
| name | character varying | Name of the predictive model version |
| description | text | Description of the predictive model version |
| lock_version | integer | Latest version in record, used for optimistic locking |
| user_last_changed_objective_id | integer | User id of the person who last changed an objective in the predictive model version |
| predictive_model_id | integer | Foreign key to predictive_models.id |
| version_number | character varying | The numeric version of the predictive model version |
| flow_id | integer | Id of the Prep flow |
| objective_target_field | character varying | User-chosen target field for their model version |
| objective_target_field_type | character varying | The datatype of the user-chosen target field |
| objective_goal | character varying | User-chosen optimization goal for their model version |
| objective_algorithm | integer | User-chosen algorithm for their model version represented as an integer id |
| created_at | timestamp without time zone | First time created |
| updated_at | timestamp without time zone | Last time updated |
| objective_success_value | character varying | User-chosen success value from the domain of the objective field. Used only for binomial values |
| objective_failure_value | character varying | User-chosen failure value from the domain of the objective field. Used only for binomial values |
| public.predictive_models: Table contains user-created Predictive Models |
| Name | Type | Description |
| 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 |
| id | integer | Generated id for predictive_models table primary key |
| luid | uuid | Generated unique UUID for the predictive model |
| site_id | integer | Site where predictive model was created at |
| owner_id | integer | User who owns the predictive model |
| name | character varying | Name of the predictive model |
| description | text | Description of the predictive model |
| created_at | timestamp without time zone | First time created |
| updated_at | timestamp without time zone | Last time updated |
| delete_started_at | timestamp without time zone | Start time of deletion |
| public.projects: Each row of the table corresponds to a project on Tableau Server. |
| Name | Type | Description |
| 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 site_id on this table to id on table, public.sites |
| id | integer | Primary key for the record. |
| name | character varying | The name of the project. |
| owner_id | integer | The id of the user who owns this project. |
| created_at | timestamp without time zone | The time at which this record was created. |
| updated_at | timestamp without time zone | The time at which this record was last changed. |
| state | character varying | One of "active" or "archived". "archived" indicates that the item is in the Recycle Bin. |
| description | text | A textual description of the project. |
| site_id | integer | The site which contains this project. |
| special | integer | Has a value of 1 if this is a special system-created project (like the default project). Otherwise it is NULL. |
| luid | uuid | The locally unique ID, which is intended for exposing externally by the server API. This is automatically generated. |
| controlled_permissions_enabled | boolean | Indicates whether permissions on workbooks, views, and data sources are controlled at the project level. |
| parent_project_id | integer | Deprecated. Id of the parent project. NULL for top-level projects. |
| admin_insights_enabled | boolean | Indicates if project is a Admin Insights project |
| nested_projects_permissions_included | boolean | Indicates 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_id | integer | The id of the ancestor project that is controlling the permissions for this project. |
| lower_name | character varying | generated column that is the projects name lower cased to be used in indices |
| public.projects_contents: Table which stores the contents of projects |
| Name | Type | Description |
| 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 |
| id | integer | The id which uniquely identifies row in the table |
| project_id | integer | The project_id which identifies the project that the row is associated with |
| site_id | integer | The site_id which identifies the site that the row is associated with |
| content_id | integer | The id of the content being stored in the project denoted by project_id. With content_type uniquely identifies a piece of content. |
| content_type | character varying | The 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. |
| Name | Type | Description |
| 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 |
| id | integer | Primary key. |
| site_id | integer | The associated site. |
| lock_version | integer | Used to implement "optimistic locking." |
| created_at | timestamp without time zone | Time when created. |
| updated_at | timestamp without time zone | Last time when updated. |
| revision_id | integer | The associated revision. |
| published_connection_table_luid | uuid | The associated published connection table luid. |
| revisable_properties | jsonb | Properties revisable by Tableau users. |
| system_properties | jsonb | Misc metadata maintained by the system. |
| public.published_connection_revisions: Represents a revision of a published connection. |
| Name | Type | Description |
| 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 |
| id | integer | Primary key. |
| luid | uuid | A unique, immutable identifier within a site. |
| site_id | integer | The associated site. |
| owner_id | integer | The associated user that owns this. |
| lock_version | integer | Used to implement "optimistic locking." |
| created_at | timestamp without time zone | Time when created. |
| updated_at | timestamp without time zone | Last time when updated. |
| revision_type | integer | Type of revision: 0=draft, 1=active, 2=historical. |
| published_connection_id | integer | The associated published connection. |
| secured_connection_attributes | jsonb | Connection attributes requiring encryption |
| revisable_properties | jsonb | Properties revisable by Tableau users. |
| system_properties | jsonb | Misc metadata maintained by the system. |
| revisable_properties_updated_at | timestamp without time zone | Last time revisable properties of this or child entities were updated. |
| revisable_properties_version | integer | Monotonically increasing number that increments every time the revisable properties of this or child entities are updated. |
| published_at | timestamp without time zone | Timestamp this revision is published at. |
| version_number | integer | Incrementing version number for published and historical revisions. |
| public.published_connection_tables: Represents the published connection table content type. |
| Name | Type | Description |
| 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 |
| id | integer | Primary key. |
| luid | uuid | A unique, immutable identifier within a site. |
| site_id | integer | The associated site. |
| name | character varying | The name of the published connection table. |
| description | text | The description of the published connection table. |
| lock_version | integer | Used to implement "optimistic locking." |
| created_at | timestamp without time zone | Time when created. |
| updated_at | timestamp without time zone | Last time when updated. |
| published_connection_id | integer | The associated published connection. |
| public.published_connections: Represents the published connection content type. |
| Name | Type | Description |
| Foreign key/Primary key relation from site_id on this table to id on table, public.sites |
| id | integer | Primary key. |
| luid | uuid | A unique, immutable identifier within a site. |
| site_id | integer | The associated site. |
| owner_id | integer | The associated user that owns this. |
| project_id | integer | Deprecated. The associated project. |
| name | character varying | The name of the published connection. |
| description | text | The description of the published connection. |
| lock_version | integer | Used to implement "optimistic locking." |
| created_at | timestamp without time zone | Time when created. |
| updated_at | timestamp without time zone | Last time when updated. |
| activated | boolean | Whether or not this published connection was ever made available for consumption. |
| public.querypolicycollection: Table to store query policy collections. |
| Name | Type | Description |
| Foreign key/Primary key relation from site_id on this table to id on table, public.sites |
| id | bigint | Auto increment primary key. |
| luid | uuid | UUID of the policy collection. |
| site_luid | uuid | UUID of the site. |
| site_id | integer | Site Id to link to public.sites. |
| payload | text | JSON blob representing the policy collection |
| update_version | integer | Field to facilitate optimistic concurrency check |
| created_at | timestamp without time zone | UTC time of record creation. |
| created_by | uuid | Identity of record creator. |
| updated_at | timestamp without time zone | UTC time that the record was updated last. |
| updated_by | uuid | Identity of a user who updated the record last. |
| is_published | boolean | Indicates if the policy collection has been published. |
| public.quota_definitions: Table which stores all the quota definitions for QuotaService |
| Name | Type | Description |
| id | integer | The id (pk) which uniquely identifies row in the table |
| namespace | character varying | The namespace that the quota definition belongs to |
| quota_name | character varying | The name of the quota |
| public.quota_limits: Table which stores the limits info for all quotas for QuotaService |
| Name | Type | Description |
| Foreign key/Primary key relation from quota_definition_id on this table to id on table, public.quota_definitions |
| id | integer | The id (pk) which uniquely identifies row in the table |
| quota_definition_id | integer | The quota_definition_id identifies a quota definition |
| site_luid | uuid | The luid of the site |
| limit_value | bigint | The quota limit value |
| last_updated | timestamp without time zone | The timestamp when the limit_value was set |
| public.quota_usage: Table which stores the usage info for all quotas for QuotaService |
| Name | Type | Description |
| Foreign key/Primary key relation from quota_definition_id on this table to id on table, public.quota_definitions |
| id | integer | The id (pk) which uniquely identifies row in the table |
| quota_definition_id | integer | The quota_definition_id identifies a quota definition |
| site_luid | uuid | The luid of the site |
| item_luid | uuid | The luid of the item that uses the quota |
| usage_value | bigint | The quota usage value for the item |
| last_updated | timestamp without time zone | The timestamp when the usage_value was computed |
| public.recommendations_dismissed_views: Views dismissed by user in context of viz recommendations |
| Name | Type | Description |
| 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 |
| id | integer | Primary key for the record. |
| site_id | integer | Site Id associated with this dismissed view |
| user_id | integer | User Id of user that dismissed the view |
| view_id | integer | View Id that was dismissed by user |
| dismissed_at | timestamp without time zone | Time in Utc when the view was dismissed by user |
| public.recycle_bin_content_types: Content Type lookup table for Recycle Bin. |
| Name | Type | Description |
| id | integer | Auto incremented primary key. |
| content_type | character varying | Content type of the object in Recycle Bin. |
| sos_type | character varying | SOS Type for thumbnails of this content type |
| public.refresh_token_devices: Devices that have been issued at least one refresh token |
| Name | Type | Description |
| id | integer | Primary key identifier |
| device_id | character varying | Unique 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_name | character varying | Friendly name of the device to be displayed |
| system_user_id | integer | Reference to the system user the token is issued to |
| last_used_at | timestamp without time zone | The 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 |
| Name | Type | Description |
| Foreign key/Primary key relation from refresh_token_device_id on this table to id on table, public.refresh_token_devices |
| id | integer | Primary key identifier |
| guid | uuid | Unique identifer of the refresh token |
| client_id | character varying | Unique identifier with which to associate to the refresh token series. |
| client_name | character varying | This column is no longer used and will be deleted once it will no longer be breaking an upgrade scenario |
| system_user_id | integer | Reference to the system user the token is issued to |
| expires_at | timestamp without time zone | When this token becomes expired. null means that it does not have absolute expiration time |
| last_used_at | timestamp without time zone | When the token was last redeemed for an access token |
| issued_at | timestamp without time zone | When this token was issued to the client |
| salt | character varying | The salt used when hashing the secret |
| hashed_secret | character varying | Secret portion of the token thats been hashed |
| session_id | character varying | The most current session that has been redeemed using this refresh token. Null if no sessions have been redeemed |
| refresh_token_device_id | integer | Reference to the device the token is issued to |
| next_hashed_secret | character varying | Secret portion of the token thats been hashed for the next refresh token |
| next_salt | character varying | The salt used when hashing the secret for the next refresh_token |
| ancestor_pat_guid | uuid | A mapping shows the ancestor pat guid that created this service token |
| auth_attributes | text | Auth attributes from originating session |
| public.remote_agent_host_map: Table for mapping remote agent to worker host serving requests for that agent |
| Name | Type | Description |
| agent_id | bigint | Agent Id of remote agent for which the mapping is set.Also primary key |
| host | character varying | Hostname of server attached to remote agent |
| port | integer | Port of server attached to remote agent |
| ip | character varying | Ip of server attached to remote agent |
| access_time | timestamp without time zone | The latest time entry was accessed. |
| 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. |
| Name | Type | Description |
| 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 |
| id | integer | Primary key for the record. |
| owner_id | integer | Foreign key reference to the user who owns this project. |
| site_id | integer | Foreign key reference to the site which contains this remote agent. |
| name | character varying | Name 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_id | character varying | String 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_at | timestamp without time zone | UTC time of last agent synchronization of schedules with the server. Time is the recorded server time. |
| device_id | character varying | ID generated by client and also given to the Refresh Token Service. Otherwise, one is randomly generated. |
| concurrent_live_operations_allowed | integer | Number of concurrent live operations allowed on a remote agent. |
| capacities | text | The capacities that this remote agent exhibits, e.g. LiveQueryAlpha, LiveQueryBeta, LiveQueryV1 |
| pooled | boolean | If part of the site pool to handle shared work. |
| version | character varying | The version of the remote agent. |
| pool_id | uuid | Identifies 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. |
| Name | Type | Description |
| Foreign key/Primary key relation from sos_blob_data_id on this table to id on table, public.sos_blob_data |
| id | bigint | Primary key for the record. |
| name | text | A possibly useful string that is mostly here to make it easier to debug. |
| content | oid | An 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_at | timestamp without time zone | The time at which this record was created. |
| tracking_id | character varying | Unique ID used to track the repository data. |
| type | character varying | Simple Object Storage type. |
| kind | character varying | Kind of data in content; file or folder. |
| sos_blob_data_id | bigint | foreign 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. |
| Name | Type | Description |
| id | smallint | Unique numeric id of the type. This value is used as the value of resource_usage.resource_holder_type column. |
| name | text | Unique name of the type, used in the code to identify the particular resource holder type. |
| description | text | Description of the type. |
| public.resource_type_permissions: Manages individual permissions assigned to grantees for site-level resources of a specific type. |
| Name | Type | Description |
| id | bigint | Primary key for the resource type permission record. |
| resource_type_name | character varying | The type of resource being authorized. |
| role_id | integer | The ID of the role. |
| capability_name | character varying | The capability being granted. |
| 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. |
| Name | Type | Description |
| id | smallint | Unique numeric id of the type. This value is used as the value of resource_usage.resource_type column. |
| name | text | Unique name of the type, used in the code to identify the particular resource type. |
| description | text | Description of the type. |
| public.resource_usage: Information about resources by tableau server entities, for example which geocoding databases are used by which workbooks. |
| Name | Type | Description |
| 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 |
| id | bigint | Auto-generated id from postgres; also the primary key for the table. |
| resource_holder_type | smallint | Type of the entity which references the resource. Values correspond to the values in the resource_holder_type.id column. |
| resource_holder_id | integer | ID 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_type | smallint | Type of the resource, e.g. geocoding database. Values correspond to the values in the resource_type.id column. |
| resource_id | integer | ID 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_at | timestamp without time zone | Timestamp when this record was created. |
| updated_at | timestamp without time zone | Same as created_at. |
| site_id | integer | Site ID of the resource. |
| resource_name | text | Optional resource name, for debugging and logging. |
| public.role_grantees: Defines which grantees are assigned a specific role. |
| Name | Type | Description |
| Foreign key/Primary key relation from site_permission_role_id on this table to id on table, public.site_permission_roles |
| Foreign key/Primary key relation from site_id on this table to id on table, public.sites |
| id | bigint | Primary key for the role grantee record. |
| site_permission_role_id | integer | The ID of the site permission role that is being granted. |
| grantee_luid | character varying | The LUID of the grantee. |
| grantee_type | character varying | The type of grantee (User). |
| site_id | integer | The id of the site that this record is associated with. |
| 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. |
| Name | Type | Description |
| id | integer | Primary key for the record. |
| name | character varying | Each role has a name by which it is known to program code. Examples include, viewer, editor, interactor, ds_editor, etc. |
| created_at | timestamp without time zone | The time at which this record was created. |
| updated_at | timestamp without time zone | The time at which this record was last changed. |
| creator_id | integer | Links to the user who created this record, or is NULL. Not a significant value. |
| displayable | boolean | Used to distinguish between records that can be displayed in the GUI and those that cannot. |
| administrative | boolean | Roles are categorized as administrative in nature, or not. This field is used for filtering. |
| display_order | integer | Ascending order of this value is the order in which roles are listed, when displayed. |
| display_name | character varying | This is the name for the role, which will be displayed to the user. |
| public.saml_assertions_metadata: Records for the saml assertions |
| Name | Type | Description |
| id | bigint | Primary key for the record. |
| assertion_id | character varying | Saml assertion id. |
| idp_entity_id | character varying | IdP entity id URI. |
| expires_at | timestamp without time zone | The 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. |
| Name | Type | Description |
| id | integer | Primary key for the record. |
| name | character varying | A schedule can be given a name, which is stored here. |
| active | boolean | If set to false, this means that the schedule is inactive, meaning that no tasks will be performed when the schedules triggers. |
| priority | integer | Priority can range from 1 to 100, with lower values corresponding to higher priority. |
| schedule_type | integer | One of 0 (Hourly), 1 (Daily), 2 (Weekly), 3 (Monthly). |
| day_of_week_mask | integer | Indicates 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_mask | integer | Indicates 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_minute | integer | The 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_interval | integer | Once 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_minute | integer | The minute following the start of the designated time period implied schedule_type, at which the schedule should stop triggering. |
| end_schedule_at | timestamp without time zone | Used to indicate a point in time, after which the schedule should never trigger. |
| run_next_at | timestamp without time zone | When the schedule will next trigger. |
| created_at | timestamp without time zone | The time at which this record was created. |
| updated_at | timestamp without time zone | The last time any changes were made to this record. |
| hidden | boolean | If set to true, then this schedule will not be listed in the GUI, otherwise it will be. |
| serial_collection_id | integer | A 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_version | integer | Used to implement "optimistic locking" by JPA/Hibernate. The counter increases each time the record is changed. Not useful for customers. |
| scheduled_action | integer | Used to classify schedules into categories: 0 (Extracts), 1 (Subscriptions), 2 (Sync AD users and groups), 3 (Auto Refresh Extracts), 4 (Flows) |
| luid | uuid | uuid for schedules used in the REST API |
| defined_by | integer | The mechanism type of how the schedule is created, e.g. 0 for system_admin, 1 for self_service. |
| timezoneid | text | The IANA timezoneid for the schedule when it is created i.e. America/Los_angeles |
| actionable | boolean | Flag to indicate whether or not the schedule is actionable. |
| linked_task_enabled | boolean | Whether 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. |
| Name | Type | Description |
| version | character varying | A string, derived from the name of the migration file, which serves to identify a particular migration that has been applied. |
| public.scim_config: Record for Scim Config |
| Name | Type | Description |
| Foreign key/Primary key relation from api_token_id on this table to token_id on table, public.api_tokens |
| Foreign key/Primary key relation from created_by on this table to id on table, public.users |
| Foreign key/Primary key relation from identity_pool_id on this table to id on table, public.id__identity_pools |
| id | uuid | Primary key for the record. |
| api_token_id | character varying | Foreign key reference to the API Token |
| is_enabled | boolean | To identify if config is enabled |
| mode | character varying | To check if config is for site or server level |
| created_at | timestamp with time zone | Timestamp when the record was created |
| updated_at | timestamp with time zone | Timestamp when record was last updated |
| created_by | integer | Foreign key reference to user who created this record |
| authentication | character varying | The authentication type |
| identity_pool_id | uuid | Reference to id__identity_pools.id (nullable; ON DELETE SET NULL) |
| public.scim_config_to_site_mapping: Record for Scim Config to Site Mappings |
| Name | Type | Description |
| Foreign key/Primary key relation from configuration_id on this table to id on table, public.scim_config |
| Foreign key/Primary key relation from site_id on this table to id on table, public.sites |
| id | uuid | Primary key for the record. |
| configuration_id | uuid | Foreign key for the scim configuration |
| site_id | integer | Foreign key reference to the site Id where configuration exists |
| created_at | timestamp with time zone | Timestamp when the record was created |
| updated_at | timestamp with time zone | Timestamp when record was last updated |
| public.scim_configurations: Records for SCIM configurations |
| Name | Type | Description |
| Foreign key/Primary key relation from api_token_id on this table to token_id on table, public.api_tokens |
| Foreign key/Primary key relation from created_by 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 updated_by on this table to id on table, public.users |
| id | bigint | Primary key for the record. |
| configuration_id | uuid | Unique identifier for the record. |
| name | text | Name for the SCIM configuration |
| idp_configuration_id | character varying | IDP id associated with this SCIM configuration |
| api_token_id | character varying | Foreign key reference to the API Token |
| site_id | integer | Foreign key reference to the site to where the datasource exists. |
| status | character varying | Status of the SCIM configuration, whether it is active or inactive |
| created_at | timestamp with time zone | Timestamp when the record was created |
| created_by | integer | Foreign key reference to user who created this record |
| updated_at | timestamp with time zone | Timestamp when record was last updated |
| updated_by | integer | Foreign key reference to the user who last updated the record |
| auth_type | character varying | Authentication type for SCIM configuration (SAML, OIDC, etc.) |
| public.scim_group_members: Record for SCIM Group Members |
| Name | Type | Description |
| Foreign key/Primary key relation from member_id on this table to id on table, public.scim_users |
| Foreign key/Primary key relation from scim_group_id on this table to id on table, public.scim_groups |
| id | character varying | Primary key for the record. |
| scim_group_id | character varying | Foreign key reference to the SCIM group |
| member_id | character varying | Foreign key reference to the SCIM user member |
| created_at | timestamp with time zone | Timestamp when the record was created |
| updated_at | timestamp with time zone | Timestamp when record was last updated |
| public.scim_groups: Record for SCIM Groups |
| Name | Type | Description |
| Foreign key/Primary key relation from created_by on this table to id on table, public.users |
| Foreign key/Primary key relation from minimum_site_role on this table to id on table, public.site_roles |
| id | character varying | Primary key for the record. |
| created_by | integer | Foreign key reference to user who created this record |
| display_name | character varying | group resource name |
| minimum_site_role | integer | Foreign key reference to minimum site role for group members |
| additional_attributes | json | Additional group attributes in JSON format |
| created_at | timestamp with time zone | Timestamp when the record was created |
| updated_at | timestamp with time zone | Timestamp when record was last updated |
| public.scim_jobs: Record for SCIM Jobs |
| Name | Type | Description |
| id | character varying | Primary key for the record. |
| job_id | integer | Reference to the background job ID |
| entity_id | character varying | ID of the entity being processed |
| entity_type | character varying | User/Group entity |
| job_type | character varying | Type of job being executed |
| created_at | timestamp with time zone | Timestamp when the record was created |
| updated_at | timestamp with time zone | Timestamp when record was last updated |
| public.scim_users: Record for SCIM Users provisioning |
| Name | Type | Description |
| Foreign key/Primary key relation from created_by on this table to id on table, public.users |
| Foreign key/Primary key relation from site_role on this table to id on table, public.site_roles |
| id | character varying | Primary key for the record. |
| user_name | character varying | userName of user which has to be provisioned |
| created_by | integer | Foreign key reference to user who created this record |
| email | character varying | Email address of the user |
| site_role | integer | Foreign key reference to site role assigned to the user |
| additional_attributes | json | Additional user attributes in JSON format |
| created_at | timestamp with time zone | Timestamp when the record was created |
| updated_at | timestamp with time zone | Timestamp when record was last updated |
| public.serial_collections: Records in this table represent groups of background jobs that should not be run simultaneously. |
| Name | Type | Description |
| id | integer | The primary key for the record. |
| description | character varying | Whoever creates the serial collection can decide what they want this description to say. |
| created_at | timestamp without time zone | The time at which this record was created |
| updated_at | timestamp without time zone | The last time any changes were made to this record. |
| public.sessions: Settings associated with a user's browser session. |
| Name | Type | Description |
| id | integer | The primary key for the record. |
| session_id | character varying | Session identifier. |
| updated_at | timestamp without time zone | Time when session was last updated, used to expire inactive sessions. |
| user_id | integer | Foreign key to users table |
| shared_wg_write | text | Settings used by wgserver (language/country preference etc). |
| shared_vizql_write | text | Settings used by vizql server. |
| site_id | integer | A foreign key to the sites table. Indicates the site to which this session belongs. |
| created_at | timestamp without time zone | A timestamp without timezone indicating how long ago the session was created |
| lock_version | integer | Used to implement "optimistic locking." Don't set this or mess with it, it's all handled automatically. |
| salt | character varying | The salt used when hashing the secret. |
| hashed_secret | character varying | Secret portion of the token thats been hashed. |
| oauth_state | text | The OAuth request state, will be verified later to prevent CSRF attack. |
| initiating_user_id | integer | the 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 |
| external_user_id | character varying | To store user id for ephemeral/external users |
| public.share_actions: Table storing share actions. |
| Name | Type | Description |
| Foreign key/Primary key relation from site_id on this table to id on table, public.sites |
| id | integer | Primary key for the record. |
| sharer_id | integer | UserId of the sharer (if not deleted). Backed up id (if deleted). Product spec: sharing action is not cascade deleted with sharer. |
| was_sharer_deleted | boolean | If sharer was deleted. False (regular user). True (name backed up for historical reason) |
| site_id | integer | The ID of the site where content was shared. |
| message | text | Sharer's message to recipients. |
| created_at | timestamp without time zone | Share action creation timestamp. |
| public.share_contents: Table storing shared content (view/workboook/etc). |
| Name | Type | Description |
| 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 |
| id | integer | Primary key for the record. |
| share_action_id | integer | Share action ID which was used to share this content. |
| content_id | integer | Shared content ID. Note: depending on "content_type" can be ID of different content. |
| content_type | character varying | Shared content type. |
| site_id | integer | The 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. |
| Name | Type | Description |
| Foreign key/Primary key relation from site_id on this table to id on table, public.sites |
| id | integer | Primary key for the record. |
| name | character varying | Name for deleted sharer. Backed up from system_users.name. |
| friendly_name | character varying | Friendly name for deleted sharer. Backed up from system_users.friendly_name. |
| site_id | integer | The ID of the site where content was shared by sharer. |
| public.share_recipients: Table storing share recipients (users/groups/etc). |
| Name | Type | Description |
| 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 |
| id | integer | Primary key for the record. |
| share_action_id | integer | Share action ID which was used to share this content. |
| site_id | integer | The ID of the site where content was shared. |
| recipient_id | integer | Recipient ID whom this content was shared with. Note: depending on "recipient_type" can be ID of different recipients. |
| recipient_type | integer | Recipient type (e.g. "USER", "GROUP"). |
| public.share_single_user_options: Table storing single user options on shared content (does not change the content itself). |
| Name | Type | Description |
| 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 |
| id | integer | Primary key for the record. |
| content_id | integer | Content ID on which user set a custom option. |
| content_type | character varying | Content type on which user set a custom option. |
| site_id | integer | The ID of the site where content was shared. |
| single_user_id | integer | User ID who set a custom option. |
| single_user_option_value | integer | Value of some certain option a user has set. |
| single_user_option_type | integer | Option type a user has set on a shared content. |
| public.sheet_images: Serves as a cache for all the sheet images generated by server. |
| Name | Type | Description |
| 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 |
| id | integer | Primary key for the record. |
| width | integer | The port size (width) used to generate the image. |
| height | integer | The port size (height) used to generate the image. |
| pixel_ratio | real | The pixel ratio used to generate the image. |
| view_id | integer | A foreign key reference to the view used to generate the image. |
| language_id | character varying | A code indicating the language used to generate the image. |
| locale_id | character varying | A code indicating the locale used to generate the image. |
| generated_at | timestamp without time zone | A timestamp indicating when the image was generated. |
| data_storage_id | bigint | A 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_id | integer | A 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_id | integer | A 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_height | integer | Indicates how many pixels were vertically cropped off of the generated image. |
| cropped_width | integer | Indicates how many pixels were horizontally cropped off of the generated image. |
| freshness_verified_at | timestamp without time zone | This date represents a point in time at which this sheet image is considered to be fresh. |
| data_id | character varying | Unique ID used to identify the image. |
| show_commands_query_str | text | Represents hash of the possible show commands to be applied to the viz in the native api code. |
| file_type | integer | The file type. 0 for Image, 1 for Pdf |
| page_orientation | integer | PDF page orientation |
| page_size_option | integer | PDF page size option |
| site_id | integer | The ID of the site to which this entry belongs. |
| public.site_auth_tokens: Table to house site-scoped refresh tokens |
| Name | Type | Description |
| Foreign key/Primary key relation from site_id on this table to id on table, public.sites |
| Foreign key/Primary key relation from token_id on this table to id on table, public.refresh_tokens |
| id | bigint | Auto-generated id from postgres; also the primary key for the table. |
| site_id | integer | ID of the site. This id is same as the id (primary key) of the public.sites table. |
| token_id | integer | ID of the token. This id is same as the id (primary key) of the public.refresh_tokens table. |
| public.site_gdot_tenant: tenant record created in GDoT for sites |
| Name | Type | Description |
| Foreign key/Primary key relation from site_id on this table to id on table, public.sites |
| id | bigint | primary key for the record |
| site_luid | uuid | LUID of the site |
| site_id | integer | ID of the site |
| tenant_guid | character varying | tenant GUID in GDoT |
| trusted_tenant_guid | character varying | GUID of the tenant with trust relationship |
| public.site_keychains: This table stores keychains for site, which is used for credentials service V1 |
| Name | Type | Description |
| Foreign key/Primary key relation from site_id on this table to id on table, public.sites |
| id | integer | Primary key for the record. |
| luid | uuid | UUID for the record. |
| site_id | integer | The associated site id. |
| target_class | character varying | The dsClass this credential belongs to. |
| target_auth | character varying | The authenticationType of this credential. |
| target_endpoint | character varying | Part of this credential identifier, usually would be a Database server address. |
| target_port | integer | Database server port. |
| target_user_name | character varying | Part of this credential identifier, usually would be a Database username. |
| target_db | character varying | Part of this credential identifier, can be a database name/project-id. |
| target_user_role | character varying | Used when the credential has a "role" property such as Snowflake OAuth. |
| target_extra_info | text | Extra info about the target. |
| credential_type | integer | Type of the credential |
| asset_key_id | integer | Id of asset_key which is used for encrypted entry_xml |
| entry_xml | character varying | Encrypted keychain xml entry. |
| created_at | timestamp without time zone | The time the credential was created. |
| updated_at | timestamp without time zone | The latest time the credential was updated. |
| public.site_logos: custom logo image metadata for sites |
| Name | Type | Description |
| Foreign key/Primary key relation from site_id on this table to id on table, public.sites |
| id | integer | Primary key for the record. |
| site_id | bigint | the site the logo belongs to |
| width | integer | the image width in px |
| height | integer | the image height in px |
| storage_id | character varying | identifies the logo image on the storage back_end |
| url | text | the public URL of the logo |
| mime_type | character varying | the MIME type of the logo |
| created_at | timestamp without time zone | The time when this row was created. |
| updated_at | timestamp without time zone | The time when this row was last updated. |
| logo_type | character varying | type of logo (header or compact) |
| public.site_oauth_clients: OAuth clients approval override for a site; Only applicable for Online |
| Name | Type | Description |
| Foreign key/Primary key relation from site_id on this table to id on table, public.sites |
| site_id | integer | This is foreign key referencing public.sites.id |
| client_id | character varying | OAuth client id for which this override is added |
| client_enabled | boolean | Determine if OAuth client id is enabled for this site |
| created_at | timestamp without time zone | The time when this row was created. |
| updated_at | timestamp without time zone | The time when this row was last updated. |
| public.site_oidc_configurations: Defines the OpenID Connect IdP associated with a site. |
| Name | Type | Description |
| site_luid | uuid | Primary key for this table, matches the site.site_luid column. |
| is_enabled | boolean | Defines if the configration is active. |
| known_provider_alias | text | Name of the preconfigured provider, which must be defined in SiteSAML application.yml file. |
| salesforce_domain | character varying | Custom authorization domain for pre-configured Salesforce OIDC (OpenID Connect) provider. |
| allow_embedded_authentication | boolean | Flag if the site permits the authentication flow to be hosted in an iframe. |
| client_id | text | The app public identifier associated with the IdP. |
| client_secret | text | The app secret associated with the IdP. |
| authorization_endpoint | text | The authorization endpoint retrieved from IdP configuration metadata. |
| token_endpoint | text | The token endpoint retrieved from IdP configuration metadata. |
| userinfo_endpoint | text | The user information endpoint retrieved from IdP configuration metadata. |
| jwks_uri | text | The jwt key set endpoint retrieved from IdP configuration metadata. |
| custom_scope | text | List of custom scope for requesting claims. For example: openid, profile, email. |
| prompt | text | List of string values that requests IdP to prompt the user for actions during authentication. For example: login, consent. |
| client_authentication | text | Token endpoint authentication methods, client_secret_basic or client_secret_post. |
| essential_acr_values | text | List of essential Authentication Context Reference Class values used for authentication. |
| voluntary_acr_values | text | List of voluntary Authentication Context Reference Class values used for authentication. |
| attribute_mapping | text | The mapping that defines which claim to be used for which user attribute. |
| discovery_endpoint | text | The endpoint to download IdP configuration metadata. |
| end_session_endpoint | text | The end session endpoint retrieved from IdP configuration metadata. |
| public.site_permission_roles: Defines which roles are assigned a specific site. |
| Name | Type | Description |
| Foreign key/Primary key relation from role_id on this table to id on table, public.permission_roles |
| Foreign key/Primary key relation from site_id on this table to id on table, public.sites |
| id | bigint | Primary key for the role grantee record. |
| role_id | integer | The id of the role that is being granted. |
| site_id | integer | The id of the site that this role is associated with. |
| public.site_policies: Per-site CCM policy quotas synced from Policy Store for capacity and governance; one row per site and policy name. |
| Name | Type | Description |
| Foreign key/Primary key relation from site_id on this table to id on table, public.sites |
| id | bigint | Primary key |
| site_id | integer | Foreign key to public.sites.id |
| site_luid | uuid | Site LUID; maps to principal name in Policy Store (denormalized from sites.luid) |
| policy_name | character varying | CCM policy identifier being synchronized |
| policy_quota | integer | Calculated capacity limit for this site and policy |
| updated_at | timestamp without time zone | When this row was last inserted or updated |
| public.site_roles: Lists the various possible user site roles. |
| Name | Type | Description |
| id | integer | User site role ID is unique key correspondent to site_role_id from users table. |
| name | character varying | User site role name. |
| licensing_rank | integer | User 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_name | character varying | User Friendly value to display on the IBA License Usage Admin View. |
| public.site_saml_configurations: Defines the SAML IdP associated with a site. |
| Name | Type | Description |
| Foreign key/Primary key relation from site_luid on this table to luid on table, public.sites |
| site_luid | uuid | Primary key for this table, matches the site.site_luid column. |
| idp_entity_descriptor | text | XML block of the EntityDescriptor for the Identity Provider. |
| attribute_mapping | text | Defines mapping for the saml response fields. |
| sp_certificate | text | PEM encoded certificate. |
| sp_private_key | text | PEM encoded private key. |
| is_enabled | boolean | Defines if the configration is active. |
| entity_descriptor_validation_result | text | JSON Serialized validation result. |
| authentication_domain_id | character varying | Authentication Domain. |
| authentication_type_for_embedded | character varying | Authentication type: DEFAULT or SAML. |
| allow_embedded_authentication | boolean | Flag if the site permits the authentication flow to be hosted in an iframe. |
| generation | character varying | Describes level of support and/or blocklisting of certain features in the SAML implementation. |
| public.site_saml_entity_descriptors: External SAML Service Providers used by samlservice. |
| Name | Type | Description |
| id | character varying | Entity ID of external SAML Service Provider. |
| entity_descriptor | text | XML entity descriptor of external SAML Service Provider. |
| public.site_saml_events: Log table for all SAML actions. |
| Name | Type | Description |
| Foreign key/Primary key relation from site_luid on this table to luid on table, public.sites |
| id | uuid | Primary key for this table. |
| timestamp | timestamp without time zone | Timestamp for the event. |
| log_level | character varying | String value of the logging level. |
| message | text | Text of the logged message. |
| site_luid | uuid | Matches the site.site_luid column and site_saml_configurations.site_luid. |
| public.site_saml_sessions: Records the user sessions authenticated by the SiteSAML service. |
| Name | Type | Description |
| id | character varying | Primary key for this table. |
| site_luid | uuid | Matches the site.site_luid column and site_saml_configurations.site_luid. |
| last_accessed_at | timestamp without time zone | Timestamp for the last_accessed_at time of the seesion. |
| http_session | bytea | HTTP Session representation. |
| version | bigint | Version value if set. |
| public.site_saml_users: Users that are allowed to use Per Site SAML authentication. |
| Name | Type | Description |
| Foreign key/Primary key relation from site_luid on this table to luid on table, public.sites |
| id | uuid | Primary key for this table. |
| site_luid | uuid | Matches the site.site_luid column and site_saml_configurations.site_luid. |
| user_name | character varying | User name field. |
| auth_user_id | character varying | Matches the auth_user_id of the user stored in the system_users table. |
| authentication_type | character varying | Which type of authentication to use, e.g. SAML or OIDC. |
| public.site_settings: Each record represents a site settings that exists on a site. |
| Name | Type | Description |
| Foreign key/Primary key relation from site_id on this table to id on table, public.sites |
| id | bigint | Primary key for the site settings record |
| site_id | integer | The id of the site that this setting is associated with. |
| key | character varying | The key of the setting in string format. |
| value | text | The value of the setting in string format. |
| created_at | timestamp without time zone | The time when this row was created. |
| updated_at | timestamp without time zone | The time when this row was last updated. |
| public.site_trials: Stores trial periods for sites, granting temporary access to feature sets. Status is calculated at runtime based on expires_at. |
| Name | Type | Description |
| Foreign key/Primary key relation from site_id on this table to id on table, public.sites |
| id | bigint | Primary key |
| site_id | integer | Foreign key to the site that owns this trial |
| trial_type | character varying | Type of trial (e.g., TABLEAU_AI) |
| expires_at | timestamp without time zone | When the trial expires. Trial is ACTIVE if expires_at > NOW(), otherwise EXPIRED. |
| onboarded_features | text | Serialized onboarded feature keys at trial activation (string form, e.g. delimited list). |
| activation_count | integer | Number of times this trial type has been activated for this site (starts at 1) |
| created_at | timestamp without time zone | When the trial was created |
| updated_at | timestamp without time zone | When the trial was last updated |
| public.site_user_prefs: Site user preferences. |
| Name | Type | Description |
| 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 |
| id | integer | The id of a site user preference. Primary key. |
| user_id | integer | A foreign key to users table. Indicates the site user to which this preference belongs. |
| refresh_failure_notification_enabled | boolean | Whether to send notification on failed extracts for this site user. |
| notification_enabled | boolean | Setting for enabling system notifications |
| show_welcome_screen | boolean | Shows the Welcome Screen on the Home space in Vizportalclient |
| show_metrics_banner | boolean | Shows the metrics banner on the metric detail screen in Vizportalclient |
| site_id | integer | Site 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. |
| Name | Type | Description |
| id | integer | Primary key for the record. |
| name | character varying | The name of the site. |
| url_namespace | character varying | String used in the construction of URLs that target this site. |
| status | character varying | One of "active" "suspended" or "locked". |
| created_at | timestamp without time zone | The time at which this record was created. |
| updated_at | timestamp without time zone | The last time any changes were made to this record. |
| content_admin_mode | integer | One of 1 (content only) or 2 (content and users). |
| storage_quota | bigint | Maximum storage for the site in megabytes. |
| status_reason | character varying | Holds an explanation for why a site is in a "suspended" status. |
| subscriptions_enabled | boolean | True if subscriptions are allowed for this site, otherwise false. |
| custom_subscription_footer | text | Content to be placed as the footer in each subscription email sent. |
| custom_subscription_email | text | The email from which to send subscriptions. |
| luid | uuid | An identifier which is unique to this site. |
| authoring_disabled | boolean | If true, then web authoring is disabled. |
| sheet_image_enabled | boolean | True if sheet image API is enabled for this site, otherwise false. |
| refresh_token_setting | integer | If true, oauth is enabled on server, allowing connected clients. |
| version_history_enabled | boolean | Setting for enabling/disabling version history on a site |
| notification_enabled | boolean | Setting for enabling/disabling system notification such as email notification on a site |
| content_version_limit | integer | Maximum number of versions to retain for each content type : workbooks ,datasources |
| subscribe_others_enabled | boolean | Setting for enabling/disabling the subscribe others functionality on a site |
| lock_version | integer | Used to implement "optimistic locking." Don't set this or mess with it, it's all handled automatically. |
| guest_access_enabled | boolean | Setting for enabling/disabling guest account per site |
| support_access_enabled | boolean | Setting for enabling/disabling access to a Tableau Online site by a Tableau support user |
| cache_warmup_enabled | boolean | True if cache warmup is enabled for this site. |
| cache_warmup_threshold | smallint | How recently a view must have been viewed to run warmup for it in days, defaulting to 30. |
| data_alerts_enabled | boolean | Setting for enabling/disabling data driven alerts on a site |
| allow_live_query_sync | boolean | Setting for allowing live query sync on a site |
| commenting_enabled | boolean | Setting for enabling/disabling commenting on a site |
| self_service_schedules_enabled | boolean | Setting for enabling/disabling self service schedules on a site |
| tier_interactor_capacity | integer | Max site-wide tier interactor license capacity limit. |
| tier_basic_user_capacity | integer | Max site-wide tier basic user license capacity limit. |
| tier_author_capacity | integer | Max site-wide tier author license capacity limit. |
| viz_in_tooltip_enabled | boolean | Setting for enabling/disabling Viz in Tooltip on a site |
| protocol_cache_lifetime | integer | Lifetime for native connections, in minutes |
| protocol_group_size_limit | integer | Limit on connection parallelism |
| commenting_mentions_enabled | boolean | Setting for enabling/disabling commenting mentions on a site |
| mixed_content_enabled | boolean | Setting for enabling/disabling mixed content on a site |
| site_invite_notification_enabled | boolean | Setting for enabling/disabling site invite notification on a site |
| extract_encryption_mode | smallint | Extract encryption mode: whether it is disabled (null or 0), enabled (1), or enforced (2). |
| flows_enabled | boolean | Setting for enabling/disabling Tableau Prep flows on a site |
| materialized_views_enabled | boolean | a flag to indicate whether the feature of materialized views is enabled for this site or not, enabled if true. |
| allow_subscriptions_attach_pdf | boolean | Whether to allow users to attach PDFs to subscription emails. |
| materialized_views_mode | smallint | Code representing the materialized views mode for the site. |
| start_page_uri | character varying | if not set the value from global_settings.start_page_uri is used |
| afe_enabled | boolean | Alternative Federation Engine (afe) is enabled or not |
| sandbox_enabled | boolean | Whether to enable sandbox for the site or not |
| viz_recs_enabled | boolean | Setting for enabling/disabling Viz Recommendations on a site |
| biometrics_mobile_enabled | boolean | Setting for enabling/disabling biometrics for mobile clients for a site |
| iba_enabled | boolean | Setting for enabling/disabling Identity Based Activation on a site. Only applicable for Online |
| named_sharing_enabled | boolean | Whether Named Sharing is enabled on the site |
| sandbox_storage_quota | bigint | the per user storage quota for sandboxes on a site in bytes. If null is unlimited |
| sandbox_datasources_enabled | boolean | Whether to enable datasources on sandboxes for the site or not |
| sandbox_flows_enabled | boolean | Whether to enable flows on sandboxes for the site or not |
| cataloging_enabled | boolean | Setting for enabling/disabling data cataloging features on a site |
| derived_permissions_enabled | boolean | Setting for enabling/disabling derived metadata permissions on a site |
| viz_recs_username_enabled | boolean | Setting for enabling/disabling the display of usernames along with viz recommendations |
| user_visibility | integer | Whether to user visibility is set to 0 - FULL or 1 - LIMITED |
| request_access | integer | One of 3 options for request access: on, off, custom_note |
| ask_data_mode | text | Setting the ask data mode for each site |
| run_now_enabled | boolean | Setting for allowing run now background jobs. |
| web_extraction_enabled | smallint | Enable or disable extract creation/live 1: enable, 0: disable the default is 1 |
| metrics_enabled | boolean | Setting for enabling the metrics feature |
| web_editing_enabled | boolean | One of two options for web editing enabled: on, off |
| notify_site_admins_on_throttle | boolean | Setting for allowing site admins to opt in on receiving an email when background jobs are throttled. |
| obfuscation_enabled | boolean | Setting to enable or disable the obfuscation feature for Data Catalog |
| flow_auto_save_enabled | boolean | Setting to enable or disable auto save feature for flows |
| time_zone | text | IANA 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_enabled | boolean | Setting for enabling public collections |
| self_service_schedule_for_refresh_enabled | boolean | Setting for allowing self service schedule for refresh. |
| self_service_schedule_for_flow_enabled | boolean | Setting for allowing self service schedule for flow. |
| auto_suspend_refresh_enabled | boolean | Setting for enabling/disabling Extract Refresh Auto Suspend feature on a site |
| auto_suspend_refresh_inactivity_window | integer | Number of days after which extract refresh will be suspended for inactive workbooks. |
| web_zone_content_enabled | boolean | Setting for enabling the Web Page Objects |
| personal_space_enabled | boolean | Whether to enable personal space for the site or not |
| personal_space_storage_quota | bigint | the per user storage quota for personal spaces on a site in bytes. If null is unlimited |
| tag_limit | integer | Setting the max tag limit |
| einstein_in_flow_enabled | boolean | Whether einstein is enabled for flow on this site or not |
| explain_data_enabled | boolean | Whether explain data is enabled on this site or not |
| linked_tasks_enabled | boolean | True if scheduling linked tasks is enabled for this site. |
| linked_tasks_run_now_enabled | boolean | True if linked tasks run now is enabled for this site. |
| dqw_subscriptions_enabled | boolean | Whether dqw subscriptions are enabled on this site or not |
| flow_output_subscriptions_enabled | boolean | Whether flow output subscriptions are enabled on this site or not |
| flow_output_subscriptions_data_in_email_body_enabled | boolean | Whether data in email body is enabled for flow output subscriptions on this site or not |
| flow_output_subscriptions_data_as_email_attachment_enabled | boolean | Whether data as email attachment is enabled for flow output subscriptions on this site or not |
| flow_parameters_enabled | boolean | Whether Flow parameters are enabled on this site or not |
| flow_parameters_any_type_enabled | boolean | Whether Flow parameters of type ANY are enabled on this site or not |
| admin_insights_publish_frequency | integer | Publish frequency of admin insights. 0 is daily, 1 is weekly |
| backgrounder_governance_default_limit_enabled | boolean | For On-Prem Only. True if default govrenance limits are set for backgrounders on this site. |
| content_migration_tool_enabled | boolean | Setting for enabling/disabling Content Migration Tool on a site. Only applicable for Online. |
| cmek_available | boolean | Setting for making Customer Managed Encryption Keys available for a site. Only applicable for Online. |
| eas_enabled | boolean | Setting for enabling/disabling External Authorization Server on a site. |
| publish_to_salesforce_enabled | boolean | Whether publishing to Salesforce is enabled on this site or not |
| unrestricted_embedding_enabled | boolean | Settings for enabling/disabling unrestricted embedding |
| domain_allowlist | character varying | Space separated list of domains which this site is allowed to embed vizzes into. |
| mfa_enforcement_status | character varying | Whether MFA is enforced for TableauID users on a site. Only applicable for Online. Deprecated. Replaced by mfa_enforcement_legacy and mfa_enforcement_exemption columns. |
| data_change_discovery_enabled | boolean | Setting for enabling/disabling Data Change Discovery (Uatu) on a site. Only applicable for Online. |
| metrics_snapshotting_enabled | boolean | Enable or disable snapshotting for metrics on this site |
| metrics_snapshotting_time_zone | text | IANA time zone name to be used with metric snapshotting updates on this site. If not set or is empty then the server time zone is used. |
| collections_enabled | boolean | Whether collections are enabled on this site or not |
| data_story_enabled | boolean | Setting for making Data Story feature available on a site. Only applicable for Online. |
| workflow_extension_enabled | boolean | Whether external actions workflow is enabled on this site or not |
| attribute_capture_enabled | boolean | Setting for enabling/disabling Attribute Capture Enabled on a site. |
| data_orientation_enabled | boolean | Whether Data Orientation is enabled or not on this site |
| data_orientation_guest_users_enabled | boolean | Whether Data Orientation is enabled or not for guest users on this site |
| mfa_enforcement_legacy | boolean | Whether the site was created before MFA enforcement was enabled. Only applicable for Online. |
| mfa_enforcement_exemption | boolean | Whether the site was granted an exemption from MFA enforcement. Only applicable for Online. |
| allow_pat_creation | boolean | Setting for enabling/disabling PAT creation control on a site |
| subscriptions_and_dda_email_links_enabled | boolean | Whether subscription and dda email links are enabled on this site or not |
| pat_absolute_expiry | integer | Setting for absolute expiry in days for personal access tokens on a site. |
| flow_parameters_system_type_enabled | boolean | Whether flow parameters of SYSTEM domain are enabled on this site or not |
| refresh_token_absolute_expiry | integer | Absolute expiry for non PAT refresh tokens in seconds |
| allow_pat_group | character varying | Specifies a groupLuid whose members are allowed to create PATs. |
| auto_flow_run_monitoring_enabled | boolean | Whether Flow Run Monitoring is enabled for all flows by default on this site or not |
| auto_extract_refresh_monitoring_enabled | boolean | Whether Extract Refresh Monitoring is enabled for all extracts by default on this site or not |
| is_external_write_disabled | boolean | Specifies whether writing to external sources is disabled on the site. |
| email_customization_smtps_port | integer | default port used to connect to SMTP server for email customization data alerts and subscriptions |
| is_email_customization_enabled | boolean | whether customized email service is enabled for the site or not |
| email_customization_smtps_url | text | link to access SMTP server for email customization data alerts and subscriptions |
| email_customization_friendly_name | text | friendly name used by email customization service |
| email_customization_domain | text | domain which will be used in sender email and in link modification for email customization data alerts and subscriptions |
| max_service_token_limit_per_user | integer | A upper limit of service tokens per user in a site |
| generative_ai_enabled | boolean | Setting to controls whether or not Generative AI is available |
| group_assertions_enabled | boolean | Whether Group Assertions is enabled on the site |
| pulse_personalized_ranking_enabled | boolean | Setting to control whether or not Pulse Personalized ranking is available |
| pulse_enabled | boolean | Whether Pulse is enabled on this site |
| pulse_group_id | character varying | The ID of the group with Pulse access. If null, all users have access. |
| generativeai_pulse | boolean | Setting to controls whether or not Generative AI is available for Pulse |
| generativeai_prep | boolean | Setting to controls whether or not Generative AI is available for Prep |
| generativeai_datacatalog | boolean | Setting to controls whether or not Generative AI is available for Datacatalog |
| generativeai_webauthoring | boolean | Setting to controls whether or not Generative AI is available for web authoring |
| group_assertions_saml_enabled | boolean | Whether Group Assertions for SAML are enabled on the site |
| group_assertions_oidc_enabled | boolean | Whether Group Assertions for OIDC are enabled on the site |
| group_assertions_connected_apps_enabled | boolean | Whether Group Assertions for Connected Apps are enabled on the site |
| group_sets_enabled | boolean | Whether Group Sets are enabled on the site |
| block_non_extract_enabled | boolean | Setting that controls whether or not Blocking of Non Extract is enabled for a given site |
| email_customization_localname | text | local name for email customization data alerts and subscriptions |
| generativeai_pulse_external_embeddings | boolean | Setting to controls whether or not Generative AI is available for Pulse External Embeddings |
| generativeai_pulse_discover | boolean | Setting to controls whether or not Generative AI is available for Pulse Discover |
| is_recycle_bin_enabled | boolean | whether deleted content should be temporarily retained |
| recycle_bin_content_lifespan | integer | how long deleted content should be retained |
| is_explore_in_tableau_enabled | boolean | Whether Explore in Tableau feature is enabled on the site. |
| is_dashboard_narrative_enabled | boolean | Whether Insights Narrative for Dashboards feature is enabled on the site. |
| generativeai_webauthoring_on_prem_enabled | boolean | Setting to store whether the Generative AI on-prem is enabled for Web Authoring |
| dashboard_insights_enabled | boolean | Whether Dashboard Insights is enabled on this site |
| generativeai_pulse_discover_group_id | character varying | The ID of the group with Pulse Discover access. If null, all users have access. |
| generativeai_pulse_external_embeddings_group_id | character varying | The ID of the group with Pulse External Embeddings access. If null, all users have access. |
| generativeai_prep_group_id | character varying | The ID of the group with Generative AI Prep access. If null, all users have access. |
| generativeai_datacatalog_group_id | character varying | The ID of the group with Generative AI Data Catalog access. If null, all users have access. |
| generativeai_web_authoring_group_id | character varying | The ID of the group with Generative AI Web Authoring access. If null, all users have access. |
| generativeai_group_id | character varying | The ID of the group with general Generative AI access. If null, all users have access. |
| dashboard_insights_group_id | character varying | The ID of the group with Dashboard Insights access. If null, all users have access. |
| flow_federation_strategy_selected_connection_enabled | boolean | Whether flow federation strategy selected connection is enabled on this site. |
| email_customization_tenant_id | text | tenant id for email customization data alerts and subscriptions |
| email_customization_client_id | text | client id for email customization data alerts and subscriptions |
| email_customization_auth_type | integer | auth type for email customization data alerts and subscriptions |
| generativeai_llm_provider_api_key_asset_key_id | integer | Asset key id used to encrypt generativeai_llm_provider_api_key; NULL indicates plaintext (backward compatible). |
| public.slack_version_update: Table which holds flag indicating whether SlackVersionUpdate job has executed. This job is triggered manually before an upcoming Tableau Cloud 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 |
| Name | Type | Description |
| id | integer | id column |
| has_executed | boolean | Singleton boolean value indicating whether the job has executed. |
| public.sos_blob_data: table to store sos file types as binary data |
| Name | Type | Description |
| id | bigint | id referenced by repository_data sos_blob_data_id foreign key |
| data | bytea | SOS content stored as binary data |
| public.sos_blob_data_site_enabled: table with site_luid column to store sos file types as binary data |
| Name | Type | Description |
| id | integer | id referenced by repository_data_site_enabled sos_blob_data_id foreign key |
| data | bytea | SOS content stored as binary data |
| site_luid | uuid | This 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. |
| Name | Type | Description |
| 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 |
| id | integer | Primary key for the record. |
| name | text | A possibly useful string that is mostly here to make it easier to debug. |
| created_at | timestamp without time zone | The time at which this record was created. |
| tracking_id | character varying | Unique ID used to track the repository data. |
| type | character varying | Simple Object Storage type. |
| kind | character varying | Kind of data in content; file or folder. |
| sos_blob_data_site_enabled_id | bigint | foreign key referencing sos_blob_data_site_enabled.id |
| data_size | bigint | The data size of large object. |
| site_luid | uuid | This 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. |
| Name | Type | Description |
| 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 |
| id | bigint | Primary key for the virtual folder entry record. |
| site_id | integer | ID of the site containing the virtual folder containing this entry. |
| virtual_folder_id | integer | ID of the virtual folder containing this entry. |
| sos_type | character varying | The SOS type name of this virtual folder entry. |
| sos_id | character varying | The SOS LUID corresponding to this virtual folder entry. |
| relative_path | text | Relative path to this entry starting from the root of the virtual folder. |
| created_at | timestamp without time zone | The time the virtual folder entry was created. |
| site_luid | uuid | This 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. |
| Name | Type | Description |
| Foreign key/Primary key relation from site_id on this table to id on table, public.sites |
| id | bigint | Primary key for the virtual folder record. |
| site_id | integer | ID of the site containing this virtual folder. |
| sos_id | character varying | The SOS LUID corresponding to this virtual folder. |
| sos_type | character varying | The SOS type name of this virtual folder. |
| created_at | timestamp without time zone | The time the virtual folder was created. |
| last_updated_at | timestamp without time zone | The time the virtual folder was last updated. |
| site_luid | uuid | This is the site luid from public.site.luid table |
| public.ss_custom_value_concepts: The table to hold value concepts used by semantics service |
| Name | Type | Description |
| Foreign key/Primary key relation from ontology_id, field_concept_key on this table to ontology_id, key on table, public.ss_field_concepts |
| id | bigint | The unique identifier for this row that is automatically generated on insert |
| created_at | timestamp with time zone | The timestamp for when this row entry was created |
| updated_at | timestamp with time zone | The timestamp for when this row entry was updated |
| key | text | Key of a value concept which is unique within one ontology |
| value | text | The value of the value concept in string format |
| value_type | text | The enum that represents the value type |
| field_concept_key | text | Key of the field concept that this value concept belongs to |
| ontology_id | bigint | ID of the ontology that this value concept belongs to |
| synonyms | jsonb | A list of synonyms of this value concept |
| public.ss_field_concepts: The table to hold field concepts used by semantics service |
| Name | Type | Description |
| 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 |
| id | bigint | The unique identifier for this row that is automatically generated on insert |
| created_at | timestamp with time zone | The timestamp for when this row entry was created |
| updated_at | timestamp with time zone | The timestamp for when this row entry was updated |
| key | text | Key of a field concept which is unique within one ontology |
| names | jsonb | A list of synonyms of this field concept |
| description | text | Description of this field concept |
| name_characteristics | jsonb | A json blob that contains name characteristics of this field concept |
| data_types | ARRAY | A list of possible data types of this field concept |
| field_roles | ARRAY | A list of possible field roles of this field concept |
| default_formats | ARRAY | A list of possible default formats of this field concept |
| value_characteristics | jsonb | A json blob that contains value characteristics of this field concept |
| ontology_id | bigint | ID of ontology that this field concept belongs to |
| owner_id | text | User that creates this field concept, empty for built-in ones |
| object_concept_key | text | Key of object concept that this field concept belongs to |
| parent_field_concept_key | text | Key of field concept that is parent of this field concept |
| vs_field_name | text | Field in a published datasource that we sync value concepts of this field concept from |
| vs_datasource_id | bigint | Id of published datasource that we sync value concepts of this field concept from |
| user_id | bigint | ID of user who creates this field concept, empty for built-in ones |
| data_role_id | bigint | The ID of the data role that corresponds to the field concept. Data roles are stored in table `data_roles`. |
| value_source_kind | text | Contains a serialization of the kind of the value source (ie. datasource, builtin, valuelist, etc.) |
| site_luid | text | site luid of the field concept |
| public.ss_object_concepts: The table to hold object concepts used by semantics service |
| Name | Type | Description |
| Foreign key/Primary key relation from ontology_id on this table to id on table, public.ss_ontologies |
| id | bigint | The unique identifier for this row that is automatically generated on insert |
| created_at | timestamp with time zone | The timestamp for when this row entry was created |
| updated_at | timestamp with time zone | The timestamp for when this row entry was updated |
| key | text | Key of an object concept which is unique within one ontology |
| names | jsonb | A list of synonyms of this object concept |
| description | text | Description of this object concept |
| ontology_id | bigint | ID of ontology that this object concept belongs to |
| source_version | text | Source data version of built-in object concepts |
| public.ss_ontologies: The table to hold ontologies used by semantics service |
| Name | Type | Description |
| Foreign key/Primary key relation from site_id on this table to id on table, public.sites |
| id | bigint | The unique identifier for this row that is automatically generated on insert |
| created_at | timestamp with time zone | The timestamp for when this row entry was created |
| updated_at | timestamp with time zone | The timestamp for when this row entry was updated |
| site_id | integer | ID of the site that this ontology belongs to, empty for built-in ontology |
| description | text | Description of this ontology |
| public.subscription_messages: This table represent a subscription email message. |
| Name | Type | Description |
| Foreign key/Primary key relation from site_id on this table to id on table, public.sites |
| id | integer | Primary key for the subscription message. |
| message_text | text | The text of the message. |
| site_id | integer | The ID of the site the subscription belongs to. |
| public.subscriptions: Each record represents a subscription. |
| Name | Type | Description |
| 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 |
| id | integer | Primary key for the record. |
| subject | character varying | A string that describes the nature of the subscription. |
| user_id | integer | A foreign key reference to the user who will receive the subscription. |
| schedule_id | integer | A foreign key reference to the record in the schedules table that describes exactly when the subscription will be triggered. |
| last_sent | timestamp without time zone | The last time at which the the subscription was sent. |
| site_id | integer | Site ID for Subscriptions. FK reference to sites.id |
| luid | uuid | UUID for subscriptions used in REST APIs |
| creator_id | integer | User id for user who created the subscription. FK reference to users.id |
| data_condition_type | character varying | The 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_triggered | boolean | Whether or not subscription is triggered by refresh extract |
| created_at | timestamp without time zone | The time at which this record was created. |
| subscription_message_id | integer | Locator for the subscription message. |
| content_has_user_references | boolean | Boolean that represents whether the content of the subscription has user references. NULL means subscription has not run yet |
| attach_pdf | boolean | Boolean that represents whether to attach a PDF to the subscription |
| attach_image | boolean | Boolean that represents whether to attach images to the subscription |
| target_type | character varying | String that represents the type of object being subscribed to. Either View or Workbook |
| target_id | integer | Integer 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. |
| Name | Type | Description |
| 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 |
| id | integer | Primary key for the record. |
| subscription_id | integer | A 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_id | integer | A foreign key reference to a particular customized view. |
| site_id | integer | The ID of the site the subscription belongs to. |
| public.subscriptions_flow_metadata: Stores subscriptions metadata, which allow users to subscribe to flow outputs. |
| Name | Type | Description |
| 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 |
| id | integer | Primary key for this record. |
| luid | uuid | A unique, immutable identifier within a site. |
| site_id | integer | The id of the site that this record is associated with. |
| created_at | timestamp without time zone | The time the record was created. |
| updated_at | timestamp without time zone | The time the record was updated. |
| creator_id | integer | User id who created this subscription metadata. |
| user_id | integer | User id who is subscribed to the flow output. |
| target_id | integer | Target id (content id) of this subscription. |
| subject | text | Subject of this subscription. |
| message | text | Message of this subscription. |
| schedule_id | integer | Schedule id of this subscription. |
| public.subscriptions_flows: Stores subscriptions flows, which allow users to subscribe to flow outputs. |
| Name | Type | Description |
| 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 |
| id | integer | Primary key for this record. |
| luid | uuid | A unique, immutable identifier within a site. |
| site_id | integer | The id of the site that this record is associated with. |
| created_at | timestamp without time zone | The time the record was created. |
| updated_at | timestamp without time zone | The time the record was updated. |
| subscription_flow_metadata_id | integer | Subscription metadata id associated with this subscription flow. |
| flow_run_spec_id | integer | Flow run spec id that this subscription is created for. |
| output_id | integer | Output id for the content that would be shown in this subscription email. |
| include_output_data | boolean | If to include output data in this subscription email. |
| include_link_to_output_data | boolean | If to include a Link to the output data in this subscription email. |
| show_rows_in_email_body | boolean | If to include the output data in this subscription email body. |
| attach_output_data | boolean | If to attach the output data to this subscription email. |
| attached_output_data_format | character varying | Attached output data format of this subscription. |
| subscription_id | integer | Subscription 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. |
| Name | Type | Description |
| 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 |
| id | integer | Primary key for the record. |
| subscription_id | integer | A 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_url | text | Used as a means to reference the particular view that is to be included in the subscription. |
| site_id | integer | The 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. |
| Name | Type | Description |
| 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 |
| id | integer | Primary key for the record. |
| subscription_id | integer | A 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_url | text | Used as a means to reference the particular workbook that is to be included in the subscription. |
| site_id | integer | A 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 |
| Name | Type | Description |
| 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_id | integer | The site id of the datasource |
| published_datasource_id | integer | The published datasource id of the datasource |
| field_graph_id | text | The graph id corresponding to the field of a datasource |
| synonyms | ARRAY | The synonyms corresponding to a particular field of a datasource |
| created_at | timestamp with time zone | The timestamp for when this row entry was created |
| updated_at | timestamp with time zone | The timestamp for when this row entry was updated |
| id | bigint | The unique identifier for this row that is automatically generated on insert |
| lens_id | integer | id of the lens for which the synonym is applicable |
| public.system_user_identities: Identity to SystemUser mappings. |
| Name | Type | Description |
| Foreign key/Primary key relation from system_user_id on this table to id on table, public.system_users |
| identity_uuid | uuid | Primary key for identity mapping. |
| system_user_id | integer | SystemUser for identity mapping. |
| created_at | timestamp without time zone | Creation time of record. |
| updated_at | timestamp without time zone | Last updated time of record. |
| identity_pool_uuid | uuid | The uuid of the identity pool which the identity is associated with. |
| id | bigint | Primary key for the system_user_identity record. |
| public.system_user_migration_conflicts: Conflicts when migrating system_user identities. |
| Name | Type | Description |
| 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 |
| id | integer | The autoincremental id for this record. |
| system_user_id | integer | SystemUser for which the migration failed. |
| failure_type | character varying | The type of failure that was registered when migrating this system_user. |
| created_at | timestamp without time zone | Creation time of this record. |
| discard_identity | boolean | If the admin acknowledge they will not create an identity for this system_user. |
| error_message | character varying | Information on the exception raised during the migration of this system_user. |
| duplicate_system_user_id | integer | The 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. |
| Name | Type | Description |
| Foreign key/Primary key relation from migration_conflict_id on this table to id on table, public.system_user_migration_conflicts |
| id | integer | The autoincremental id for this record. |
| migration_conflict_id | integer | The id of the ambiguous migration conflict to which this identity information corresponds. |
| domain_fqdn | character varying | The fqdn from the domain of the active directory user. |
| sam_account_name | character varying | The sAMAccountName of the active directory user from the query result. |
| user_principal_name | character varying | The Full-UPN of the active directory user attributes. |
| distinguished_name | character varying | The DN of the ldap user from the query result. |
| display_name | character varying | The 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. |
| Name | Type | Description |
| Foreign key/Primary key relation from domain_id on this table to id on table, public.domains |
| id | integer | Primary key for the record. |
| name | character varying | The username of the user. |
| email | character varying | The email of the user. |
| hashed_password | character varying | Hashed password - only used for local authentication. |
| salt | character varying | The salt used when hashing the password - only used for local authentication. |
| keychain | text | The encyrpted keychain for the user. |
| domain_id | integer | The domain for this user. |
| friendly_name | character varying | A friendly name that might be used in the GUI to refer to the user. |
| custom_display_name | boolean | If 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_level | integer | Indicates if the user is a system administrator. 10 : system admin, 0 : not a system admin |
| created_at | timestamp without time zone | The time at which this record was created. |
| updated_at | timestamp without time zone | The last time any changes were made to this record. |
| auth_user_id | character varying | An external, immutable identifier for the user provided by an external authorization system. |
| asset_key_id | integer | The id for the asset encryption key used to encrypt the keychain for this user. |
| lock_version | integer | Used to implement "optimistic locking." Don't set this or mess with it, it's all handled automatically. |
| last_password_update | timestamp without time zone | Date that represents the last time the user updated the password to the current value. |
| force_password_update | boolean | Boolean that represents if we want to force a password reset on the user the next time it tries to log in. |
| protected_password | character varying | Protected form of the user password - only used for local authentication. |
| last_failed_login | timestamp without time zone | Date that represents the last time the user had an unsuccessful login. |
| failed_login_attempts | integer | Integer that represents the number of failed attempts since the last successful login. |
| protected_password_bad_format | boolean | Set to true if protected password format unrecognized |
| user_management_version | integer | Version number used for optimistic locking and conflict resolution |
| public.table_asset_events: Used to store table_asset events stream. |
| Name | Type | Description |
| id | bigint | Primary key for this record. |
| table_asset_id | integer | table_asset ID. |
| site_id | integer | Site ID. |
| event_created_at | timestamp without time zone | Timestamp indicating when the record was inserted. |
| event_type | smallint | Event type to differentiate between insert, update, delete. |
| public.table_asset_sources: Used to store mappings between tables and their source. |
| Name | Type | Description |
| 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 |
| id | integer | Primary key. |
| site_id | integer | Site id. |
| table_asset_id | integer | Table Asset ID. |
| source_id | integer | Source ID. |
| source_type | character varying | Source type, e.g. Workbook, Datasource, Flow. |
| created_at | timestamp without time zone | Created at. |
| updated_at | timestamp without time zone | Updated at. |
| public.table_assets: Each record represents a table asset that exists on Tableau Server. |
| Name | Type | Description |
| 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 |
| id | integer | Primary key for the table asset record. |
| name | character varying | The name of the table asset. |
| luid | uuid | A unique, immutable identifier for the table asset. |
| site_id | integer | The id of the site that this table asset is associated with. |
| created_at | timestamp without time zone | The time the record was created. |
| updated_at | timestamp without time zone | The time the record was updated. |
| description | text | The description of the table asset. |
| database_id | integer | The database this table belongs to. |
| table_schema | text | Schema for this table. |
| contact_id | integer | The contact for this table. |
| contact_type | character varying | The contact type (user or group) for this table. |
| is_certified | boolean | Whether this table is certified. |
| certification_note | text | Certification note for this table. |
| certifier_user_id | integer | Certifier user_id for this table. |
| certifier_details | text | Certifier details for this table. |
| full_name | character varying | The fully qualified name of the table. |
| duplicate_id | integer | If not null, id of table that is a duplicate of this one. |
| is_tombstoned | boolean | Tombstoned tables are "soft deleted" because they are associated with databases that have been grouped with other databases. |
| grouped_parent_id | integer | ID in table_assets table of table this tombstoned database was grouped into. |
| type | character varying | Type of table or object - DataModel, DataStream, DataLake, CalculatedInsight and DatabaseTable; |
| public.taggings: Associates tags with taggable items. |
| Name | Type | Description |
| 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 |
| id | integer | The primary key for the table. |
| tag_id | integer | The ID of the tag. |
| taggable_id | integer | The ID of the taggable item. |
| taggable_type | character varying | The type of the taggable item - this is used to identify which table to join to. |
| user_id | integer | The ID of the owning user. |
| site_id | integer | The 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. |
| Name | Type | Description |
| Foreign key/Primary key relation from site_id on this table to id on table, public.sites |
| id | integer | The primary key for the table. |
| name | character varying | The value of the tag. |
| created_at | timestamp without time zone | The time at which this record was created. |
| updated_at | timestamp without time zone | The last time any changes were made to this record. |
| site_id | integer | The 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. |
| Name | Type | Description |
| 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 |
| id | integer | The primary key for the table. |
| schedule_id | integer | Links to a schedule. When the schedule's "run_next_at" time arrives, any tasks linked to that schedule will run. |
| type | character varying | Identifies 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. |
| priority | integer | An 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_id | integer | Some 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_at | timestamp without time zone | When this record was created. |
| updated_at | timestamp without time zone | The last time this record was updated. |
| site_id | integer | Some tasks are specific to a particular site. In such cases, this field links to the relevant site in the sites table. |
| obj_type | character varying | One of either "Workbook" or "Datasource". Used in conjuction with obj_id, as described there. |
| luid | uuid | uuid for tasks used in the REST API |
| consecutive_failure_count | integer | The number of times this task has failed. |
| active | boolean | If set to false, this means that the task is inactive, implying it won't be run when the schedule triggers |
| args | text | Used to pass parameters for the task, formatted as yaml. |
| title | text | Can be used to provide some additional information about the task |
| subtitle | text | Can be used to provide some additional information about the task |
| historical_run_time | integer | Stored 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_time | integer | Stored as the historical queue time in seconds for the task, used for comparing the current queue time to the past |
| run_count | integer | Number 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. |
| state | integer | One of 3 options for task state: 0 - active, 1 - suspended, 2 - disabled |
| last_success_completed_at | timestamp without time zone | The last time the task successfully completed. |
| creator_id | integer | Indicates what user id is the creator of the task |
| public.tde_files: Information about TDE files. |
| Name | Type | Description |
| Foreign key/Primary key relation from site_id on this table to id on table, public.sites |
| id | integer | Auto-generated id from postgres; also the primary key for the table. |
| site_id | integer | Id of the site to which the TDE file belongs. |
| name | text | Unique name of the TDE file. |
| size | bigint | Size of the file in bytes. |
| created_at | timestamp without time zone | Timestamp when this record was created. |
| updated_at | timestamp without time zone | Same as created_at. |
| public.tde_upgrades: Information for the upgrade process of TDE extracts to Hyper. |
| Name | Type | Description |
| Foreign key/Primary key relation from site_id on this table to id on table, public.sites |
| id | bigint | Auto-generated id from postgres and primary key. |
| object_id | integer | Id of the object. Maps to the workbook or datasource ID. |
| object_type | character varying | The type of object, either a workbook or datasource. |
| site_id | integer | The site ID to which the object belongs. |
| repository_data_id | character varying | The original repository file for the twbx or tdsx. |
| error_message | text | The error message associated with upgrading this object. |
| separated_data_id | character varying | Unique ID of the datasource data stored in tds service. |
| tds_file_luid | text | Unique ID of the tds file in TDS service. |
| status | smallint | The status of the tde upgrade. |
| document_upgrade | boolean | Represents if the xml was upgraded during the tde conversion to hyper. |
| created_at | timestamp without time zone | The time the record was created. |
| updated_at | timestamp without time zone | The time the record was last updated. |
| public.tds_datasource_files: The TDS files. |
| Name | Type | Description |
| id | bigint | Primary key for the record. |
| created_at | timestamp with time zone | The timestamp for creating the file. |
| updated_at | timestamp with time zone | The timestamp for updating the file. |
| site_id | integer | Reference to the site to where the datasource exists. |
| luid | uuid | The unique ID of the datasource. |
| tds_xml_sos_id | text | The ID of the xml within SOS. |
| site_luid | text | The luid which uniquely identifies the site. |
| datasource_luid | uuid | The datasource luid from datasources table, adding this luid will show what datasource our records belong to. |
| is_active | boolean | This column is a flag to distinguish orphans from active records. |
| public.tds_workcopies: tds_workcopies table holds in-progress copies of editted datasources for CRUD API use |
| Name | Type | Description |
| id | uuid | Primary key for the record. |
| site_luid | uuid | The luid which uniquely identifies the site. |
| user_luid | uuid | The luid which uniquely identifies a workCopy owner. |
| sos_id | uuid | The ID of the xml within SOS. |
| created_at | timestamp with time zone | The timestamp for creating a workCopy. |
| is_active | boolean | This field will mark workCopies as expired. |
| last_updated_at | timestamp with time zone | The timestamp for last update on a workCopy. |
| datasource_luid | uuid | The datasource luid from datasources table, adding this luid will show what datasource our records created from and help to fetch when we need to republish. |
| sequence_number | bigint | This column will keep track of workCopies for reconciliation purposes. |
| 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. |
| Name | Type | Description |
| 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 |
| id | integer | Primary key for the record. |
| username | character varying | The name of the user, under whose authority, the ticket is created. Access to content is provided as if the ticket redeemer were this user. |
| ticket | character varying | The unique ticket string, i.e. the "value" of the trusted ticket. |
| client_ip | character varying | If 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_at | timestamp without time zone | When this record was created, i.e. the time of creation of the ticket. |
| user_id | integer | Links to the user that has the given username, and is associated with the current site. |
| expires_at | timestamp without time zone | Tickets 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_id | integer | The site of the user. |
| originating_session_id | character varying | The user session which created the ticket. Null if the ticket was not created by an authenticated user. |
| guid | character varying | Uniquely identifies a trusted ticket when ticket hashing is enabled. |
| salt | character varying | Combined with ticket to form the hash. |
| hashed_ticket | character varying | The 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. |
| Name | Type | Description |
| id | bigint | Primary key for the record. |
| content_id | integer | A foreign key reference to the content. |
| content_type | text | The type of content. |
| year_index | integer | Records what year the analytics are aggregated over. |
| month_index | integer | Records what month of the year the analytics are aggregated over. When 0, the aggregation is for the year as designated by year_index. |
| day_index | integer | Records 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_count | bigint | Records the number of times the content was accessed in the given time interval. |
| site_id | integer | The ID of the site the metrics aggregation belongs to. |
| partition_name | text | Records 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. |
| Name | Type | Description |
| id | bigint | Primary key for the record. |
| content_id | integer | A foreign key reference to the content. |
| content_type | text | The type of content. |
| year_index | integer | Records what year the analytics are aggregated over. |
| month_index | integer | Records what month of the year the analytics are aggregated over. When 0, the aggregation is for the year as designated by year_index. |
| day_index | integer | Records 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_count | bigint | Records the number of times the content was accessed in the given time interval. |
| site_id | integer | The ID of the site the metrics aggregation belongs to. |
| partition_name | text | Records 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. |
| Name | Type | Description |
| 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 |
| id | integer | Primary key for the record. |
| user_id | integer | A foreign key reference to the user. |
| view_id | integer | A foreign key reference to the view. |
| customized_view_id | integer | A foreign key reference to the customized view. |
| created_at | timestamp without time zone | When this record was created. |
| updated_at | timestamp without time zone | When this record was last updated. |
| site_id | integer | The ID of the site to which this entry belongs. |
| public.user_images: Represents images for each associated system user. |
| Name | Type | Description |
| Foreign key/Primary key relation from system_user_id on this table to id on table, public.system_users |
| id | integer | Primary key for the record. |
| repository_data_id | bigint | A reference to an entry in the repository_data table. |
| image_id | character varying | The id of the image in storage. |
| image_type | character varying | A string representing the size of the image. |
| system_user_id | integer | The 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. |
| Name | Type | Description |
| 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 |
| id | integer | The identifier of the record. |
| notification_id | integer | The identifier of the notification this record belongs to. |
| field_name | text | The name of the content field. |
| list_index | integer | The 0-based index of the item in the list. |
| reference_type | integer | The type of the referenced object. |
| reference_id | integer | The identifier of the referenced object. |
| site_id | integer | The identifier of the site the record belongs to. |
| public.user_notification_content_references: References to other DB records in user notification content. |
| Name | Type | Description |
| 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 |
| id | integer | The identifier of the record. |
| notification_id | integer | The identifier of the notification this record belongs to. |
| field_name | text | The name of the content field. |
| reference_type | integer | The type of the referenced object. |
| reference_id | integer | The identifier of the referenced object. |
| site_id | integer | The identifier of the site the record belongs to. |
| public.user_notification_recipients: Holds metadata for all user notification recipients on the server. |
| Name | Type | Description |
| 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 |
| id | integer | Primary key for the user notification recipient. |
| recipient_user_id | integer | The identifier for the recipient of the user notification. |
| notification_id | integer | The identifier of the notification for the recipient. |
| read_state | boolean | True if the notification has been read, false if it is unread. |
| site_id | integer | The identifier of the site the recipient belongs to. |
| recipient_type | integer | The (enum internal value of the) recipient type. |
| public.user_notifications: Holds metadata for all user notifications on the server. |
| Name | Type | Description |
| Foreign key/Primary key relation from site_id on this table to id on table, public.sites |
| id | integer | Primary key for the user notification. |
| luid | uuid | The identifier for the user notification. |
| notification_type | text | The type of the user notification. |
| event_time | timestamp without time zone | The time at which the event that triggered this notification occurred. |
| subject_type | integer | The subject type of the user notification. |
| subject_id | integer | The identifier for the subject of the user notification. |
| site_id | integer | The identifier for the site that the user notification belongs to. |
| content | text | The text content of the user notification. |
| sender_user_id | integer | The identifier for the (optional) sender of the user notification. |
| created_at | timestamp without time zone | The time at which the user notification was persisted. |
| public.user_notifications_server_settings: A key-value store for user notifications server settings. |
| Name | Type | Description |
| id | integer | Primary key. |
| key | text | String key for the setting. |
| value | text | String 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. |
| Name | Type | Description |
| Foreign key/Primary key relation from site_id on this table to id on table, public.sites |
| id | integer | Primary key. |
| site_id | integer | Site id that setting applies to. |
| key | text | String key for the setting. |
| value | text | String 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. |
| Name | Type | Description |
| Foreign key/Primary key relation from site_id on this table to id on table, public.sites |
| id | integer | Primary key. |
| user_id | integer | User id that setting applies to. |
| site_id | integer | Site id that user belongs to. |
| key | text | String key for the setting. |
| value | text | String 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 |
| Name | Type | Description |
| Foreign key/Primary key relation from system_user_id on this table to id on table, public.system_users |
| id | integer | Primary key for the record. |
| system_user_id | integer | The id of the user this onboarding info is associated with. |
| nlp_onboarding_stage | character varying | The nlp onboarding stage of this user. |
| nlp_help_center_stage | character varying | Ask data help center onboarding stage |
| public.user_package_preferences: Per-user opt-in/opt-out for packages. Row absence means "use packages.default_activation." |
| Name | Type | Description |
| Foreign key/Primary key relation from package_id on this table to id on table, public.packages |
| 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 |
| id | bigint | Primary key |
| site_id | integer | Foreign key to public.sites.id; denormalized from packages.site_id for RLS |
| user_id | integer | Foreign key to public.users.id; cascades on delete |
| package_id | bigint | Foreign key to public.packages.id; cascades on delete |
| enabled | boolean | TRUE = explicit opt-in; FALSE = explicit opt-out. To "reset to default" delete the row. |
| updated_at | timestamp without time zone | When this preference was last set |
| public.user_prefs: Contains a variety of preferences for the various system users. |
| Name | Type | Description |
| Foreign key/Primary key relation from system_user_id on this table to id on table, public.system_users |
| id | integer | Primary key for the record. |
| system_user_id | integer | Foreign key reference to the system_users table. This tells us which system user these preferences apply to. |
| version | integer | Used to indicate how to interpret the prefs information. |
| prefs | bytea | A serialized object containing the various preferences. |
| language_id | character varying | A code indicating the desired language for this system_user |
| locale_id | character varying | A code indicating the locale (country and language) for this system_user. |
| start_page | character varying | if not set the value from global_settings.start_page_uri is used |
| suppress_getting_started_notifications | boolean | Flag which indicates if user has selected to suppress getting started notifications (used in online case only so far). |
| display_mode | character varying | A display mode "thumbnail" or "list" that the user last selected for viewing contents. |
| local_timezone_offset | integer | local user timezone offset (in minutes) from utc from last login location |
| local_timezone_name | character varying | best guess of local user timezone name from last login location |
| lock_version | integer | Used to implement "optimistic locking." Don't set this or mess with it, it's all handled automatically. |
| is_user_set_timezone | boolean | Indicating whether user explicitly set the timezone or inferred by system |
| suspended_subscription_notification | boolean | Site and System admins only. When true admins receive notification about suspended subscriptions |
| suspended_data_alert_notification | boolean | Site and System admins only. When true admins receive notification about suspended alerts |
| mark_animation_enabled | boolean | When true, users will see mark animations on sheets |
| should_auto_show_data_orientation_pane | boolean | When true, the Data Orientation pane will be shown the next time this user opens a workbook |
| should_suppress_data_orientation_auto_open | boolean | When true, the Data Orientation pane not be auto-opened, even if other settings would allow it. |
| prep_conductor_awareness_messaging_enabled | boolean | Setting for enabling/disabling Prep Conductor Add-On messaging |
| catalog_awareness_messaging_enabled | boolean | Setting for enabling/disabling Catalog Add-On messaging |
| virtual_connections_awareness_messaging_enabled | boolean | Setting for enabling/disabling Virtual Connections Add-On messaging |
| toast_auto_dismiss_timeout | integer | Number of seconds before non-critical toast action messages notifications should auto dismiss. Non-positive numbers represent toasts should never auto dismiss |
| viewer_controlled_theme | integer | Number corresponding to selection of viewer controlled theme. 0 for default light theme, 1 for dark theme, 2 for high contrast theme. |
| viewer_controlled_viz_theme | integer | Integer corresponding to the user selection of viewer controlled viz theme. 0 is the default theme. |
| public.users: Each record links a system_users record to a site. The user's site specific settings are captured here. |
| Name | Type | Description |
| 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 |
| id | integer | Primary key for the record. |
| login_at | timestamp without time zone | The time of the most recent login for this user. |
| created_at | timestamp without time zone | When the record was created. |
| updated_at | timestamp without time zone | When the record was last updated. |
| site_id | integer | A foreign key reference to the site that the user belongs to. |
| system_user_id | integer | A foreign key reference to the system user that this user is identified with. |
| system_admin_auto | boolean | A flag indicating if the user is a system_admin that is not explicitly a member of the site. |
| luid | uuid | An immutable identifier for the record. |
| lock_version | integer | Used to implement "optimistic locking." Don't set this or mess with it, it's all handled automatically. |
| site_role_id | integer | The 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 |
| user_management_version | integer | Version number used for optimistic locking and conflict resolution |
| published_datasource_limit | integer | Maximum number of published datasources allowed for this user. NULL means unlimited. |
| public.value_synonyms: The user defined synonyms associated with values of fields in datasources |
| Name | Type | Description |
| 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 |
| id | bigint | The unique identifier for this row that is automatically generated on insert |
| created_at | timestamp with time zone | The timestamp for when this row entry was created |
| updated_at | timestamp with time zone | The timestamp for when this row entry was updated |
| site_id | integer | The id of the site on which the datasource is published |
| published_datasource_id | integer | The id of the published datasource on the site |
| field_graph_id | text | The graph id of the field in the datasource |
| field_value | text | The name of the value in the field |
| user_defined_synonyms | ARRAY | The user defined synonyms associated with the value |
| lens_id | integer | id of the lens for which the value synonym is applicable |
| public.view_acceleration_excluded_views: This table is to store, at the sheet level, information related to recommendating views for acceleration. |
| Name | Type | Description |
| Foreign key/Primary key relation from site_id on this table to id on table, public.sites |
| id | bigint | Auto-generated id from postgres; also the primary key for the table. |
| site_id | integer | ID of the site. This id is same as the id (primary key) of the public.sites table. |
| workbook_id | integer | ID of the workbook. This id is same as the id (primary key) of the public.workbooks table. |
| view_id | integer | ID of the view. This id is same as the id (primary key) of the public.views table. |
| credential_embedded | boolean | a boolean value, reflecting if the view has credential embedded |
| view_has_user_function | boolean | a boolean value showing if the view uses user function |
| datasource_has_user_function | boolean | a boolean value showing if the workbook uses a published data source with user function |
| has_init_sql | boolean | a boolean value, reflecting if the view has init sql |
| last_updated_at | timestamp without time zone | the timestamp when this record was updated |
| public.view_acceleration_recommendation_ranks: This table is to store ranking scores for view acceleration recommendations. |
| Name | Type | Description |
| 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 |
| id | integer | Auto-generated id from postgres; also the primary key for the table. |
| site_id | integer | ID of the site. This id is same as the id (primary key) of the public.sites table. |
| workbook_id | integer | ID of the workbook. This id is same as the id (primary key) of the public.workbooks table. |
| view_id | integer | ID of the view. This id is same as the id (primary key) of the public.views table. |
| rank | integer | Rank of the view obtained after calculation of the score using Ranking algorithm. |
| score | double precision | Score of the view obtained after calculation. |
| changed_at | timestamp without time zone | Timestamp at which ranking was updated. |
| public.view_acceleration_viewer_recommendations: This table is to store viewers recommendation views for acceleration. |
| Name | Type | Description |
| 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 |
| Foreign key/Primary key relation from workbook_id on this table to id on table, public.workbooks |
| id | bigint | Auto-generated id from postgres; also the primary key for the table. |
| site_id | integer | ID of the site. This id is same as the id (primary key) of the public.sites table. |
| workbook_id | integer | ID of the workbook. This id is same as the id (primary key) of the public.workbooks table. |
| view_id | integer | ID of the view. This id is same as the id (primary key) of the public.views table. |
| user_id | integer | ID of the user. This id is same as the id (primary key) of the public.users table. |
| recommended_at | timestamp without time zone | the timestamp when the user recommended the view for acceleration |
| 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. |
| Name | Type | Description |
| 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 |
| id | integer | Primary key for the record. |
| view_id | integer | A foreign key reference to the view. |
| day_index | integer | Records 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_index | integer | Records what month of the year the analytics are aggregated over. When 0, the aggregation is for the year as designated by year_index. |
| year_index | integer | Records what year the analytics are aggregated over |
| view_count | integer | Records the number of time a view was viewed in the given time interval. |
| device_type | text | DSD device type detected (non-null only if view is dashboard in non-authoring mode) |
| site_id | integer | The 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. |
| Name | Type | Description |
| 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 |
| id | integer | Auto-generated id from postgres; also the primary key for the table. |
| site_id | integer | ID of the site. This id is same as the id (primary key) of the public.sites table. |
| view_id | integer | ID of the view. This id is same as the id (primary key) of the public.views table. |
| user_id | integer | ID of the user. This id is same as the id (primary key) of the public.users table. |
| refreshed_at | timestamp without time zone | The timestamp when the view is refreshed by the user. |
| public.views: Each records represents a view in a workbook. |
| Name | Type | Description |
| 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 |
| id | integer | Primary key for the record. |
| name | character varying | The name of the view. |
| repository_url | text | Uniquely 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. |
| description | text | Can hold a description of the view, but not normally populated. |
| created_at | timestamp without time zone | The time at which this record was created. |
| workbook_id | integer | A foreign key reference to the workbook the view is part of. |
| index | integer | Each view has an index that is unique among views belonging to that workbook. |
| updated_at | timestamp without time zone | The last time any changes were made to this record |
| owner_id | integer | A foreign key reference to the user who owns this view. |
| fields | text | A list of fields extracted from the workbook's twb file. |
| title | text | A title for the worksheet extracted from the workbook's twb file. |
| caption | text | A descriptive phrase constructed for the worksheet, based on the workbook definition. |
| sheet_id | character varying | An identifier for the sheet. Based on the name of the sheet. |
| state | character varying | One of "active" or "archived". "archived" indicates that the item is in the Recycle Bin. |
| sheettype | character varying | One of "story" "dashboard" and "view". |
| site_id | integer | A foreign key link to the site to which this view belongs. |
| first_published_at | timestamp without time zone | Records the timestamp for the first time this view was published. This value will not change is the workbook containing this view is later republished. |
| revision | character varying | Starts with 1.0 and increments by 0.1 with each republication. |
| luid | uuid | An immutable identifier for the record. |
| thumbnail_id | character varying | Unique ID used to identify the thumbnail data. |
| is_deleted | boolean | Deprecated. Whether this view is deleted or not. |
| public.views_stats: This table is used to track how many times each user has accessed different views. |
| Name | Type | Description |
| 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 |
| id | integer | Primary key for the record. |
| user_id | integer | A foreign key reference to a particular user. |
| view_id | integer | A foreign key reference to the view that was accessed. This field must be populated. |
| nviews | integer | Keeps a cumulative count of the number of times the view was accessed by this user. |
| time | timestamp without time zone | The time of the most recent access of the specified view by the specified user. |
| site_id | integer | The site to which the view and the user belong. |
| device_type | text | Device 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. |
| Name | Type | Description |
| 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 |
| id | integer | Primary key for the viz snapshot. |
| view_id | integer | Primary key id for view associated with the viz snapshot. |
| image_id | character varying | Locator for the full image of the viz snapshot. |
| thumbnail_id | character varying | Locator for the thumbnail image of the viz snapshot. |
| data_id | character varying | Locator for the data of the viz snapshot. |
| created_at | timestamp without time zone | The time at which this record was created. |
| reference_count | integer | The number of objects that reference a viz snapshot. |
| site_id | integer | The ID of the site the viz_snapshots belong to. |
| public.viz_states: This table represents a snapshot of the state of a viz. |
| Name | Type | Description |
| Foreign key/Primary key relation from view_id on this table to id on table, public.views |
| id | integer | Primary key for the viz state entity. |
| view_id | integer | Foreign key reference to the view associated with this viz state. |
| image_id | character varying | Locator for the full image of the viz state. |
| thumbnail_id | character varying | Locator for the thumbnail image of the viz state. |
| data_id | character varying | A reference to an entry in SOS which references a tcv file of the viz state. |
| created_at | timestamp without time zone | When this recorded was created |
| public.webhooks: Holds metadata for all registered webhooks on the server. |
| Name | Type | Description |
| Foreign key/Primary key relation from site_id on this table to id on table, public.sites |
| id | integer | Primary key for the webhook. |
| luid | uuid | Identifier for webhook. |
| site_luid | uuid | The site that the webhook belongs to. |
| site_id | integer | The id of the site that the webhook belongs to. |
| version | integer | The version of this webhook. 1 on create, monotonically increasing with each update of the webhook. |
| owner_luid | uuid | The user who is the current owner of the webhook. |
| url | text | The fully specified URL for the webhook to POST to when triggered. |
| body_template | text | JSON template for the body of the request to send when the webhook is triggered. |
| name | text | Human readable name for the webhook, defaults to the value Unnamed Webhook. |
| event_type | text | The type of event on the server that will trigger this webhook e.g datasource refresh. |
| isenabled | boolean | Whether the webhook is currently run on trigger events |
| statuschangereason | text | Record the reason for any automated disabling/enabling of a webhook |
| failedattempts | integer | Number 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. |
| Name | Type | Description |
| 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 |
| id | integer | Primary key for the record. |
| workbook_id | integer | Identifies the workbook for which this checksum applies. |
| checksum | character varying | The computed checksum of the workbook during download. |
| created_at | timestamp without time zone | When this checksum entry was created and will be valid only if associated workbook update timestamp is earlier than this. |
| expires_at | timestamp without time zone | When this checksum entry expires and became eligible for cleanup by background task. |
| site_id | integer | Site ID of the workbook_checksums. |
| public.workbook_events: Used to store workbook events stream. |
| Name | Type | Description |
| id | bigint | Primary key for this record. |
| workbook_id | integer | Workbook ID. |
| site_id | integer | Site ID. |
| event_time | timestamp without time zone | Timestamp indicating when the record was inserted. |
| event_type | integer | Event type to differentiate between insert, update, delete. |
| public.workbook_exports: Each row in the table corresponds to a cached pdf file. |
| Name | Type | Description |
| 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 |
| id | integer | Primary key for the record. |
| language_id | character varying | The language ID the pdf was generated with. |
| locale_id | character varying | The locale ID the pdf was generated with. |
| generated_as_user_id | integer | The user ID iff the pdf was generated with user references. Otherwise NULL. |
| workbook_id | integer | The workbook id this pdf is generated from. |
| generated_at | timestamp without time zone | The timestamp at which the pdf was generated. |
| freshness_verified_at | timestamp without time zone | The timestamp at which the cached file was last verified as fresh. |
| data_storage_id | bigint | A 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_id | character varying | Unique ID used to identify the pdf. |
| show_commands_query_str | text | Represents hash of the possible show commands to be applied to the viz in the native api code. |
| page_orientation | character varying | PDF page orientation |
| page_size_option | character varying | PDF page size option |
| file_type | integer | The file type (PDF = 0, PPT = 1). Enum to be defined in WorkbookExportOptions |
| customized_views | character varying | Comma separated list of custom view IDs associated with the workbook export, sorted in ascending order. NULL if not applicable |
| site_id | integer | The ID of the site to which this entry belongs. |
| public.workbook_extension_connections: Associate a workbook with an analytics extension connection. |
| Name | Type | Description |
| 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 |
| id | integer | ID of association. |
| workbook_id | integer | ID of the analytics extension connection. |
| connection_id | integer | ID of the workbook. |
| site_id | integer | ID of the corresponding site. |
| site_luid | uuid | Site ID of the workbook_extension_connections. |
| public.workbook_snapshots: Used to track the twb file used by a previous version of the workbook. |
| Name | Type | Description |
| Foreign key/Primary key relation from site_id on this table to id on table, public.sites |
| id | bigint | Auto-generated id from postgres; also the primary key for the table. |
| created_at | timestamp without time zone | The time the workbook snapshot was created. |
| updated_at | timestamp without time zone | The latest time the workbook snapshot was updated. |
| repository_url | character varying | A unique name for the workbook; equivalent to workbooks.repository_url |
| site_id | integer | The site to which the workbook was published. |
| revision | character varying | The published version of the workbook. |
| data_id | character varying | Unique ID used to identify the workbook data. |
| reduced_data_id | character varying | Unique ID used to identify the reduced workbook data. |
| public.workbook_versions: Workbook versions saved on server. |
| Name | Type | Description |
| 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 |
| id | integer | The id of a version. Primary key. |
| site_id | integer | Reference to entry in sites table. Indicates the site to which this workbook version belongs to. |
| workbook_id | integer | A foreign key to the workbooks table. Reference to workbook. |
| publisher_id | integer | Reference to user in site users table. User who published this version. Can point to deleted user. |
| version_number | integer | The version number. |
| published_at | timestamp without time zone | The time when this version was initially published. Copied from workbook record last_updated field at the time of being overwritten. |
| size | bigint | The size, in bytes, of this version of workbook. |
| content_key | character varying | Key of the workbook as string |
| publish_metadata | text | Metadata about how this version was published on server, such as visiblity of views. Metadata is stored as a serialized JSON object. |
| sos_type | character varying | The SOS data type under which this version document is stored, or null if it is not stored in SOS. |
| is_revision_file_reduced | boolean | Boolean flag indicating if the stored workbook version has an extract that is not stored in the workbook document, since extracts are not versioned. |
| notes | character varying | Column for revision notes |
| public.workbooks: Each record represents a workbook that exists on the server. |
| Name | Type | Description |
| 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 site_id on this table to id on table, public.sites |
| id | integer | The primary key for the record. |
| name | character varying | The name of the workbook. |
| repository_url | text | A 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_at | timestamp without time zone | The time at which this record was created. |
| updated_at | timestamp without time zone | The last time any changes were made to this record. |
| owner_id | integer | A foreign key reference to the user that owns this workbook. |
| project_id | integer | Deprecated. A foreign key reference to the project in which this workbook exists. |
| view_count | integer | Keeps count of the number of views that are associated with this workbook. |
| size | bigint | The number of bytes used in storing the workbook information. |
| embedded | text | An encrypted keychain holding any credentials stored with the workbook. |
| thumb_user | integer | The user to be used when generating the thumbnail image. Null unless specified. |
| refreshable_extracts | boolean | Whether the extracts in the workbook can be refreshed. |
| extracts_refreshed_at | timestamp without time zone | The time at which the last extract refresh occurred. |
| lock_version | integer | Used to implement "optimistic locking." Don't set this or mess with it, it's all handled automatically. |
| state | character varying | One of "active" or "archived". "archived" indicates that the item is in the Recycle Bin. |
| display_tabs | boolean | If true, then the sheets of the workbook are displayed on tabs. |
| data_engine_extracts | boolean | Indicates if this workbook has associated data engine extracts. |
| incrementable_extracts | boolean | Indicates if it is possible to perform an incrementable extract refresh for this workbook. |
| site_id | integer | The site to which the workbook was published. |
| revision | character varying | Starts with 1.0 and increments by 0.1 with each republication. |
| first_published_at | timestamp without time zone | Records 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_at | timestamp without time zone | The time of the last incremental extract refresh for extracts in this workbook. |
| default_view_index | integer | Indicates which view will be shown by default. |
| luid | uuid | An immutable identifier for the record. |
| asset_key_id | integer | The asset encryption key used to encrypt the keychain in the embedded column. |
| document_version | character varying | A string that indicates the version of the document description that was used when saving this workbook. |
| content_version | integer | Version number of the workbook. updated on each publish |
| last_published_at | timestamp without time zone | Time 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_id | character varying | Unique ID used to identify the workbook data. |
| reduced_data_id | character varying | Unique ID used to identify the reduced workbook data. |
| published_all_sheets | boolean | True if user previously published all sheets in the workbook, false if they chose to not publish a sheet |
| extract_encryption_state | smallint | If not null, encryption state of the extracts. null or 0 - unencrypted, 1 - encrypted, 2 - pending encryption, 3 - pending decryption, 5 - pending rekey |
| extract_creation_pending | smallint | null or 0 - there is not extract creation in progress, 1 - there is an extract creation in progress |
| is_deleted | boolean | Deprecated. Whether this workbook is deleted or not. |
| parent_workbook_id | integer | null - there is no parenet workbook; if not null, it stores the id of the original workbook from which this private workbook is derived |
| is_private | boolean | null or false - this is not a private workbook, true - this is a private workbook |
| modified_by_user_id | integer | The 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_format | smallint | How 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. |
| notes | character varying | Column for notes in current revision |
| public.wps_extracts: Each record represents an extract. |
| Name | Type | Description |
| Foreign key/Primary key relation from workbook_persistence_luid on this table to workbook_persistence_luid on table, public.wps_workbooks |
| id | integer | Primary key for the record, auto increment. |
| site_luid | uuid | LUID of the site where parent workbook belongs. |
| workbook_persistence_luid | uuid | Foreign key for the record. ID of the workbook. |
| extract_type | integer | Type of extract. |
| extract_guid | text | Extract identifier. |
| public.wps_workbooks: Each record represents a versioned, per-user, per-site workbook. |
| Name | Type | Description |
| workbook_persistence_luid | uuid | Primary key for the record. ID of the workbook. |
| revision | integer | Starts from zero, increments by one each time a new checkpoint is stored to this workbook |
| author_luid | uuid | LUID of the user who created this workbook. |
| site_luid | uuid | LUID of the site where parent workbook belongs. |
| parent_content_luid | uuid | LUID of the parent published workbook. |
| parent_content_revision | integer | Parent published workbook version number. |
| checkpoint_produced_at_time | timestamp without time zone | Timestamp when the checkpoint was made. |
| checkpoint_producer_id | character varying | Client-provided, identifies who produced the checkpoint. |
| checkpoint_metadata | character varying | Client-provided, versions the checkpoint from the client perspective |
| checkpoint_size | integer | Checkpoint size (KB) |
| checkpoint_storage_key | character varying | Lookup key of the checkpoint in the storage provider |
| checkpoint_format | integer | Specifies binary format of checkpoint payload |
| workbook_type | integer | Type of workbook stored in WPS, for example, PUBLISHED_WORKBOOK_DRAFT and UNPUBLISHED_WORKBOOK_DRAFT |
| workbook_reference_id | text | The workbook identifier provided by client, for example, parent workbook luid and aux id |
| recommendations.connection_fields: fields used in joins (extracted for the joins recommender) |
| Name | Type | Description |
| Foreign key/Primary key relation from rec_connection_tables_id on this table to id on table, recommendations.connection_tables |
| id | integer | The primary key for the table |
| column_name | character varying | field column name |
| rec_connection_tables_id | integer | ID of the table in connection_tables |
| recommendations.connection_tables: tables used in a connection in a published or embedded data source |
| Name | Type | Description |
| Foreign key/Primary key relation from rec_connections_id on this table to id on table, recommendations.connections |
| id | integer | The primary key for the table |
| name | character varying | displayed table name |
| custom_sql | bytea | Stores the custom sql used to generate this table if it exists |
| table_value | character varying | internal expanded table name |
| type | character varying | TABLE or CUSTOM_SQL |
| rec_connections_id | integer | ID of the connection |
| recommendations.connections: a connection used by a Datasource to connect to an underlying database or data file |
| Name | Type | Description |
| Foreign key/Primary key relation from rec_datasources_id on this table to id on table, recommendations.datasources |
| id | integer | The primary key for the table |
| class | character varying | class of connection (hyper, postgresql, etc) |
| data_connection_id | integer | id of data connection in public schema |
| database | character varying | database name |
| port | integer | port |
| raw_server | character varying | raw server name as passed to the entity builder |
| server | character varying | canonicalized version of raw_server |
| rec_datasources_id | integer | datasource id the connection is used in, local to the recs tables |
| schema | character varying | Stores the value the schema for the connection if applicable to this driver |
| catalog | character varying | Stores the value the catalog for the connection if applicable to this driver (eg. Google BigQuery) |
| exec_catalog | character varying | Stores the value the schema for the connection if applicable to this driver (eg. Google BigQuery where it is also known as Billing Project) |
| project | character varying | Stores the value the project for the connection if applicable to this driver (eg. Google BigQuery) |
| service | character varying | Stores the value the service for the connection if applicable to this driver (eg. Snowflake) |
| warehouse | character varying | Stores the value the warehouse for the connection if applicable to this driver (eg. Snowflake) |
| recommendations.datasources: stores published datasource metadata for datasource recs trainer |
| Name | Type | Description |
| Foreign key/Primary key relation from rec_workbooks_id on this table to id on table, recommendations.workbooks |
| id | integer | The primary key for the table |
| name | character varying | datasource name |
| name_in_twb | character varying | datasource name in twb |
| datasources_id | integer | datasource id of the datasource in the public schema |
| repository_url | text | repository url |
| site_id | integer | reference to the site id in public schema |
| rec_workbooks_id | integer | rec workbooks id the data source is used in |
| last_published_at | timestamp without time zone | The UTC time at which the content was published. |
| is_certified | boolean | Flag that indicates whether or not this datasource is certified |
| recommendations.fields: field in a data source |
| Name | Type | Description |
| Foreign key/Primary key relation from rec_datasources_id on this table to id on table, recommendations.datasources |
| id | integer | The primary key for the table |
| caption | text | displayed name |
| name | text | internal name |
| rec_datasources_id | integer | rec datasources id |
| recommendations.join_expressions: join expressions for TableJoinTrainer |
| Name | Type | Description |
| 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 |
| id | integer | The primary key for the table |
| operation | character varying | operation |
| rec_joins_id | integer | rec joins id |
| left_rec_connection_fields_id | integer | left rec connection fields id |
| right_rec_connection_fields_id | integer | right rec connection fields id |
| recommendations.joins: stores joins in data sources for the TableJoinTrainer |
| Name | Type | Description |
| Foreign key/Primary key relation from rec_connections_id on this table to id on table, recommendations.connections |
| id | integer | The primary key for the table |
| join_type | character varying | join type |
| rec_connections_id | integer | connection where the join was found |
| recommendations.ml_association_rules: the association rules used by the table recommender |
| Name | Type | Description |
| id | integer | The primary key for the table |
| group_name | text | canonicalized identifier for the connection |
| json_indexer | text | In combination, the indexer, item_sets, and joins represent the trained model for datasource recommendations |
| json_item_sets | text | In combination, the indexer, item_sets, and joins represent the trained model for datasource recommendations |
| json_joins | text | In combination, the indexer, item_sets, and joins represent the trained model for datasource recommendations |
| created_at | timestamp without time zone | when the rule was created |
| site_id | integer | Stores the site ID the model was trained on |
| recommendations.ml_factorization_models: the collaborative filter model used for data source recommendations |
| Name | Type | Description |
| id | integer | The primary key for the table |
| contents | bytea | Store a factorization model used in table recommendations |
| site_id | integer | Stores the site ID the model was trained on |
| created_at | timestamp without time zone | The 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 |
| Name | Type | Description |
| id | integer | the primary key for the table |
| site_id | integer | ID for the site the model is trained on |
| started_at | timestamp without time zone | Time at which loading and training began |
| completed_at | timestamp without time zone | Time at which loading and training successfully completed |
| training_result | integer | Result code for training on site (1: In progress, 2: Failed, 3: Interrupted, 4: Crashed, 5: Success ) |
| trainer_type | integer | Type 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) |
| Name | Type | Description |
| datasource_remote_id | integer | Corresponds to the field datasources.datasources_id (in recommendations schema), and the primary key field datasources.id (in public schema) |
| field_name | text | Corresponds to the field fields.caption (in recommendations schema) |
| usage | integer | Stores the count of the workbooks referencing the field name |
| site_id | integer | Stores the site ID the model was trained on |
| id | bigint | The primary key for the table |
| recommendations.ml_viz_recommendations_models: Viz recommendations models. Stores a model per user, site pair. |
| Name | Type | Description |
| id | integer | primary key |
| contents | bytea | binarized json string containing the viz recommendations model |
| site_id | integer | reference to the site which the recommendations belong to |
| user_id | integer | reference to the user which the recommendations belong to. This id refers back to the table users in the public schema |
| site_luid | uuid | Site LUID of the ml_viz_recommendations_models. |
| recommendations.views_json: Views info stored as json |
| Name | Type | Description |
| id | integer | primary key |
| luid | uuid | reference to the view luid in public schema |
| site_id | integer | reference to the site id in public schema |
| content | json | content of the view info stored as json |
| last_published_at | timestamp without time zone | The UTC time at which the content was published. |
| query_version | smallint | version of the data catalog query the data originated from |
| recommendations.workbooks: workbook metadata extracted for view and data source recommenders |
| Name | Type | Description |
| id | integer | The primary key for the table |
| name | character varying | The name of the workbook as extracted from workgroup.workbooks.name |
| workbooks_id | integer | The id of the workbook as extracted from workgroup.workbooks.id |
| site_id | integer | The id of the workbook as extracted from workgroup.workbooks.id |
| last_published_at | timestamp without time zone | Used to determine if this extracted record is out of date |
| recommendations.worksheet_fields: map from extracted worksheet id to field ids |
| Name | Type | Description |
| 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 |
| id | integer | The primary key for the table |
| rec_worksheets_id | integer | rec worksheets id |
| rec_fields_id | integer | rec fields id |
| recommendations.worksheets: worksheets, used to map user access counts to datasource access in the datasource trainer |
| Name | Type | Description |
| Foreign key/Primary key relation from rec_workbooks_id on this table to id on table, recommendations.workbooks |
| id | integer | The primary key for the table |
| name | character varying | name |
| rec_workbooks_id | integer | rec workbooks id |
| recycle.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. |
| Name | Type | Description |
| Foreign key/Primary key relation from datasource_id on this table to id on table, recycle.datasources |
| Foreign key/Primary key relation from site_id on this table to id on table, recycle.sites |
| id | integer | Primary key for the record. |
| datasource_id | integer | A foreign key reference to the datasource. |
| day_index | integer | Records 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_index | integer | Records what month of the year the analytics are aggregated over. When 0, the aggregation is for the year as designated by year_index. |
| year_index | integer | Records what year the analytics are aggregated over |
| view_count | integer | Records the number of times a datasource was viewed in the given time interval. |
| site_id | integer | The ID of the site the datasource metrics aggregation belong to. |
| semantics.indexing_status: This table holds indexing status of field concepts. |
| Name | Type | Description |
| Foreign key/Primary key relation from field_concept_key, ontology_id on this table to key, ontology_id on table, semantics.ss_field_concepts |
| id | bigint | Unique id for each row of indexing_status. |
| created_at | timestamp with time zone | The timestamp for when this row entry was created. |
| updated_at | timestamp with time zone | The timestamp for when this row entry was updated. |
| field_concept_key | text | field_concept_key referencing to ss_field_concepts. |
| ontology_id | bigint | Ontology id referencing to ontology_id in ss_field_concepts. |
| indexing_status | integer | References to current indexing status for a field_concept. |
| error_code | integer | References to error_code for error occurred while indexing. |
| indexed_value_concept_version | text | Version of the field concept index. |
| webhooks.webhooks: Holds metadata for all registered webhooks on the server. |
| Name | Type | Description |
| luid | uuid | Primary key for the webhook. |
| site_luid | uuid | The site that the webhook belongs to. |
| version | integer | The version of this webhook. 1 on create, monotonically increasing with each update of the webhook. |
| owner_luid | uuid | The user who is the current owner of the webhook. |
| url | text | The fully specified URL for the webhook to POST to when triggered. |
| body_template | text | JSON template for the body of the request to send when the webhook is triggered. |
| event_type | text | The type of event on the server that will trigger this webhook e.g datasource refresh. |
| name | text | Human readable name for the webhook, defaults to the value Unnamed Webhook. |
| isenabled | boolean | Whether the webhook is currently run on trigger events |
| statuschangereason | text | Record the reason for any automated disabling/enabling of a webhook |
| failedattempts | integer | Number of consecutive failed delivery attempts |
| meta.sites_dependencygraph_view: View with dependency graph rooted on Sites table |
| Name | Type | Description |
|---|
| ref_schema | name | The schema for the table referenced by the foreign key. |
| ref_table | name | The name of the table referenced by the foreign key. |
| schema_name | name | The schema for the table with a foreign key relationship. |
| table_name | name | The name of the table with a foreign key relationship. |
| path | ARRAY | List of tables that forms the path to the node. |
| level | integer | Depth of the node in the tree/graph. |
| 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. |
| Name | Type | Description |
|---|
| backgrounder_id | character varying | The id of the backgrounder process that did the work. |
| id | integer | The primary key of either the background_jobs record or the async_jobs record, depending on where this record is coming from. |
| created_at | timestamp without time zone | When this record was created. |
| completed_at | timestamp without time zone | When the job finished execution. When set, this should generally agree with the updated_at field. |
| finish_code | integer | Completion status for the job. Will be 0 for success, 1 for failure, and 2 for cancelled. |
| job_type | character varying | The type of job being run. This looks a bit odd because it comes from a serialized symbol. |
| progress | integer | Can be used to indicate percent complete for the job, but in most cases simply gets set to 100 when the job is completed. |
| args | text | Used 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. |
| notes | text | Can be used to store additional information about the running of the job. |
| started_at | timestamp without time zone | When 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_name | character varying | A nice readable name for this type of job. |
| priority | integer | Controls which background_jobs records are processed first. The highest priority is 0, and the lowest is 100. Integer values in between are also valid. |
| title | character varying | Can be used to provide some additional information about the job. |
| processed_on_worker | character varying | Identifies the machine on which the job is run. |
| subtitle | character varying | Can be used to provide some additional information about the job. |
| language | character varying | The language for the job is listed here. |
| site_id | integer | Links to a site, if one is relevant, otherwise it is left NULL. |
| locale | character varying | The locale for the job is listed here. |
| subscriptions_attach_image | boolean | Boolean that represents whether to attach images to a subscription background_job. Will be NULL if the background_job is not a subscription. |
| subscriptions_attach_pdf | boolean | Boolean 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. |
| Name | Type | Description |
|---|
| id | integer | Primary key for the underlying comments record. |
| title | text | Not used. |
| comment | text | Comment text. |
| commentable_type | character varying | View. |
| created_at | timestamp without time zone | Date when comment was created. |
| drawing | text | Not used. |
| commentable_id | integer | Corresponding view id. |
| user_id | integer | Id of the user who made the comment. |
| site_id | integer | Links 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. |
| Name | Type | Description |
|---|
| name | character varying | A combination of the site name and the customized_view name. |
| repository_url | character varying | URL text created from workbook, sheet domain, and url_id. |
| id | integer | Primary key for the underlying customized_views record. |
| size | integer | The number of bytes it took to describe the changes from the base view to the customized view. |
| view_name | character varying | The name of the view that this customized view is based on. |
| sheet_id | character varying | An identifier for the sheet. Based on the name of the sheet. |
| workbook_url | text | A 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_name | character varying | The 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. |
| email | character varying | The email of the system_user associated with this customized view. |
| user_name | character varying | The name of the system_user associated with this customized view. |
| site_id | integer | A 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. |
| Name | Type | Description |
|---|
| id | integer | Primary key for the underlying datasources record. |
| name | character varying | The name of the published datasource. |
| datasource_url | text | Uniquely 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_id | integer | The user ID of the owner/uploader of the datasource. |
| owner_name | character varying | The name of the system_user linked to owner_id |
| created_at | timestamp without time zone | When this record was created. |
| updated_at | timestamp without time zone | When this record was last updated. |
| size | bigint | The size in bytes of the datasource. |
| project_id | integer | Deprecated. The associated project ID where the datasource was published. |
| project_name | character varying | The name of the project linked via project_id. |
| server | text | DNS server name to connect to (for the associated data_connection record). |
| dbclass | character varying | Type of data connection (ie mysql, postgres, sqlproxy etc) (for the associated data_connection record). |
| port | integer | TCP port number of the connect (eg. 5432 for postgres) (for the associated data_connection record). |
| username | text | Username to use when connecting. |
| dbname | character varying | The database name associated with the linked data_connection record. |
| owner_type | character varying | "Datasource" |
| system_user_id | integer | The system_user linked to the user whose id is owner_id. |
| site_id | integer | The site that contains this datasource. |
| domain_id | integer | A foreign key reference to the domain of the owner. |
| domain_name | character varying | The 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. |
| Name | Type | Description |
|---|
| nviews | bigint | The number of times that the datasource has been accessed. |
| last_access_time | timestamp without time zone | The most recent access of the datasource |
| datasource_id | integer | Links to the datasource whose usage is being described. |
| site_id | integer | The 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. |
| Name | Type | Description |
|---|
| id | integer | The primary key of the underlying groups record. |
| name | character varying | The name that was given to the group. |
| site_name | character varying | The name of the site that this group belongs in. |
| domain_name | character varying | The name of the domain that this group is linked to. |
| domain_short_name | character varying | A short version of the domain that this group is linked to. |
| domain_family | character varying | Either local or ActiveDirectory. |
| public._http_requests: Each record represents a request received by Tableau Server. Reflects data in the http_requests table. |
| Name | Type | Description |
|---|
| controller | character varying | The part of the application that received the request. |
| action | character varying | The action requested. |
| http_referer | character varying | The referrer. |
| http_user_agent | character varying | The agent string supplied by the client. |
| http_request_uri | text | The requested URI. |
| remote_ip | character varying | The client's IP address (from the perspective of the server). |
| created_at | timestamp without time zone | When this record was created. |
| session_id | character varying | The session with which the request is associated. |
| completed_at | timestamp without time zone | When the request was completed. |
| port | integer | The port on which the request was received. |
| user_id | integer | The user associated with the request. |
| worker | character varying | Which worker machine received the request. |
| vizql_session | text | The vizql session associated with this request. |
| user_ip | character varying | The IP address of the originator of the request. |
| currentsheet | character varying | Which sheet was being viewed. |
| site_id | integer | The site associated with the request. |
| public._projects: Each row of the table corresponds to a project on Tableau Server. |
| Name | Type | Description |
|---|
| id | integer | Primary key for the underlying record in the projects table. |
| name | character varying | The name of the project. |
| created_at | timestamp without time zone | The time at which this record was created. |
| owner_id | integer | The id of the user who owns this project. |
| owner_name | character varying | The name of the system_user who owns this project. |
| system_user_id | integer | The id of the system_user who owns this project. |
| site_id | integer | Refers 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. |
| Name | Type | Description |
|---|
| id | integer | Primary key for the record in the underlying schedules table. |
| name | character varying | A schedule can be given a name, which is stored here. |
| active | boolean | If set to false, this means that the schedule is inactive, meaning that no tasks will be performed when the schedules triggers. |
| priority | integer | Priority can range from 1 to 100, with lower values corresponding to higher priority. |
| schedule_type | integer | One of 0 (Hourly), 1 (Daily), 2 (Weekly), 3 (Monthly). |
| day_of_week_mask | integer | Indicates 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_mask | integer | Indicates 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_minute | integer | The 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_interval | integer | Once 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_minute | integer | The minute following the start of the designated time period implied schedule_type, at which the schedule should stop triggering. |
| end_schedule_at | timestamp without time zone | Used to indicate a point in time, after which the schedule should never trigger. |
| run_next_at | timestamp without time zone | When the schedule will next trigger. |
| created_at | timestamp without time zone | The time at which this record was created. |
| updated_at | timestamp without time zone | The last time any changes were made to this record. |
| hidden | boolean | If set to true, then this schedule will not be listed in the GUI, otherwise it will be. |
| serial_collection_id | integer | A 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_version | integer | Used to implement "optimistic locking" by JPA/Hibernate. The counter increases each time the record is changed. Not useful for customers. |
| scheduled_action | integer | Used to classify schedules into one of two categories: 0 (Extract related) 1 (Subscription related) |
| scheduled_action_type | text | A friendly string representation of the type of scheduled action. |
| defined_by | integer | The 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. |
| Name | Type | Description |
|---|
| session_id | character varying | Session identifier. |
| updated_at | timestamp without time zone | Time when session was last updated, used to expire inactive sessions. |
| user_id | integer | Foreign key to users table. Tells the user whose session this is. |
| user_name | character varying | The name of the system_user linked to the user whose session this is. |
| system_user_id | integer | The id of the system_user linked to the user whose session this is. |
| site_id | integer | The 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. |
| Name | Type | Description |
|---|
| id | integer | Primary key for the underlying sites record. |
| name | character varying | The name of the site. |
| url_namespace | character varying | String used in the construction of URLs that target this site. |
| status | character varying | One 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. |
| Name | Type | Description |
|---|
| id | integer | Primary key for the underlying subscriptions record. |
| subject | character varying | A string that describes the nature of the subscription. |
| content_type | text | Describes what type of content is being delivered by this subscription. One of: "Customized View - Single View", "Workbook", "Single View", or "Customized View - Workbook". |
| view_url | text | A URL string that describes the view to be delivered, when the subscription is for a view. |
| workbook_url | text | A URL string that describes the workbook to be delivered, when the subscription is for a workbook. |
| customized_view_id | integer | A foreign key reference to the customized view, if the subscription is for a customized view. |
| last_sent | timestamp without time zone | The last time at which the the subscription was sent. |
| user_id | integer | A foreign key reference to the user who will receive the subscription. |
| user_name | character varying | The name of the system_user who will receive the subscription. |
| site_id | integer | The site that the subscription (and the user) belongs to. |
| site_name | character varying | The name of the site that the subscription (and the user) belongs to. |
| schedule_name | character varying | The name of the schedule that this subscription runs under. |
| schedule_active | boolean | If set to false, this means that the subscription is inactive. |
| schedule_run_next_at | timestamp without time zone | The next time the subscription should be sent. |
| schedule_priority | integer | Priority 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. |
| Name | Type | Description |
|---|
| id | integer | Primary key for the underlying system_user record. |
| name | character varying | The username of the user. |
| email | character varying | The email of the user. |
| friendly_name | character varying | A friendly name that might be used in the GUI to refer to the user. |
| custom_display_name | boolean | If 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_level | integer | Indicates if the user is a system administrator. 10 : system admin, 0 : not a system admin |
| domain_name | character varying | The name of the domain that the user belongs to. The name is either "local" or the name of some Active Directory group. |
| domain_short_name | character varying | An alternate shorter form of the name |
| domain_family | character varying | Either local or ActiveDirectory. |
| public._tags: Each tag is a string value. A given tag can be associated with many taggable items in a site. |
| Name | Type | Description |
|---|
| tag_id | integer | The primary key for the underlying tags table. |
| tag_name | character varying | The value of the tag. |
| object_type | character varying | The type of the taggable item - this is used to identify which table to join to. |
| taggable_id | integer | The ID of the taggable item. |
| object_id | integer | The same as taggable_id. |
| object_name | character varying | The name of the view, workbook, or datasource that is being tagged. |
| user_id | integer | The ID of the user that owns the tagging. |
| user_name | character varying | The name of the system_user that owns the tagging. |
| system_user_id | integer | The id of the system_user that owns the tagging. |
| site_id | integer | The site in which the tagged object exists (likewise the user, etc.). |
| public._users: Information relating to users. |
| Name | Type | Description |
|---|
| id | integer | Primary key for the underlying user record. |
| name | character varying | The name of the system_user linked to the user record. |
| login_at | timestamp without time zone | The time of the most recent login for this user. |
| friendly_name | character varying | The friendly name of the system_user linked to the user record. |
| licensing_role_id | integer | Foreign key reference to the licensing_roles table. Indicates the licensing role that is assigned to this user. |
| licensing_role_name | character varying | The name of the licensing role that is assigned to this user. |
| domain_id | integer | The domain_id of the system_user linked to the user record. |
| system_user_id | integer | The id of the system_user linked to the user record. |
| domain_name | character varying | The domain_name of the system_user linked to the user record. |
| domain_short_name | character varying | The a shorter version of the domain_name of the system_user linked to the user record. |
| site_id | integer | The id of the site that the user belongs to. |
| public._views: Each records represents a view in a workbook. |
| Name | Type | Description |
|---|
| id | integer | Primary key for the underlying views record. |
| name | character varying | The name of the view. |
| view_url | text | Uniquely 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_at | timestamp without time zone | The time at which the underlying views record was created. |
| owner_id | integer | A foreign key reference to the user who owns this view. |
| owner_name | character varying | The name of the user who owns this view. |
| workbook_id | integer | A foreign key reference to the workbook the view is part of. |
| index | integer | Each view has an index that is unique among views belonging to that workbook. |
| title | text | A title for the worksheet extracted from the workbook's twb file. |
| caption | text | A descriptive phrase constructed for the worksheet, based on the workbook definition. |
| site_id | integer | A 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. |
| Name | Type | Description |
|---|
| users_id | integer | A foreign key reference to a particular user. |
| system_users_name | character varying | The name of the system_user that corresponds to the user. |
| users_login_at | timestamp without time zone | The time of the most recent login for this user. |
| system_users_friendly_name | character varying | The friendly_name of the system_user that corresponds to the user. |
| views_id | integer | A foreign key reference to the view that was accessed. This field must be populated. |
| system_users_id | integer | The id of the system_user that corresponds to the user. |
| views_name | character varying | The name of the view that was accessed. |
| views_url | text | Uniquely 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_id | integer | A foreign key reference to the workbook the view is part of. |
| views_created_at | timestamp without time zone | The time at which the view was created. |
| views_owner_id | integer | A foreign key reference to the user who owns the view. |
| views_index | integer | Each view has an index that is unique among views belonging to that workbook. |
| views_title | text | A title for the worksheet extracted from the workbook's twb file. |
| views_caption | text | A descriptive phrase constructed for the worksheet, based on the workbook definition. |
| device_type | text | DSD device type detected (non-null only if view is dashboard in non-authoring mode) |
| nviews | integer | Keeps a cumulative count of the number of times the view was accessed by this user. |
| last_view_time | timestamp without time zone | The time of the most recent access of the specified view by the specified user. |
| site_id | integer | Links to the site that contains the view. |
| public._workbooks: Each record represents a workbook that exists on the server. |
| Name | Type | Description |
|---|
| id | integer | The primary key for the underlying workbook record. |
| name | character varying | The name of the workbook. |
| workbook_url | text | A 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_at | timestamp without time zone | The time at which the workbook record was created. |
| updated_at | timestamp without time zone | The last time any changes were made to this workbook record. |
| owner_id | integer | A foreign key reference to the user that owns this workbook. |
| project_id | integer | Deprecated. A foreign key reference to the project in which this workbook exists. |
| size | bigint | The number of bytes used in storing the workbook information. |
| view_count | integer | Keeps count of the number of views that are associated with this workbook. |
| owner_name | character varying | The name of the system_user who is the owner. |
| project_name | character varying | The name of the project that this workbook is part of. |
| system_user_id | integer | The id of the system_user who is the owner. |
| site_id | integer | Links to the site that contains this workbook. |
| domain_id | integer | A foreign key reference to the domain of the owner. |
| domain_name | character varying | The 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. |
| Name | Type | Description |
|---|
| iba_user_id | character varying | Generated Id for user for IBA Reporting |
| site_id | integer | Site being used. |
| device_fingerprint | character varying | Uniquely identifies device. Built/generated from umn. |
| product_type | character varying | Product being used at the client level. |
| user_role | character varying | Values: CREATOR, SITE_ADMINISTRATOR, SERVER_ADMINISTRATOR |
| host_name | character varying | Computer host name. |
| product_version | character varying | application/product version being used at the client level. |
| registration_first_name | character varying | Registered user first name |
| registration_last_name | character varying | Registered user last name |
| registration_email | character varying | Registered user email address |
| registration_date | timestamp without time zone | Date active key was registered. |
| client_user_name | character varying | Login/User name from the client level. |
| atr_expiration_date | timestamp without time zone | Expiration date of active key. This date will remain NULL until first reporting event is sent. |
| hardware_serial_number | character varying | Uniquely identifies company's hardware asset. |
| registration_custom_field | character varying | custom field from registration |
| machine_os | character varying | os_architecture |
| virtual_machine | boolean | is the machine virtual |
| atr_chain_id | character varying | ATR Chain Id |
| domain_information | character varying | Computer Active Directory domain. |
| date_atr_issued | timestamp without time zone | The 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_failed | timestamp without time zone | date-time when the ATR successfully returned from the server for this user, device, product and site. |
| date_last_updated | timestamp without time zone | This 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_name | character varying | User friendly name on the server level. |
| server_email | character varying | Email for user on the server level. |
| site_luid | character varying | LUID from sites table. |
| date_activated | timestamp without time zone | date-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_used | timestamp without time zone | date-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_assigned | timestamp without time zone | Datetime user was assigned a creator role. Triggered by site role change in the users table. |
| date_creator_role_unassigned | timestamp without time zone | Datetime user was unassigned a creator role. Triggered by site role change in the users table. |
| site_name | character varying | The name of the site sourced from the name column in the sites table. |
| public.site_restricted_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. |
| Name | Type | Description |
|---|
| backgrounder_id | character varying | The id of the backgrounder process that did the work. |
| id | integer | The primary key of either the background_jobs record or the async_jobs record, depending on where this record is coming from. |
| created_at | timestamp without time zone | When this job record is intended to start execution. |
| actual_created_at | timestamp without time zone | When this record was actually created. |
| completed_at | timestamp without time zone | When the job finished execution. When set, this should generally agree with the updated_at field. |
| finish_code | integer | Completion status for the job. Will be 0 for success, 1 for failure, and 2 for cancelled. |
| job_type | character varying | The type of job being run. This looks a bit odd because it comes from a serialized symbol. |
| progress | integer | Can be used to indicate percent complete for the job, but in most cases simply gets set to 100 when the job is completed. |
| args | text | Used 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. |
| notes | text | Can be used to store additional information about the running of the job. |
| started_at | timestamp without time zone | When 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_name | character varying | A nice readable name for this type of job. |
| priority | integer | Controls which background_jobs records are processed first. The highest priority is 0, and the lowest is 100. Integer values in between are also valid. |
| title | character varying | Can be used to provide some additional information about the job. |
| processed_on_worker | character varying | Identifies the machine on which the job is run. |
| subtitle | character varying | Can be used to provide some additional information about the job. |
| language | character varying | The language for the job is listed here. |
| site_id | integer | Links to a site, if one is relevant, otherwise it is left NULL. |
| locale | character varying | The locale for the job is listed here. |
| subscriptions_attach_image | boolean | Boolean that represents whether to attach images to a subscription background_job. Will be NULL if the background_job is not a subscription. |
| subscriptions_attach_pdf | boolean | Boolean that represents whether to attach a PDF to a subscription background_job. Will be NULL if the background_job is not a subscription. |
| 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. |
| Name | Type | Description |
|---|
| email | character varying | The email of the system_user. |
| login_at | timestamp without time zone | The last time the system_user logged in. |
| name | character varying | The name of the system_user. |
| id | integer | The id of the underlying users record. |
| system_user_id | integer | The id of the linked system_users record. |
| |