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

Which one is easier to learn and user friendly? SAP HR or PEOPLESOFT HRMS??
Hi, SAP is a market leader these days. you can go with SAP HR also SAP Successfactor.
Mounika
0 0
6
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
Rajesh
1 0
6
If someone is good at oracle sql what should be the next step for him?
If you are at oracle sql it means your fundamental knowledge about DBMS are very much clear. Now you should start learning PL/SQL, as because it will help to code DBMS in great detail and in effective...
Subhrakant
Hello, I have completed my Oracle DBA certification on 9I 5 years back but somehow I stuck working with support industry with ITIL related stuff. Now I want to switch my profile. Is it possible if I brush up my skills and try for a technical profile? I want to get into Oracle related profile.
Yeah you can. But Oracle DBA certification 5 years back will not help you. DBA is completely dependent on hand on exercise. You can try Oracle plsql or Oracle Business Intelligence(OBIEE) or you can try...
Abhishek
Is Oracle Forms is a front end tool? How much it is useful for back end (Database) professional?
Oracle Forms is UI and it can be linked to back end database to get or insert data.
Subhrakant
0 0
8

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

Ask a Question

Related Lessons

GoldenGate Connectivity to Kafka
Oracle GoldenGate (OGG) connects to Apache/Confluent kafka using GoldenGate for Big Data Adapter. OGG uses the big data for kafka properties file to connect to kafka servers/cluster and stream the data...

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
0

How to read and understand the Compilation errors?
Today, we will understand how to interpret the compile time erros and fix them. Don't confuse with runtime errors which is altogether a different subject called Exception Handling. Compilation erros are...

How To Prepare For OCA Exam?
Oracle Certified Associate certification programs are very costly to take the exam. They really deserve it because you get a high value of this certification in the job market. This Article is meant for...

Exception Handling topics
Here, I am only going to list the topics which one should consider to master Exception Handling. 1. Types of errors in Pl/sql- Compile time and Run time 2. How to read and understand the Compile time...

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