Reducing the Need for ETL with MongoDB Charts
Tags: datavisualization, mongodb, etl, mongodbcharts
Published: 2019-02-10 19:17:50

---
title: Reducing the Need for ETL with MongoDB Charts
published: true
tags: Data Visualization,MongoDB,ETL,MongoDB Charts
canonical_url: https://www.kenwalger.com/blog/nosql/mongodb/reducing-need-etl-mongodb-charts/
---

Databases as we know them have been around for over 40 years. When they first came about businesses would often keep data in separate systems and separate formats. There were a variety of reasons for these decisions. One of the side effects of these separate data stores is the need to combine together to be able to perform data analysis. This led to the long-standing practice of ETL, or Extract, Transform, Load.

ETL is a process to _extract_ data from a starting data source, _transform _the data in some fashion, then _load_ it into another data store. Sounds simple enough, but in fact, there is a lot of work going on under the covers and a lot of steps and decisions to navigate. These additional steps reduce the speed at which we can get meaningful insights from our data. Further, they rely on many assumptions about transforming data into what is assumed to be the correct format for later consumption – without knowing very much about the business questions to be asked of this data down the road.

#### From Data Warehouses to the Cloud

Traditionally, enterprise applications have relied on performing ETL operations to move data into an enterprise data warehouse (EDW).

<figcaption><img data-attachment-id="900" data-permalink="https://www.kenwalger.com/blog/nosql/mongodb/reducing-need-etl-mongodb-charts/attachment/etl_visual/" data-orig-file="https://i0.wp.com/www.kenwalger.com/blog/wp-content/uploads/2018/11/ETL_Visual.png?fit=5037%2C3880&amp;ssl=1" data-orig-size="5037,3880" data-comments-opened="1" data-image-meta='{"aperture":"0","credit":"","camera":"","caption":"","created_timestamp":"0","copyright":"","focal_length":"0","iso":"0","shutter_speed":"0","title":"","orientation":"0"}' data-image-title="ETL_Visual" data-image-description="" data-medium-file="https://i0.wp.com/www.kenwalger.com/blog/wp-content/uploads/2018/11/ETL_Visual.png?fit=300%2C231&amp;ssl=1" data-large-file="https://i0.wp.com/www.kenwalger.com/blog/wp-content/uploads/2018/11/ETL_Visual.png?fit=840%2C647&amp;ssl=1" src="https://i0.wp.com/www.kenwalger.com/blog/wp-content/uploads/2018/11/ETL_Visual.png?resize=300%2C231&amp;ssl=1" alt="Typical ETL Architecture" width="300" height="231" srcset="https://i0.wp.com/www.kenwalger.com/blog/wp-content/uploads/2018/11/ETL_Visual.png?resize=300%2C231&amp;ssl=1 300w, https://i0.wp.com/www.kenwalger.com/blog/wp-content/uploads/2018/11/ETL_Visual.png?resize=768%2C592&amp;ssl=1 768w, https://i0.wp.com/www.kenwalger.com/blog/wp-content/uploads/2018/11/ETL_Visual.png?resize=1024%2C789&amp;ssl=1 1024w, https://i0.wp.com/www.kenwalger.com/blog/wp-content/uploads/2018/11/ETL_Visual.png?resize=1200%2C924&amp;ssl=1 1200w, https://i0.wp.com/www.kenwalger.com/blog/wp-content/uploads/2018/11/ETL_Visual.png?w=1680&amp;ssl=1 1680w, https://i0.wp.com/www.kenwalger.com/blog/wp-content/uploads/2018/11/ETL_Visual.png?w=2520&amp;ssl=1 2520w" sizes="(max-width: 300px) 85vw, 300px" data-recalc-dims="1"></figcaption>

Creating a successful data warehouse can be a long, complicated, and expensive process. One of the technologies that have been created to help with the process is [Apache Hadoop](https://hadoop.apache.org/). Hadoop allows for the processing of massive amounts of data on commodity hardware with open source technologies. However, instead of simplification, the ETL and data warehousing landscape has only become more complex and cumbersome and the proliferation of tools combined with maturity and adoption issues have only increased the cost. Further, according to [Gartner analyst Nick Heudecker](https://twitter.com/nheudecker/status/928720268662530048), 85% of big data projects fail. Mostly due to the complexity of the process itself.

With the transition to the cloud many organizations are undertaking, ETL becomes even more complicated from a meaningful and timely data analytics standpoint. Moving data from one source to another takes time. Now there is hidden data transfer and compute costs and latencies to navigate. While some meaningful analytics can be performed on stale data, most modern analytics need to be as close to real-time as possible.

#### Issues WITh ETL

A few of the problems that we are faced with when setting up ETL processes are:

1. **Latency & Downtime** – There is an inherent cost of moving data from point A to point B. Forty years ago, when ETL started, we were working with megabytes of data and not needing “instant” access. Today we’re dealing with terra or petabytes of data and needing real-time insight from that data.Moving data across the network isn’t free. On a 100 BaseT network, transferring one gigabyte of data takes 100 seconds. A terabyte takes 10,000 seconds or over two and a half hours. All assuming that it’s on a dedicated network that isn’t used by other applications. At ETL demands grow, data could easily be stale by many hours.We used to be able to schedule these transfers during “downtime” at midnight. However, in today’s global world, users are always online somewhere demanding instant access and insight. Downtime is simply no longer acceptable and latency has become the new downtime. Should suppliers on one side of the world suffer from poor performance just so executives on the other side of the world have up to date dashboards in the morning?
2. **Storage is cheap, labor is expensive** – Data warehouses started at a point in time in which storage was expensive. In 1981, one gigabyte of data storage cost about $290,000. Today that cost is under $0.10. It was, therefore, important to transform and compress as much data as possible when storing to save costs.As storage costs have decreased, labor costs have gone the opposite direction. Having a good database administrator to design, manage, and maintain your data warehouse and ETL path is expensive. Storing raw data is frequently seen as a more economically viable choice.
3. **ETL is hard** – ETL takes planning. Lots of it. And not just for your current load of data, but for what might happen to the load down the road. Additionally, ETL scripts can get long and complex.Bringing in data from a variety of sources, looping over them, adding logging, error handling, configurations are just the start. Determining how the data needs to be transformed can be complex, and fragile. What happens if data stored today as a string gets changed down the road? The process breaks and adjustments need to be made.Do you ever wonder why the first answer out of a DBA’s mouth is an emphatic “No!” when asked if something can be changed? One “simple” change can mean changing dozens or hundreds of lines of code. For these reasons and more, ETL requires planning for current and future data needs, loads, and shape.
4. **Are developers the right people to build the ETL pipeline?** – Developers are great at many things, however, knowing about data storage and ETL pipelines aren’t often one of them. ETL design and implementation are typically best done by data engineers. While a developer may be able to get data through an ETL pipeline and into a data warehouse, generally speaking, it often isn’t done in the most efficient manner. Specialized data engineers should be responsible for these tasks. If you don’t have them on your team, this is another cost of ETL.
5. **Maintenance headaches** – As the size and complexity of data, applications, and analytics requirements grow, so does ETL maintenance. Maintaining changes in data velocity, formats, connections, and features takes time. Many of these challenges may not be thought of at the start of a project, but lead to long-term maintenance needs.

#### Use MongoDB Charts to Avoid the Headache of ETL

Companies today still have data in a variety of systems. In certain instances, ETL is the only option to be able to perform visualization and analysis of your data. Or, perhaps, you’ve explored ETL but haven’t taken the steps needed to get your data ready for analysis because it’s overwhelming.

If you’ve leveraged MongoDB as your database, the need for ETL procedures has been dramatically reduced with the introduction of [MongoDB Charts](https://www.mongodb.com/products/charts), now in beta. MongoDB Charts natively understands the MongoDB Document Model allowing for the rapid creation of data visualizations over your data.

With MongoDB Charts you can connect to your MongoDB server, assign user authorization policies to your reports, and easily generate visualization dashboards. With over a dozen different chart variations to choose from, stunning visualizations are just a few clicks away.

MongoDB Charts allows for data to be visualized without performing ETL operations, saving valuable time and resources. You don’t need to write any code or rely on third-party tools. Further, you still get to leverage the richness of the Document Model.

#### Conclusion

For those situations that you want to quickly access your MongoDB Data, [MongoDB Charts](https://www.kenwalger.com/blog/nosql/visualizing-data-mongodb-charts/) is a terrific option. If you’re in a situation that requires multiple data sources to be analyzed, we offer the MongoDB [Connector for Business Intelligence](https://www.mongodb.com/download-center/bi-connector). If you are doing advanced analytics with [Apache Spark](https://spark.apache.org/), we have an option for that as well with the MongoDB [Connector for Apache Spark](https://www.mongodb.com/products/spark-connector).

For many roles in an organization, MongoDB Charts is a great tool for analyzing your data. There’s no need to go through the pain of the ETL process. It is the fastest way to build visualizations over your MongoDB Data, wherever it’s stored. On-premise or in the cloud hosted by [MongoDB Atlas](https://www.mongodb.com/cloud/atlas). Give it a try today!

* * *

_This post was originally published on the [MongoDB Blog](https://dev.to/mongodb/reducing-the-need-for-etl-with-mongodb-charts-1f86-temp-slug-2439141)._

[![Facebook](https://i1.wp.com/www.kenwalger.com/blog/wp-content/plugins/social-media-feather/synved-social/image/social/regular/96x96/facebook.png?resize=48%2C48&ssl=1 "Share on Facebook")](http://www.facebook.com/sharer.php?u=https%3A%2F%2Fwww.kenwalger.com%2Fblog%2Fnosql%2Fmongodb%2Freducing-need-etl-mongodb-charts%2F&t=Reducing%20the%20Need%20for%20ETL%20with%20MongoDB%20Charts&s=100&p%5Burl%5D=https%3A%2F%2Fwww.kenwalger.com%2Fblog%2Fnosql%2Fmongodb%2Freducing-need-etl-mongodb-charts%2F&p%5Bimages%5D%5B0%5D=https%3A%2F%2Fwww.kenwalger.com%2Fblog%2Fwp-content%2Fuploads%2F2018%2F11%2FETL_Visual-300x231.png&p%5Btitle%5D=Reducing%20the%20Need%20for%20ETL%20with%20MongoDB%20Charts "Share on Facebook")[![twitter](https://i0.wp.com/www.kenwalger.com/blog/wp-content/plugins/social-media-feather/synved-social/image/social/regular/96x96/twitter.png?resize=48%2C48&ssl=1 "Share on Twitter")](https://twitter.com/intent/tweet?url=https%3A%2F%2Fwww.kenwalger.com%2Fblog%2Fnosql%2Fmongodb%2Freducing-need-etl-mongodb-charts%2F&text=Hey%20check%20this%20out "Share on Twitter")[![google_plus](https://i1.wp.com/www.kenwalger.com/blog/wp-content/plugins/social-media-feather/synved-social/image/social/regular/96x96/google_plus.png?resize=48%2C48&ssl=1 "Share on Google+")](https://plus.google.com/share?url=https%3A%2F%2Fwww.kenwalger.com%2Fblog%2Fnosql%2Fmongodb%2Freducing-need-etl-mongodb-charts%2F "Share on Google+")[![reddit](https://i1.wp.com/www.kenwalger.com/blog/wp-content/plugins/social-media-feather/synved-social/image/social/regular/96x96/reddit.png?resize=48%2C48&ssl=1 "Share on Reddit")](http://www.reddit.com/submit?url=https%3A%2F%2Fwww.kenwalger.com%2Fblog%2Fnosql%2Fmongodb%2Freducing-need-etl-mongodb-charts%2F&title=Reducing%20the%20Need%20for%20ETL%20with%20MongoDB%20Charts "Share on Reddit")[![linkedin](https://i2.wp.com/www.kenwalger.com/blog/wp-content/plugins/social-media-feather/synved-social/image/social/regular/96x96/linkedin.png?resize=48%2C48&ssl=1 "Share on Linkedin")](http://www.linkedin.com/shareArticle?mini=true&url=https%3A%2F%2Fwww.kenwalger.com%2Fblog%2Fnosql%2Fmongodb%2Freducing-need-etl-mongodb-charts%2F&title=Reducing%20the%20Need%20for%20ETL%20with%20MongoDB%20Charts "Share on Linkedin")[![mail](https://i2.wp.com/www.kenwalger.com/blog/wp-content/plugins/social-media-feather/synved-social/image/social/regular/96x96/mail.png?resize=48%2C48&ssl=1 "Share by email")](mailto:?subject=Reducing%20the%20Need%20for%20ETL%20with%20MongoDB%20Charts&body=Hey%20check%20this%20out:%20https%3A%2F%2Fwww.kenwalger.com%2Fblog%2Fnosql%2Fmongodb%2Freducing-need-etl-mongodb-charts%2F "Share by email")

The post [Reducing the Need for ETL with MongoDB Charts](https://www.kenwalger.com/blog/nosql/mongodb/reducing-need-etl-mongodb-charts/) appeared first on [Blog of Ken W. Alger](https://www.kenwalger.com/blog).