dbt-labs / dbt-postgres

Apache License 2.0
34 stars 14 forks source link

[Feature] Option to set index storage parameters #136

Open kinghuang opened 3 months ago

kinghuang commented 3 months ago

Is this your first time submitting a feature request?

Describe the feature

dbt-postgres supports specifying indexes in model configs with three components: columns, unique, and type. I would like an option to set index storage parameters. This is relevant when creating pgvector hnsw indexes, and other index types.

Describe alternatives you've considered

Who will this benefit?

For pgvector users, being able to specify m and ef_construction storage parameters on hnsw indexes is crucial for performance management. Standard indexes like b-tree, GiST, and GIN also have useful parameters.

Are you interested in contributing this feature?

Not at this time.

Anything else?

No response