Database access exceeded maximum number of connections

Source: Internet
Author: User

For example: There are 1 database servers, and the maximum number of connections allowed is 300. But I have 1000 c/s structure of the client using a connection pool to access this database, if the connection pool set the minimum number of connections is 1, then the maximum number of connections has reached 300? What about 700 other clients?

Landlord, for example, will let you deepen your memory.
Connect the database like in the winter to bathe in the bathhouse, not on the half-way to the clothes stripped, to go into the bathhouse ready their own bath supplies and then go in to wash, wash out to immediately dry body put on clothes, otherwise easy to catch cold.
You want to open the connection before, all the SQL statements are ready, open after the execution, the completion of the close, otherwise equal to the naked run out of the bathhouse, to be an accident ah.

Database access exceeded maximum number of connections

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.