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

[YSQL] Support CREATE TABLE/INDEX <table/index> SET TABLESPACE <tablespace> API #6637

Closed
deeps1991 opened this issue Dec 12, 2020 · 1 comment
Assignees
Labels
area/ysql Yugabyte SQL (YSQL)

Comments

@deeps1991
Copy link
Contributor

The above API will make it easy to associate tables to tablespaces, thus allowing specification of a custom placement policy for a table. The table->tablespace mapping should be sent down to YB-Master to allow correct placement of new tablets (though this information will only be persisted in pg catalog tables).

Describe and pg_dump, backup and restore workflows should also work correctly after enabling this API.

@deeps1991 deeps1991 added the area/ysql Yugabyte SQL (YSQL) label Dec 12, 2020
@deeps1991 deeps1991 self-assigned this Dec 12, 2020
@deeps1991 deeps1991 changed the title [YSQL] Support CREATE TABLE <table> SET TABLESPACE <tablespace> API [YSQL] Support CREATE TABLE/INDEX <table/index> SET TABLESPACE <tablespace> API Dec 12, 2020
@deeps1991
Copy link
Contributor Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/ysql Yugabyte SQL (YSQL)
Projects
None yet
Development

No branches or pull requests

1 participant