Results 1 to 3 of 3

Thread: Freeze Evictor Transactions

  1. #1
    acbell is offline Registered User
    Name: Andrew Bell
    Organization: Iowa State University
    Project: National Resources Inventory
    Join Date
    Jan 2005
    Location
    Ames, IA, USA
    Posts
    89

    Freeze Evictor Transactions

    Hi,

    We are getting deadlock exceptions using the freeze evictor. Things seem to retry and be OK, but we are trying to understand what is going on. Can anyone explain the transaction model that it used with the evictor and how deadlocks can occur?

    Thanks,

  2. #2
    bernard's Avatar
    bernard is offline ZeroC Staff
    Name: Bernard Normier
    Organization: ZeroC, Inc.
    Project: Ice
    Join Date
    Feb 2003
    Location
    Palm Beach Gardens, FL
    Posts
    1,294
    Hi Andrew,

    Each Freeze Evictor uses a dedicated thread to save updates in the background. That's the only thread writing anything to the underlying database, and it writes the updates (including additions and deletions) using transactions.

    At the same time, other threads can read the database; reads acquire read locks on one or more pages in the underlying file. The reads that acquire the most locks and are the most likely to trigger deadlocks are iterations (the getIterator() call on the Evictor).

    A deadlock from time to time in a Freeze Evictor application is nothing to worry about. But a large number of deadlock can obviously lead to poor performance and more deadlocks; if this happens, try these Freeze Evictor properties to reduce the length of your write transactions: MaxTxSize, SaveSizeTrigger, SavePeriod.

    Best regards,
    Bernard
    Bernard Normier
    ZeroC, Inc.

  3. #3
    acbell is offline Registered User
    Name: Andrew Bell
    Organization: Iowa State University
    Project: National Resources Inventory
    Join Date
    Jan 2005
    Location
    Ames, IA, USA
    Posts
    89

    Thanks

    Thanks a ton for the response.

    And to all the ZeroC folks, thanks very much for a very nice, well-supported, and carefully constructed product.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. the freeze Evictor map
    By wdp221651 in forum Help Center
    Replies: 1
    Last Post: 08-28-2008, 07:41 AM
  2. Slow in Freeze Evictor add operation
    By Yunqiao Yin in forum Help Center
    Replies: 2
    Last Post: 02-06-2007, 07:38 PM
  3. Freeze evictor synchronization with Java tie classes
    By jdekozak in forum Help Center
    Replies: 2
    Last Post: 01-30-2007, 01:12 PM
  4. Identity Map for Freeze Evictor
    By acbell in forum Help Center
    Replies: 4
    Last Post: 09-01-2005, 03:27 PM
  5. Fast track Freeze evictor for RDBMS
    By StuartA in forum Comments
    Replies: 0
    Last Post: 05-23-2005, 04:56 AM

Posting Permissions

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