|Share this article:|
|✉ Send Feedback for this Article.|
Vertica Partner QuickStart for Tableau: Ticket Tracking
To read this document in PDF format, click here.
The Vertica Partner QuickStart for Tableau is a sample business intelligence application implemented as a set of Tableau dashboards powered by the Vertica Analytic Database. The dashboards present sample support ticket tracking status for analysis. The QuickStart shows how you can use Vertica and Tableau to quickly explore, visualize, and gain insight into your data stored in Vertica.
The Ticket Tracking QuickStart was developed by Tableau and adapted by the Vertica Partner Engineering team to use Vertica.
You can download the Vertica Partner QuickStart for Tableau from the following location:
About the Vertica QuickStarts
The QuickStarts are posted for download on the Vertica QuickStart Examples page.
Note The Vertica QuickStarts are freely available for demonstration and educational purposes. They are not governed by any license or support agreements and are not suitable for deployment in production environments.
Tableau Software provides visualization and business intelligence products, including Tableau Desktop, Tableau Server, Tableau Online, and Tableau Mobile. For details, see the Tableau website.
The Partner QuickStart for Tableau requires a Vertica database server with the Support schema, the Vertica ODBC client driver, and Tableau Desktop 10.0 or later.
The QuickStart was tested with Tableau 10.0 and Vertica 8.0.
Installation and Setup
To install the software that is required for running the QuickStart, follow these steps:
Tableau runs on Windows or Mac OS. If you do not have Tableau Desktop 10.0, follow these steps to install a free trial:
- Go to the Tableau website.
- Click Try Now.
- Enter your email.
- Click Download Free Trial.
- Launch the executable.
- Follow the prompts to install Tableau.
Vertica runs on Linux platforms. If you do not already have Vertica, you can download the Community Edition free of charge:
- Navigate to Vertica Community Edition.
- Log in or click Register Now to create an account
- Follow the on-screen instructions to download and install the Vertica Community Edition.
Tableau uses ODBC to connect to Vertica. Before you can connect Tableau to Vertica, you must download and install the Vertica client package that includes the ODBC driver.
To download and install the Vertica client package:
- Go to the Vertica Client Drivers page.
- Download the Vertica client package that matches your operating system and the version of Vertica that you are using.
- Follow the steps for installing the Vertica client as described in the Vertica documentation.
Note Vertica drivers are forward compatible. You can connect to the Vertica server using previous versions of the client. For more information, see Client Drivers and Server Version Compatibility in the Vertica documentation.
Download the QuickStart
- Navigate to vertica.com/quickstart
- Select Vertica Partner QuickStart for Tableau.
- Log in or create an account.
- Click Download.
Create the Support Schema
The data used by the Vertica Partner QuickStart for Tableau is stored in the TicketTracking table in the Support schema. Before you can use the QuickStart, you must create the schema.
To create the schema, follow these steps:
- Place the SupportTicketTrackingScript.sql file in the /tmp/ directory on the Linux system where the Vertica database is installed.
- Open a vsql session.
- Run the following command from vsql to execute the script:
=> \i /tmp/SupportTicketTrackingScript.sql
You can confirm that the schema and table were created by typing
\d in vsql.
Load the Data
After you create the schema, you must load the data from the CSV file by following these steps:
- Move the Support.TicketTracking.csv file to the /tmp path on the Linux system where the Vertica database is installed.
- Connect using vsql to the database where you created the Support schema.
- Run the following command:
=> COPY Support.TicketTracking FROM '/tmp/SupportTicketTracking.csv' ENCLOSED BY "" DELIMITER ','
SKIP 1 ABORT ON ERROR DIRECT;
You can confirm that the data was loaded by executing the following statement:
=> SELECT count(*) FROM support.TicketTracking;
Connect the Tableau Workbook to Vertica
To open the QuickStart and connect to Vertica, follow these steps:
- Start Tableau and open the Support Ticket Tracking.twb Tableau workbook file.
- From the Sign In dialog box, click Edit Connection.
- In the Server Connection dialog box, enter the following:
- Server name or IP address
- Database name
- Click Sign In to connect to Vertica.
QuickStart Example Dashboards
The QuickStart dashboards present sample support ticket data that a Support organization might use to track support cases and customer issues. The company could use this information to understand which months are busier than others to better serve their customers.
Ticket Overview Dashboard
The Case Support Ticket Tracking dashboard shows an overview status of the support ticket, along with the corresponding month that you select. You can drill down further into a particular month to check the status of the tickets:
Service Desk Dashboard
The Service Desk dashboard shows an overview of the priority of tickets based on location. In the following instance, you can see the status of tickets from a few days in October. You can distinguish between ticket priority based on the color. As we can see, most tickets were low priority, with a few falling in the moderate range: