Tetap teratur dengan koleksi
Simpan dan kategorikan konten berdasarkan preferensi Anda.
Mengenkripsi traffic jaringan
Praktik terbaiknya adalah mengenkripsi traffic jaringan antara aplikasi Looker dan database Anda. Pertimbangkan salah satu opsi yang dijelaskan di halaman dokumentasi Mengaktifkan akses database yang aman.
Konfigurasi database
Sebelum membuat koneksi ke Vertica, buat pengguna dan skema database baru yang eksklusif untuk aplikasi Looker Anda. Pengguna Looker memerlukan izin baca dan tulis ke skema terpisah untuk menyimpan PDT dan hak istimewa hanya baca ke skema lain dalam database Vertica. Tindakan ini bersifat opsional, tetapi direkomendasikan.
Berikut adalah contoh pembuatan pengguna dan skema untuk Looker:
CREATE USER looker Identified BY 'mypassword';
CREATE SCHEMA looker_scratch;
GRANT CREATE ON SCHEMA looker_scratch to looker;
Membuat koneksi Looker ke database Anda
Di bagian Admin Looker, pilih Connections, lalu klik Add Connection.
Isi detail koneksi. Sebagian besar setelan umum untuk sebagian besar dialek database. Lihat halaman dokumentasi Menghubungkan Looker ke database Anda untuk mengetahui informasi selengkapnya. Beberapa setelan dijelaskan di bawah:
Nama: Beri nama koneksi. Beginilah cara model LookML akan mereferensikan koneksi.
Dialek: Pilih Vertica dari drop-down dialek.
Host: Masukkan nama atau IP server Vertica.
Port: Defaultnya adalah 5433.
Database: Masukkan nama database Vertica.
Nama Pengguna dan Sandi: Masukkan nama pengguna dan sandi pengguna yang akan terhubung ke Looker.
Skema: Masukkan skema yang berisi tabel yang ingin Anda jelajahi di Looker.
Database Sementara: Ini adalah skema sementara tempat Anda ingin Looker membuat tabel turunan temporal untuk meningkatkan performa. Hal ini bersifat opsional, tetapi direkomendasikan, dan harus dibuat sebelumnya.
Koneksi maks per node: Setelan ini dapat dibiarkan pada nilai default pada awalnya. Lihat halaman dokumentasi Menghubungkan Looker ke database Anda untuk mengetahui informasi selengkapnya.
Waktu Tunggu Kumpulan Koneksi: Ini bersifat opsional. Gunakan nilai default.
Zona Waktu Database: Zona waktu yang digunakan database Vertica Anda untuk menyimpan tanggal dan waktu. Misalnya, UTC. Tindakan tersebut bersifat opsional.
Zona Waktu Kueri: Zona waktu yang ingin Anda gunakan untuk menampilkan kueri. Misalnya, US Eastern (Amerika – New York). Tindakan tersebut bersifat opsional.
Parameter JDBC tambahan: Bersifat opsional. Gunakan kolom ini untuk mengaktifkan setelan database tambahan. Misalnya, untuk mengaktifkan load balancing native Vertica, gunakan parameter koneksi JDBC ConnectionLoadBalance=1. Untuk menetapkan label guna mengidentifikasi sesi Looker, gunakan parameter koneksi JDBC Label=<mylabel>. Anda dapat meneruskan beberapa parameter satu demi satu menggunakan &, seperti yang ditunjukkan di halaman ini. Untuk mengetahui daftar lengkap parameter koneksi JDBC yang tersedia, lihat dokumentasi Vertica.
Untuk memverifikasi bahwa koneksi berhasil, klik Uji. Lihat halaman dokumentasi Menguji konektivitas database untuk mengetahui informasi pemecahan masalah.
Untuk menyimpan setelan ini, klik Hubungkan.
Dukungan fitur
Agar Looker mendukung beberapa fitur, dialek database Anda juga harus mendukungnya.
Vertica mendukung fitur berikut mulai Looker 25.14:
[[["Mudah dipahami","easyToUnderstand","thumb-up"],["Memecahkan masalah saya","solvedMyProblem","thumb-up"],["Lainnya","otherUp","thumb-up"]],[["Sulit dipahami","hardToUnderstand","thumb-down"],["Informasi atau kode contoh salah","incorrectInformationOrSampleCode","thumb-down"],["Informasi/contoh yang saya butuhkan tidak ada","missingTheInformationSamplesINeed","thumb-down"],["Masalah terjemahan","translationIssue","thumb-down"],["Lainnya","otherDown","thumb-down"]],["Terakhir diperbarui pada 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)."]]