34
Click to edit Master subtitle style The Tableau Repository PRESENTED BY Russell Christopher

The Tableau Repository

  • Upload
    uta

  • View
    72

  • Download
    2

Embed Size (px)

DESCRIPTION

The Tableau Repository. Click to edit Master subtitle style. PRESENTED BY. Russell Christopher. Click to edit title. Click to edit subtitle style. Title. The Tableau Repository. Agenda. About the repository Connecting to the repository Unsupported but very interesting information. - PowerPoint PPT Presentation

Citation preview

Page 1: The Tableau Repository

Click to edit Master subtitle styleThe Tableau Repository

PRESENTED BY

Russell Christopher

Page 2: The Tableau Repository

©2013 Tableau Software Inc. All rights reserved.

Click to edit title• Click to edit subtitle style

Page 3: The Tableau Repository

©2013 Tableau Software Inc. All rights reserved.

Title

Page 4: The Tableau Repository

©2013 Tableau Software Inc. All rights reserved.

Page 5: The Tableau Repository

The Tableau Repository

Page 6: The Tableau Repository

Agenda

• About the repository

• Connecting to the repository

• Unsupported but very interesting information

Page 7: The Tableau Repository

PostgreSQL

What is it?

Page 8: The Tableau Repository

Port 8060 on oneor more machines

Where is it?

Page 9: The Tableau Repository

• http://kb.tableausoftware.com/articles/knowledgebase/creating-custom-administrative-views

How do I connect to it?

Google:

“Creating Custom Admin Views Tableau”

to find...

Page 10: The Tableau Repository

• Tableau• PGAdmin3• Other

What can I connect to it with?

Page 11: The Tableau Repository

www.tableausoftware.com/drivers

Drivers?

Page 12: The Tableau Repository

• Original views (legacy)• hist_tables (new in v8)

The Tables

Page 13: The Tableau Repository

• Granted minimum permissions • Mostly can’t see underlying tables• Just not very much fun

The “Tableau” user

Page 14: The Tableau Repository

Legacy (“Original”) Views

Page 15: The Tableau Repository
Page 16: The Tableau Repository

• HTTP Requests• Sessions• Users• Views• Customized

Views• Data Sources

“Original” Views: What can you see?

• Workbooks• Data Sources• Background

Tasks• Projects• Sites• Tags

Page 17: The Tableau Repository

http_requests gets big!

Warning!

Page 18: The Tableau Repository

We truncate to 10 days of data upon backup or ziplogs

Warning!

Page 19: The Tableau Repository

Back this data up (extracts?) if you want > 10 days of history.

Warning!

Page 20: The Tableau Repository

“Views”

Demo

Page 21: The Tableau Repository

V8 “History” Tables

Page 22: The Tableau Repository

historical_event_types

PK type_id

name action_type

hist_tags

PK id

tag_id name

hist_groups

PK id

group_id name domain_name

historical_events

PK id

FK18 historical_event_type_id worker duration_in_ms is_failure details created_atFK2 hist_actor_user_idFK14 hist_target_user_idFK1 hist_actor_site_idFK13 hist_target_site_idFK10 hist_project_idFK17 hist_workbook_idFK16 hist_view_idFK7 hist_datasource_idFK4 hist_comment_idFK12 hist_tag_idFK8 hist_group_idFK9 hist_licensing_role_idFK11 hist_schedule_idFK15 hist_task_idFK6 hist_data_connection_idFK5 hist_config_idFK3 hist_capability_id

hist_tasks

PK id

task_id type priority

hist_licensing_roles

PK id

licensing_role_id name

hist_capabilities

PK id

capability_id name allow

hist_users

PK id

user_id name domain_name email system_user_id system_admin_levelFK1 hist_licensing_role_id site_admin_level publisher_tristate

hist_projects

PK id

project_id name

hist_comments

PK id

comment_id comment

hist_schedules

PK id

schedule_id name schedule_type priority scheduled_action is_serial day_of_week_mask day_of_month_mask start_at_minute minute_interval end_at_minute end_schedule_at

hist_configs

PK id

key value

hist_views

PK id

view_id name repository_url revision

hist_data_connections

PK id

data_connection_id server name dbname table_name

hist_workbooks

PK id

workbook_id name repository_url size revision

hist_datasources

PK id

datasource_id name repository_url size revision

hist_sites

PK id

site_id name url_namespace

Page 23: The Tableau Repository

• They are “real” tables• Complete with Referential Integrity

Constraints• Closely models “inaccessible” tables• Days to truncate is configurable• Implementation is not complete yet.

A work in progress

Page 24: The Tableau Repository

• Historical Events• Event Types• Capabilities• Groups• Data Sources• Data Connections• Views• Users• Licensing Roles

“History” Tables: What can you see?

• Schedules• Tasks• Configurations• Workbooks• Projects• Sites• Tags• Comments

* Red tables not yet populating with data

Page 25: The Tableau Repository

“History Tables”

Demo

Page 26: The Tableau Repository

• User interaction• Who ran report ‘x’?• When? • How long did it take?

Contrast: Legacy Views v. History Tables

Legacy Views: Examples

“Consumption-centric”

Scheduled Tasks• Who ran refresh

task?• Did it succeed or

fail?

Page 27: The Tableau Repository

Contrast: Legacy Views v. History Tables

Schedule creation• Who created a schedule?• Who added a task to it?Admin• Who created a new

project?• Who added user x to

group y?

History Tables: Examples

“Admin-ish”

Content creation• Who published a

workbook?• Who modified it?• Who changed the

connect string?• Who changed

permissions on it?

Page 28: The Tableau Repository

None of the following, repeat NONE

of it is supported.

NOT supported.

Page 29: The Tableau Repository

Going off road

Page 30: The Tableau Repository

None of the following, repeat NONE

of it is supported.

NOT supported.

Page 31: The Tableau Repository

• “Who owns what report a?”• “I want a list of every report user x can see”• “What server is data source y connecting to?” • Tableau user is R/O

Supported “public” tables have gaps

Page 32: The Tableau Repository

• Have full access to the database• Can do anything• Are risky to leverage• Are not supported• USE AT YOUR OWN RISK

Other users

Page 33: The Tableau Repository

Example

Page 34: The Tableau Repository

• “Backdoor stuff”

Demo