Whitepaper : Working with Greenplum Database using Toad for Data Analysts
 

Whitepaper : Working with Greenplum Database using Toad for Data Analysts

on

  • 1,333 views

This white paper briefly discusses how to connect to Greenplum database through Toad for Data Analysts and the basic interoperability.

This white paper briefly discusses how to connect to Greenplum database through Toad for Data Analysts and the basic interoperability.

Statistics

Views

Total Views
1,333
Views on SlideShare
1,333
Embed Views
0

Actions

Likes
0
Downloads
38
Comments
0

0 Embeds 0

No embeds

Accessibility

Categories

Upload Details

Uploaded via as Adobe PDF

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

    Whitepaper : Working with Greenplum Database using Toad for Data Analysts Whitepaper : Working with Greenplum Database using Toad for Data Analysts Document Transcript

    • 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
    • Copyright © 2012 EMC Corporation. All Rights Reserved.EMC believes the information in this publication is accurate ofits publication date. The information is subject to changewithout notice.The information in this publication is provided “as is”. EMCCorporation makes no representations or warranties of any kindwith respect to the information in this publication, andspecifically disclaims implied warranties of merchantability orfitness for a particular purpose.Use, copying, and distribution of any EMC software described inthis publication requires an applicable software license.For the most up-to-date listing of EMC product names, see EMCCorporation Trademarks on EMC.com.VMware is a registered trademark of VMware, Inc. All othertrademarks used herein are the property of their respectiveowners.Part Number h10582Working with Greenplum Database using Toad for Data Analyst 2
    • Table of ContentsExecutive summary.................................................................................................. 4 Audience ............................................................................................................................ 4Organization of this paper ....................................................................................... 5Overview of Greenplum Database ............................................................................ 6Overview of Toad for Data Analysts .......................................................................... 6How Toad for Data Analysts and Greenplum Database work together ........................ 7 Pre-requisite....................................................................................................................... 7 Connection ......................................................................................................................... 7 Object Explorer & Object Viewer ....................................................................................... 10 Query Builder ................................................................................................................... 12 Diagram ........................................................................................................................... 13Conclusion ............................................................................................................ 14References ............................................................................................................ 15 Working with Greenplum Database using Toad for Data Analyst 3
    • Executive summaryThe Toad for Data Analysts is a popular single-interface multi-platform data analysisproduct which provides powerful querying and reporting capabilities for the Greenplumdatabase. This paper details how to setup, configure and utilize Toad for Data Analystswith the Greenplum database system.AudienceThis white paper is intended for EMC field facing employees such as sales, technicalconsultants, support, as well as customers who will be using Toad for Data Analystswith Greenplum databases. This is neither an installation guide nor an introductorymaterial on Toad for Data Analysts. It documents Toad for Data Analysts connectivityand fundamental operation capabilities with Greenplum Database, and shows thereaders 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
    • 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
    • Overview of Greenplum DatabaseGreenplum Database leverages a share-nothing Massively Parallel Processing (MPP)architecture which facilitates analytical, Business Intelligence and data warehousesprocessing, all built on top of commodity compute and storage nodes to deliver extremeperformance in a cost-effective manner. The Greenplum Database architecture providesautomatic parallelization of data loading and queries. The high-performance loadinguses Scatter/Gather Streaming technology, supporting loading speed greater than 10terabytes per hour, per rack, with linear scalability. All data is automatically partitionedacross all nodes of the system, and queries are planned and executed using all nodesworking together in a highly coordinated fashion. The parallelism allows Greenplumdatabase to achieve high read-write performance.Overview of Toad for Data AnalystsToad is a software tool used for development and administration of databases. The Toadfor Data Analysts is designed for powerful multi-platform querying and reportingcapabilities with databases, for example, Greenplum database – all from a singleinterface that automates and streamlines time-consuming tasks. The Toad for DataAnalysts makes it simple to query, compare, synchronize, consolidate, cleanse, andanalyze data. Toad for Data Analysts accelerates the creation of data sets and querieswith data cleansing capabilities. It also enables users to apply advanced statisticalanalytics and visually analyze and profile data. Users can also explore the database,build queries, browse data, and create database diagrams and more. For example, ERDiagrammer and Data Browsers in Toad for Data Analysts can visualize tablerelationships, view master-detail relationships and browse database objects fromGreenplum databases. Working with Greenplum Database using Toad for Data Analyst 6
    • How Toad for Data Analysts and Greenplum Database worktogetherPre-requisiteIn 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 retainedConnectionAfter the user installed and configured the Greenplum Connectivity Pack, the user willneed to add a new User DSN in Control Panel -> ODBC Data Source Administrator with thenew ODBC driver that you installed by Greenplum Connectivity Pack. For instance, theuser can choose the PostgreSQL Unicode driver to Configure and test with a workingGreenplum Database. Working with Greenplum Database using Toad for Data Analyst 7
    • After the user installed and configured the Greenplum Connectivity Pack, he/she needsto add a new User DSN in Control Panel -> ODBC Data Source Administrator with the newODBC driver that you installed by Greenplum Connectivity Pack. For instance, the usercan choose the PostgreSQL Unicode driver to Configure and test with a workingGreenplum Database.Assuming the user has already run the installer and installed Toad for Data Analysts 3.0correctly, 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 anODBC icon inside the Navigation Manager. Here are the steps to create a new connectionfor GPDB:a) Right Click the ODBC icon, choose Create Working with Greenplum Database using Toad for Data Analyst 8
    • 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
    • Object Explorer & Object ViewerNow the user can use Toad for Data Analysts to connect to Greenplum Database. He/shecan use the Object Explorer to explore what tables, views, procedures, catalogs areresided in GPDB.User can view the simple table structure by just choosing the tables in the ObjectExplorer. Working with Greenplum Database using Toad for Data Analyst 10
    • User can right-click the table and choose View Details to see the details of the table likeColumns, 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 DatabaseBrowser. The information and operations the user will be able to access here will bedirectly impacted by the security privileges setup for the account he/she are using. Toaditself does not restrict the user from making changes to the data or objects in theGreenplum Database. Working with Greenplum Database using Toad for Data Analyst 11
    • Query BuilderUsers can also create a visual query in Greenplum Database using Query Builder. QueryBuilder is located at the main menu: Tools -> Query Builder. User can just drag and dropthe objects/tables directly to the Query Builder main window.Users can build their visual Greenplum Query by using the diagram or writing SQLdirectly. Users can choose a particular table for query by drag and drop, and chooseparticular columns by double clicks on those columns. Working with Greenplum Database using Toad for Data Analyst 12
    • Then, he/she can view the generated query on the Query Tab:DiagramThe 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 ownrelationships and add notes to specific entity by simple operations like drag and drop. Working with Greenplum Database using Toad for Data Analyst 13
    • ConclusionIn this white paper, the interoperability of Greenplum database and Toad for DataAnalysts is discussed and demonstrated. Using Toad for Data Analysts with Greenplumdatabase gives the user power data analytic, query and reporting capability that includessimple setup along with an intuitive graphical interface customarily found when usingTOAD products. Working with Greenplum Database using Toad for Data Analyst 14
    • References1) EMC Technical Whitepaper - EMC Greenplum Database - Critical Mass Innovation2) Greenplum Database Administrator Guide Version 4.1 (P/N 300-012-428)3) EMC Greenplum Database Data Sheet4) Toad for Data Analysts 3.0 Data Sheet5) Toad for Data Analysts 3.0 Installation Guide6) Toad for Data Analysts 3.0 Feature Matrix7) Toad for Data Analysts 3.08) Toad for Data Analysts, Tips ‘n’ Tricks Working with Greenplum Database using Toad for Data Analyst 15