Connect to a different database

Moderator: NorbertKrupa

Post Reply
harryrundles
Intermediate
Intermediate
Posts: 96
Joined: Thu Jul 19, 2012 12:33 am

Connect to a different database

Post by harryrundles » Wed Sep 26, 2012 8:47 pm

Hello,

I see that the \c meta command can be used to connect to another database (DBNAME):

From the help screen:

Code: Select all

   \c[onnect] [DBNAME|- [USER]]
                 connect to new database (currently "dbadmin")
But I thought we can only have one database running at a time in the cluster? Do you think Vertica will allow multiple databases in the future and that is why \c requires a database name? That'd be nice!
Thanks,
Harry

jpcavanaugh
Intermediate
Intermediate
Posts: 149
Joined: Mon Apr 30, 2012 10:04 pm
Location: New York
Contact:

Re: Connect to a different database

Post by jpcavanaugh » Wed Sep 26, 2012 9:08 pm

The vertica process is designed to be able to use all available resources (cpu/mem) so they don't allow more than one to run at a time.

Post Reply

Return to “vSQL”