Results 1 to 2 of 2

Thread: Database resource use

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Aug 1999
    Location
    Hamilton, New Zealand
    Posts
    137

    Post

    I am designing an application that uses DAO objects in code to reference a database.

    This application will be running all day ie. 8am - 5pm, but may only be used for maybe 20 mins every couple of hours or so.

    My question is, is it more resource friendly to initilise 1 global recordset object at the start and leave it open all day, whether it is needed or not, Or
    to keep opening and closing recordsets when they are needed.

    I would be happy to give you more information on the specifics of my application if you feel it is relevant

  2. #2
    Frenzied Member
    Join Date
    Aug 1999
    Location
    Santa Clara, Ca , 95058
    Posts
    1,105

    Post

    It's just memory. I will open once for as long as I need mainly because it minimizes the *chance* of memory leaks.

Posting Permissions

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



Click Here to Expand Forum to Full Width