Home > Ask the Oracle Database / Applications Experts > Oracle database design and architecture Questions & Answers > How to fix drop table and truncate table commands frozen in Oracle 10g
Ask The Oracle Expert: Questions & Answers
EMAIL THIS

How to fix drop table and truncate table commands frozen in Oracle 10g

Brian Peasland EXPERT RESPONSE FROM: Brian Peasland

Pose a Question
Other Oracle Categories
Meet all Oracle Experts
Become an Expert for this site


Oracle tips, scripts, and expert advice
Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us    Add to Google


>
QUESTION POSED ON: 09 December 2008
I am using an Oracle database 10g R2 on a HP-UX machine. I can't use drop table and truncate table commands in my database. Those commands are frozen until I kill the session. Can you help?


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us    Add to Google


RELATED CONTENT
Oracle database design and architecture
Can I download DBCA for Oracle Express Edition?
How to recreate an Oracle index in a new schema with the CREATE command
Using Oracle Universal Installer to install Oracle with Pro*C
Defining Oracle database repository vs. information repository
Can I create multiple schemas in Oracle for one user?
ORA-12514 error when connecting to the Oracle database through Toad
Solving the ORA-00904 error: invalid identifier in Oracle
How to tune SQL UPDATE statements for an Oracle 10g upgrade
Will queries run slower in a smaller Oracle buffer cache?
Using a database link to connect two Oracle apps instances

Oracle database administration
How to rebuild a built-in Oracle package body
How to use a wrapper script with cold backups in Oracle
How to rebuild a database to change Oracle block size
Can we use a single database update trigger for an Oracle database upgrade?
Understanding Oracle cost-based optimizer (CBO) and rule-based optimizer (RBO)
The top 10 Eye on Oracle blog posts of 2008
The top advice from Oracle experts in 2008
Web 2.0 users, community and participation in the enterprise
Enterprise search and links for Web 2.0
Tips for Web 2.0 success and setting Web 2.0 goals in the enterprise
Oracle database administration Research

RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary


The only way to figure out why the commands are "frozen" is to figure out what the command is waiting for. There could be two possibilities here -- either the session is waiting for a lock to be released, or the session is waiting for an event to occur before it can continue with the command.

On my website is a white paper titled Solving User Problems. Page 3 discusses how to find the SID for your session. Once you've identified the SID of the session that is having the difficulty, then look to pages 6-8 to see if another session is holding a lock. If there is no lock, then look to pages 15-17 to see what wait events are holding up the session.




Search and Browse the Expert Answer Center
Search and browse more than 25,000 question and answer pairs from more than 250 TechTarget industry experts.
Browse our Expert Advice



Oracle White Papers: Fusion Middleware
HomeNewsTopicsTipsAsk the ExpertsMultimediaWhite PapersProductsBlogs
About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides technology professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective purchase decisions and managing their organizations' technology projects - with its network of technology-specific websites, events and online magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Site Map




All Rights Reserved, Copyright 2003 - 2009, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts