How can you check if a table is locked in Oracle?

Asked by Last Modified  

Follow 1
Answer

Please enter your answer

"Transforming your struggles into success"

You can check if a table is locked in Oracle by querying the `DBA_BLOCKERS` and `DBA_WAITERS` views, or by using the following SQL: ```sql SELECT * FROM v$locked_object; ``` This will show any locked objects, including tables, and the session holding the lock.
Comments

SQL> select * from v$lock where block > 0
Comments

"Rajesh Kumar N: Guiding Young Minds from 1 to 12 with Expertise and Care"

Run: SELECT * FROM V$LOCKED_OBJECT; or SELECT SESSION_ID, ORACLE_USERNAME, OBJECT_NAME FROM V$LOCKED_OBJECT lo JOIN DBA_OBJECTS o ON lo.OBJECT_ID = o.OBJECT_ID;
Comments

View 1 more Answers

Related Questions

What are the recommended study material to learn Oracle Database?
Hi Nirod..I recommend the Oracle Press books to all my students.. the Red and White paperback. They also have certification based trainings. They are many topics and tracks , depends on which topic, you...
Profile Photo
Nirod
My name is Rajesh , working as a Recruiter from past 6 years and thought to change my career into software (development / admin/ testing ) am seeking for some suggestion which technology I need to learn ? Any job after training ? Or where I can get job within 3 months after finishing my training programme- your advices are highly appreciated
Mr rajesh if you want to enter in to software Choose SAP BW AND SAP HANA because BW and HANA rules the all other erp tools next 50 years.it provides rubust reporting tools for quicker decesion of business It very easy to learn
Profile Photo
Rajesh
1 0
View Comments6
Hi, I would like to be a tutor. Please suggest how to proceed?
What is your educational qualification and what subject you are proficient, this depends on what you want to teach. If you have BEd degree, along wih your regular degree, then you can apply in schools also.
Profile Photo
Geeta
I have 7 years of experience into IT Support (Windows & MAC), Active Directory (Accounts & DL - create / Manage), Exchange Client, Incident Management, Application Support. What is the best platform in can Shift. I have few in mind: AWS Devops or CCNA or Cybersecurity.
I won't suggest for AWS, Better try for Microsoft Azure, as you have a reliable Windows Background. It's GUI based like windows. AWS, Google and Azure all three have good demand. It would be difficult...
Profile Photo
Kenny
Difference between a cluster and a grid?
in cluster you will have homogeneous env and in grid you will have non homogeneous env
Profile Photo
Nirod
0 0
View Comments6

Now ask question in any of the 1000+ Categories, and get Answers from Tutors and Trainers on UrbanPro.com

Ask a Question

Related Lessons

Steps to restore the OCR after OCR failure
1) OCR 1) Normal cluster filesystem 2) ASM diskgroup 1) Identify the manual or automatic OCR backups 2) Shutdown grid on all the nodes 3) ocrconfig -restore 4) restart the cluster...
Profile Photo

Introduction to Performance tuning
What is Performance in general terms? Throughput per Input. For Eg: we keep saying, this bike has so and so much of mileage and all that. That is one of the parameters in measuring the performance of...
Profile Photo

Any IT professional to have a successful career needs to understand the business process that runs the organization.
By doing that, not only an individual can write better code but can also think of a better simplified process which can be able aided by prevalent technology. So the ultimate game is to be techno functional...
Profile Photo

Datafile
Overview of Data files A table space in an Oracle database consists of one or more physical datafiles. A datafile can be associated with only one tablespace and only one database.At least one datafile...
R

Rajasekharreddy K.

0 0
View Comments0

Single Sign-on & Single Sign-off (OAM)
OAM provides the single-sign on and signle sign-off feature for the web applications. 1. Single Sign-on : If there are multiple applications in the enterprize organization where the user can login...
Profile Photo

Recommended Articles

Database Administration is the process building, organizing and maintaining custom databases for meeting the specific data requirements of an organization. A Database Administrator (DBA) is the person in charge of all the procedures involved in database development, organization, retrieval and security. A DBA has to understand...

Read full article >

Information technology consultancy or Information technology consulting is a specialized field in which one can set their focus on providing advisory services to business firms on finding ways to use innovations in information technology to further their business and meet the objectives of the business. Not only does...

Read full article >

Almost all of us, inside the pocket, bag or on the table have a mobile phone, out of which 90% of us have a smartphone. The technology is advancing rapidly. When it comes to mobile phones, people today want much more than just making phone calls and playing games on the go. People now want instant access to all their business...

Read full article >

Hadoop is a framework which has been developed for organizing and analysing big chunks of data for a business. Suppose you have a file larger than your system’s storage capacity and you can’t store it. Hadoop helps in storing bigger files than what could be stored on one particular server. You can therefore store very,...

Read full article >

Looking for Oracle Training ?

Learn from the Best Tutors on UrbanPro

Are you a Tutor or Training Institute?

Join UrbanPro Today to find students near you