Usage Data Dictionary
Usage Data is a data repository containing all metadata for a Sisense for Cloud Data Teams site. Below is a list of all tables and columns included in the repository, including the column types and descriptions. General information on the feature can be found on our main Usage Data page.
<div><UL>
<LI><a href="#Charts">Charts</a></LI>
<LI><a href="#Views">Views</a></LI>
<LI><a href="#CSVs">CSVs</a></LI>
<LI><a href="#Filters">Filters</a></LI>
<LI><a href="#SQL_Snippets">SQL_Snippets</a></LI>
<LI><a href="#SQL_Alerts">SQL_Alerts</a></LI>
<LI><a href="#Dashboards">Dashboards</a></LI>
<LI><a href="#Query_Logs">Query_Logs</a></LI>
<LI><a href="#Time_on_Site_Logs">Time_on_Site_Logs</a></LI>
<LI><a href="#Users">Users</a></LI>
<LI><a href="#User_Group_Membership">User_Group_Memberships</a></LI>
<LI><a href="#Groups">Groups</a></LI>
<LI><a href="#Group_Dashboard_Permissions">Group_Dashboard_Permissions</a></LI>
<LI><a href="#Roles">Roles</a></LI>
<LI><a href="#User_Roles">User_Roles</a></LI>
<LI><a href="#Role_Privileges">Role_Privileges</a></LI>
<LI><a href="#Role_Object_Permissions">Role_Object_Permissions</a></LI>
<LI><a href="#Spaces">Spaces</a></LI>
<LI><a href="#Table_Cache_Logs">Table_Cache_Logs</a></LI>
<LI><a href="#View_Cache_Logs">View_Cache_Logs</a></LI>
<LI><a href="#Urls">Urls</a></LI>
<LI><a href="#Deprecated">Deprecated Tables</a></LI>
<UL>
<LI><a href="#SQL_Views">SQL_Views</a></LI>
<LI><a href="#SQL_View_Cache_Logs">SQL_View_Cache_Logs</a></LI>
</UL>
</UL></div>
<HR>
<a name="Charts"></a>
Charts
The charts table lists all charts that have been created on a Sisense for Cloud Data Teams site as well as the attributes associated with those charts.
<div><table><thead><tr><th style="width:200px;text-align:left">Field Name</th><th style="width:200px;text-align:left">Data Type</th><th style="width:300px;text-align:left">Definition</th></tr></thead><tbody> <tr><td>id</td><td>Integer</td><td>Unique chart ID</td></tr><tr><td>name</td><td>String</td><td>Chart name</td></tr><tr><td>sql</td><td>String</td><td>Complete chart SQL query text</td></tr><tr><td>created_at</td><td>Timestamp</td><td>Chart created timestamp</td></tr><tr><td>created_by</td><td>Integer</td><td>Chart creator user ID</td></tr><tr><td>updated_at</td><td>Timestamp</td><td>Last chart modification timestamp made by either a user or the system. This column can be used to show how recently the chart has been modified.</td></tr><tr><td>deleted_at</td><td>Timestamp</td><td>Chart deleted timestamp</td></tr><tr><td>dashboard_id</td><td>Integer</td><td>Dashboard ID for the dashboard the chart is located on</td></tr><tr><td>space_id</td><td>Integer</td><td>Space ID for the space that the chart is located on</td></tr><tr><td>database_name</td><td>String</td><td>Name of the database selected in the chart editor dropdown list</td></tr><tr><td>csv_url_token</td><td>String</td><td>The unique token for the public CSV URL for a chart. This column can be used to idenfity the source of a public CSV URL. </td></tr><tr><td>last_modified_by</td><td>Integer</td><td>User ID of the last user to modify the chart. This includes changing the position of the chart on the Dashboard.</td></tr><tr><td>dataset_type</td><td>String</td><td>(For visuals created with the Data Discovery UI) the dataset origin</td></tr><tr><td>dataset_id</td><td>Integer</td><td>View ID or CSV ID corresponding to the dataset used to create the Discovery chart</td></tr><tr><td>code_language</td><td>String</td><td>Language used in the code editor - python3.6, python2.7 or r3.2</td></tr><tr><td>code</td><td>String</td><td>Python or R code in the deep analysis editor</td></tr><tr><td>explore_config</td><td>JSON</td><td>JSON blob containing the field parameters for Discovery charts</td></tr></tbody></table></div><a href="#top">Back to top</a>
<a name="Views"></a>
Views
The Views table lists all views that have been created on a Sisense for Cloud Data Teams site as well as the attributes associated with those views. This also includes Datasets.
<table><thead><tr><th style="width:200px;text-align:left">Field Name</th><th style="width:200px;text-align:left">Data Type</th><th style="width:300px;text-align:left">Definition</th></tr></thead><tbody><tr><td>id</td><td>Integer</td><td>Unique view ID</td></tr><tr><td>name</td><td>String</td><td>View name</td></tr><tr><td>sql</td><td>String</td><td>Complete view SQL query text</td></tr><tr><td>code_language</td><td>String</td><td>Language used in the code editor - python3.6, python2.7 or r3.2</td></tr><tr><td>code</td><td>String</td><td>Complete view code text</td></tr><tr><td>created_at</td><td>Timestamp</td><td>View created timestamp</td></tr><tr><td>created_by</td><td>Integer</td><td>View creator user ID</td></tr><tr><td>updated_at</td><td>Timestamp</td><td>Last saved view modification timestamp</td></tr><tr><td>deleted_at</td><td>Timestamp</td><td>View deleted timestamp</td></tr><tr><td>owner_id</td><td>Integer</td><td>View owner user ID</td></tr><tr><td>space_id</td><td>Integer</td><td>Space ID for the space that the view is located on</td></tr><tr><td>last_modified_by</td><td>Integer</td><td>User ID of the last user to modify the view</td></tr><tr><td>last_refreshed_at</td><td>Timestamp</td><td>Timestamp of the last view cache refresh</td></tr><tr><td>last_used_at</td><td>Timestamp</td><td>Timestamp of the last time a view was used</td></tr><tr><td>archived_at</td><td>Timestamp</td><td>Timestamp of when a view was archived</td></tr><tr><td>will_archive_at</td><td>Timestamp</td><td>Timestamp of when a view will archive</td></tr></tbody></table><a href="#top">Back to top</a>
<a name="CSVs"></a>
CSVs
The CSVs table lists all CSVs that have been created on a Sisense for Cloud Data Teams site as well as the attributes associated with those CSVs.
<table><thead><tr><th style="width:200px;text-align:left">Field Name</th><th style="width:200px;text-align:left">Data Type</th><th style="width:300px;text-align:left">Definition</th></tr></thead><tbody> <tr><td>id</td><td>Integer</td><td>Unique CSV ID</td></tr><tr><td>name</td><td>String</td><td>CSV name</td></tr><tr><td>file_name</td><td>String</td><td>Name of the uploaded CSV file</td></tr><tr><td>created_at</td><td>Timestamp</td><td>CSV creation timestamp</td></tr><tr><td>created_by</td><td>Integer</td><td>CSV creator user ID</td></tr><tr><td>updated_at</td><td>Timestamp</td><td>Last saved CSV modification timestamp</td></tr><tr><td>deleted_at</td><td>Timestamp</td><td>CSV deleted timestamp</td></tr><tr><td>owner_id</td><td>Integer</td><td>CSV owner user ID</td></tr><tr><td>space_id</td><td>Integer</td><td>Space ID for the space that the CSV is located on</td></tr><tr><td>last_used_at</td><td>Timestamp</td><td>Timestamp of the last use</td></tr><tr><td>archived_at</td><td>Timestamp</td><td>Timestamp of when a CSV was archived</td></tr><tr><td>will_archive_at</td><td>Timestamp</td><td>Timestamp of when a CSV will archive</td></tr></tbody></table>
<a href="#top">Back to top</a>
<a name="Filters"></a>
Filters
The filters table lists all filters that have been created on a Sisense for Cloud Data Teams site as well as the attributes associated with those filters.
<table><thead><tr><th style="width:200px;text-align:left">Field Name</th><th style="width:200px;text-align:left">Data Type</th><th style="width:300px;text-align:left">Definition</th></tr></thead><tbody> <tr><td>id</td><td>Integer</td><td>Unique filter ID</td></tr><tr><td>name</td><td>String</td><td>Filter name</td></tr><tr><td>sql</td><td>String</td><td>Complete filter SQL query text - only if the filter is populated using a query </td></tr><tr><td>created_at</td><td>Timestamp</td><td>Filter creation timestamp</td></tr><tr><td>created_by</td><td>Integer</td><td>Filter creator user ID</td></tr><tr><td>updated_at</td><td>Timestamp</td><td>Last saved filter modification timestamp</td></tr><tr><td>deleted_at</td><td>Timestamp</td><td>Filter deleted timestamp</td></tr><tr><td>space_id</td><td>Integer</td><td>Space ID for the space that the filter is located on</td></tr><tr><td>database</td><td>String</td><td>Name of the database selected in the dropdown list of the edit filter menu</td></tr><tr><td>last_modified_by</td><td>Integer</td><td>User ID of the last user to modify the filter</td></tr></tbody></table>
<a href="#top">Back to top</a>
<a name="SQL_Snippets"></a>
SQL_Snippets
The SQL Snippets table lists all SQL Snippets that have been created on a Sisense for Cloud Data Teams site as well as the attributes associated with those SQL Snippets.
<table><thead><tr><th style="width:200px;text-align:left">Field Name</th><th style="width:200px;text-align:left">Data Type</th><th style="width:300px;text-align:left">Definition</th></tr></thead><tbody> <tr><td>id</td><td>Integer</td><td>Unique SQL snippet ID</td></tr><tr><td>name</td><td>String</td><td>SQL snippet Name</td></tr><tr><td>owner_id</td><td>Integer</td><td>SQL snippet owner user ID</td></tr><tr><td>sql</td><td>String</td><td>Complete SQL snippet text</td></tr><tr><td>created_at</td><td>Timestamp</td><td>SQL snippet creation timestamp</td></tr><tr><td>created_by</td><td>Integer</td><td>SQL snippet creator user ID</td></tr><tr><td>updated_at</td><td>Timestamp</td><td>Last saved SQL snippet modification timestamp</td></tr><tr><td>deleted_at</td><td>Timestamp</td><td>SQL snippet deleted timestamp</td></tr><tr><td>space_id</td><td>Integer</td><td>Space ID for the space that the SQL snippet is located on</td></tr></tbody></table>
<a href="#top">Back to top</a>
<a name="SQL_Alerts"></a>
SQL_Alerts
The SQL alerts table lists all alerts that have been created on a Sisense for Cloud Data Teams site as well as the attributes associated with those alerts.
<table><thead><tr><th style="width:200px;text-align:left">Field Name</th><th style="width:200px;text-align:left">Data Type</th><th style="width:300px;text-align:left">Definition</th></tr></thead><tbody> <tr><td>id</td><td>Integer</td><td>Unique SQL alert ID</td></tr><tr><td>name</td><td>String</td><td>SQL alert Name</td></tr><tr><td>owner_id</td><td>Integer</td><td>SQL alert owner user ID</td></tr><tr><td>sql</td><td>String</td><td>Complete SQL alert SQL query text</td></tr><tr><td>created_at</td><td>Timestamp</td><td>SQL alert creation timestamp</td></tr><tr><td>updated_at</td><td>Timestamp</td><td>Last saved SQL alert modification timestamp</td></tr><tr><td>deleted_at</td><td>Timestamp</td><td>SQL snippet deleted timestamp</td></tr><tr><td>space_id</td><td>Integer</td><td>Space ID for the space that the SQL snippet is located on</td></tr></tbody></table>
<a href="#top">Back to top</a>
<a name="Dashboards"></a>
Dashboards
The Dashboards table lists all dashboards that have been created on a Sisense for Cloud Data Teams site as well as the attributes associated with those dashboards.
<table><thead><tr><th style="width:200px;text-align:left">Field Name</th><th style="width:200px;text-align:left">Data Type</th><th style="width:300px;text-align:left">Definition</th></tr></thead><tbody> <tr><td>id</td><td>Integer</td><td>Unique dashboard ID</td></tr><tr><td>name</td><td>String</td><td>Dashboard Name</td></tr><tr><td>created_at</td><td>Timestamp</td><td>Dashboard created timestamp</td></tr><tr><td>created_by</td><td>Integer</td><td>Dashboard creator user ID</td></tr><tr><td>deleted_at</td><td>Timestamp</td><td>Dashboard deleted timestamp</td></tr><tr><td>owner_id</td><td>Integer</td><td>User ID of the dashboard owner</td></tr><tr><td>space_id</td><td>Integer</td><td>Space ID for the space that the dashboard is located on</td></tr><tr><td>last_used_at</td><td>Timestamp</td><td>Timestamp of the last time a dashboard was used</td></tr><tr><td>archived_at</td><td>Timestamp</td><td>Timestamp of when a dashboard was archived</td></tr><tr><td>will_archive_at</td><td>Timestamp</td><td>Timestamp of when a dashboard will archive</td></tr></tbody></table>
<a href="#top">Back to top</a>
<a name="Query_Logs"></a>
Query_Logs
The query_logs table contains a records for each chart query that was executed on a Sisense for Cloud Data Teams site. This includes chart queries that are initiated by a user as well as chart background refreshes. These logs start from the month Usage Data was enabled from the settings page.
<table><thead><tr><th style="width:200px;text-align:left">Field Name</th><th style="width:200px;text-align:left">Data Type</th><th style="width:300px;text-align:left">Definition</th></tr></thead><tbody> <tr><td>started_at</td><td>Timestamp</td><td>Query started to run on the database timestamp</td></tr><tr><td>created_at</td><td>Timestamp</td><td>Timestamp of log record creation, when the query has completed</td></tr><tr><tr><td>user_id</td><td>Integer</td><td>User ID for the user that triggered the query</td></tr><tr><td>space_id</td><td>Integer</td><td>Space that the source of the query is located on</td></tr><tr><td>item_type</td><td>String</td><td>Item type of query source - Chart, View, SQL Alert</td></tr><tr><tr><td>item_id</td><td>Integer</td><td>ID for query source item - Chart, View, SQL Alert</td></tr><tr><td>runtime_ms</td><td>Integer</td><td>Query runtime on the database in milliseconds</td></tr><tr><td>database_name</td><td>String</td><td>Name of the database that the query was executed on</td></tr><tr><td>destination</td><td>String</td><td>Destination of the query - Cache or origin database</td></tr><tr><td>hash_key</td><td>String</td><td>Unique identifier of a query based on its current state (including filters)</td></tr></tbody></table>
<a href="#top">Back to top</a>
<a name="Time_on_Site_Logs"></a>
Time_on_Site_Logs
The time_on_site_logs table tracks the duration of time in seconds for which a user is active on a given dashboard. This data is aggregated on an hourly basis. These logs start from the month Usage Data was enabled from the settings page.
<table><thead><tr><th style="width:200px;text-align:left">Field Name</th><th style="width:200px;text-align:left">Data Type</th><th style="width:300px;text-align:left">Definition</th></tr></thead><tbody> <tr><td>space_id</td><td>Integer</td><td>Space ID</td></tr><tr><td>created_at</td><td>Timestamp</td><td>Aggregated hourly timestamp</td></tr><tr><td>user_id</td><td>Integer</td><td>User ID of the user with logged time on the dashboard </td></tr><tr><td>seconds</td><td>Integer</td><td>Duration of time in seconds</td></tr><tr><td>focused_tab</td><td>Boolean</td><td>Boolean value which defines whether the dashboard browser tab is focused or not</td></tr><tr><td>dashboard_id</td><td>Integer</td><td>Dashboard ID</td></tr></tbody></table>
<a href="#top">Back to top</a>
<a name="Users"></a>
Users
The users table contains all current users on a Sisense for Cloud Data Teams site as well as the attributes associated with that user.
<table><thead><tr><th style="width:200px;text-align:left">Field Name</th><th style="width:200px;text-align:left">Data Type</th><th style="width:300px;text-align:left">Definition</th></tr></thead><tbody> <tr><td>id</td><td>Integer</td><td>Unique user ID</td></tr><tr><td>first_name</td><td>String</td><td>User first name</td></tr><tr><td>last_name</td><td>String</td><td>User last name</td></tr><tr><td>email_address</td><td>String</td><td>User email address</td></tr></tbody></table>
<a href="#top">Back to top</a>
<a name="User_Group_Membership"></a>
User_Group_Memberships
The user_group_memberships table contains a record for every user/group combination on a Sisense for Cloud Data Teams site. This table can be used to determine which users are assigned to each user group.
<table><thead><tr><th style="width:200px;text-align:left">Field Name</th><th style="width:200px;text-align:left">Data Type</th><th style="width:300px;text-align:left">Definition</th></tr></thead><tbody> <tr><td>user_id</td><td>Integer</td><td>User ID</td></tr><tr><td>space_id</td><td>Integer</td><td>Space ID </td></tr><tr><td>group_id</td><td>Integer</td><td>Group ID</td></tr><tr><td>created_at</td><td>Timestamp</td><td>Group created timestamp</td></tr><tr><td>deleted_at</td><td>Timestamp</td><td>Group membership deleted timestamp</td></tr></tbody></table>
<a href="#top">Back to top</a>
<a name="Groups"></a>
Groups
The groups table contains all groups on a Sisense for Cloud Data Teams site as well as the attributes associated with that group.
<table><thead><tr><th style="width:200px;text-align:left">Field Name</th><th style="width:200px;text-align:left">Data Type</th><th style="width:300px;text-align:left">Definition</th></tr></thead><tbody> <tr><td>id</td><td>Integer</td><td>Unique group ID</td></tr><tr><td>name</td><td>String</td><td>Group name</td></tr><tr><td>group_type</td><td>String</td><td>Type of group - admin, all_user, or custom</td></tr><tr><td>can_edit</td><td>Boolean</td><td>Boolean value which defines whether the group has edit access</td></tr><tr><td>space_id</td><td>Integer</td><td>Space ID for the space that the group is exists on</td></tr><tr><td>created_at</td><td>Timestamp</td><td>Group created timestamp</td></tr><tr><td>created_by</td><td>Integer</td><td>Group creator user ID</td></tr><tr><td>deleted_at</td><td>Timestamp</td><td>Group deleted timestamp</td></tr></tbody></table><a href="#top">Back to top</a>
<a name="Group_Dashboard_Permissions"></a>
Group_Dashboard_Permissions
The group_dashboard_permissions contains a record for every dashboard/group combination on a Sisense for Cloud Data Teams site. This table can be used to determine which groups have access to each dashboard.
<table><thead><tr><th style="width:200px;text-align:left">Field Name</th><th style="width:200px;text-align:left">Data Type</th><th style="width:300px;text-align:left">Definition</th></tr></thead><tbody> <tr><td>group_id</td><td>Integer</td><td>Group ID</td></tr><tr><td>dashboard_id</td><td>Integer</td><td>Dashboard ID</td></tr><tr><td>access</td><td>String</td><td>Level of access that the group has to a dashboard - view or edit</td></tr><tr><td>created_at</td><td>Timestamp</td><td>Timestamp that the group permissions were added for a given dashboard</td></tr><tr><td>updated_at</td><td>Timestamp</td><td>Timestamp of the last modification to the group permissions to the dashboard</td></tr><tr><td>deleted_at</td><td>Timestamp</td><td>Timestamp that the group permissions were removed from the dashboard</td></tr></tbody></table>
<a href="#top">Back to top</a>
<a name="Roles"></a>
Roles
The roles table contains all roles on a Sisense for Cloud Data Teams site as well as the attributes associated with that roles. This table should be used for sites that have Role-Based Access Control.
<table><thead><tr>
<th style="width:200px;text-align:left">Field Name</th>
<th style="width:200px;text-align:left">Data Type</th>
<th style="width:300px;text-align:left">Definition</th>
</tr></thead>
<tbody>
<tr><td>id</td>
<td>String</td>
<td>Unique Role ID</td>
</tr>
<tr>
<td>name</td>
<td>String</td>
<td>Role name</td></tr>
<tr>
<td>description</td>
<td>String</td>
<td>Description of role</td>
</tr>
<tr>
<td>is_custom</td>
<td>Boolean</td>
<td>Boolean value which defines whether the role is custom</td>
</tr>
<tr>
<td>created_at</td>
<td>Timestamp</td>
<td>Role created at timestamp</td>
</tr>
<tr>
<td>updated_at</td>
<td>Timestamp</td>
<td>Role updated timestamp</td>
</tr>
</tbody>
</table>
<a href="#top">Back to top</a>
<a name="User_Roles"></a>
User_Roles
The user_roles table contains a record for every user/role combination on a Sisense for Cloud Data Teams site. This table can be used to determine which users are assigned to each user role. This table should be used for sites that have Role-Based Access Control.
<table><thead><tr>
<th style="width:200px;text-align:left">Field Name</th>
<th style="width:200px;text-align:left">Data Type</th>
<th style="width:300px;text-align:left">Definition</th>
</tr></thead>
<tbody>
<tr><td>id</td>
<td>String</td>
<td>Unique User Role ID</td>
</tr>
<tr><td>updated_at</td>
<td>Timestamp</td>
<td>User Role updated timestamp</td>
</tr>
<tr><td>role_id</td>
<td>String</td>
<td>Role ID </td>
</tr>
<tr><td>user_id</td>
<td>String</td>
<td>User ID</td>
</tr>
<tr><td>space_id</td>
<td>String</td>
<td>Space ID</td>
</tr>
</tbody>
</table>
<a href="#top">Back to top</a>
<a name="Role_Privileges"></a>
Role_Privileges
The roles privileges table contains all roles on a Sisense for Cloud Data Teams site as well as the privileges associated with that role. This table should be used for sites that have Role-Based Access Control.
<table><thead><tr>
<th style="width:200px;text-align:left">Field Name</th>
<th style="width:200px;text-align:left">Data Type</th>
<th style="width:300px;text-align:left">Definition</th>
</tr></thead>
<tbody>
<tr><td>id</td>
<td>Integer</td>
<td>Unique role ID</td>
</tr>
<tr>
<td>role_id</td>
<td>String</td>
<td>Role ID</td>
</tr>
<tr>
<td>Permission_object_type</td>
<td>String</td>
<td>Dashboard or Topic</td>
</tr>
<tr>
<td>Permission_name</td>
<td>String</td>
<td>Name of permission</td>
</tr>
<tr>
<td>is_granted</td>
<td>Boolean</td>
<td>Boolean value which defines whether the role is granted the permission</td>
</tr>
<tr>
<td>space_id</td>
<td>String</td>
<td>Space ID for the space that the role exists on</td>
</tr>
<tr>
<td>created_at</td>
<td>Timestamp</td>
<td>Role created timestamp</td>
</tr>
<tr>
<td>updated_at</td>
<td>Timestamp</td>
<td>Role deleted timestamp</td>
</tr>
</tbody></table>
<a href="#top">Back to top</a>
<a name="Role_Object_Permissions"></a>
Role_Object_Permissions
The Role_Object_Permissions contains a record for every dashboard/role and topic/role combination on a Sisense for Cloud Data Teams site. This table can be used to determine which roles have access to each dashboard and topic. This table should be used for sites that have Role-Based Access Control.
<table><thead><tr>
<th style="width:200px;text-align:left">Field Name</th>
<th style="width:200px;text-align:left">Data Type</th>
<th style="width:300px;text-align:left">Definition</th>
</tr></thead>
<tbody>
<tr>
<td>id</td>
<td>String</td>
<td>Unique Role Object ID</td>
</tr>
<tr>
<td>created_at</td>
<td>Timestamp</td>
<td>Timestamp that the role object permissions were added for a given dashboard</td>
</tr>
<tr>
<td>is_granted</td>
<td>Boolean</td>
<td>Boolean value which defines whether the role is granted the permission</td>
</tr>
<tr>
<td>permission_id</td>
<td>String</td>
<td>Permission ID</td>
</tr>
<tr>
<td>permissioned_object_id</td>
<td>String</td>
<td>Permissioned Object ID</td>
</tr>
<tr>
<td>permissioned_object_type</td>
<td>String</td>
<td>Dashboard or Topic</td>
</tr>
<tr>
<td>role_id</td>
<td>String</td>
<td>Role ID </td>
</tr>
<tr>
<td>space_id</td>
<td>String</td>
<td>Space ID</td>
</tr>
<tr>
<td>updated_at</td>
<td>Timestamp</td>
<td>Timestamp of the last modification to the group permissions to the dashboard</td>
</tr></tbody></table>
<a href="#top">Back to top</a>
<a name="Spaces"></a>
Spaces
The spaces table contains all spaces on a Sisense for Cloud Data Teams site as well as the attributes associated with that space.
<table><thead><tr><th style="width:200px;text-align:left">Field Name</th><th style="width:200px;text-align:left">Data Type</th><th style="width:300px;text-align:left">Definition</th></tr></thead><tbody> <tr><td>id</td><td>Integer</td><td>Unique space ID</td></tr><tr><td>name</td><td>String</td><td>Space name</td></tr><tr><td>created_at</td><td>Timestamp</td><td>Timestamp of space creation</td></tr><tr><td>created_by</td><td>Integer</td><td>User ID of the user that created the space</td></tr><tr><td>deleted_at</td><td>Timestamp</td><td>Timestamp of space deletion</td></tr></tbody></table>
<a href="#top">Back to top</a>
<a name="Table_Cache_Logs"></a>
Table_Cache_Logs
The table_cache_logs table contains a history of when tables cached, duration, and cache strategy. This includes tables that successfully cached as well as tables that failed. Unusually short cache cycle times - the difference between cache_started_at and cache_completed_at - likely indicate an incremental update that did not identify any new rows to be added.
<table><thead><tr><th style="width:200px;text-align:left">Field Name</th><th style="width:200px;text-align:left">Data Type</th><th style="width:300px;text-align:left">Definition</th></tr></thead><tbody> <tr><td>space_id</td><td>Integer</td><td>Space ID of the space that the table is cached on</td></tr><tr><td>database_name</td><td>String</td><td>Name of the cached origin database of the cached table</td></tr><tr><td>schema_name</td><td>String</td><td>Name of the scheme on the origin database of the cached table</td></tr><tr><td>table_name</td><td>String</td><td>Name of the cached table</td></tr><tr><td>cache_strategy</td><td>string</td><td>Chosen caching strategy - Bounded, Incremental, Bounded, Null</td></tr><tr><td>cache_started_at</td><td>Timestamp</td><td>Timestamp of the cache query beginning</td></tr><tr><td>cache_completed_at</td><td>Timestamp</td><td>Time of the cache process completing</td></tr><tr><td>error</td><td>Boolean</td><td>Boolean that defines whether the cache process returned an error</td></tr></tbody></table>
<a href="#top">Back to top</a>
<a name="View_Cache_Logs"></a>
View_Cache_Logs
The view_cache_logs table contains a history of when views materialized as well as their duration. Views that successfully materialized as well as views that failed to cache are included.
<table><thead><tr><th style="width:200px;text-align:left">Field Name</th><th style="width:200px;text-align:left">Data Type</th><th style="width:300px;text-align:left">Definition</th></tr></thead><tbody> <tr><td>space_id</td><td>Integer</td><td>Space ID of the space that the view exists on</td></tr><tr><td>database_name</td><td>String</td><td>Database selected in the database dropdown of the schema browser in the view editor</td></tr><tr><td>view_id</td><td>Integer</td><td>View ID</td></tr><tr><td>cache_started_at</td><td>Timestamp</td><td>Timestamp of the materialization query beginning</td></tr><tr><td>cache_completed_at</td><td>Timestamp</td><td>Time of the materialization process completing</td></tr><tr><td>error</td><td>boolean</td><td>Boolean that defines whether the materialization process returned an error</td></tr><tr><td>created_at</td><td>Timestamp</td><td>Timestamp at which the most recent materialization process ends</td></tr></tbody></table>
<a href="#top">Back to top</a>
<a name="Urls"></a>
Urls
The urls table contains a list of urls for all chart and dashboard items on a Sisense for Cloud Data Teams site.
<table><thead><tr><th style="width:200px;text-align:left">Field Name</th><th style="width:200px;text-align:left">Data Type</th><th style="width:300px;text-align:left">Definition</th></tr></thead><tbody> <tr><td>item_id</td><td>String</td><td>ID of the Periscope Item. This corresponds to the charts.id column for chart items and dashboards.id for dashboard items</td></tr><tr><td>item_type</td><td>String</td><td>Defines the item type - dashboard, chart</td></tr><tr><td>url</td><td>String</td><td>URL to the in-app item. Access to the URL does require Periscope login credentials.</td></tr></tbody></table>
<a href="#top">Back to top</a>
<a name="Deprecated"></a>
Deprecated Tables
The below tables are deprecated. They will continue to be populated as normal to avoid disrupting charts that use them, however the specified matching tables should be used going forward.
<a name="SQL_Views"></a>
SQL_Views
This table is the old version of the Views table listed above. The SQL_Views table lists all views that have been created on a Sisense for Cloud Data Teams site as well as the attributes associated with those views. This also includes Datasets.
<table><thead><tr><th style="width:200px;text-align:left">Field Name</th><th style="width:200px;text-align:left">Data Type</th><th style="width:300px;text-align:left">Definition</th></tr></thead><tbody> <tr><td>id</td><td>Integer</td><td>Unique view ID</td></tr><tr><td>name</td><td>String</td><td>View name</td></tr><tr><td>sql</td><td>String</td><td>Complete view SQL query text</td></tr><tr><td>created_at</td><td>Timestamp</td><td>View created timestamp</td></tr><tr><td>created_by</td><td>Integer</td><td>View creator user ID</td></tr><tr><td>updated_at</td><td>Timestamp</td><td>Last saved view modification timestamp</td></tr><tr><td>deleted_at</td><td>Timestamp</td><td>View deleted timestamp</td></tr><tr><td>owner_id</td><td>Integer</td><td>View owner user ID</td></tr><tr><td>space_id</td><td>Integer</td><td>Space ID for the space that the view is located on</td></tr><tr><td>last_modified_by</td><td>Integer</td><td>User ID of the last user to modify the view</td></tr><tr><td>last_refreshed_at</td><td>Timestamp</td><td>Timestamp of the last view cache refresh</td></tr><tr><td>last_used_at</td><td>Timestamp</td><td>Timestamp of the last time a view was used</td></tr><tr><td>archived_at</td><td>Timestamp</td><td>Timestamp of when a view was archived</td></tr><tr><td>will_archive_at</td><td>Timestamp</td><td>Timestamp of when a view will archive</td></tr></tbody></table>
<a href="#top">Back to top</a>
<a name="SQL_View_Cache_Logs"></a>
SQL_View_Cache_Logs
This table is the old version of the View_Cache_Logs table listed above. The SQL_View_Cache_Logs table contains a history of when views materialized as well as their duration. Views that successfully materialized as well as views that failed to cache are included.
<table><thead><tr><th style="width:200px;text-align:left">Field Name</th><th style="width:200px;text-align:left">Data Type</th><th style="width:300px;text-align:left">Definition</th></tr></thead><tbody> <tr><td>space_id</td><td>Integer</td><td>Space ID of the space that the view exists on</td></tr><tr><td>database</td><td>String</td><td>Database selected in the database dropdown of the schema browser in the view editor</td></tr><tr><td>sql_view_id</td><td>Integer</td><td>View ID</td></tr><tr><td>cache_started_at</td><td>Timestamp</td><td>Timestamp of the materialization query beginning</td></tr><tr><td>cache_completed_at</td><td>Timestamp</td><td>Time of the materialization process completing</td></tr><tr><td>error</td><td>boolean</td><td>Boolean that defines whether the materialization process returned an error</td></tr></tbody></table>
<a href="#top">Back to top</a>