SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Wizard lukeurtnowski's Avatar
    Join Date
    Mar 2003
    Location
    Coronado
    Posts
    1,582
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)

    closing a database?

    I'm wondering why I need to close a database connecction when Im not needing anymore
    "Oh, and Jenkins--apparently your mother died this morning."

  2. #2
    SitePoint Wizard webcosmo's Avatar
    Join Date
    Oct 2007
    Location
    Boston, MA
    Posts
    1,433
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    it could be set by admins that there could be max x number of concurrent connections to the database.

    if you dont release a connection it idles for x amount of time then released to the pool for reuse.

    which means if you dont release a connection it couldnt be available immediately if needed during the heavy traffic load. this could lead to slow page loads.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •