CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 4 of 4
  1. #1
    Join Date
    May 2004
    Posts
    166

    DataBase problem ...

    Hi,

    I'm using the RecordSet class for ORACLE DB.
    The dll is msorcl32.dd version 2.5.
    I have a very big DB staff to load, and when I'm using a "snapshot" access, the cache is growing to giant size...
    Is there is any option to limit the cache size ?

    On the other hand, when I'm trying to use the "dynaset" option, I have a deadlock at some phase...

    Do you have any solutions ?

    10X!

  2. #2
    GCDEF is offline Elite Member Power Poster
    Join Date
    Nov 2003
    Location
    Florida
    Posts
    12,635

    Re: DataBase problem ...

    I don't believe you can limit the snapshot size. What would be the point? You'd miss some data. I'd be debugging the dynaset option if it were me.

  3. #3
    Join Date
    May 2004
    Posts
    166

    Re: DataBase problem ...

    I have tried to debug the dynaset option.
    It seems that it entered a deadlock (endless loop) somewhere within the dll (Assembler code). That happened after loading alot of date from the DB. From some reason, It stuck in the middle....

  4. #4
    GCDEF is offline Elite Member Power Poster
    Join Date
    Nov 2003
    Location
    Florida
    Posts
    12,635

    Re: DataBase problem ...

    Is there a different ODBC driver available? Is the server trying to respond to your request? If you use a filter to limit the size of your query results does it work?

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

Featured