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

Postgres DDL - For create table, improve column ordering for tighter storage #2743

Closed
rbygrave opened this issue Jul 7, 2022 · 0 comments
Closed
Assignees
Milestone

Comments

@rbygrave
Copy link
Member

rbygrave commented Jul 7, 2022

For background refer to:
https://www.2ndquadrant.com/en/blog/on-rocks-and-sand/
https://docs.gitlab.com/ee/development/ordering_table_columns.html
https://stackoverflow.com/questions/2966524/calculating-and-saving-space-in-postgresql/7431468#7431468

What this will do is push decimal, varchar, clob and other variable length columns to end of a create table statement.

@rbygrave rbygrave added this to the 13.6.6 milestone Jul 7, 2022
@rbygrave rbygrave self-assigned this Jul 7, 2022
rbygrave added a commit that referenced this issue Jul 7, 2022
rbygrave added a commit that referenced this issue Jul 7, 2022
@rbygrave rbygrave closed this as completed Jul 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant