is it possible to drop the tablespace temp group in r12?
HelloI use ebs r12 based 10.2.0.3. It contains a temp tablespace Group (with tablespaces temp1 and temp2).
as a result of bug 5455880 ("Excessive recursive query on TS$ during the use of a"group of tablespace"as temporary tablespace") we want to abandon tablespaces temp1 and temp2 and create a tablespace temporary temp, so to avoid using a tablespace group.
is this posible in r12? in other words, thre is any program which refers explicitly names temp1 or temp2?
Thanks in advance
Hello
There will be a problem? There is a script or another type of program that refers explicitly to temp1, temp2, or temp?
I think that there should be no problem if you implement these steps.
Kind regards
Hussein
Tags: Oracle Applications
Similar Questions
-
Is it difficult for oracle follow the news of free space in the tablespace Temp?
DB version: 11.1
http://docs.Oracle.com/CD/B28359_01/server.111/b28320/statviews_5056.htm
!!!!FREE_SPACE : Total free space available, in bytes, including space that is currently allocated and available for reuse and space that is currently unallocated ALLOCATED_SPACE : Total allocated space, in bytes, including space that is currently allocated and used and space that is currently allocated and available for reuse
I know that temporary tablespace is 'temporary' and varies according to gender, creating index... etc. But, can't they say just free space in bytes.
Lets say my temporary tablespace size is 2 GB and if the DBA_TEMP_FREE_SPACE.free_space column is 500 MB. What does that mean?>
Lets say my temporary tablespace size is 2 GB and if the DBA_TEMP_FREE_SPACE.free_space column is 500 MB. What does that mean?
>
This means for a locally managed temporary tablespace, reduce the size to the amount of space currently in use; in other words, reclaim the space unallocated and allocated space is unused.TABLESPACE_SIZE - FREE_SPACE
See Shrinking a temporary Tablespace locally managed in the DBA Guide
http://docs.Oracle.com/CD/B28359_01/server.111/b28310/tspaces007.htm
>
The great sorting operations performed by the database can cause a temporary tablespace more and taking a considerable amount of disk space. When the sort operation is complete, the extra space is not released; It is just marked as free and available for reuse. Therefore, a single operation of large size can result in a large amount of temporary space that remains unused, once the sort operation. For this reason, the database allows to shrink the locally managed temporary tablespaces and free up unused space.
. . .
Shrinking frees as much space as possible while maintaining the other attributes of the tablespace or tempfile. -
How can I look in the Tablespace TEMP?
Hey guys,.
I was reporting an issue I've been sporadically see in my data warehouse. Everyone in a while, when my ETL fires, I see it crash and just write to the TEMP tablespace, filling up to 5 GB as if it is sorting something, then I see CPU activity before the end of the ETL. I check dba_segments to see if nothing is permanent in the tablespace, but no return line. Because I have no idea how to track this problem, I would like to take a look at the temp tablespace directly to see what the Devil's going on in there.
Is there some sort of way to see what is in a tablespace without knowing its 'dynamic' name that is generated by Oracle? Just a way to see that these temporary segments are filled with? Perhaps I can solve this mysterious problem if I have an idea of what is being sorted, etc., I can most likely go to a specific problem.
I know that the session still stuck in the SYSMAN. Package MGMT_LOG (line 169) when he fills up my TEMP tablespace and seems to happen around a full refresh materialized view is made. The Mview uses several tables, and the explain command plan shows that it uses the index while building the mview.
Yet once, looking for a way to follow what is written to the TEMP tablespace, any help would be appreciated.
Kind regards
TimSTIMS,
Here are a few views that you can use to monitor the mental health of temporary tablespaces
V$ TEMPFILE
V$ TEMPSTAT
V$ TEMP_EXTENT_MAP
V$ TEMP_EXTENT_POOL
V$ TEMP_SPACE_HEADER
V$ TEMPSEG_USAGEConcerning
-
Is it possible to disable the radio button group?
Hello.
I want to know is - it possible to temporarily disable the radio button group? Because IM planning group temporarily disable the radio button in my project so that the timer to pause. Can someone help me?
No you have to use the names of buttons, for example:
Btn1. Enabled = btn2.enabled = btn3.enabled = false;
-
Reduce the size of the Tablespace Temp
Hello
On 10g Release 1 o Linux, how to decrease the size of the temp tablespace, without re-creating a new? Should I just resize the temp file?
Thank you.Hello
to do thisALTER DATABASE TEMPFILE '/ora01/temp_01.dbf' RESIZE 2048M;
concerning
-
the tablespace temp in oracle10g data file
I use oracle10g R2. I voluntarily deleted the data file from the temporary tablespace at the OS level. Then I restart the database. When I restart the database, he started and DB is opened successfully. I went and the server. The temporary file is re-created. Is this something new in oracle10g? I don't think, I see this in oracle9i. I you'd be grateful if someone could clarify this...govindts wrote:
Thank you all... This is my last question. Once I have the answer, then I will mark this as answerIs this new avaible only feature for the database that runs RMAN? My database is automatically re-create the temporary files when I restart the database. But my DB recorded with RMAN catalog. It works for any database that is not registered with the RMAN catalog?
Govind,
Databases are not registered with RMAN. Its a tool that there always in binary database stack, its up to you to use it or not. Database part of the RMAN catalog or not, also makes no difference in the creation of temporary storage space. This feature is there in 10g databases out of the box. Here is my db, no newspaper archive, no rman catalog configured.
Copyright (c) 1982, 2005, Oracle. All rights reserved. Connected to an idle instance. SQL> startup ORACLE instance started. Total System Global Area 167772160 bytes Fixed Size 1247900 bytes Variable Size 75498852 bytes Database Buffers 88080384 bytes Redo Buffers 2945024 bytes Database mounted. Database opened. SQL> archive log list Database log mode No Archive Mode Automatic archival Disabled Archive destination USE_DB_RECOVERY_FILE_DEST Oldest online log sequence 41 Current log sequence 43 SQL> archive log list Database log mode No Archive Mode Automatic archival Disabled Archive destination USE_DB_RECOVERY_FILE_DEST Oldest online log sequence 41 Current log sequence 43 SQL> select * from dba_temp_files; FILE_NAME -------------------------------------------------------------------------------- FILE_ID TABLESPACE_NAME BYTES BLOCKS STATUS ---------- ------------------------------ ---------- ---------- --------- RELATIVE_FNO AUT MAXBYTES MAXBLOCKS INCREMENT_BY USER_BYTES USER_BLOCKS ------------ --- ---------- ---------- ------------ ---------- ----------- E:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\TEMP01.DBF 1 TEMP 20971520 2560 AVAILABLE 1 YES 3.4360E+10 4194302 80 19922944 2432 SQL> shut immediate Database closed. Database dismounted. ORACLE instance shut down. SQL> exit Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production With the Partitioning, OLAP and Data Mining options E:\Documents and Settings\aristadba>cd E:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\ E:\oracle\product\10.2.0\oradata\orcl>rename TEMP01.DBF TEMP01.DBF.old E:\oracle\product\10.2.0\oradata\orcl>sqlplus / as sysdba SQL*Plus: Release 10.2.0.1.0 - Production on Sun Jun 7 10:26:15 2009 Copyright (c) 1982, 2005, Oracle. All rights reserved. Connected to an idle instance. SQL> startup ORACLE instance started. Total System Global Area 167772160 bytes Fixed Size 1247900 bytes Variable Size 75498852 bytes Database Buffers 88080384 bytes Redo Buffers 2945024 bytes Database mounted. Database opened. SQL>
And here is the excerpt of the alert log, you can see the message of the temp being created.
Sun Jun 07 10:26:54 2009 ALTER DATABASE OPEN Sun Jun 07 10:26:54 2009 Thread 1 opened at log sequence 43 Current log# 3 seq# 43 mem# 0: E:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\REDO03.LOG Successful open of redo thread 1 Sun Jun 07 10:26:54 2009 MTTR advisory is disabled because FAST_START_MTTR_TARGET is not set Sun Jun 07 10:26:54 2009 SMON: enabling cache recovery Sun Jun 07 10:26:55 2009 Successfully onlined Undo Tablespace 1. Sun Jun 07 10:26:55 2009 SMON: enabling tx recovery Sun Jun 07 10:26:55 2009 Re-creating tempfile E:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\TEMP01.DBF Database Characterset is WE8MSWIN1252 replication_dependency_tracking turned off (no async multimaster replication found) Starting background process QMNC QMNC started with pid=15, OS id=3828 Sun Jun 07 10:26:59 2009 Completed: ALTER DATABASE OPEN Sun Jun 07 10:27:00 2009 db_recovery_file_dest_size of 2048 MB is 0.33% used. This is a user-specified limit on the amount of space that will be used by this database for recovery-related files, and does not reflect the amount of space available in the underlying filesystem or ASM diskgroup.
Update:
Just to prove that the file has been created, I write the contents of the oradata folder
SQL> exit Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production With the Partitioning, OLAP and Data Mining options E:\oracle\product\10.2.0\oradata\orcl>ls 'ls' is not recognized as an internal or external command, operable program or batch file. E:\oracle\product\10.2.0\oradata\orcl>dir Volume in drive E has no label. Volume Serial Number is 5449-27B9 Directory of E:\oracle\product\10.2.0\oradata\orcl 06/07/2009 10:26 AM
. 06/07/2009 10:26 AM .. 06/07/2009 10:29 AM 7,061,504 CONTROL01.CTL 06/07/2009 10:29 AM 7,061,504 CONTROL02.CTL 06/07/2009 10:29 AM 7,061,504 CONTROL03.CTL 06/07/2009 10:24 AM 104,865,792 EXAMPLE01.DBF 06/07/2009 10:24 AM 52,429,312 REDO01.LOG 06/07/2009 10:24 AM 52,429,312 REDO02.LOG 06/07/2009 10:24 AM 52,429,312 REDO03.LOG 06/07/2009 10:24 AM 272,637,952 SYSAUX01.DBF 06/07/2009 10:24 AM 513,810,432 SYSTEM01.DBF 06/07/2009 10:26 AM 20,979,712 TEMP01.DBF 06/06/2009 12:59 AM 20,979,712 TEMP01.DBF.old 06/07/2009 10:24 AM 31,465,472 UNDOTBS01.DBF 06/07/2009 10:24 AM 5,251,072 USERS01.DBF 13 File(s) 1,148,462,592 bytes 2 Dir(s) 63,850,295,296 bytes free HTH
Aman...Published by: Aman... on June 7, 2009 10:29
added the last section of code. -
Is it possible to drop the videos purchased on iTunes from my iPhone to my iPad?
I have a lot more storage on my iPhone, but I'd rather watch on my iPad. With mobile data limits imposed on video content itunes download or streaming then out and about is not an option. If I can dump my iPhone I can store my library it and fall to iPad to watch, but it doesn't seem to be an option to drop for the file that I downloaded on my iPhone. 7 IPhone to IPad Pro both running iOS 10.
Any help much appreciated. Thank you.
Hello
Go to settings on all your apple devices & activate sharing House
Also doing it on your pc.
See you soon
Brian
-
Is it possible to uninstall the updates in groups
original title: uninstall updates
I have more than 140 security updates. Is it possible to uninstall several at once?
Hi Anna,.
It is the only supported way to remove http://windows.microsoft.com/en-US/windows-vista/Remove-an-update
-
Is it possible to separate the contacts into groups for specific shipments?
Example, I have a group of people I play baseball with. I want to send an email to breath single people, but do not want to sort my contacts when picking on their e-mail addresses. Can I create as a group or a working group with only those emails that interest me?
Firefox send an e-mail, it's strictly a web browser.
If you use Firefox to access your e-mail, you use "webmail". You must seek assistance from your service provider or a forum for this service.
If your problem is with Mozilla Thunderbird, check out this forum for support.
http://www.mozillamessaging.com/en-us/support/
or this one
http://forums.mozillazine.org/viewforum.php?f=39 -
We have a case opened with the support of the Oracle, but I thought I'd throw it out there if it's ok.
We have a 8.1.7.4 database running on HP - UX 11.11 PA-Risc and it looks like any session that wants to use a temp space is hung a SS enqueue or in some cases is waiting on a waiting "sort request of the segment.
Saturday, we tried to move all users to a new temporary tablespace and drop the old one but the drop suspended and we control-C out of it. We put the users to the original temp. Note that both the old and the new temporary tablespaces are managed locally.
Before trying to leave falling the old tablespace temp that we killed the existing sessions, including one who had worked for two weeks and has been hooked on SMON.
Query v$ fast_start_transactions and x$ ktuxe indicate that SMON is back any large transaction.
In addition, SMON seems to run this query always:
SELECT file #, block #, LENGTH
The UET $
WHERE the ts # =: 1 AND segfile # =: 2 AND segblock # =: 3 AND ext # =: 4
Here are the locks held by SMON for what it's worth:
ADDR KADDR SID TY ID1 ID2 LMODE CTIME BLOCK REQUEST
---------------- ---------------- ---------- -- ---------- ---------- ---------- ---------- ---------- ----------
C000000028C43CD8 C000000028C43CF8 74 16 4 0 59610 TT 8 0
C000000028C43C68 C000000028C43C88 TS 74-666633304 8 6 0 0 59650
C000000028C1CB38 C000000028C1CB58 8 ST 0 0 6 0 13 0ST, space management Transaction
TS, temporary Segment (also TableSpace)
TT, temporary TableSame database has a recovery scenario about a month or to go back due to some deleted data files. Also, during the holidays, we had to rebuild a global index huge and increased our tablespace temp to get it, which is why we strive to reduce now create a smaller. In addition, creating index was still holding in the tablespace existing managed dictionary so we ended up move the index to a managed locally. Also, UET$ has about 33,000,000 lines and most of the data is in the dictionary managed tablespaces. Dba_free_space queries typically take 30 minutes to return - that is, we know it is messed up and has been so for a long time.
Pleasure for us. If anyone has an idea that would be great.
-Bobby
Tablespace name I really used corresponded to ts #= 74 in v$ tablespace.
We plan to rebuild the other indexes in this space in a new locally managed tablespace and then drop the tablespace existing managed dictionary. My only question is whether corruption will drop the tablespace to fail.
Hi Bobby,.
I'm not sure of your current situation hope now, that's better.
I couldn't find the time to reply back yesterday. Looking at the huge amounts of temporary segments in your tablespace (74), just made me think if you or Support of Oracle were you made aware of an event DROP_SEGMENTS which is an event of users can invoke to clear temporary segments. It deletes the temporary segments such as the SMON in the background. This event has the advantage of not having the CPU consumed by SMON.
47400.1 Note : EVENT: DROP_SEGMENTS - forcing cleanup of TEMPORARY segments
There is also a method to the dictionary (changes) patch (not recommended if not). You can enlist the help of Oracle Support
The method is to identify the segment (which you already have) and update the segment_type from temporary to 999.
388619.1 Note: last resort when SMON takes 100% of CPU
Kind regards
Suntrupth
-
is it OK to alter tablespace temp SYS of the running production database
Dear,
is it OK to alter tablespace temp of the user SYS of the running production database
Business database version 10.2.0.5
single instance on AIX
We have two temp tablespace temp and temp2
I'm trying to rebuild the index by using sys connection but its not working, cannot extend the temp tablepspace
then I checked this system a default temp tablespace is of a size of 2 GB
on the other hand, all other schemas has (including the owner of the index) have the temp of larger size.
He suggests to change the tablespace temp of SYS.Ok. Then the answer is Yes, change the SYS temp tablespace should not be a problem. If you use SYS to reconstructions of index maintenance is another story. In any case, Yes, change the tablespace temp should not be a problem. Other sessions of this user would continue using the old tablespace until their completed transaction. New transactions will begin using the newly designated temp tablespace.
Hope that helps,
-Mark
-
Precisely how to find freespace in tablespace Temp
DB version: 11.2.0.4
Platform: Oracle Linux 6.4
It seems that finding the space left in the temporary tablespace is not simple.
Question1.
These are the descriptions of column to see DBA_TEMP_FREE_SPACE
ALLOCATED_SPACE: Total allocated space, in bytes, including the currently allocated space
and used and the space that is currently allocated and available for reuse
Free_space: Total free space available in bytes, including the space which is currently assigned and available for
reuse and the space that is currently not allocated
http://docs.Oracle.com/CD/E11882_01/server.112/e40402/statviews_5062.htm#REFRN23627
I'm not native English, but aren't the words in red above for the column ALLOCATED_SPACE a wrong repetition?
Question2. In 10g, when you see zero space left in the Temp tablespace, allows us to add more space to the tablespace TEMP immediately to prevent ORA-1652: unable to extend temp segment . 11 g, is there an architectural change by what TEMP segments are recycled internally (like UNDO segments) so that we don't have to worry much when we see the 0 space in tablespace temp?
Question3. For the same database, the results of two queries are listed below. The news of freespace vary between QueryA and QueryB.
Which is the correct output; QueryA or QueryB?
-QueryA using dba_temp_free_space
Select nom_tablespace,
totalGB tablespace_size/1024/1024/1024,
AllocSpaceGB ALLOCATED_SPACE/1024/1024/1024,
free_space/1024/1024/1024 FreeSpaceGB
of dba_temp_free_space;
NOM_TABLESPACE TOTALGB ALLOCSPACEGB FREESPACEGB
------------------------------ ---------- ------------ -----------
TEMP 125.99707 125.748047 69.9150391
-QueryB using v$ sort_segment
SELECT A.tablespace_name, D.gb_total, tablespace
SUM (A.used_blocks * D.block_size)/1024/1024/1024 gb_used,)
D.gb_total - SUM (A.used_blocks * D.block_size)/1024/1024/1024 gb_free)
V $ sort_segment A.
(
SELECT B.name, C.block_size, SUM (C.bytes)/1024/1024/1024 gb_total
V $ tablespace B, v$ tempfile C
WHERE B.ts # = C.ts #.
B.name GROUP, C.block_size
) D
WHERE
D.name = A.tablespace_name
GROUP A.tablespace_name, D.gb_total;
TABLESPACE GB_TOTAL GB_USED GB_FREE
------------------------------- ---------- ---------- ----------
TEMP 125.99707 22.6992188 103.297852
So, this could mean that oracle will be reuse TEMP segments internally and Temp space needs to be increased if
you see errors ORA-1652 in the alerts log. Right?
I rarely answer even in this case. It is usually a transient problem with enriched work. Only when it becomes quite persistent to impact business operations should I address it. When I receive an event, the first thing we do is to go to the guy in charge of the related enterprise application and ask if his phone rings. If this isn't the case, I don't worry about this. And even if it causes a business problem, the solution may be to increase the size of the TS but to identify a particularly evil-wise query. The last time that I had to deal with this error was due to a broad and complex query generating a large intermediate result set. The solution should not continue to increase the TEMP TS (which turned out be "whack-a-mole") but to create a materialized view to reduce the amount of data that had to be picked up and joined running.
-
Is it possible to drop the trigger? instead of making people with disabilities
Drop trigger nom_declencheur.
http://docs.Oracle.com/CD/B19306_01/server.102/b14200/statements_9005.htm
-
How to resize tablespace Temp in rac asm configuration
Hi all
Please help me,
How to resize the tablespace temp in asm in a rac configuration.
OS: IBM AIX.
Kind regards
VAMSi.Try this:
ALTER DATABASE TEMPFILE '+ ASMDB/gcprod/tempfile/temp.263.661355157' RESIZE 1000M;
-
Unlimited on USERS quota of USERS of the tablespace default ALTER USER <; schema >;
Hi all
I got a schema called dmuser1 which I had assigned to tablespace "odmperm."
now, I was running short on space in the drive on which oracle is installed and
There was a 'odmperm' tablespace data file,
so I thought to drop the tablespace "odmperm" and the corresponding data file,
so I modified the schema dmuser1 to point to the USERS tablespace in the race code below
ALTER USER dmuser1 quota default tablespace USERS unlimited USERS.
so I ran
Select * from dba_users;
Here user dmuser1 had changed users tablespace, so I used the command to remove the file from the data below
DROP TABLESPACE INCLUDING CONTENTS ODMPERM;
now, when I log in the dmuser1 schema, none of my paintings are present and I don't have the backup too, so please help me solve this.
Please, I beg you.
Thanks in advance.You are out of luck - the paintings disappeared and without backup or export, you will get their return. If you still have the data file on the file system, contact the Oracle Support and ask DUL - that is if you have a support contract. No other chance, I'm afraid. Your command alter user only had an effect for future tables :-(
Maybe you are looking for
-
Can I install Vista on the new hard disk drive recovery?
Hello I'll have to replace the hard drive of my laptop Satellite A 200 and have only a drive with her recovery. I'll be able to install Vista on a new hard drive for him? Thank you Post edited by: xaver
-
Blue first assistance it filtered, then I tried to put in safe mode wouldn't work now his turning point but does not not towards the top of the screen remains empty even through the power light is on.
-
How to get floating apps in addition to homescreen of10.1 tablet?
How to remove floating apps from home screen of Tablet 10.1 AND how do you remove to destinations of cards when you won't need them once again? This tablet is cruelly a manual and instructions for those of us who aren't tech geeks!
-
Problem connecting to user profile.
We have two users on your laptop. Recently an of can not connect. Message indicates "service user profile Service does not log. User profile cannot be loaded. » Help!
-
Anyone know where I can get a new spring which runs the button Delete. Blue is exposed and works, but the key Suppr black will not remain!