Questions tagged [vertica]

Vertica is an MPP column-store analytics database that runs on clusters of Linux servers or in the cloud. The original configuration (Enterprise mode) distributes data and query execution among nodes (typically with duplication). A newer configuration (Eon mode) separates compute from storage and relies on S3 for storage.

Vertica is a columnar database designed for data warehousing. Vertica is based on C-Store, which was an academic project involving academic and entrepreneur Michael Stonebraker (a co-founder of Vertica, Ingres, VoltDB) and colleagues from Brandeis University, Brown University, MIT, and University of Massachusetts Boston.

As part of the C-store architecture table data is stored on disk in columns rather than in rows. Columns are stored independently of other columns and allow for increased compression on storage and decreased I/O during query operations.

Vertica has advanced analytical and machine learning functions built-in.

Vertica is designed to run on clusters of Linux nodes. A Vertica cluster runs in a MPP (Massive Parallel Processing) fashion, and it is designed to scale linearly by adding nodes to the cluster.

Vertica clusters can be deployed on premise (in Enterprise Mode) or in the cloud (in either Enterprise Mode or Eon Mode). Enterprise Mode consists of Vertica nodes that share compute and storage resources. Eon Mode is a cloud based mode in which there is a separation of compute nodes (AWS EC2 instances) and storage (S3). This separation of compute and storage allows for rapid scalability (adding or removing compute nodes) without the need to rebalance data across the nodes in the cluster.

Veritca was purchased by HP in 2011, and then acquired by Micro Focus as part of the HPE merger in 2017. As such, Vertica is sometimes referred to in old documentation and community posts as HP Vertica or HPE Vertica.

Vertica comes with a command line utility called vsql for connecting to the database.

1420 questions
5
votes
2 answers

Start Vertica database during boot on Linux

I have Vertica installed in an Ubuntu virtual machine and I'd like to have a specific database started during the boot, instead of me having to login, open admintools and start from there. So, is there a command line that would allow me to start it…
Bani
  • 1,149
  • 2
  • 10
  • 17
4
votes
2 answers

SQL: Remove duplicate columns when joining tables with large number of columns

Objective: I want to be able to remove the common/ duplicate columns, from the output of a JOIN between 2 tables. Problem: Most of the other questions that I have checked here on this subject, talk about explicitly mentioning the column names after…
Arsenic_33
  • 43
  • 1
  • 3
4
votes
0 answers

How to install Unix ODBC drivers to a unix docker instance?

I'm trying to connect my .net core application, hosted on a unix docker container to an external Vertica database. It works fine when it's a windows client because there are Vertica Drivers for Windows. But there isn't a unix driver for Vertica…
Brian
  • 1,845
  • 1
  • 22
  • 37
4
votes
0 answers

[Vertica][Support] (50310) Unrecognized ICU conversion error

I get following error when i try to load a field from vertica DB which has data type "Long Varchar" using SSIS. [Extract Data from Vertica "Fact_Service_Case_View" [2]] Error: Open Database Connectivity (ODBC) error occurred. state: 'HY000'.…
Karthik
  • 41
  • 4
4
votes
1 answer

How can I get the last issued sequence ID in vertica?

Background: I am migrating from postgreSQL to Vertica and found, that there are some issues in IDENTITY or AUTO_INCREMENT columns. One of these issues is, that vertica cannot assign values to IDENTITY columns or alter a column, that already has data…
Dschoni
  • 3,714
  • 6
  • 45
  • 80
4
votes
1 answer

How to escape quotes in strings in vertica (vsql)?

So I need to insert some values into a vertica database (via vsql), which may contain quotes and all sorts of special characters. But vertica does not seem to understand character escaping. For example: rpt=> select "asdasda\"asdasdad" from…
Ivan P
  • 1,920
  • 2
  • 15
  • 19
4
votes
3 answers

Convert single row to multiple columns Vertica

SELECT ID,NAME,VALUE1,VALUE2 FROM my_table where ID=1 ; The query would give me output like ID|NAME|VALUE1|VALUE2 1|XYZ|123|325 But I want the output in the below format ID |1 NAME |XYZ VALUE1|123 VALUE2|325 My columns will be fixed and each…
Swathi8038
  • 96
  • 2
  • 11
4
votes
2 answers

Sequence Numbering in SQL

I have a list of activities(A-start to H-end) for certain events. These can occur in any order, any number of times and can restart as well. I need to identify the blocks of activities within an event. Eg: A B C D E F G H B C D H C D E F H E F G…
Neha
  • 233
  • 1
  • 3
  • 11
4
votes
2 answers

.Net core support for querying Vertica

I want to connect to Vertica DB from .Net Core app but the Vertica.Data package is not compatible with .Net Core. Have been searching for another package which works for .Net core but did not find anything. Is there any other workaround to query…
nimisha shrivastava
  • 2,357
  • 2
  • 16
  • 31
4
votes
1 answer

What kind of join is used in a Vertica UPDATE statement?

Vertica has an interesting update syntax when updating a table based on a join value. Instead of using a join to find the update rows, it mandates a syntax like this: UPDATE a SET col = b.val where a.id = b.id (Note that this syntax is indeed…
Paul
  • 3,321
  • 1
  • 33
  • 42
4
votes
2 answers

Creating local temp table in vertica

I would like to create local temp table in vertica and be able to insert values into it. This is what I have so far: DROP TABLE DOMAINS_FLAG; CREATE LOCAL TEMP TABLE DOMAINS_FLAG (domain_name VARCHAR, pub_ats_id INT) INSERT INTO DOMAINS_FLAG …
opamp
  • 91
  • 1
  • 9
4
votes
3 answers

GROUP_CONCAT in Vertica

Suppose we have data something like this: date | campaign | raw | unq ------------+----------+-----+----- 2016-06-01 | camp1 | 5 | 1 2016-06-01 | camp2 | 10 | 1 2016-06-01 | camp3 | 15 | 2 2016-06-02 | camp4 | 5 |…
Vadim Kasich
  • 51
  • 1
  • 1
  • 2
4
votes
1 answer

Is there any alternative to Vertica's conditional_true_event in RedShift?

Vertica has a very nice type of operations: Event-Based Window operations, which basically let you identify when an event occurs. For example the conditional_true_event will increment a counter each time the given boolean expression resolves to…
JSBach
  • 4,679
  • 8
  • 51
  • 98
4
votes
2 answers

Copying data to Vertica using python

I use python and vertica-python library to COPY data to Vertica DB connection = vertica_python.connect(**conn_info) vsql_cur = connection.cursor() with open("/tmp/vertica-test-insert", "rb") as fs: vsql_cur.copy( "COPY table FROM STDIN…
andylens
  • 41
  • 1
  • 3
4
votes
1 answer

[Vertica][VJDBC](100172) One or more rows were rejected by the server

I got the following error when loading data from Impala to Vertica with Sqoop. Error: java.io.IOException: Can't export data, please check failed map task logs at org.apache.sqoop.mapreduce.TextExportMapper.map(TextExportMapper.java:112) …
yuan0122
  • 441
  • 9
  • 18