In DB2 when I'm giving a select statement its taking lot of time, the reason is like the table is a very huge table.
As a result some times it is locking the table.
Can any one help me for executing the select query with any option which would not lock the table.
Thank you in advance.
Software/Hardware used:
ASKED:
March 24, 2009 12:23 PM
UPDATED:
August 6, 2009 2:08 PM
I agree with Phil, the problem seems to be how the system is acquiring locks. It is often called ‘the isolation level’, and common levels are ‘Read Committed’, ‘Serializable’ and others. Look for some session setting for the ‘Isolation level’ in your environment.
Have you investigated security?
You say you are being the super user – does this mean that that user profile will, by default, have *exclusive access?
Maybe you need to look at user profiles / authority levels too..