Database

NAVIGATION
CATEGORIES
REFERRENCE
LINKS
  • DB2 performance (waits)

    0 answers - 1071 bytes - related search similar search Add To My Delicious Add To My Stumble Upon Add To My Google Mark Add To My Facebook Add To My Digg Add To My Reddit

    Hi

    I have a table with a numeric Primary Key. This key is composed of NNRRRRRRRRR where NN is the week since the system went live and RR is a randomly generated number.

    Multiple programs simultaneously try to read data from this table while others could be creating records on it at the same time. This causes the programs that only wants to read data to wait as the record might be on the same page as records being created/updated. We implement page locking and the DBA's are unwilling to implement record locking on this table.

    We cannot randomise the key, because another process is running in multiple threads and depends on these records to be "grouped" in order not to content with each other.

    When you do a WITH UR read everything works nice and fast, but I am reluctant to implement an uncommitted read on data that is used in transaction processing. O! and make the programming language Cobol.

    What else can be done? I don't know DB2 that well and am running out of ideas.

    Thanks in advance

Re: DB2 performance (waits)


max 4000 letters.
Your nickname that display:
In order to stop the spam: 2 + 1 =
QUESTION ON "Database"

VISUAL C++ TECH