vertica
-
참조할만한 머신러닝 관련 url들VERTICA/10_1.참조정보 2017. 1. 18. 15:36
머신러닝에 대해 1도 모르고 호기심만 있으니 궁금한내용은 여기에 모아야 겠다. (최대한 실무에 바로쓰일만한 것만) - A/B 테스트를 보완하는 Multi-Armed Bandit(MAB) 알고리즘 :: http://hub.zum.com/kimws/2586 - Markov Process, Markov Chain 마르코프 프로세스, 마르코프 과정, 마코브 과정, 마르코프 모델, 마르코프 연쇄 :: http://www.ktword.co.kr/abbr_view.php?m_temp1=4312 - A/B Testing 도구인 Optimizely 사용법:: https://spoqa.github.io/2013/06/24/about-optimizely.html
-
EXPORT TO VERTICAVERTICA/09. SQL 2016. 12. 20. 12:35
오랜만에 글을쓰는듯.. EXPORT TO VERTICA : 버티카(소스) -> 버티카(타겟)간 데이터 이관 시에 사용한다(반대는 copy from) 문법 은 아래와 같다. EXPORT TO VERTICA database.[dest-schema.]dest-table ... [(dest-column [,dest-column2,...])] ... { AS SELECT select-expression ... | FROM [source-schema.]source-table ... [(source-column [,source-column2,...])]}; 대략적인 수행방법은 아래와 같다. /opt/vertica/bin/vsql -v AUTOCOMMIT=on -c "connect to VERTICA 접속할db명 US..
-
권한VERTICA/04. Admin 관리 2016. 6. 2. 17:12
항목 작업 내용 필요한 권한 데이터베이스 CREATE DATABASE ※ "Management Console" 또는 "Administration Tools"을 이용하여 만듭니다. 슈퍼 유저 만 가능 DROP DATABASE ※ "Management Console" 또는 "Administration Tools"을 이용하여 삭제합니다. 슈퍼 유저 만 가능 ALTER DATABASE 슈퍼 유저 만 가능 스키마 CREATE SCHEMA 데이터베이스의 CREATE 권한 DROP SCHEMA 스키마의 소유자 ALTER SCHEMA RENAME 데이터베이스의 CREATE 권한 테이블 CREATE TABLE 스키마의 CREATE 권한 테이블 만들 때 순서를 이용하기 위해서는 시퀀스 권한이 있어야합니다. 시퀀스의 SEL..
-
Projection : sort key의 중요성VERTICA/03. Architecture 2016. 6. 1. 17:42
오늘은 Projection 특징중에서 sort 부분을 이야기 하겠습니다. 그림을 잘보면.. 짙은 녹색으로 칠해진 컬럼이 sort 된 컬럼입니다. 하나의 논리 Table에 여러개 Proejction 을 만들수 있다고 http://vertica.tistory.com/13 여기서 언급했었습니다. 결론적으로 sort 키 선정을 잘하면 IO를 효율적으로 줄여 줄 수 있습니다. 다시 그림으로 보면.. 성별+클래스+등급으로 sort 하였습니다. 컬럼전체를 읽는것이 아니고 필요한 부분만 읽게되어 조건절 혹은 group by 혹은 join 조건에 들어가게된다면 그에 맞는 sort 키를 선정하는것이 중요합니다. 위와 같이 Projection에 sort를 잘 지정하면 범위가 제한된 조건을 효율적으로 처리 할 수 있습니다..
-
Vertica 특장점 - Pure MPP 아키텍처VERTICA/03. Architecture 2015. 8. 10. 16:08
Pure MPP 아키텍처 HP Vertica 는 별도의 제어 서버가 필요하지 않은 pure MPP 아키텍처로 설계되어, 모든 노드가 동일한 역할을 수행합니다. 또한, Shared nothing 아키텍처는 노드 추가에 의한 오버헤드 없는 확장성을 제공할 뿐만 아니라 서비스 중단 없는 장애 극복 기능을 제공합니다. 병렬 최적화 적재 HP Vertica는 동시 파일 적재 기법을 제공합니다. 따라서 다양한 원천 데이터가 적재 가능한 시점에 즉시 적재를 실행할 수 있으며 동일 테이블에 적재가 수행된다 하더라도 작업 완료를 기다릴 필요 없이 바로 적재 가능합니다. 소스의 수가 많을 수록, 파일의 종류가 다양하고 많을 수록 적재 시간을 급속도로 줄일 수 있습니다. 또한 인덱스가 존재하지 않아 인덱스 관리를 위한 별도..
-
Explain 과 ProfileVERTICA/06. Tuning 2015. 8. 6. 13:57
Explain 이란? Vertica 에서 실행계획을 보는 키워드로서 실행방법예제와 그에대한 결과값은 다음과 같습니다. § 수행할 SQL 앞에 Explain 키워드를 사용 § SQL 의 실행계획 출력 § 실행계획의 Group 구분(PATH ID) § SQL 실행계획 순서 설명 § 각 계층의 실행계획 설명 § Join SQL Inner, Outer 표시 § 실제 SQL이 수행되지는 않음 § GraphViz 유틸리티 지원 § DML 수행 시 Lock Map Display Syntax EXPLAIN { SELECT... | INSERT... | UPDATE... | DELETE… } 모든 데이터 조작 SQL(SELECT, INSERT, UPDATE, DELETE) 등에 사용 가능 Explain Output 실행..