Hi,
I would like to limit number of connections through db link to one connection only.
I've set both parameters open_links and open_links_per_instance to 1.
But i can still run more than one queries in different sessions (also query inside pl/sql loop). What is wrong. I think that i can't understand these parameters meaning.
How can i limit number of connections through db links ? How these parameters work really what i don't know ? Very appreciate for any answer
open_links_per_instance allows other transaction owned by the same user to go thru the link, that's why you can run more than one query.
open_links limits the number of connection TO REMOTE databases; you do no set this parameter on the target database.
I assume you have created on the target database a specific-private account to be used by DBlink to connect; am I correct?
If yes, you can set a limit to how many concurrent sessions can have that specific account.
Disclaimer: Advice is provided to the best of my knowledge but no implicit or explicit warranties are provided. Since the advisor explicitly encourages testing any and all suggestions on a test non-production environment advisor should not held liable or responsible for any actions taken based on the given advice.
Disclaimer: Advice is provided to the best of my knowledge but no implicit or explicit warranties are provided. Since the advisor explicitly encourages testing any and all suggestions on a test non-production environment advisor should not held liable or responsible for any actions taken based on the given advice.
Bookmarks