Does piccolo support Tablespaces? #525
Unanswered
theelderbeever
asked this question in
Q&A
Replies: 1 comment 4 replies
-
Wow, that's a big table. Tablespaces aren't currently supported, but my feeling is it will be quite easy to add.
piccolo/piccolo/query/methods/create.py Line 31 in a89c2fa I'll give it a quick go. |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Background on the question... some of our tables are very large and our deployment infrastructure limits us to 16TB of disk space per provisioned drive. Having all of the tables on the same drive runs the risk of filling up our drive. We would like to set tables to tablespaces so we can provision drives on a per table/tablespace basis.
Is there a way to
CREATE TABLE foo(i int) TABLESPACE space1;
when generating the ORM Models?Is the solution to generate empty tables using a raw SQL migration and then add the models in the next migration? Would Piccolo perform the correct
ALTER TABLE
commands if the tables weren't generated via the ORM models?Beta Was this translation helpful? Give feedback.
All reactions