Sign inSign up

thaiphamquoc/docker-vertica

By thaiphamquoc

•Updated over 7 years ago

vertica community version 9.2.0

Image
0

301

thaiphamquoc/docker-vertica repository overview

⁠Docker Image for Vertica

Base OS is Ubuntu 14.04.

⁠Usage:

You can either pull the image from Docker Registry using following command:

docker pull thaiphamquoc/docker-vertica

Or, build your own image using following command. Download the Vertica DEB package from https://my.vertica.com⁠ and put it in this folder as "vertica.deb". Then run:

docker build -t thaiphamquoc/docker-vertica .
⁠To run without a persistent datastore
docker run -p 5433:5433  thaiphamquoc/docker-vertica
⁠To run with a persistent datastore
docker run -p 5433:5433 -d -v /data/vertica/vertica_data:/home/dbadmin/docker thaiphamquoc/docker-vertica
⁠Connection Parameters

Default DB Name - docker

Default User - dbadmin

Default Password (NO PASSWORD) -

⁠Test

vsql -hlocalhost -Udbadmin
CREATE schema bi_pipeline;

CREATE TABLE bi_pipeline.failedpn
(
    metric_date int NOT NULL,
    metric_hour int,
    game_id int,
    game_id_str varchar(32),
    user_id int,
    event_ts timestamp,
    bundle_id varchar(32),
    mkt int,
    mkt_str varchar(100),
    device_token varchar(1000)
)
PARTITION BY (failedpn.metric_date);

INSERT INTO bi_pipeline.failedpn (metric_date, metric_hour, game_id, game_id_str, user_id, event_ts, bundle_id, mkt, mkt_str, device_token) VALUES (20171103, 2017110301, 23, 'niso', 1, '2017-11-03 00:01:01', 'bundle-1', 1, 'apple', 'abcdef');
COMMIT;

SELECT * FROM bi_pipeline.failedpn;

Tag summary

Content type

Image

Digest

Size

1 GB

Last updated

over 7 years ago

docker pull thaiphamquoc/docker-vertica