1
0
mirror of https://github.com/pgvector/pgvector.git synced 2026-10-24 22:39:19 +03:00
Files
pgvector/test/sql/ivfflat_options.sql
2021-05-05 15:04:52 -07:00

12 lines
286 B
SQL

SET client_min_messages = warning;
CREATE EXTENSION IF NOT EXISTS vector;
SET enable_seqscan = off;
CREATE TABLE t (val vector(3));
CREATE INDEX ON t USING ivfflat (val) WITH (lists = 0);
CREATE INDEX ON t USING ivfflat (val) WITH (lists = 32769);
SHOW ivfflat.probes;
DROP TABLE t;