I recently encountered a problem where we had accidentally created a new database in the root dataspace. We only found out about this after receiving a lot of out-of-space errors. Here is how we moved it to the proper dbspace.
When you want to connect from one database to the other, you have to make sure that both databases have the same log settings. When creating a database you can choose to do so with log, with buffered log or without log.