Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How fast can you re-connect to DB

 
mahavir swami
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is there a time limit between consecutive connection,
i mean if you connect to a db , using DriverManager.getConnection
and then you close the connection and then reconnect again ,
and this process you repeat many times, is there some minimum time you have
to wait before you can reconnect
 
Ulf Dittmer
Rancher
Posts: 42968
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I would imagine that some DBs have a setting for this, although I've never heard about such a thing. Why do you ask?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic