Nell’iperspazio con Rocket: il Framework Web di Rust!
Whitepaper : Working with Greenplum Database using Toad for Data Analysts
1. White Paper
Working with Greenplum Database
using Toad for Data Analysts
The fundamental interoperability between
Greenplum Database & Toad for Data Analysts in
Windows
Abstract
This white paper briefly discusses how to connect to Greenplum
database through Toad for Data Analysts and the basic
interoperability.
March 2012
3. Table of Contents
Executive summary.................................................................................................. 4
Audience ............................................................................................................................ 4
Organization of this paper ....................................................................................... 5
Overview of Greenplum Database ............................................................................ 6
Overview of Toad for Data Analysts .......................................................................... 6
How Toad for Data Analysts and Greenplum Database work together ........................ 7
Pre-requisite....................................................................................................................... 7
Connection ......................................................................................................................... 7
Object Explorer & Object Viewer ....................................................................................... 10
Query Builder ................................................................................................................... 12
Diagram ........................................................................................................................... 13
Conclusion ............................................................................................................ 14
References ............................................................................................................ 15
Working with Greenplum Database using Toad for Data Analyst 3
4. Executive summary
The Toad for Data Analysts is a popular single-interface multi-platform data analysis
product which provides powerful querying and reporting capabilities for the Greenplum
database. This paper details how to setup, configure and utilize Toad for Data Analysts
with the Greenplum database system.
Audience
This white paper is intended for EMC field facing employees such as sales, technical
consultants, support, as well as customers who will be using Toad for Data Analysts
with Greenplum databases. This is neither an installation guide nor an introductory
material on Toad for Data Analysts. It documents Toad for Data Analysts connectivity
and fundamental operation capabilities with Greenplum Database, and shows the
readers how it can be used in conjunction with Greenplum database to query,
compare, synchronize, consolidate, cleanse and analyze data to users.
Working with Greenplum Database using Toad for Data Analyst 4
5. Organization of this paper
This paper covers the following topics:
Executive summary
Organization of this paper
Overview of Greenplum Database
Overview of Toad for Data Analysts
How Toad for Data Analysts and Greenplum Database work together
Conclusion
Working with Greenplum Database using Toad for Data Analyst 5
6. Overview of Greenplum Database
Greenplum Database leverages a share-nothing Massively Parallel Processing (MPP)
architecture which facilitates analytical, Business Intelligence and data warehouses
processing, all built on top of commodity compute and storage nodes to deliver extreme
performance in a cost-effective manner. The Greenplum Database architecture provides
automatic parallelization of data loading and queries. The high-performance loading
uses Scatter/Gather Streaming technology, supporting loading speed greater than 10
terabytes per hour, per rack, with linear scalability. All data is automatically partitioned
across all nodes of the system, and queries are planned and executed using all nodes
working together in a highly coordinated fashion. The parallelism allows Greenplum
database to achieve high read-write performance.
Overview of Toad for Data Analysts
Toad is a software tool used for development and administration of databases. The Toad
for Data Analysts is designed for powerful multi-platform querying and reporting
capabilities with databases, for example, Greenplum database – all from a single
interface that automates and streamlines time-consuming tasks. The Toad for Data
Analysts makes it simple to query, compare, synchronize, consolidate, cleanse, and
analyze data. Toad for Data Analysts accelerates the creation of data sets and queries
with data cleansing capabilities. It also enables users to apply advanced statistical
analytics and visually analyze and profile data. Users can also explore the database,
build queries, browse data, and create database diagrams and more. For example, ER
Diagrammer and Data Browsers in Toad for Data Analysts can visualize table
relationships, view master-detail relationships and browse database objects from
Greenplum databases.
Working with Greenplum Database using Toad for Data Analyst 6
7. How Toad for Data Analysts and Greenplum Database work
together
Pre-requisite
In order to get started, the user will need to prepare the following components:
• A version of Windows that supports the v3.5 .NET engine
• The Greenplum Connectivity Pack 4.1.2 or later
• Toad for Data Analysts v3.0
• Greenplum Database v4.2
• The referential integrity of any tables should be retained
Connection
After the user installed and configured the Greenplum Connectivity Pack, the user will
need to add a new User DSN in Control Panel -> ODBC Data Source Administrator with the
new ODBC driver that you installed by Greenplum Connectivity Pack. For instance, the
user can choose the PostgreSQL Unicode driver to Configure and test with a working
Greenplum Database.
Working with Greenplum Database using Toad for Data Analyst 7
8. After the user installed and configured the Greenplum Connectivity Pack, he/she needs
to add a new User DSN in Control Panel -> ODBC Data Source Administrator with the new
ODBC driver that you installed by Greenplum Connectivity Pack. For instance, the user
can choose the PostgreSQL Unicode driver to Configure and test with a working
Greenplum Database.
Assuming the user has already run the installer and installed Toad for Data Analysts 3.0
correctly, now he/she can start using Toad for Data Analysts for Greenplum Database.
First, the user needs to create a new connection for Greenplum Database. There is an
ODBC icon inside the Navigation Manager. Here are the steps to create a new connection
for GPDB:
a) Right Click the ODBC icon, choose Create
Working with Greenplum Database using Toad for Data Analyst 8
9. b) Fill all the database connection information & check on Save Password. Use the
Connect button to test the connection. Once the connection is verified, use the Save
button to save the connection details.
Working with Greenplum Database using Toad for Data Analyst 9
10. Object Explorer & Object Viewer
Now the user can use Toad for Data Analysts to connect to Greenplum Database. He/she
can use the Object Explorer to explore what tables, views, procedures, catalogs are
resided in GPDB.
User can view the simple table structure by just choosing the tables in the Object
Explorer.
Working with Greenplum Database using Toad for Data Analyst 10
11. User can right-click the table and choose View Details to see the details of the table like
Columns, Data, Indexes, Primary Keys, Foreign Keys, Privileges and Scripts.
By choosing the Data tab, user can view the data populated to that table.
The Object Viewer shows all of the properties for the object selected in the Database
Browser. The information and operations the user will be able to access here will be
directly impacted by the security privileges setup for the account he/she are using. Toad
itself does not restrict the user from making changes to the data or objects in the
Greenplum Database.
Working with Greenplum Database using Toad for Data Analyst 11
12. Query Builder
Users can also create a visual query in Greenplum Database using Query Builder. Query
Builder is located at the main menu: Tools -> Query Builder. User can just drag and drop
the objects/tables directly to the Query Builder main window.
Users can build their visual Greenplum Query by using the diagram or writing SQL
directly. Users can choose a particular table for query by drag and drop, and choose
particular columns by double clicks on those columns.
Working with Greenplum Database using Toad for Data Analyst 12
13. Then, he/she can view the generated query on the Query Tab:
Diagram
The user can create a database diagram, such as ER diagram for Greenplum database.
Users can take the advantages of discovering entity data relationships, add his/her own
relationships and add notes to specific entity by simple operations like drag and drop.
Working with Greenplum Database using Toad for Data Analyst 13
14. Conclusion
In this white paper, the interoperability of Greenplum database and Toad for Data
Analysts is discussed and demonstrated. Using Toad for Data Analysts with Greenplum
database gives the user power data analytic, query and reporting capability that includes
simple setup along with an intuitive graphical interface customarily found when using
TOAD products.
Working with Greenplum Database using Toad for Data Analyst 14
15. References
1) EMC Technical Whitepaper - EMC Greenplum Database - Critical Mass Innovation
2) Greenplum Database Administrator Guide Version 4.1 (P/N 300-012-428)
3) EMC Greenplum Database Data Sheet
4) Toad for Data Analysts 3.0 Data Sheet
5) Toad for Data Analysts 3.0 Installation Guide
6) Toad for Data Analysts 3.0 Feature Matrix
7) Toad for Data Analysts 3.0
8) Toad for Data Analysts, Tips ‘n’ Tricks
Working with Greenplum Database using Toad for Data Analyst 15