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

Vertica VerticaDayTimeInterval precision is stored wrongly

EDIT: Please point out if others are not seeing this issue, and I am doing something wrong. I am trying to add rows to a table containing single VerticaDayTimeInterval column through the VerticaDayTimeInterval constructor. The precision and…
Zxcv Mnb
  • 733
  • 8
  • 19
16
votes
3 answers

SQL left outer join on multiple columns

According to this SQL join cheat-sheet, a left outer join on one column is the following : SELECT * FROM a LEFT JOIN b ON a.foo = b.foo WHERE b.foo IS NULL I'm wondering what it would look like with a join on multiple columns, should…
François M.
  • 4,027
  • 11
  • 30
  • 81
16
votes
5 answers

Vertica and joins

I'm adapting a web analysis tool to use Vertica as the DB. I'm having real problems optimizing joins. I tried creating pre-join projections for some of my queries, and while it did make the queries blazing fast, it slowed data loading into the fact…
user997904
  • 343
  • 3
  • 5
15
votes
2 answers

How to save the last checkpoint in the sql to be used for next row

Is there any way I can store the last iterated row result and use that for next row iteration? For example I have a table say(Time_Table). __ Key type timeStamp 1 ) 1 B 2015-06-28 09:00:00 2 ) 1 B 2015-06-28…
AmanS
  • 1,490
  • 2
  • 13
  • 22
14
votes
6 answers

Advantages of databases like Greenplum or Vertica compared to MongoDB or Cassandra

I am currently working in a few projects with MongoDB and Apache Cassandra respectively. I am also using Solr a lot and I am handling "lots" of data with them (approx. 1-2TB). I've heard of Greenplum and Vertica the first time in the last week and I…
disco crazy
  • 31,313
  • 12
  • 80
  • 83
10
votes
4 answers

unixODBC giving error while running isql [Vertica]

Hi I have configured the DSN settings for vertica in Ubuntu 10.10 32 bit version machine. The settings are all fine and I have cross checked them. Here is my odbc.ini file: [VerticaDSN] Description = VerticaDSN ODBC driver Driver =…
Arun Shyam
  • 559
  • 2
  • 8
  • 20
10
votes
6 answers

does anyone know the format of an odbc connection string for vertica?

I'm using the following: DRIVER={Vertica ODBC Driver 4.1}; SERVER=lnxtabdb01.xxxx.com; PORT=5433; DATABASE=vertica; USER=dbadmin; PASSWORD=vertica; OPTION=3; i'm getting this error and I just wanted to make sure that my connection string was cool…
Ramy
  • 20,541
  • 41
  • 103
  • 153
10
votes
1 answer

Redshift Divide By Zero Puzzler

I was getting a divide by 0 error with this code: CASE WHEN DENOMINATOR >= 0 THEN SUM(INT1 * INT2 / DENOMINATOR) ELSE 0 END AS RATIO However when I changed to the following code, it worked. CASE WHEN DENOMINATOR >= 0 THEN SUM(INT1) * INT2 /…
cjremley
  • 111
  • 1
  • 1
  • 7
10
votes
3 answers

How to search column_names in Vertica?

Anyone know of a handy function to search through column_names in Vertica? From the documentation, it seems like \d only queries table_names. I'm looking for something like MySQL's information_schema.columns, but can't find any information about a…
timssopomo
  • 113
  • 1
  • 1
  • 6
9
votes
2 answers

100 TB of data on Mongo DB? Possible?

What kind of an architecture is needed to store 100 TB data and query it with aggregation? How many nodes? Disk size per node? What can the best practice be? Every day 240GB will be written but the size will remain same because the same amount data…
canseverayberk
  • 101
  • 2
  • 5
8
votes
2 answers

Optimizing a Vertica SQL query to do running totals

I have a table S with time series data like this: key day delta For a given key, it's possible but unlikely that days will be missing. I'd like to construct a cumulative column from the delta values (positive INTs), for the purposes of…
user879681
  • 81
  • 1
  • 3
8
votes
5 answers

Setting default schema for Vertica Database

I am building a web application using Play! with Vertica database as back-end. The JDBC connection string for Vertica contains the server and database name, but my tables are under a specific schema (say "dev_myschema"). Thus, I should refer to my…
Ananth
  • 307
  • 3
  • 14
8
votes
3 answers

Export Vertica query result to csv file

I`m working with Vertica. I try to export data from SELECT query into csv. I tried making it with sql query: SELECT * FROM table_name INTO OUTFILE '/tmp/fileName.csv' FIELDS TERMINATED BY ',' ENCLOSED BY '"' LINES TERMINATED BY '\n'; I got an…
Opperix
  • 123
  • 2
  • 2
  • 5
8
votes
2 answers

Can I create an index on a table in Vertica?

I've created a table on Vertica, and I want to create an index on that table. I can't see how to create an index on Vertica, though. Is it possible? If so, how can I do that?
user1474138
8
votes
3 answers

How to see the metadata of objects in Vertica Database (desc like Oracle)

I would like to know how I can get the metadata of an object in a Vertica database; like metadata of a table. Is there any table that stores the metadata of objects (functions, views, tables) in Vertica Database. For example in Oracle, I could type…
Up_One
  • 5,213
  • 3
  • 33
  • 65
1
2 3
94 95