DZone
Thanks for visiting DZone today,
Edit Profile
  • Manage Email Subscriptions
  • How to Post to DZone
  • Article Submission Guidelines
Sign Out View Profile
  • Post an Article
  • Manage My Drafts
Over 2 million developers have joined DZone.
Log In / Join
Refcards Trend Reports Events Over 2 million developers have joined DZone. Join Today! Thanks for visiting DZone today,
Edit Profile Manage Email Subscriptions Moderation Admin Console How to Post to DZone Article Submission Guidelines
View Profile
Sign Out
Refcards
Trend Reports
Events
Zones
Culture and Methodologies Agile Career Development Methodologies Team Management
Data Engineering AI/ML Big Data Data Databases IoT
Software Design and Architecture Cloud Architecture Containers Integration Microservices Performance Security
Coding Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks
Culture and Methodologies
Agile Career Development Methodologies Team Management
Data Engineering
AI/ML Big Data Data Databases IoT
Software Design and Architecture
Cloud Architecture Containers Integration Microservices Performance Security
Coding
Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance
Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks
  1. DZone
  2. Data Engineering
  3. Data
  4. Working With Redis Data in Microsoft Excel and Tableau

Working With Redis Data in Microsoft Excel and Tableau

Walk through connecting to Redis data using the CData Software ODBC Driver for Redis and performing basic reporting on/visualization of that data in Excel and in Tableau.

Jerod Johnson user avatar by
Jerod Johnson
·
Dec. 05, 17 · Tutorial
Like (3)
Save
Tweet
Share
8.80K Views

Join the DZone community and get the full member experience.

Join For Free

As an in-memory data structure store, Redis offers lightning-fast database, cache, and message broker functionality. Redis Enterprise builds a highly available, scalable, and secure instance of Redis. Redis data is stored in key-value pairs, where the values can range from strings, lists, sets, and bitfields to complex hashes. Traditionally, importing such a diverse dataset into common BI, reporting, and ETL tools is at best problematic and can be nearly impossible. With the CData Drivers for Redis, you gain a SQL-like interface to your Redis and Redis Enterprise data from ubiquitous standards like JDBC, ODBC, and ADO.NET, giving you high-performance, familiar access to your Redis data in the tools you already use.

This article walks you through connecting to Redis data using the CData Software ODBC Driver for Redis and performing basic reporting on and visualization of that data in Microsoft Excel and in Tableau. For more information on how the CData Drivers work with Redis data, including some sample data and queries, please refer to our Knowledge Base article.

Creating a Redis Database

If you do not have a Redis instance to work with, you can refer to the Redis Labs documentation for installing Redis Enterprise with Docker. The important pieces are the first three steps. Remember that your Redis database endpoint port will be at 12000 when you are done.

  • Getting Started With Redise Pack Using Docker on Windows
  • Getting Started With Redise Pack Using Docker on macOS
  • Getting Started With Redise Pack Using Docker on Linux

Once you have a Redis instance installed and running, you can continue through the walk-through, learning to work with your Redis data store as if it were a standard database.

Installing the ODBC Driver for Redis

The video below provides a walk-through of installing the CData ODBC Driver for Redis on Windows and some instructions on configuring a Data Source Name (DSN) that will be used later to connect to the Redis data. Start by downloading the ODBC Driver for Redis and running the installer. If you are unable to watch the video, or you are installing the ODBC Driver on macOS or Linux/UNIX, please refer to our help documentation.

Video: ODBC Driver Installation and Configuration

Loading Sample Data Into Redis

Once you have the ODBC driver installed and the DSN configured, you are ready to begin working with the data in your Redis instance. We have provided a sample application that will insert Northwind data (from the OData service) into your Redis instance. Download and extract the compressed folder containing the executable JAR file and the sample data (ZIP file, 7z file). Run the JAR file, passing the location of the CSV files and the necessary connection information for your Redis instance as parameters (see below).

Usage

java -jar CSVtoRedis.jar path_to_csv_files redis_server_address redis_server_port [redis_password]
  • path_to_csv_files: The full path to the CSV files.
  • redis_server_address: The IP address or server name of the server hosting Redis.
  • redis_server_port: The configured port of the Redis instance.
  • redis_password: The password to the Redis instance (optional)>

Once you have data in your Redis instance, you are ready to begin working with your data in MS Excel and Tableau.

Connecting to Redis Data in Microsoft Excel

The video below walks through connecting to Redis data in Microsoft Excel using the ODBC Driver and creating a 3D mapping of Northwind Order Detail data.

Video: Connecting to Redis Data in Microsoft Excel and Creating a 3D Chart

If you are unable to view the video, refer to our related Knowledge Base articles:

  • Using Microsoft Query in Excel to Connect to Redis (Windows)
  • Work With Redis Data in MS Excel on Mac OS X

Connecting to Redis Data in Tableau

The video below walks through connecting to Redis data in Tableau using the ODBC Driver and creating a visualization of Northwind Order Detail data.

Video: Connecting to Redis Data in Tableau and Creating a Visualization

If you are unable to view the video, refer to our related knowledge base article:

  • Visualize Redis Data in Tableau
Redis (company) Data (computing) Microsoft Excel

Published at DZone with permission of Jerod Johnson, DZone MVB. See the original article here.

Opinions expressed by DZone contributors are their own.

Popular on DZone

  • 9 Ways You Can Improve Security Posture
  • Learning by Doing: An HTTP API With Rust
  • What Should You Know About Graph Database’s Scalability?
  • The New DevOps Performance Clusters

Comments

Partner Resources

X

ABOUT US

  • About DZone
  • Send feedback
  • Careers
  • Sitemap

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

  • Article Submission Guidelines
  • Become a Contributor
  • Visit the Writers' Zone

LEGAL

  • Terms of Service
  • Privacy Policy

CONTACT US

  • 600 Park Offices Drive
  • Suite 300
  • Durham, NC 27709
  • support@dzone.com
  • +1 (919) 678-0300

Let's be friends: