g# This is a combination of 6 commits. (#675)

perf: node render

perf: react flow performance

config

perf: pg index

perf: oauth login

doc

doc
This commit is contained in:
Archer
2024-01-01 13:46:09 +08:00
committed by GitHub
parent 9ccfda47b7
commit d645a7406b
13 changed files with 31 additions and 678 deletions

View File

@@ -22,7 +22,7 @@ export async function initPg() {
data_id VARCHAR(50) NOT NULL,
createTime TIMESTAMP DEFAULT CURRENT_TIMESTAMP
);
CREATE INDEX IF NOT EXISTS vector_index ON ${PgDatasetTableName} USING hnsw (vector vector_ip_ops) WITH (m = 32, ef_construction = 64);
CREATE INDEX CONCURRENTLY IF NOT EXISTS vector_index ON ${PgDatasetTableName} USING hnsw (vector vector_ip_ops) WITH (m = 32, ef_construction = 64);
`);
console.log('init pg successful');