I have a question about manipulating my main table : I need to add a new column into it, but there is already more than 50 million entries to update.
It would be as easy as an alter table if I wasn't storing my data on a small ssd that is already filled a bit more than half by the database.
The alter table was not able to finish, because it creates a copy of the table and only then replaces the original.
Two copies can't fit on my ssd drive, so is it possible to either operate directly on the original table, or to use another drive for the temporary table ? Or should I use another computer to alter my table on a bigger drive, then only transfer back to my ssd server ?
Thanks in advance !
PS: Time is not really an issue, it's a non realtime system in alpha with almost no user, so I am allowed to take down everything for a few hours (thank the Internet gods !)