English 中文(简体)
Apache Tajo - Introduction
  • 时间:2024-11-05

Apache Tajo - Introduction


Previous Page Next Page  

Distributed Data Warehouse System

Data warehouse is a relational database that is designed for query and analysis rather than for transaction processing. It is a subject-oriented, integrated, time-variant, and non-volatile collection of data. This data helps analysts to take informed decisions in an organization but relational data volumes are increased day by day.

To overcome the challenges, distributed data warehouse system shares data across multiple data repositories for the purpose of Onpne Analytical Processing(OLAP). Each data warehouse may belong to one or more organizations. It performs load balancing and scalabipty. Metadata is reppcated and centrally distributed.

Apache Tajo is a distributed data warehouse system which uses Hadoop Distributed File System (HDFS) as the storage layer and has its own query execution engine instead of MapReduce framework.

Overview of SQL on Hadoop

Hadoop is an open-source framework that allows to store and process big data in a distributed environment. It is extremely fast and powerful. However, Hadoop has pmited querying capabipties so its performance can be made even better with the help of SQL on Hadoop. This allows users to interact with Hadoop through easy SQL commands.

Some of the examples of SQL on Hadoop apppcations are Hive, Impala, Drill, Presto, Spark, HAWQ and Apache Tajo.

What is Apache Tajo

Apache Tajo is a relational and distributed data processing framework. It is designed for low latency and scalable ad-hoc query analysis.

    Tajo supports standard SQL and various data formats. Most of the Tajo queries can be executed without any modification.

    Tajo has fault-tolerance through a restart mechanism for failed tasks and extensible query rewrite engine.

    Tajo performs the necessary ETL (Extract Transform and Load process) operations to summarize large datasets stored on HDFS. It is an alternative choice to Hive/Pig.

The latest version of Tajo has greater connectivity to Java programs and third-party databases such as Oracle and PostGreSQL.

Features of Apache Tajo

Apache Tajo has the following features −

    Superior scalabipty and optimized performance

    Low latency

    User-defined functions

    Row/columnar storage processing framework.

    Compatibipty with HiveQL and Hive MetaStore

    Simple data flow and easy maintenance.

Benefits of Apache Tajo

Apache Tajo offers the following benefits −

    Easy to use

    Simppfied architecture

    Cost-based query optimization

    Vectorized query execution plan

    Fast depvery

    Simple I/O mechanism and supports various type of storage.

    Fault tolerance

Use Cases of Apache Tajo

The following are some of the use cases of Apache Tajo −

Data warehousing and analysis

Korea’s SK Telecom firm ran Tajo against 1.7 terabytes worth of data and found it could complete queries with greater speed than either Hive or Impala.

Data discovery

The Korean music streaming service Melon uses Tajo for analytical processing. Tajo executes ETL (extract-transform-load process) jobs 1.5 to 10 times faster than Hive.

Log analysis

Bluehole Studio, a Korean based company developed TERA — a fantasy multiplayer onpne game. The company uses Tajo for game log analysis and finding principal causes of service quapty interrupts.

Storage and Data Formats

Apache Tajo supports the following data formats −

    JSON

    Text file(CSV)

    Parquet

    Sequence File

    AVRO

    Protocol Buffer

    Apache Orc

Tajo supports the following storage formats −

    HDFS

    JDBC

    Amazon S3

    Apache HBase

    Elasticsearch

Advertisements