Thanks for the answer.

However I need to rename the database. This is the scenario:

I have a batch import that uses the existing database. BUT if the schema 
changed, I want to rename the new database, create a new one and proceed 
with the data import.


I believe it would be helpful to use a database alias (like a soft link) 
pointing to a database. By using some SQL command like ALTER DATABASE ALIAS 
my_alias_db TO my_new_db user should be able to point the alias to other 
database.

Existing connections will still pointing to the previous db but when new 
connections using the alias arrives they will use the new db.


I create ticket 6115 
<https://github.com/orientechnologies/orientdb/issues/6115>. I believe it 
is a valid scenario. 

Pablo

On Monday, May 9, 2016 at 8:48:53 PM UTC-7, Luca Son wrote:
>
> Hi Pablo,
>
> I tried to rename the remote DB but it doesn't seem possible.
>
> In the official documentation I found the parameters 
> <http://orientdb.com/docs/2.1/SQL-Alter-Database.html> supported by the 
> ALTER DATABASE command.
>
> Hope to have been helpful.
>
> Luca
>

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"OrientDB" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to