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
-1
votes
1 answer

How to achieve the same results when correlated subquery is not supported

I have 2 tables: sessions: This table contains all the sessions that users have had. It contains 3 columns. uuid, user_id, occurred_at purchases: This table contains all the purchases a user has made. It contains 3 columns: purchase_id, user_id,…
samol
  • 18,950
  • 32
  • 88
  • 127
-1
votes
1 answer

Convert String to comma separated single quote values in vertica database

I have data like this "1,2,3,4" (String). I need to convert this to ('1','2','3','4'), so that i can use like select * from table where ids in ('1','2','3','4'). Is there any in built function in vertica to convert string to comma separated…
-1
votes
2 answers

Add new column in VERTICA and retaining old projections

I want to add a column on any position in my table in VERTICA. What I am doing is creating the new table with added column and copying the data from old table to new then dropping the old table. But I also want to copy the old projections to the…
-1
votes
1 answer

Find weekly peaks of of daily data SQL

I have data stored in a Vertica sql database structured like so: location date count Seattle 2015-09-21 48991 Portland 2015-09-21 38396 Seattle 2015-09-22 49639 Portland 2015-09-22 28817 Portland 2015-09-23 29183 Seattle …
Dom
  • 187
  • 3
  • 14
-1
votes
2 answers

Vertica database creation fails because node is down

I am trying to create database in fresh 3 node cluster, but got following error *** Creating database: test *** 172.16.10.47 OK [vertica][(6, 0, 1)][007][x86_64] 172.16.10.76 OK [vertica][(6, 0, 1)][007][x86_64] 172.16.10.55…
roy
  • 6,344
  • 24
  • 92
  • 174
-1
votes
1 answer

sqoop import from vertica failed

I am trying to import dataset from Vertica to HDFS using sqoop2. I a running following query on sqoop machines to import data into hdfs from Vertica v6.0.1-7 sqoop import -m 1 --driver com.vertica.jdbc.Driver --connect…
roy
  • 6,344
  • 24
  • 92
  • 174
-1
votes
1 answer

Vertica Primary Key Strange behavior

I wrote this simple piece of code in vertica 7.1.2 select reenable_duplicate_key_error(); create table Person(id int PRIMARY KEY, firstname varchar(20)); insert into Person select 1, 'test1' union all select 1, 'test2' union all select 1,…
Knows Not Much
  • 30,395
  • 60
  • 197
  • 373
-1
votes
2 answers

Vertica identity column datatype change

In vertica I want to change the datatype of the identity column. For example CREATE TABLE t1(x IDENTITY(1) ,y INT) Is there a way to change the identity column incremental value from 1 to say 10000. I create the above table now I increment the…
abdel
  • 1
-1
votes
1 answer

SQL Server - Vertica Connection

I need to query a hp vertica database from SQL Server stored procedure. It is a join query and If I use linked server, it is going to fire as 2 separate selects and join it in the SQL Server . Is there any way I can use ODBC to fire the join query…
bithom
  • 186
  • 2
  • 14
-1
votes
1 answer

Is there a way to easily select a column of Unix time to dates in the format of 'yyyy-mm-dd' using SQL?

Ideally I would like to use SELECT and have the column of unix time show up as dates. Thanks!
user3304155
  • 11
  • 1
  • 5
-1
votes
1 answer

Is it mandatory to run Database Designer for every schema in HP Vertica?

Constantly i have been hitting with Resource pool allocation error after creating several tables in new schema. After running the Database Designer in vertica for particular schema with all tables the queries are running fine. Kindly help me to…
Muthu
  • 58
  • 6
-1
votes
2 answers

Vertica query optimization

I want to optimize a query in vertica database. I have table like this CREATE TABLE data (a INT, b INT, c INT); and a lot of rows in it (billions) I fetch some data using whis query SELECT b, c FROM data WHERE a = 1 AND b IN ( 1,2,3, ...) but it…
ablazer
  • 1
  • 1
-1
votes
1 answer

Mount device with noatime option considerations

Hy all, I am facing some high I/O on my Vertica Cluster recently and is not because of bad query or design is just because of high workload and the business has got a lot bigger and the last months and there are no resources to be added to the…
Up_One
  • 5,213
  • 3
  • 33
  • 65
-1
votes
1 answer

SQLException: [Vertica][VJDBC](100161) The connection is closed

I use grails, vertica, tomcat. all is working fine until about one day after the application started. i get Exceptions. java.sql.SQLException: [Vertica][VJDBC](100161) The connection is closed. and [Vertica][JDBC](10040) Cannot use commit while…
KennyXu
  • 139
  • 12
-1
votes
2 answers

record(line) terminator in BufferedReader of Java

I am reading from a file from hadoop. The file is delimited by CTRL+B character. I must load these files to vertica database. I am reading hadoop files line by line and inserts the records using prepared statements. Some of the records in the files…
Santhosh
  • 1,771
  • 1
  • 15
  • 25