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

Support for tablespaces #8314

Open
wants to merge 101 commits into
base: master
Choose a base branch
from

Conversation

Zhdanov0
Copy link
Contributor

romansimakov and others added 30 commits January 9, 2021 20:56
only file deleting is left at post DFW stage.
Added missed object type of TABLESPACES.
Added security class for tablespaces which allows not to
skip check of the privileges.
Corrected page space before fetching of the root index
page.
…code as for deleting a table. NOTE: Now we fire DDL trigger for deleling tables even if they are deleting as result of DROP TABLESPACE ... INCLUDING CONTENTS
…nt of usage have the page space in the pace space manager. Also the same behaviour has been ported to the expression index handling.
The recent change added a couple of new fields into CreationIndex which were not initialized before fast loading while index moving.
…espace creation

Page space should be added into pageSpaces array after creating/opening of tablespace file to prevent other attachments from getting incomplete page space.
…ME> INCLUDING CONTENTS. Deleting from tablespaces cache is implemented.
…e rollback work correctly. The file will be created at DFW stage
… A relation may already be deleted by dfw_delete_relation in the same transaction
It allows to determine if there are attachments that use a tablespace (and have its page space opened) when another attachment needs the EX lock on that tablespace (for example, to execute ALTER TABLESPACE).
…rash while trying to write dirty pages of closed tablespace to disk
ilya071294 and others added 23 commits July 12, 2024 17:08
If disabled, tablespaces-related DDL statements and clauses in CREATE/ALTER TABLE/INDEX will not be applied to the replica.
…o out of memory

A clause (tablespace_name_clause) should not be optional if it's used in another optional clause (table_attributes).
Example of a statement with the issue:
execute statement 'create table test_table(id int); a';
… to prevent dependency issues (see RS-78271)
… TABLESPACE INCLUDING CONTENTS (see RS-78271)
… has limitations and issues that need to be solved (see RS-78271)
@dyemanov dyemanov self-requested a review November 12, 2024 15:30
@dyemanov dyemanov changed the title Porting tablespaces Support for tablespaces Nov 12, 2024
@dyemanov dyemanov linked an issue Nov 12, 2024 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Tablespaces [CORE688]
4 participants