Cleaning up temp tablespace with out restarting Oracle instance.
Hi,
I've a scenario where my temp tablespace gets filled up and i rarely restart my Oracle instance.
My temp tablespace is not auto-incremental and the Oracle version i have is 9.2.4
Appreciate if any one can provide the answers/suggestions?
Thanks.
Thanks for the reply...
I gone through the thread on Jeff Hunter where he is altering by making the temp table space to auto increment.
But my tablespace an i can't change my tablespace to autoincrement since it is in continous use 24x7 and 365 days.
Any ideas please?
Thanks
Similar Messages
-
I have done changes in com.apple.launchservices.secure.plist and issued the command /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchSe rvices.framework/Versions/A/Support/lsregister -kill -domain local -domain system -domain user. But still those changes are not reflecting. But I can see changes after restart. Is there a way to reflect changes secure.plist with out restart?
I have done changes in com.apple.launchservices.secure.plist and issued the command /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchSe rvices.framework/Versions/A/Support/lsregister -kill -domain local -domain system -domain user. But still those changes are not reflecting. But I can see changes after restart. Is there a way to reflect changes secure.plist with out restart?
-
to clean i drop a temp tablespace and create another with same name..
Have an another way to clean an temporary tablespace?Hi,
when show full the tablespace i can't resizeDon't worry, see this other thread : Re: can not create table...!
It's better do not to use an autoextend file for temp tbs.
Nicolas. -
Hi All,
I would like to ask how can imports my dump oracle database file data and struct into sql server 2005
with out make connection oracle.
best regards.
Hakim.Hi Hakim.
Based on your title, what I understood there is a issue regarding transfer oracle db dump to sql database using C# code. Am I right? If so, I am afraid there is no build-in method which meet your requrements in .NET framework. You must provides
OraDump Export API to allow developers integrate corresponding capabilities into their applications. These capabilities are about export data from Oracle dump files into popular databases like Microsoft SQL server. Every developer
having OraDump Export API can write just few lines of code on C# or Visual Basic to implement the appropriate export process.
I am search a third-party link, but it's a paid service.
http://www.convert-in.com/data-migration-service.htm
If you don't have to with code, Please refer to: Migrating Oracle Databases to SQL Server 2000
http://technet.microsoft.com/en-us/library/cc966513.aspx
Best regards,
Kristin
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
How to restart Oracle instance from oracle client
I have an Oracle server 10g with DEVEL instance on AIX machine. I have an Oracle Client on Windows machine as well. I want to stop and start the instance DEV from my client using bat file. Is it possible ? Is anybody knows how to do it ?
KP>well, right now the correct question should be : how to start database.
I am able to login as sysdba to DEVEL on AIX ( from Windows client) and shutdown it but when I try to startup it returns such a message:
ORA-12505: TNS:listener does not currently know of SID given in connect descriptor
but I am still able to tnsping my DEVEL from client ...Post listener status, its contents and entry tnsnames.ora file. Here is how I got connected shutdown and started. The process I followed:
1)Made entry in listener.ora file as I said earlier, restarted the listener
2)Made change in tnsnames.ora file
3)Connect from client shutdown and started.
SQL*Plus: Release 9.0.1.0.1 - Production on Fri Sep 18 16:30:58 2009
(c) Copyright 2001 Oracle Corporation. All rights reserved.
SQL> conn sys/hawaii@ia1dev as sysdba
Connected.
SQL> shutdown immediate
Database closed.
Database dismounted.
ORACLE instance shut down.
SQL> startup
ORACLE instance started.
Total System Global Area 364904448 bytes
Fixed Size 1287356 bytes
Variable Size 226495300 bytes
Database Buffers 130023424 bytes
Redo Buffers 7098368 bytes
Database mounted.
Database opened.
SQL> select * from v$version;
BANNER
Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - Prod
PL/SQL Release 10.2.0.4.0 - Production
CORE 10.2.0.4.0 Production
TNS for Solaris: Version 10.2.0.4.0 - Production
NLSRTL Version 10.2.0.4.0 - Production
SQL>
Regards.
Edited by: virendra.k on Sep 18, 2009 4:36 PM -
HT204053 2nd SD Card does not show up on desktop with out Restarting computer.
I have iMac. I use 2 sets (A1-A2 and B1-B2) of dual SD cards for 2 videography cameras. A1 and A2 are identical. B1 and B2 are identical. Initally all SD cards showed up on desktop. They erased in Disk Utility when I'd downloaded the data. Then suddenly w/ no changes to computer or software, only 1 card would show up when I inserted it into the SD slot. If I insert 2nd card, nothing showed up on desktop, in finder or in disk utility. BUT, if I did a Restart, with the 2nd card in the slot, when the computer came back on, behold, there it was. I downloaded the contents, erased it in disk utility. I need to erase 4 32 Gb SD cards and erase them. I'm currently rebooting 3 times to accomplish this. It's a HUGE HUGE time sink to do this every time I want to download from cards. What's going on with the rebook solution? and how can I get back to better functioning? Solutions please. Thank you.
Are you using the USB cable that came with the shuffle? The 2nd gen shuffle uses the USB cable with a mini-dock at the shuffle end. The USB cable for the 3rd and 4th (current) gen shuffle does not work, because the connector is different.
If you are using the correct USB cable... The shuffle will not continously appear on the Mac's desktop unless it is set to Enable disk use. So "does not appear on desktop" may be OK.
It should appear in iTunes. The latest version of iTunes may hide the sidebar. To show the sidebar, from the iTunes menu bar, under View, select Show Sidebar. With the sidebar visible, the shuffle does not appear under DEVICES in the sidebar when connected? -
hi friends
i have assigned a new communication role (SAP_BC_JSF_COMMUNICATION) in backend ABAP system to the super admin user , As per my knowledge ,generally if there are any communication role is assigned to the user then the server wants to restart .
is there any other option to set the system ready without restarting the server ?
thanks in advance
suryahi friends
i have assigned a new communication role (SAP_BC_JSF_COMMUNICATION) in backend ABAP system to the super admin user , As per my knowledge ,generally if there are any communication role is assigned to the user then the server wants to restart .
is there any other option to set the system ready without restarting the server ?
thanks in advance
surya -
With out restart, My MacBook MA255 can't working over 48hours.
From 6 months ago, My MacBook MA255 can't work over 48hours.
When it is works over 24hours, Finder will go to no response.
Force Quit can't help me to relunch Finder.
Parallels still working, but no internet connect.
If I click something, the whole computer will go to no response(keyboard and touch pad).
At that time I have to Forced it shutdown.
I also reinstalled OS but the problem is continue.
and I can't find any error from logs.Hey Yu Su & welcome to the forums.
If you've reinstalled the OS and are still having issues, your hard drive could be failing. Bring the computer to an Apple store and ask the folks there to diagnose it for you.
~Lyssa -
Something starge to me- Temp tablespace in Oracle 10g
SQL> select FILE_NAME,AUTOEXTENSIBLE,BYTES/1024/1024/1024,USER_BYTES/1024/1024/1024 from dba_temp_files;
FILE_NAME AUT BYTES/1024/1024/1024 USER_BYTES/1024/1024/1024
/u01/app/oracle/oradata/ABCD/temp_1.dbf
Why all these values are coming as NULL??
Any idea?I have added one more Temp file in TEMP tablespace.
/u01/app/oracle/oradata/ABCD/temp_2.dbf 500M
SQL> !ls -ltr /u01/app/oracle/oradata/ABCD/temp_1.dbf
-rw-r----- 1 oracle dba 1048584192 Mar 08 10:30
/u01/app/oracle/oradata/ABCD/temp_1.dbf
Disk space utilization by first Temp file is as above.
But again the strange part is:-
SQL> select FILE_NAME,BYTES/1024/1024/1024,USER_BYTES/1024/1024/1024 from dba_temp_files;
SQL> select FILE_NAME,BYTES/1024/1024,USER_BYTES/1024/1024 from dba_temp_files;
FILE_NAME BYTES/1024/1024 USER_BYTES/1024/1024
/u01/app/oracle/oradata/ABCD/temp_1.dbf
/u01/app/oracle/oradata/ABCD/temp_2.dbf 500 499
It is still not showing space for First temp file. :(
Anyone has any idea? -
Unusual Temp Tablespace Growth
Hi ,
We have noticed unsual temp tablespace growth when concurrent users are accessing OLAP cube through BI Bean crosstabs.
On an average 3 to 4 GB temp tablespace is consumed for each new user. OLAP cube has 7 dimensions and 1.2 million records and is fully precalculated.
This causes the system to fail as a result of temp tablespace getting full.
Can somebody please let me know what can be the root causes?.
Thanks in advance.
HarryHi there,
It is not unusual for OLAP queries to make significant use of temp tablespace. 3-4GB doesn't sound unreasonable to me. The actual amount used depends on factors such as the type of activity and the number of users.
There is a brief description of how OLAP uses temp tablespace here :- http://download.oracle.com/docs/cd/B28359_01/olap.111/b28124/admin.htm#sthref442
Note the lower than standard setting 'EXTENT MANAGEMENT LOCAL UNIFORM SIZE 256K' - if you are not already using this setting then you may find that it lowers temp space usage as the default setting is usually 1024K or even 4096K
I hope this helps
Stuart -
Oracle instance running on a system with low open file descriptor
Hello.
We have 10.1.0.4 on SuSE 9 on x86 64bit Sun servers.
We have databases that if started manually come up without the warning, but if started via a shell script scheduled through a crontab start up with this warning: "Oracle instance running on a system with low open file descriptor".
My understanding is that it has to do with OS ulimit. it appears that non-interactive shell (crontab) does not set the nofiles at 65536.
All our system are set up exactly the same way. The problem is, though, that some systems do not report the warning even when started non-interactively.
My question is this: assuming my nofiles ulimit is in fact too low on all systems, why would some systems report the warning and others would not? Is there anything database specific the instance looks for when it starts, such as the number of datafiles in the database, instance memory size, etc..., which would make the instance warn in some cases but not the others?
Thank You
BorisThank You Satish.
This is a good reference and we may end up looking into the patch bundle associated with the bug.
But does anyone have any idea why the systems that are set up the same exact way would warn on systems and not on others?
Also, the Metalink note talks about init.crsd. I have not build an association between this inconsistency and RAC.
What I do see is that if we start up our database non-interactively (where ulimit -n resolves to 1024, instead of 65536) the warning is generated, in some cases.
Perhaps, the 1024 is too low. But then my question is why would Oracle think it is too low only on some servers and not all?
Boris -
Entrps Manger confg with new Oracle Instanc
hi,
how to configure Oracle EM with newly created Oracle Instance on Oracle 10g DB,which is Single Instance DB but not RAC ,when I start the Oracle EM it is starting the default DB which created during Oracle Server Installation
thanksgenerally im specfiying it in c:\documents and settings\Program, but im installing it from c:\documents and settings\my documents\software.
I got another verson of Orcle, ive downladed the developer sute 10g, in this case the college where i go to use, it to connect. so i expect i will have to really uninstll that and the instll in Oracle Enterprise 10g.
ive got screen shots of the process i am going through, in order to get a sucessfull installation.
If anyone has msn please come online so i can send you the screen shots of what is happening when i try and install in Orcale enterprise 10g on my pc
my email address is
[email protected]
or send me an email wid the subject: Help with installing Oracle enterprise manager 10g or a hello so i know its from a forum reply -
9i on Linux. Problems with Temp tablespace cleanup
I am currently running Oracle 9i Enterprise on SUSE Linux 7.2.
I am executing queries against the new XMLType datatype and every query adds to the Temp tablespace, which doesn't get cleaned up. Eventually, the tablespace will run out of space and Oracle will issue and error:
ORA-01652: unable to extend temp segment by 128 in tablespace <name>
The only way to clean up the Temp tablespace seems to be by restarting the server.
Is that happening on other platforms as well? I would appreciate any help.Hi
You can connect to the database as DBA (Sys or System) and make a bigger temporal tablespace. Or create a new bigger temporary tablespace and assign it to the user.
A10!
PS: Temporary tablespace is used when no memory available for the session, for example when a big ORDER BY is done. Try to increase the memory assigned, just look at initXXX.ora (sort_size) -
ORA-30928: "Connect by filtering phase runs out of temp tablespace"
i have created a query that is sued to display a data in a label. This particular query will then be stored into a program that we use. The query runs just fine until this morning when it returns the error ORA-30928: "Connect by filtering phase runs out of temp tablespace". I have Googled and found out that I can do any of the following:
Include a NO FILTERING hint - but did not work properly
Increase the temp tablespace - not applicable to me since this runs in a production server that I don't have any access to.
Are there other ways to fix this? By the way, below is the query that I use.
SELECT * FROM(
SELECT
gn.wipdatavalue
, gn.containername
, gn.l
, gn.q
, gn.d
, gn.l2
, gn.q2
, gn.d2
, gn.l3
, gn.q3
, gn.d3
, gn.old
, gn.qtyperbox
, gn.productname
, gn.slot
, gn.dt
, gn.ws_green
, gn.ws_pnr
, gn.ws_pcn
, intn.mkt_number dsn
, gn.low_number
, gn.high_number
, gn.msl
, gn.baketime
, gn.exptime
, NVL(gn.q, 0) + NVL(gn.q2, 0) + NVL(gn.q3, 0) AS qtybox
, row_number () over (partition by slot order by low_number) as n
FROM
SELECT
tr.*
, TO_NUMBER(SUBSTR(wipdatavalue, 1, INSTR (wipdatavalue || '-', '-') - 1)) AS low_number
, TO_NUMBER(SUBSTR(wipdatavalue, 1 + INSTR ( wipdatavalue, '-'))) AS high_number
, pm.msllevel MSL
, pm.baketime BAKETIME
, pm.expstime EXPTIME
FROM trprinting tr
JOIN CONTAINER c ON tr.containername = c.containername
JOIN a_lotattributes ala ON c.containerid = ala.containerid
JOIN product p ON c.productid = p.productid
LEFT JOIN otherdb.pkg_main pm ON trim(p.brandname) = trim(pm.pcode)
WHERE (c.containername = :lot OR tr.SLOT= :lot)
)gn
LEFT JOIN otherdb.intnr intn ON TRIM(gn.productname) = TRIM(intn.part_number)
connect by level <= HIGH_NUMBER + 1 - LOW_NUMBER and LOW_NUMBER = prior LOW_NUMBER and prior SYS_GUID() is not null
ORDER BY low_number,n
WHERE n LIKE :n AND wipdatavalue LIKE :wip AND ROWNUM <= 300 AND wipdatavalue NOT LIKE 0
I am using Oracle 11g too.
Thanks for the help everyone.Hi,
The documentation implies that the START WITH and CONNECT BY clauses should come before the GROUP BY clause. I've never known it to make a difference before, but you might try putting the GROUP BY clause last.
If you're GROUPing by LEVEL, what's the point of SELECTing MAX (LEVEL)? MAX (LEVEL) will always be the same as LEVEL.
What are you trying to do?
Post some sample data (CREATE TABLE and INSERT statements) and the results you want from that data, and somebody will help you get them. -
Restored coldbackup and having trouble with TEMP tablespace
Hi, i succesfully restored from a coldbackup on solaris.(oracle 9.2)
i can log on to database using toad, query the database, but when i try to take an export or something i got the error
EXP-00056: ORACLE error 1157 encountered
ORA-01157: cannot identify/lock data file 203 - see DBWR trace file
ORA-01110: data file 203: '/sun2int1/oracle92/app/oracle/product/9.2.1/oradata/TPRS/temp03.dbf'
ORA-06512: at "SYS.DBMS_LOB", line 424
ORA-06512: at "SYS.DBMS_METADATA", line 1140
ORA-06512: at line 1
EXP-00000: Export terminated unsuccessfully
when i did the restore, i simply renamed the datafiles and redo logs.
But i didnt rename the TEMP datafile, as you can not rename it with a "alter database rename file ..." command
so thats the problem!
i planned to create a new default temp. tablespace, and simply make it default and drop the other one. but it does not work!
i tried to execute:
CREATE TEMPORARY TABLESPACE temp4 TEMPFILE '/oracleAS/TPRS/oradata/TPRS/temp4.dbf' SIZE 5M REUSE AUTOEXTEND ON NEXT 1M MAXSIZE unlimited
EXTENT MANAGEMENT LOCAL UNIFORM SIZE 1M;
create temporary tablespace temp01 tempfile '/oracleAS/TPRS/oradata/TPRS/temp01.dbf' size 100M;
but they all hang! i wait, but nothing happens! (and alert log does not log anything too)
and finally i tried to drop the default tablespace, and i couldnt drop it as i thought. (ORA-12906: cannot drop default temporary tablespace
So, im stuck and i beleive i have to RENAME the datafile for temporary tablespace. how can i do this?
Edited by: merope on Jun 9, 2009 11:32 AMSQL> col file_name for a50
col status for a15
col tablespace_name for a15
col PROPERTY_VALUE for a20
select file_name,tablespace_name,bytes/1024/1024 as "SIZE_IN_MB",status,autoextensible from dba_temp_files;
SELECT PROPERTY_NAME,PROPERTY_VALUE FROM DATABASE_PROPERTIES where PROPERTY_NAME='DEFAULT_TEMP_TABLESPACE';
SQL> SQL> SQL> SQL> SQL> SQL> ERROR:
ORA-01157: cannot identify/lock data file 202 - see DBWR trace file
ORA-01110: data file 202: '/izmir1/oradbTPRS/temp1.db'
no rows selected
SQL>
PROPERTY_NAME PROPERTY_VALUE
DEFAULT_TEMP_TABLESPACE TEMP3
This is not the actual directory: /izmir1/oradbTPRS/temp1.db
it is the old location, but in the restored db, the temp1.db file is in some other directory
how can i rename this?
Edited by: merope on Jun 9, 2009 11:50 AM
Maybe you are looking for
-
I can't exit Home Sharing on start up. My only selection choice is Computer or Settings.
-
[SOLVED] mount.nfs4: access denied by server
Hi folks. I seem to be having a bit of a problem getting nfs4 to work. I am trying to mount a share from alpha (my fileserver) onto charlie (my workstation). Both of these are new Arch systems and I haven't had any nfs working yet, although I have wi
-
Need Graph Statistics in SAP Agentry Syclo Platform
Hello All, I am looking for utilization reports like how many users logged in between a given duration., what are the applications or modules they used, what are the actions they did, like refresh, forward, attachment fetch, approve -.etc. is it pos
-
Where is the tutorial on the Imac
I have been a PC user for several year and am working through the Imac which was just purchased. Where can I go on the system to learn how to run it. Is there some video tutorial? Thanks, I-Mac 17" Mac OS X (10.4.8)
-
Problem in accessing the url on client with win7 64 bit
Hello experts, we recently install fusion 11.1.2.1.0 and database 11g. scenario: database server:(192.168.1.100) plateform: window server 2008, 64 bit product: oracle database 11g. application server:(192.168.1.101) plateform: window server 2008 64 b