Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> 'drop tablespace' produces a file/table lock??

'drop tablespace' produces a file/table lock??

From: Jared <jared_at_hwai.com>
Date: 24 Jul 2003 13:36:01 -0700
Message-ID: <480f610.0307241236.341b593a@posting.google.com>


Just had an interesting problem and wondered if anyone knew the why of it - I just dropped a tablespace. Went to delete the file at the OS level (I'm in 8.1.7.4.1 on Win2K) and Windoze wouldn't let me - said there was a sharing violation. I've only done this a gazillion times in *nix and other OS'. Closing the SQL*Plus session that I had used to drop the tablespace released whatever lock there was; presumably ORACLE.EXE had a lock on the datafile until I exited SQL*Plus.

When I was a VAXcluster manager several decades and a marriage ago, one could create one's own message classes. Many had a 'WTF' class (one leaves it to the reader to parse out the acronym); and any error not otherwise trapped returned something like "WTF - what are you trying to do?" to the unfortunate user. This just seems like one of those situations.

If anyone knows definitively what was going on I'd appreciate hearing about it.

TIA - Best regards,
jh Received on Thu Jul 24 2003 - 15:36:01 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US