Drop temp tbs without end
Hi,
Database is Oracle 8.1.7.4 about Windows NT.
I have a temporary tablespace with a datafile wich take more than 2Go.
I would like to create another temp tablespace locally managed with a tempfile to replace the first.
When I drop the old temp tablespace (with a datafile) this take more than 30 minutes, and I didn't wait more, I killed this session.
Why this one take to many time ? How can I make to make this quickly ?
Nicolas.
To run your database you need one temporary tablespace available and the method which you can use is that first create a temporary tablespace first and then make it your default temporary tablespace bounce your database in mount position and then make your newly created tablespace your default temporary tablespace and then open the database and drop the old one.
Similar Messages
-
Hi,
I'm in 8i and I want to drop TEMP tablespace. (I have already given another TEMP1 created to users).How can I see if any user uses TEMP1 ?
Many thanks.861100 wrote:
HI ,
oracle 11g ASM RAC under OEL 5.6 ,
i have temporary tablespace with size more than 100 GB so i create new one and make the new one as a default
and then i drop the first one but it take more time and i change the default for temporary since 2 days ago
so there is no data in old temp but when i execute the drop command it take more time ?
SQL> select temporary_tablespace from dba_users;
TEMPORARY_TABLESPACE
TMP
TMP
TMP
TMP
TMP
TMP
TMP
TMP
TMP
TMP
TMP
TEMPORARY_TABLESPACE
TMP
TMP
TMP
TMP
TMP
TMP
TMP
TMP
TMP
TMP
21 rows selected.
SQL> select name from v$tablespace;
NAME
SYSTEM
SYSAUX
UNDOTBS1
TMP
UNDOTBS2
USERS
ABS_MID
ABS_MID_IND
TEMP
9 rows selected.
SQL> set time on
16:44:18 SQL> drop tablespace TEMP including contents and datafiles;
^Cdrop tablespace TEMP including contents and datafiles
ERROR at line 1:
ORA-01013: user requested cancel of current operation
16:53:00 SQL>
16:53:01 SQL>please advise why it take more time ?you could do as below prior to doing DROP TABLESPACE
ALTER SESSION SET SQL_TRACE=TRUE;
content of trace file will show what occurs during the DROP command -
Drop TEMP (1 out of 2) datafile without dropping tbs?
I added a datafile to TEMP tbs as i ran out temp space last week while running the payroll - Now i want to get rid of extra datafile from TEMP tbs. Can i do that in 10.2.0.2 without dropping the whole tablespace and re-creating?
Please post your thoughts!If I were you , i would :-
1. re create a new temp tablespace
2. make that the default temporary tablespace
3. drop this old tablespace in it's entirety.
OR
RESIZE the temporary datafile to the lowest file size posible.
ALTER DATABASE TEMPFILE 1 RESIZE 1M;
If you are adventurous
http://www.psoug.org/reference/database.html
ALTER DATABASE TEMPFILE <file_name | file_number> DROP;
Use it at your own discretion. -
how to drop temp tables if i created with same name in different sessions
create table #temp(id int)
(with same in different sessions)In addition to Olaf's, if you create temp table in two different sessions, you will find the 2 #test in the TempDB.sys.tables.
CREATE TABLE #test (id int);
Either the different object_ids or the "same" names indicate they are
different temp tables. The same named local temp tables created in different sessions are traced with a 12 suffix in the tempdb.sys.tables. That's why when creating temp tables, maximum length can be of 116 characters only, while creating a
table, the maximum is 128.
The fragment referenced from the BOL
You can create local and global temporary tables. Local temporary tables are visible only in the current session; global temporary tables are visible to all sessions.
All local temporary tables are dropped automatically at the end of the current session.
You can read more from the below link.
https://technet.microsoft.com/en-us/library/aa258255(v=sql.80).aspx
If you have any question, feel free to let me know.
Eric Zhang
TechNet Community Support -
Oracle dbsonsole not running after drop temp files
before drop temp tablespace
i was create temp2 tablespace as default temp tablespace
after that
i have droppped temp files last to first
temp4.dbf ..3..2
when i have clicked to delete temp table space in dbconsole
after a few time dbconsole not running
in iexplore
i have tired to start db control again with emctl start dbconsole
it was already running
then i have command
emctl status dbconsole
is not running
i have looked log file i see temp file warning
now what can i do to start dbconsole againDbconsole doesn't work proper without temp files. So you should create temp file for temporary tablespace in some other tool.
-
Initial execution of a workbook/query runs without ending
Hi, Experts,
I encountered a very strange behavior of Bex tool. Sometimes, Initial execution of a workbook/query runs without ending at u2018Waiting for reply from BW Serveru2019 state, then I cancel the report and run it again and it would return results within minutes. Itu2019s like it forgot to return results.
The basis team looked at the queries in the database, and said that there were actually a number of different queries being executed by my Bex query, but each individual query runs fairly quickly. The basis person pulled the statements out and ran them directly against the database and they returned result in sub seconds.
Any thoughts? Possible solution?
Thanks
ChimeiHi,
Could u let us know what is the GUI frontend patch version you are on. Also, are there any AddOn's Installed.
What version of Excel are you using. Also just for a check, run sapbexc.xla on your local machine and check the output.
Regards,
Sree. -
TEMP TBS platzt...
Hallo,
habe ein Problem mit meinem TEMP TBS...
Ich mache ein "CREATE TABLE AS SELECT". Das SELECT geht auf eine VIEW mit ca. 3.000.000 Datensätzen.
Während das SELECT läuft kann man sehen, wie der TEMP TBS voll läuft und irgendwann abschmiert.
Wenn ich das Ganze auf einer Test-DB (8.1) mache, läuft die Kiste und das mit einem TEMP TBS mit nur 2.5GB!!!
Der einzige Unterschied (den ich jetzt so sehe) ist, dass die TBS in der Test-DB DICTIONARY MANAGT sind und auf der anderen DB (9.2) LOCALY MANAGT. Auch kann ich die TBS auf der 9er nicht DICTIONARY MANAGT anlegen. Ist das unter 9.2 nicht mehr möglich?
Mein TEMP ist so angelegt:
CREATE TEMPORARY TABLESPACE temp
TEMPFILE '/home/loc/TIS_Daten/dbs1/plmtst/temp01.dbf' SIZE 1000M,
'/home/loc/TIS_Daten/dbs1/plmtst/temp02.dbf' SIZE 1000M,
'/home/loc/TIS_Daten/dbs1/plmtst/temp03.dbf' SIZE 1000M,
'/home/loc/TIS_Daten/dbs1/plmtst/temp04.dbf' SIZE 1000M
EXTENT MANAGEMENT LOCAL UNIFORM SIZE 1M;
Danke!!!Auch kann ich die TBS auf der 9er nicht DICTIONARY MANAGT anlegen. Ist das unter 9.2 nicht mehr möglich?Hi,
If I well understand you (with remember my german school training), you cannot create a dictionnary managed tablespace whenever your system tablespace is locally managed.
But to have more chance to find a help, as Yogesh said, try to reformulate your question in english.
HTH,
Nicolas. -
<select> Tag Mozilla cuts off at 20 IE6 cuts off at 30 We are expecting 30 more lines in drop down list without scrollbar.
it has been answered
-
How can i drop a tablescpace without your dbf ?
Hi,
My problem is..
A have a tablespace and this tablespace has 70 dbf in the past, but someone delete that tablespaces with winscp ... dont use any script to do this, now when i try drop that tablespace return a erro that dont found a dbf. i need drop that tablescpace and delete her dbf files but the FISIC dbf files was deleted, but in sql developer show's the dbf files.
How i can DROP ALL DBF FILES AND THE TABLESPACE ?
Thx !try
drop tablespace <tbs> including contents and datafiles;post the exact error message and also verison
or
select file_name, tablespace_name from dba_data_files WHERE tablespace_name = <TBS>;
and do like
alter database datafile 'file_name' offline drop;and then drop the tablespace
Edited by: CKPT on Oct 28, 2010 8:03 PM -
Drop temp tablespace goes forever
Hi,
Trying to drop temp tablespace.
I made new default temp tablespace and that part went fine. I can see system using it immediately.
Then I tried to drop the old one.
drop tablespace temp including contents and datafiles;
.... no go .... altough content is gone now. Tablespace was full before this now it's empty.
My command still hangs in sqlplus.
Any idea?
Oracle 10.2.0.1 on Linux x86.You either wait until it's finish. Or kill the session that held it.
SELECT s.sid,
s.serial#,
s.osuser,
s.program
FROM v$session s;
ALTER SYSTEM KILL SESSION 'sid,serial#' -
Drop Temp tablespace hangs...
I have created a new TEMP tablespace and made it default TEMP one.
Now I want to drop TEMP3 tablespace, because it has become fulll...
when I drop it through EM, it hangs...
Once a tablespace has been dropped, the objects and data in it will no longer be available. To recover them can be a time consuming process. Oracle recommends a backup before and after dropping a tablespace.
Are you sure you want to delete Tablespace TEMP3?
Delete associated datafiles from the OS
When I checked at EM, there are locks too..
SMON has locked the system
What should I do now?The_Rock wrote:
I have created a new TEMP tablespace and made it default TEMP one.
Now I want to drop TEMP3 tablespace, because it has become fulll...
when I drop it through EM, it hangs...
Once a tablespace has been dropped, the objects and data in it will no longer be available. To recover them can be a time consuming process. Oracle recommends a backup before and after dropping a tablespace.
Are you sure you want to delete Tablespace TEMP3?
Delete associated datafiles from the OS
When I checked at EM, there are locks too..
SMON has locked the system
What should I do now?Refer
Drop Temp Tablespace Command Hangs [ID 214371.1]
How to Drop Temporary Tablespace Having Enteries in V$SORT_USAGE [ID 285993.1] -
DB 10.2.0.4
AIX 5.2
PROD
I am trying to drop temp tablespace as below command. It is running since nine hours I am not understand why it is taking too much time. FYI I have created a new temp and assigned to default temporary tablespace. Even I connected with new session and run “drop tablespace temp” it is also running since one hour. Suggest me.
DROP TABLESPACE temp INCLUDING CONTENTS AND DATAFILES;
Thanksuser11969485 wrote:
FYI Holder session is "oracle@devdb (SMON)"
Edited by: user11969485 on Jan 7, 2012 12:49 AMYes, Looks like you hitting a BUG.
Check this note Bug 3833893: SMON GETS "TT ENQUEUE" OF TEMP IF DATEFILE OF TEMP DOESN'T EXIST
It saying to drop files from mount status. Lets try :)
Keep Close the Threads, So it meaningful as those answered.
user11969485 Newbie
Handle: user11969485
Status Level: Newbie (10)
Registered: Oct 27, 2009
Total Posts: 302
Total Questions: 66 (57 unresolved)
Edited by: CKPT on Jan 7, 2012 2:36 PM -
Cannot connect on OWB - "started new global transaction without ending..."
Hi, folks.
I had to change my computer and reinstall my OWB 11.1.0.6.0 in my PC (Windows 7 64b), but thus far I couldn't connect to OWB and we don't really know what to do here.
We've been experiencing these following mistakes:
"PRS-00322: Internal Error: started new global transaction without ending existing global transaction. Please contact Oracle Support with the stack trace and details on how to reproduce it".
"API5022: It's not possible to establish connection with the specified account. Check out the connection information".
Do I have to change something on the TNSNAMES.ora or something like this?
Thanks for your helphave u tried this
alter system session kill immediate""..
else
login as sys and check status of OWB design user...see if that is locked
or at last
if possible reboot the database server -
My iphoto 09 keeps on downloading duplicates to a temp folder without asking when I drag a photo from firefox over to iphoto to import it. It does not happen when using safari. can some one please help?
You're in the wrong forum. Post to iPhoto for iLife, not iPhoto for iOS.
-
Regarding "Dropping call state without timer" error
Hi,
I am using WLSS-3.1-MP1 on Solaris 10 in a clustered environment.
I see following error in engine tier console log.
*[1259525001295] [CallState] : Dropping call state without timer: [email protected]*
First and last string varies with each error.
Any idea what this error is for ? Didn't find anything in documentation about this.
Thanks,
KeDarThanks for your reply, Anurag !!
There isn't any known communication issue between engine and data tiers.
None of the Engine Tier JVMs was shut down.
If I want to look further into the possibility of "Engine tier un-responsive for long time", would you please give any details as whats considered as long time etc..
In console log, I don't see anything else around this message, thats related to the error.
A quick search in engine's server log files also didn't give any info.
Also, can I safely assume that this error won't cause any trouble if another engine tier instance picks up the call ?
Thanks again,
KeDar
Edited by: kedar.ambekar on Feb 19, 2010 1:05 PM
Maybe you are looking for
-
Multiple libraries syncing to Facebook
If you have multiple libraries, and you sync to facebook, aperture syncs facebook albums to all libraries, needlessly increasing their size. Is there any workaround?
-
OBIEE 11g - Customized Message for No result On all Reports
Hi, The default messages displayed is getting displayed when a report returns no data in OBIEE 11g. I am aware of that, we can overide the default message with our Custom message at "Analysis" level. but it is very painful to do. I am looking for a f
-
Hello. I had an issue this morning with my Mac. It was in sleep mode. I touched a key to wake it up and nothing happened. After several attempts and also trying to press the start button, I finally held in the start button (which I hope was alright t
-
Video over ip design guideline
Hi I want some guideline for designing video over ip setup. We have central monitoring system and multiple sites connected to central site. Now sites will have cameras and alrm system. Live videos will be recorded at sites. Now this is BOD applicatio
-
How to retrieve system configuration?
Hi everybody! I want to install a new x86 Solaris version with the same configuration parameters of an existing Sparc Solaris version. Is there a command (from command line) to retrieve all the configuration parameters of an existing Solaris system?