View previous topic :: View next topic |
Author |
Message |
Tanuj Beginner
Joined: 27 Feb 2004 Posts: 5 Topics: 3
|
Posted: Mon Apr 05, 2004 5:16 am Post subject: Locks on Table |
|
|
Hello every body,
Could you please help me out, how is it possible to see whether a particular table is under some lock/deadlock in UDB Ver.8 ? I am trying to select records from a table but the query just keep on executing and never gives a result. I think that this particular table is under some lock.
Please advise how to see whether a table in UDB database is under lock and if it is, then how to remove the lock?
Please reply urgently. |
|
Back to top |
|
 |
Tanuj Beginner
Joined: 27 Feb 2004 Posts: 5 Topics: 3
|
Posted: Mon Apr 05, 2004 6:31 am Post subject: |
|
|
Hi Ravi, thanks for the advice.
But I wanted to know how to find whether a table in UDB database is under a Lock or not. And how to remove locks from tables and command used to do that? |
|
Back to top |
|
 |
bauer Intermediate
Joined: 10 Oct 2003 Posts: 317 Topics: 50 Location: Germany
|
Posted: Wed Apr 07, 2004 2:32 pm Post subject: |
|
|
Using the command
-DIS DB(database) SPACE(tsname) USE
from DSN it is possible to view the usage of an specif tablespace in an specific database. |
|
Back to top |
|
 |
Manas Biswal Intermediate

Joined: 29 Nov 2002 Posts: 382 Topics: 27 Location: Chennai, India
|
Posted: Fri Apr 09, 2004 8:22 am Post subject: |
|
|
bauer,
Will -DIS DB("Database Name") SPACENAM("Tablespacename') LOCKS
not be a better option than "USE".
Regards,
Manas |
|
Back to top |
|
 |
bauer Intermediate
Joined: 10 Oct 2003 Posts: 317 Topics: 50 Location: Germany
|
Posted: Sat Apr 10, 2004 12:10 pm Post subject: |
|
|
Yes, of course. |
|
Back to top |
|
 |
|
|