Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature] Option to set index storage parameters #136

Open
3 tasks done
kinghuang opened this issue Aug 3, 2024 · 0 comments
Open
3 tasks done

[Feature] Option to set index storage parameters #136

kinghuang opened this issue Aug 3, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@kinghuang
Copy link

Is this your first time submitting a feature request?

  • I have read the expectations for open source contributors
  • I have searched the existing issues, and I could not find an existing issue for this feature
  • I am requesting a straightforward extension of existing dbt-postgres functionality, rather than a Big Idea better suited to a discussion

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

  • Override the postgres__get_create_index_sql macro.
  • Use a post-hook.

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

@kinghuang kinghuang added enhancement New feature or request triage labels Aug 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants