Hello,
I have a cluster with 2 nodes where some data is stored on disk, so I have a tablespace with datafiles and undo logs.
Anyways, the thing is at first this was a "test" cluster so I just followed the examples and made pretty small datafiles (32MB and 128MB). Then due to circumstance the test cluster went into production and I created another datafile of 4GB, then another of 4GB... and now going to add another of 10GB.
No one really knew how fast the data was going to grow.
So it's messy and I want to clean up. I know that I can drop a datafile, but my question is in regards to the consequences. Does that data get lost? Will the alter tablespace drop datafile command execute when there are 0 free extents?
Can I migrate data between datafiles in order to drop the smaller ones?
I coudn't find answers to these questions in the manuals nor google, so my appologies if the answer is a link with rtfm at the end.
Thanks for your help.
Regards
I have a cluster with 2 nodes where some data is stored on disk, so I have a tablespace with datafiles and undo logs.
Anyways, the thing is at first this was a "test" cluster so I just followed the examples and made pretty small datafiles (32MB and 128MB). Then due to circumstance the test cluster went into production and I created another datafile of 4GB, then another of 4GB... and now going to add another of 10GB.
No one really knew how fast the data was going to grow.
So it's messy and I want to clean up. I know that I can drop a datafile, but my question is in regards to the consequences. Does that data get lost? Will the alter tablespace drop datafile command execute when there are 0 free extents?
Can I migrate data between datafiles in order to drop the smaller ones?
I coudn't find answers to these questions in the manuals nor google, so my appologies if the answer is a link with rtfm at the end.
Thanks for your help.
Regards