So I am trying to optimize some tables, the strange thing is I found out that a table which never had any sorting key defined before, the table size (blocks in MB) is 720. And when I try to define a sort key, or compound sort key, the table size literally doubles to 1440. I have tried in conjunction with different distribution styles, but that doesn't change the table size. I also ran ANALYZE COMPRESSION, but there was nothing to improve on.
So what should I do on this case? I would need the tables to have a sort key since they are used in alot of joins, but the doubling of table size it not ideal. I tried googling for this particular issue but seems there has been nothing on this problem
Edit: I do not try to implement this on an existing table, instead a created a new table like the current one, then I inserted all the data. And just to be sure, I ran statistics and vacuum on the new table.