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

Why showing error Wrong number of columns! COPYing 99 columns from a source file containing: FEWER columns

Why showing error Wrong number of columns! Copying 99 columns from a source file containing: FEWER columns.Tried to COPY and loader return error, BUT I count column in row loaded normally - 99 and column in reject row 99. Details: have table: …
Nikolay Baranenko
  • 1,582
  • 6
  • 35
  • 60
-1
votes
2 answers

Finding summary & basic statistics from data in Vertica

Recently I am exploring HPE Vertica a bit. Is it possible to find summary statistics (mean,sd,quartiles,max,min,counts etc) from a data table loaded in vertica? These two…
Hindol Ganguly
  • 363
  • 1
  • 4
  • 16
-1
votes
1 answer

Return list of tables and count in single query

I know about the describe command \d and select count(*) from my_schema_1.my_table_1;. However I'd like to get a neat list of the entire database, I have quite a few tables. Something like below would be nice. my_schema_1 | mytable_1 |…
basickarl
  • 37,187
  • 64
  • 214
  • 335
-1
votes
1 answer

Managing Disk space by deleting the older records when the disk is 60% full

I am using Vertica for an application which has continuous flow of data. So I want to manage the disk space by creating a cron job which will delete the older records once the disk is 60% full.
Rishi Reddy
  • 39
  • 2
  • 8
-1
votes
1 answer

Saving a table in Python

I'm new to SQL. I have a very large dataset that I query, and am trying to get the rows for many different date ranges, and export these to excel. The Dataset is really large, too large to load into pandas. My question is, is there any way I can…
-1
votes
1 answer

Schema level SELECT privilege on all new tables in Vertica

I am trying to work on a scenario , where one user creates tables in a 'schema', and all such tables should be visible to a specific user/role, even if the tables are created in future (after grant SELECT command). My current flow is as: USERS:…
Vikas Raturi
  • 916
  • 2
  • 13
  • 23
-1
votes
1 answer

Vertica Loading data from file to table

I want to load data from file to a vertical table. The data I am receiving in file is in format 02-APR-17 11.06.31.000000 AM +00:00 but the data type of column is timestamp(0) and the expected format of output is 4/2/2017 12:06:31.000000
-1
votes
1 answer

How does Vertica or other sql servers perform a join

Look at my next Vertica query: WITH groupA AS ( SELECT userId, color FROM worldUsers WHERE DayPartition = 409 AND Hour = 12 ) SELECT color = 12 AS userColor, REGEXP_LIKE(familyName,…
Ilya Gazman
  • 31,250
  • 24
  • 137
  • 216
-1
votes
2 answers

Cannot change readahead value in linux

I am new to Linux and I am trying to set the readahead value as told by this article: https://www.ca.com/us/services-support/ca-support/ca-support-online/knowledge-base-articles.tec616116.html When I try the command: blockdev --setra 2048…
Aggressor
  • 13,323
  • 24
  • 103
  • 182
-1
votes
2 answers

SQL - Point differences between two lists

Given two comma separated (un-ordered) lists of numbers, I want to extract only the differences between them (using regexp probably). e.g.: select '1010484,1025781,1051394,1069679' as list_1, '1005923,1010484,1025781,1034010,1044261,1048311,1051394'…
goidelg
  • 316
  • 2
  • 16
-1
votes
3 answers

Merge with subquery in Vertica

I was trying to insert only distinct records from source table to destination table using Merge command in Vertica. I had tried the same thing in SQL using subquery but in vertica its not allowing. following is the error: [Vertica][VJDBC](5665)…
Biswabid
  • 1,378
  • 11
  • 26
-1
votes
1 answer

Does count() produces the underlying table it needs to count?

My boss wants me to do a join on three tables, let's call them tableA, tableB, tableC, which have respectively 74M, 3M and 75M rows. In case it's useful, the query looks like this : SELECT A.*, C."needed_field" FROM "tableA" A INNER JOIN…
François M.
  • 4,027
  • 11
  • 30
  • 81
-1
votes
1 answer

vertica sql delta

I want to calculate delta value between 2 records my table got 2 column id and timestamp i want to calculate the delta time between the records id |timestamp |delta ---------------------------------- 1 |100 |0 2 |101 |1…
royb
  • 693
  • 3
  • 9
  • 20
-1
votes
1 answer

How to find the invalid date records in Vertica DB?

Vertica DB has a column called created_ts, which has records like 3/15/2016, 03/15/2016, 2016/03/15 and 15/03/2016. And I want to filter the records which does not follow the DD/MM/yyyy format.
Midhun
  • 331
  • 2
  • 5
  • 15
-1
votes
1 answer

How to setup shiny-server on Ubuntu 14.04 LTS which uses a RODBC connection?

I have been trying to setup a shiny-server on Ubuntu, following the steps given on shiny-server documentation and it works fine. Until, I use a RODBC connection to access a DB on Vertica Engine. This is the first time I have set up a server and I…