Looker 애플리케이션과 데이터베이스 사이에 네트워크 트래픽을 암호화하는 것이 가장 좋습니다. 안전한 데이터베이스 액세스 사용 설정 문서 페이지에 설명된 옵션 중 하나를 고려해 보세요.
데이터베이스 구성
Vertica에 대한 연결을 만들기 전에 Looker 애플리케이션 전용으로 새 데이터베이스 사용자와 스키마를 만듭니다. Looker 사용자는 PDT를 저장하고 Vertica 데이터베이스의 다른 스키마에 대한 읽기 전용 권한을 저장하려면 별도의 스키마에 읽기 및 쓰기 권한이 필요합니다. 이는 선택사항이지만 권장됩니다.
다음은 Looker의 사용자 및 스키마를 만드는 예시입니다.
CREATE USER looker Identified BY 'mypassword';
CREATE SCHEMA looker_scratch;
GRANT CREATE ON SCHEMA looker_scratch to looker;
데이터베이스에 대한 Looker 연결 만들기
Looker의 관리 섹션에서 연결을 선택한 후 연결 추가를 클릭합니다.
연결 세부정보를 작성합니다. 대다수의 설정은 대부분의 데이터베이스 언어에 공통적으로 적용됩니다. 자세한 내용은 데이터베이스에 Looker 연결 문서 페이지를 참조하세요. 다음은 일부 설정에 대한 설명입니다.
이름: 연결에 이름을 지정합니다. 이는 LookML 모델이 연결을 참조하는 방법입니다.
언어: 언어 드롭다운에서 Vertica를 선택합니다.
호스트: Vertica 서버 이름 또는 IP를 입력합니다.
포트: 기본값은 5433입니다.
데이터베이스: Vertica의 데이터베이스 이름을 입력합니다.
사용자 이름 및 비밀번호: Looker에 연결할 사용자의 사용자 이름과 비밀번호를 입력합니다.
스키마: Looker에서 탐색하려는 테이블이 포함된 스키마를 입력합니다.
임시 데이터베이스: 성능 향상을 위해 Looker에서 임시 파생 테이블을 만들 스크래치 스키마입니다. 선택사항이지만 권장되며 사전에 만들어야 합니다.
노드당 최대 연결 수: 이 설정은 처음에 기본값으로 두어도 됩니다. 자세한 내용은 데이터베이스에 Looker 연결 문서 페이지를 참조하세요.
연결 풀 제한 시간: (선택사항) 기본값을 사용합니다.
데이터베이스 시간대: Vertica 데이터베이스가 날짜와 시간을 저장하는 데 사용하는 시간대입니다. 예를 들어 UTC이며, 이는 선택사항입니다.
쿼리 시간대: 쿼리에 표시할 시간대입니다. 예를 들어 미국 동부(미주 - 뉴욕)이며 이는 선택사항입니다.
추가 JDBC 매개변수: (선택사항) 추가 데이터베이스 설정을 사용하려면 이 필드를 사용합니다. 예를 들어 Vertica의 기본 부하 분산을 사용 설정하려면 JDBC 연결 매개변수 ConnectionLoadBalance=1을 사용하세요. Looker의 세션을 식별하기 위한 라벨을 할당하려면 JDBC 연결 매개변수 Label=<mylabel>을 사용합니다. 이 페이지에 표시된 것처럼 &를 사용하여 여러 매개변수를 차례로 전달할 수 있습니다. 사용 가능한 JDBC 연결 매개변수의 전체 목록은 Vertica 문서를 참조하세요.
연결이 성공했는지 확인하려면 테스트를 클릭합니다. 문제 해결 정보는 데이터베이스 연결 테스트 문서 페이지를 참조하세요.
[[["이해하기 쉬움","easyToUnderstand","thumb-up"],["문제가 해결됨","solvedMyProblem","thumb-up"],["기타","otherUp","thumb-up"]],[["이해하기 어려움","hardToUnderstand","thumb-down"],["잘못된 정보 또는 샘플 코드","incorrectInformationOrSampleCode","thumb-down"],["필요한 정보/샘플이 없음","missingTheInformationSamplesINeed","thumb-down"],["번역 문제","translationIssue","thumb-down"],["기타","otherDown","thumb-down"]],["최종 업데이트: 2025-08-18(UTC)"],[],[],null,["# Vertica\n\nEncrypting network traffic\n--------------------------\n\nIt is a best practice to encrypt network traffic between the Looker application and your database. Consider one of the options described on the [Enabling secure database access](/looker/docs/enabling-secure-db-access) documentation page.\n\nDatabase configuration\n----------------------\n\nBefore you create a connection to Vertica, create a new database user and schema that is exclusive for your Looker applications. The Looker user needs read and write permissions into a separate schema to store PDTs and read-only privileges to other schemas in the Vertica database. This is optional but recommended.\n\nThe following is an example of creating a user and schema for Looker: \n\n CREATE USER looker Identified BY 'mypassword';\n CREATE SCHEMA looker_scratch;\n GRANT CREATE ON SCHEMA looker_scratch to looker;\n\nCreating the Looker connection to your database\n-----------------------------------------------\n\nIn the **Admin** section of Looker, select **Connections** , and then click **Add Connection**.\n\nFill out the connection details. The majority of the settings are common to most database dialects. See the [Connecting Looker to your database](/looker/docs/connecting-to-your-db) documentation page for information. Some of the settings are described next:\n\n- **Name**: Give a name to the connection. This is how the LookML model will reference the connection.\n- **Dialect** : Select **Vertica** from the drop-down of dialects.\n- **Host**: Enter the Vertica server name or IP.\n- **Port**: The default is 5433.\n- **Database**: Enter Vertica's database name.\n- **Username and Password**: Enter the username and password of the user that will connect to Looker.\n- **Schema**: Enter the schema that contains the tables that you want to explore in Looker.\n- **Temp Database**: This is the scratch schema where you want Looker to create any temporal derived tables to improve performance. It is optional but recommended, and should be created beforehand.\n- **Max connections per node** : This setting can be left at the default value initially. See the [Connecting Looker to your database](/looker/docs/connecting-to-your-db#max_connections) documentation page for more information.\n- **Connection Pool Timeout**: This is optional. Use the default value.\n- **Database Time Zone**: The time zone your Vertica database uses to store dates and times. For example, UTC. This is optional.\n- **Query Time Zone**: The time zone you want your queries to display. For example, US Eastern (America -- New York). This is optional.\n- **Additional JDBC parameters** : This is optional. Use this field to enable additional database settings. For example, to enable Vertica's native load balancing, use the JDBC connection parameter `ConnectionLoadBalance=1`. To assign a label to identify Looker's sessions, use the JDBC connection parameter `Label=\u003cmylabel\u003e`. You can pass several parameters one after the other using `&`, as shown on this page. For a complete list of available JDBC connection parameters, see [Vertica's documentation](https://www.vertica.com/docs/9.1.x/HTML/index.htm#Authoring/ConnectingToVertica/ClientJDBC/JDBCConnectionProperties.htm).\n\nTo verify that the connection is successful, click **Test** . See the [Testing database connectivity](/looker/docs/testing-db-connectivity) documentation page for troubleshooting information.\n\nTo save these settings, click **Connect**.\n\nFeature support\n---------------\n\nFor Looker to support some features, your database dialect must also support them.\n\nVertica supports the following features as of Looker 25.14:\n\nNext steps\n----------\n\nAfter you have completed the database connection, [configure authentication options](/looker/docs/getting-started-with-users)."]]