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
-2
votes
2 answers

What is the SQL Statement to delete all entries of an ID after a certain activity occurs?

I am struggling with the Vertica SQL Statement to delete all entries of an OrderID after a certain event had occurred. This is a representation of my data. **OrderID Activity** 1 Item Started 1 Task 1 complete 1 …
SaPl
  • 15
  • 3
-2
votes
1 answer

How to query for the last full 8 weeks of Data in Hive

I want to basically translate the code below from Vertica to Hive Syntax: AND DATE_TRUNC('WEEK',d.signup_timestamp) BETWEEN DATE_TRUNC('WEEK',now()-INTERVAL '8 WEEKS') AND DATE_TRUNC('WEEK',now()-INTERVAL '1 WEEK')
-2
votes
1 answer

how to fix this error:ddl statement interferred with query replan?

database : vertica when I use insert into.....select.... statement to add data, following error occurred: notice : error encounterred in contriant validation error : ddl statement interferred with query plan hint : please reissue query
Han
  • 19
  • 5
-2
votes
1 answer

SQL VERTICA running sums 30/60/90 days

Hi I have two tables with many to many relationships and as results I want for every record in scoring table (so id_case and id_date) I would like to see sum of transactions from scoring.id_date to scoring.id_date+30 days , +60 days etc. This is…
-2
votes
1 answer

Adding new rows based on column value in SQL?

Comment weekid acc1 acc2 acc3 acc4 value ---------------------------------------------------------------------------------- Current data 1 a b c d 2 Current data 1 a b …
kkoc3
  • 69
  • 1
  • 7
-2
votes
1 answer

How to validate combination in Vertica DB

I have a question about Vertica DB's query that I want to run. I have a table with 5 columns, and each column can get values of 1 or 0, I want to return all the Id of which I have combination of '1' in more than one column. I added a pic for…
Bastian
  • 1,089
  • 7
  • 25
  • 74
-2
votes
1 answer

Message: [Vertica][VJDBC](4650) ERROR: Schema "information_schema" does not exist

I am not exactly sure why this schema is been searched for. Any flyway experts who worked with vertica ?
-2
votes
1 answer

Vertica fail to execute my query

Working on vertica database currently,faced some error,have no idea for the error so need some helps here :) below are my query and expected output: SELECT country , merchant , DISTINCT(merchant) , COUNT(*) as 'Total Transaction' ,…
KY LIM
  • 1
  • 1
-2
votes
1 answer

Automating SQL script

I am new to programming world. I have a SQL script which needs to be automated. The automation required is as follows : 1) Script should run every sunday 2) Automatically dump the results in to DUMP_YYYYMMDDHH24MISS.txt 3) Result set is tar…
Dr.Evil
  • 3
  • 2
-2
votes
1 answer

need to show the next row data in one row having different condition

I have this type of data in my source tables. site date_time data 1016771 2016-06-04 00:00:00 LBV 1016771 2016-06-04 00:00:00 SOB 1016771 2016-06-04 01:29:00 LBV 1016771 2016-06-04 01:29:00 …
-2
votes
1 answer

How to read data from columns not having the same number of rows in HP vertica DB?

I am creating a C++ transform function with the HP Vertica database and I want to read data from 2 columns from 2 different tables and store them into 2 vectors. Then it will output the number of occurences of each element of one vector in the…
BM. Hamza
  • 1
  • 2
-2
votes
1 answer

How does writing data from spark to vertica work?

Are there any good online resources to learn how writing data from Spark to Vertica works? I'm trying to understand why writing to a Vertica database is slow. This is my basic workflow: Create a SparkContext. I'm using the class…
OfLettersAndNumbers
  • 822
  • 1
  • 12
  • 22
-2
votes
2 answers

How can I create user from another user on hp vertica?

I want to create user from another user on hp vertica. How can I create user from another user with data?
CompEng
  • 7,161
  • 16
  • 68
  • 122
-2
votes
3 answers

How to load data from S3 into vertica

I have a vertica clusters on AWS with three nodes. I also have some text files and gzip files in S3. I want to load those files from S3 into vertica database tables. What would be steps? Could not find any straightforward guide. Is there anything…
Luniam
  • 463
  • 7
  • 21
-2
votes
2 answers

How to get the sum of a column based on a distinct key (different column)

I wanted to know how to get the distinct sum of products The table I have Name Rating A 3 A 3 B 4 C 3 C 3 The final result I want is SUM(case when distinct table1.name then rating)/Count(case when distinct table1.name then…
1 2 3
94
95