orientdb icon indicating copy to clipboard operation
orientdb copied to clipboard

[client=55] When connecting to large local DB, there is a delay before connection is established

Open thecyman opened this issue 12 years ago • 3 comments

Hi there,

We have a large DB. When we connect to it locally via the console, there is a delay. The delay is often at least a few seconds. It seems that the first connection to the DB is almost a minute.

orientdb> connect remote:localhost/mydb username mypass

First, can this be fixed? Also, how could connection pooling work to get around this?

thecyman avatar Sep 03 '14 18:09 thecyman

Actually, I realized we may not have indexed based on name. For our huge DB, this may have been the cause. Will update once I have a chance to test this.

thecyman avatar Sep 03 '14 22:09 thecyman

Indexes should slow down queries, not database open.

lvca avatar Sep 03 '14 22:09 lvca

Maybe you don't had the OUser.name index anymore? So the login was slower?

lvca avatar Oct 03 '14 12:10 lvca