Skip to content

Mention setting toast_tuple_target in README.md - #437

Closed
pashkinelfe wants to merge 1 commit into
pgvector:masterfrom
pashkinelfe:patch-1
Closed

pashkinelfe wants to merge 1 commit into
pgvector:masterfrom
pashkinelfe:patch-1

Conversation

@pashkinelfe

Copy link
Copy Markdown
Contributor

No description provided.

@ankane

ankane commented Jan 26, 2024

Copy link
Copy Markdown
Member

Hi @pashkinelfe, please see #409 (comment) (changing the storage for the column is a more targeted way to do this, and it'd be good to have benchmarks before adding to the readme). Also, this can cause rows to become too wide, causing inserts to fail.

@pashkinelfe

Copy link
Copy Markdown
Contributor Author

Changing toast_tuple_target for a table from to 8Kb allows not to toast the rows between 2Kb and 8Kb. If they are larger they need to be toasted anyway due to page size. At least this will not cause insert errors unllike storage PLAIN. I'd try to do benchmarking some time.

@ankane

ankane commented Feb 19, 2024

Copy link
Copy Markdown
Member

Let's revisit when there are benchmarks.

@ankane ankane closed this Feb 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants