Book Image

HP Vertica Essentials

By : Rishabh Agrawal
Book Image

HP Vertica Essentials

By: Rishabh Agrawal

Overview of this book

<p>With the rise of Massively Parallel Processing (MPP) and NewSQL databases, many users are confused about which MPP technology to opt for. Today, HP Vertica is gaining a lot of traction as a major MPP technology. Vertica's distributed architecture allows fast query processing, and it is a highly fault-tolerant architecture, thus making it one of the most sought-after MPP databases today.</p> <p>HP Vertica Essentials will help you to learn day-to-day administration activities in a step-by-step format. You will start by learning how to install Vertica, followed by its management and monitoring. You will learn about the different backup and restore techniques, including the concept of projections in Vertica. Finally, you will explore the various techniques to improve performance and bulk loading in Vertica. By the end of this book, you will be able to install, manage, and monitor Vertica efficiently.</p>
Table of Contents (13 chapters)

Load methods


Depending on the size of the data, you should select one of the following load methods with the COPY command:

Load methods

Description and use

AUTO

This is the default option. It loads data into WOS. After WOS is full, it continues loading data into ROS. It is good for data less than 100 MB in size. (Please refer to Chapter 5, Performance Improveme nt, to understand more on ROS and WOS.)

DIRECT

This loads data directly into ROS containers. It is advised to use the DIRECT load method for data more than 100 MB in size.

TRICKLE

This loads data only into WOS. After WOS is full, it generates an error. It is suggested to use this for frequent incremental load operations.

An example of a load method is as follows:

COPY table1 from '/root/data/tab1.txt' DIRECT

For incremental loads, it is suggested to use the NO COMMIT command and use the COMMIT command at a later stage for better control at the transaction level.