Skip to main content
nikos101
Inspiring
Feb 10, 2010 10:52 AM UTC
Answered

Do I need to manaly manage the database connection?

I'm having issues with a stored procedure that returns data to CF. The sp takes around 20 seconds to return the data (big sp) to CF but the database connection is left idle after the sp finshes and the data is passed to CF, as we can see from MS SQK management studio.

Do I need to manualy manage the database connection? I thought the CF data source would manage all this?

This topic is closed to new replies. Start a new post to keep the conversation going.
-__cfSearching__-Correct answer
Inspiring
Feb 10, 2010 5:51 PM UTC

Yes. I believe it is a checkbox option under each datasource. Something like "Maintain connections .."

5 replies

Participant
Oct 28, 2024 4:31 PM UTC
  1.  
Translate
Inspiring
Feb 10, 2010 12:46 PM UTC

Are you using connection pooling? If so, CF will maintain a pool of open database connections.

Translate
nikos101
nikos101Author
Inspiring
Feb 10, 2010 5:13 PM UTC

I'm not sure, can I find that setting in cf admin?

Translate
-__cfSearching__-Correct answer
Inspiring
Feb 10, 2010 5:51 PM UTC

Yes. I believe it is a checkbox option under each datasource. Something like "Maintain connections .."

Translate