<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: oracle tempspace full in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/oracle-tempspace-full/m-p/3543010#M839409</link>
    <description>Hi ignacio,&lt;BR /&gt;&lt;BR /&gt;For a workaround:&lt;BR /&gt;Create a second temporary tablespace (i.e. temp2), write a little script to alter all users temporary tablespace is temp2. &lt;BR /&gt;If the users reconnect, their new tablespace will be temp2.&lt;BR /&gt;Drop temporary tablespace temp, create it again, alter all users back to temporary tablespace is temp.&lt;BR /&gt;Now drop tempspace temp2.&lt;BR /&gt;Don't forget removing the O.S. files manualy for db versions &amp;lt;10g.&lt;BR /&gt;&lt;BR /&gt;Cheerio,&lt;BR /&gt;&lt;BR /&gt;Renarios</description>
    <pubDate>Thu, 12 May 2005 02:27:39 GMT</pubDate>
    <dc:creator>renarios</dc:creator>
    <dc:date>2005-05-12T02:27:39Z</dc:date>
    <item>
      <title>oracle tempspace full</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/oracle-tempspace-full/m-p/3543009#M839408</link>
      <description>I had a tempspace with a 2 Gb file autoextend, someone made a process that made this file grow till 5 Gb and made the disk full (lvol at 100%). I added another 2 Gb file to the tempspace, but now i want to reduce the original file to 2 Gb again, so the lvol return to have free space. I use the enterprise manager console, but i don´t know if i can do it with people working.&lt;BR /&gt;My idea is to put the 5Gb file offline, reduce it and then put it online again, but i am not sure if this could made the BD fail or be damaged</description>
      <pubDate>Thu, 12 May 2005 02:15:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/oracle-tempspace-full/m-p/3543009#M839408</guid>
      <dc:creator>Ignacio Rodríguez Arrós</dc:creator>
      <dc:date>2005-05-12T02:15:27Z</dc:date>
    </item>
    <item>
      <title>Re: oracle tempspace full</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/oracle-tempspace-full/m-p/3543010#M839409</link>
      <description>Hi ignacio,&lt;BR /&gt;&lt;BR /&gt;For a workaround:&lt;BR /&gt;Create a second temporary tablespace (i.e. temp2), write a little script to alter all users temporary tablespace is temp2. &lt;BR /&gt;If the users reconnect, their new tablespace will be temp2.&lt;BR /&gt;Drop temporary tablespace temp, create it again, alter all users back to temporary tablespace is temp.&lt;BR /&gt;Now drop tempspace temp2.&lt;BR /&gt;Don't forget removing the O.S. files manualy for db versions &amp;lt;10g.&lt;BR /&gt;&lt;BR /&gt;Cheerio,&lt;BR /&gt;&lt;BR /&gt;Renarios</description>
      <pubDate>Thu, 12 May 2005 02:27:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/oracle-tempspace-full/m-p/3543010#M839409</guid>
      <dc:creator>renarios</dc:creator>
      <dc:date>2005-05-12T02:27:39Z</dc:date>
    </item>
    <item>
      <title>Re: oracle tempspace full</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/oracle-tempspace-full/m-p/3543011#M839410</link>
      <description>In the enterpries manager there is a tick that say Define as default tempspace, if i create anothe tempspace and mark this tick would it be enaugh.&lt;BR /&gt;Instead of that, canÂ´t i put offline the file of 5 Gb and resize it meanwhile, the new 2 Gb file i had created in the same tempspace is online ??</description>
      <pubDate>Thu, 12 May 2005 03:01:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/oracle-tempspace-full/m-p/3543011#M839410</guid>
      <dc:creator>Ignacio Rodríguez Arrós</dc:creator>
      <dc:date>2005-05-12T03:01:20Z</dc:date>
    </item>
    <item>
      <title>Re: oracle tempspace full</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/oracle-tempspace-full/m-p/3543012#M839411</link>
      <description>Hi Iqnacio,&lt;BR /&gt;&lt;BR /&gt;Temporary tablespace is used by a sort process. As your temporary tablespace is setup as autoextend, and a huge sort process mush had increased the temporary tablespace to grow.  Normally when the process is completed the space should be released.  But the file size will still remain in the extended size.&lt;BR /&gt;&lt;BR /&gt; When you login to enterprise manager console and look at the storage----tablespaces--- and on the right-hand pane you will see the tablespaces listsing with sizes (used and used percentage). If the  used percentage is 0.008 then you can reduce the file size of the temporary tablespace.&lt;BR /&gt;&lt;BR /&gt;This is how you do. Right-click on the tablespace name and ------View/Edit Details----- and this will open the Edit tablespace window and you can see the tablespace size. All you need to do is to reduce to the size you want and specify in KB or MB. Then apply the chnages and Ok.&lt;BR /&gt;&lt;BR /&gt;You can reduce the temporary tablespace size using the commnad as well.&lt;BR /&gt;   &lt;BR /&gt;SQL&amp;gt; ALTER DATABASE DATAFILE '/path/name of temporary tablespace.dbf'  RESIZE  99 MB; &lt;BR /&gt;&lt;BR /&gt;Note: You can do this if the temporary tablespace used space has been released.&lt;BR /&gt;&lt;BR /&gt;If your database is not 24x 7 and you can shutdown in the evening or at any time for few minutes maintenance, then then best thing will be to shutdown the database. And if the temporary tablespace is not yet released, then SMON will take some time to clean up this space. Once the database is brought back up, then the temporary space is relased, and you can reduce the size either by Enterprice GUI or command line.&lt;BR /&gt;&lt;BR /&gt;Or you can follow Renariosâ  s suggestion  as well.&lt;BR /&gt;&lt;BR /&gt;Indir</description>
      <pubDate>Thu, 12 May 2005 03:25:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/oracle-tempspace-full/m-p/3543012#M839411</guid>
      <dc:creator>Indira Aramandla</dc:creator>
      <dc:date>2005-05-12T03:25:03Z</dc:date>
    </item>
    <item>
      <title>Re: oracle tempspace full</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/oracle-tempspace-full/m-p/3543013#M839412</link>
      <description>Hi Ignacio,&lt;BR /&gt;&lt;BR /&gt;Do it with a cron job!&lt;BR /&gt;&lt;BR /&gt;Create a job.sh file (executable for the bd user at least) with:&lt;BR /&gt;&lt;BR /&gt;ORA_ENVFILE="/&lt;ORACLE_HOME&gt;/[/.../]&lt;SID&gt;.env"&lt;BR /&gt;&lt;BR /&gt;DB_NAME="&lt;SID&gt;"&lt;BR /&gt;&lt;BR /&gt;svrmgrl &amp;lt;&amp;lt; EOT&lt;BR /&gt;&lt;BR /&gt;connect / as sysdba;&lt;BR /&gt;&lt;BR /&gt;alter database datafile '/.../temp&lt;N&gt;.dbf' resize 2048000K;&lt;BR /&gt;&lt;BR /&gt;quit&lt;BR /&gt;EOT&lt;BR /&gt;&lt;BR /&gt;   exit_code=$?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;Eric Antunes&lt;/N&gt;&lt;/SID&gt;&lt;/SID&gt;&lt;/ORACLE_HOME&gt;</description>
      <pubDate>Thu, 12 May 2005 03:27:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/oracle-tempspace-full/m-p/3543013#M839412</guid>
      <dc:creator>Eric Antunes</dc:creator>
      <dc:date>2005-05-12T03:27:11Z</dc:date>
    </item>
    <item>
      <title>Re: oracle tempspace full</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/oracle-tempspace-full/m-p/3543014#M839413</link>
      <description>Hi Ignacio,&lt;BR /&gt;&lt;BR /&gt;It is not possible to  resize a datafile offline. &lt;BR /&gt;You can resize the dafiles of a tablespace, but you can't drop a file of a tablespace.&lt;BR /&gt;So, if you resize the datafile (in OEM or sqlplus), there will remain two datafiles. Of you like to keep 2 GB of tempspace, resize both datafiles (tempfiles) to 1 GB each (1+1=2). The other way, if you want to keep just one data(temp)file of 2GB, do it the way I explained above.&lt;BR /&gt;Maybe Oracle Metalink is a good place to find more resources. A link for this issue is explaind at this URL:&lt;A href="http://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&amp;amp;p_id=111316.1" target="_blank"&gt;http://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&amp;amp;p_id=111316.1&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Cheerio,&lt;BR /&gt;&lt;BR /&gt;Renarios</description>
      <pubDate>Thu, 12 May 2005 03:34:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/oracle-tempspace-full/m-p/3543014#M839413</guid>
      <dc:creator>renarios</dc:creator>
      <dc:date>2005-05-12T03:34:29Z</dc:date>
    </item>
    <item>
      <title>Re: oracle tempspace full</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/oracle-tempspace-full/m-p/3543015#M839414</link>
      <description>Hi Indira, all nigths i shutdown the database, so yesterday nigth i did it, but when i start up the BD again, the file in the tempspace itÂ´s still full, in the enterprise manager i see %used 99,98, althougth i know that it is not true. How can i do to change this (empty the file) and resize to 2</description>
      <pubDate>Thu, 12 May 2005 03:39:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/oracle-tempspace-full/m-p/3543015#M839414</guid>
      <dc:creator>Ignacio Rodríguez Arrós</dc:creator>
      <dc:date>2005-05-12T03:39:10Z</dc:date>
    </item>
    <item>
      <title>Re: oracle tempspace full</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/oracle-tempspace-full/m-p/3543016#M839415</link>
      <description>Hi Ignacio,&lt;BR /&gt;&lt;BR /&gt;In the OEM (Oracle Enterprise Manager) you click to &lt;DATABASES&gt;, &lt;INSTANCE&gt;, storage, Tablespaces, Temp.&lt;BR /&gt;Now you see size: 5000 MB. If you change that to 2000 MB (or 2048 MB), the datafile will be altered to 2GB.&lt;BR /&gt;Please do it on a quit moment (performance issues)&lt;BR /&gt;&lt;BR /&gt;Cheerio,&lt;BR /&gt;&lt;BR /&gt;Renarios&lt;/INSTANCE&gt;&lt;/DATABASES&gt;</description>
      <pubDate>Thu, 12 May 2005 04:19:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/oracle-tempspace-full/m-p/3543016#M839415</guid>
      <dc:creator>renarios</dc:creator>
      <dc:date>2005-05-12T04:19:37Z</dc:date>
    </item>
    <item>
      <title>Re: oracle tempspace full</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/oracle-tempspace-full/m-p/3543017#M839416</link>
      <description>Ignacio,&lt;BR /&gt;&lt;BR /&gt;This is normaly caused by a "bad SQL" Oracle process, you must identify it! OEM helps you to do that: enter in the Oracle TopSessions and the first session should be the one causing this!!&lt;BR /&gt;&lt;BR /&gt;Best Regards,&lt;BR /&gt;&lt;BR /&gt;Eric Antunes</description>
      <pubDate>Thu, 12 May 2005 04:29:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/oracle-tempspace-full/m-p/3543017#M839416</guid>
      <dc:creator>Eric Antunes</dc:creator>
      <dc:date>2005-05-12T04:29:51Z</dc:date>
    </item>
    <item>
      <title>Re: oracle tempspace full</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/oracle-tempspace-full/m-p/3543018#M839417</link>
      <description>Where is oracle topsessions in oem, mine is in spanish</description>
      <pubDate>Thu, 12 May 2005 04:41:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/oracle-tempspace-full/m-p/3543018#M839417</guid>
      <dc:creator>Ignacio Rodríguez Arrós</dc:creator>
      <dc:date>2005-05-12T04:41:02Z</dc:date>
    </item>
    <item>
      <title>Re: oracle tempspace full</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/oracle-tempspace-full/m-p/3543019#M839418</link>
      <description>Yes (see picture)!</description>
      <pubDate>Thu, 12 May 2005 04:51:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/oracle-tempspace-full/m-p/3543019#M839418</guid>
      <dc:creator>Eric Antunes</dc:creator>
      <dc:date>2005-05-12T04:51:16Z</dc:date>
    </item>
    <item>
      <title>Re: oracle tempspace full</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/oracle-tempspace-full/m-p/3543020#M839419</link>
      <description>I canÂ´t resize the file because it is full, at 99,98% but it canÂ´t be true because at night i shutdown the bd to do the backup, and after that i startup it, but the file in the tempspace didn,t empty... Haw can i force to empty the file to resize</description>
      <pubDate>Thu, 12 May 2005 06:12:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/oracle-tempspace-full/m-p/3543020#M839419</guid>
      <dc:creator>Ignacio Rodríguez Arrós</dc:creator>
      <dc:date>2005-05-12T06:12:43Z</dc:date>
    </item>
    <item>
      <title>Re: oracle tempspace full</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/oracle-tempspace-full/m-p/3543021#M839420</link>
      <description>hi,&lt;BR /&gt;&lt;BR /&gt;i would suggest that you create a "new" temporary tablespace,&lt;BR /&gt;&lt;BR /&gt;create TEMPORARY TABLESPACE TEMP2 tempfile .....&lt;BR /&gt;&lt;BR /&gt;than change the temporarry tablespace parameter  for all users to TEMP2,&lt;BR /&gt;&lt;BR /&gt;spool reset_user.sql&lt;BR /&gt;select 'alter user '||username||' temporary tablespace temp2;' from dba_users;&lt;BR /&gt;spool off;&lt;BR /&gt;@reset_user.sql&lt;BR /&gt;&lt;BR /&gt;Tomorrow morning, it should be OK. You can drop the old temp tablespace.&lt;BR /&gt;&lt;BR /&gt;hope this helps!&lt;BR /&gt;&lt;BR /&gt;regards&lt;BR /&gt;yogeeraj</description>
      <pubDate>Thu, 12 May 2005 07:06:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/oracle-tempspace-full/m-p/3543021#M839420</guid>
      <dc:creator>Yogeeraj_1</dc:creator>
      <dc:date>2005-05-12T07:06:30Z</dc:date>
    </item>
    <item>
      <title>Re: oracle tempspace full</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/oracle-tempspace-full/m-p/3543022#M839421</link>
      <description>Inacio,&lt;BR /&gt;&lt;BR /&gt;This must be due to a very heavy session. Execute the following to see witch is the problematic one:&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;select s.username "User Name",&lt;BR /&gt;s.osuser "OS User",&lt;BR /&gt;s.status "Status",&lt;BR /&gt;lockwait "Lock Wait",&lt;BR /&gt;s.program "Program",&lt;BR /&gt;s.machine "Machine",&lt;BR /&gt;s.logon_time "Connect Time",&lt;BR /&gt;p.program "P Program",&lt;BR /&gt;si.physical_reads "Physical Reads",&lt;BR /&gt;si.block_gets "Block Gets",&lt;BR /&gt;si.consistent_gets "Consistent Gets",&lt;BR /&gt;si.block_changes "Block Changes",&lt;BR /&gt;si.consistent_changes "Consistent Changes",&lt;BR /&gt;s.process "Process",&lt;BR /&gt;p.spid, p.pid, s.serial#, si.sid&lt;BR /&gt;from sys.v_$sess_io si, sys.v_$session s, sys.v_$process p&lt;BR /&gt;where s.username is not null and &lt;BR /&gt;si.sid(+)=s.sid&lt;BR /&gt;and p.addr(+)=s.paddr&lt;BR /&gt;order by status,si.consistent_gets+si.block_gets desc&lt;BR /&gt;&lt;BR /&gt;Best Regards,&lt;BR /&gt;&lt;BR /&gt;Eric Antunes</description>
      <pubDate>Thu, 12 May 2005 07:18:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/oracle-tempspace-full/m-p/3543022#M839421</guid>
      <dc:creator>Eric Antunes</dc:creator>
      <dc:date>2005-05-12T07:18:42Z</dc:date>
    </item>
    <item>
      <title>Re: oracle tempspace full</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/oracle-tempspace-full/m-p/3543023#M839422</link>
      <description>I know who was the guilty, and she will be "punished", but now i am going to solve the problem making another temp and deleting the old one.</description>
      <pubDate>Thu, 12 May 2005 07:58:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/oracle-tempspace-full/m-p/3543023#M839422</guid>
      <dc:creator>Ignacio Rodríguez Arrós</dc:creator>
      <dc:date>2005-05-12T07:58:56Z</dc:date>
    </item>
    <item>
      <title>Re: oracle tempspace full</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/oracle-tempspace-full/m-p/3543024#M839423</link>
      <description>Hi Ignacio,&lt;BR /&gt;&lt;BR /&gt;Don't "punish" anybody because of me, ok? :)&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;&lt;BR /&gt;Eric</description>
      <pubDate>Thu, 12 May 2005 08:23:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/oracle-tempspace-full/m-p/3543024#M839423</guid>
      <dc:creator>Eric Antunes</dc:creator>
      <dc:date>2005-05-12T08:23:45Z</dc:date>
    </item>
    <item>
      <title>Re: oracle tempspace full</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/oracle-tempspace-full/m-p/3543025#M839424</link>
      <description>Dont worry Eric, it will be a "symbolic punish" ;-)</description>
      <pubDate>Thu, 12 May 2005 09:36:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/oracle-tempspace-full/m-p/3543025#M839424</guid>
      <dc:creator>Ignacio Rodríguez Arrós</dc:creator>
      <dc:date>2005-05-12T09:36:55Z</dc:date>
    </item>
    <item>
      <title>Re: oracle tempspace full</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/oracle-tempspace-full/m-p/3543026#M839425</link>
      <description>Done, everything is allrigth, thanks to all...and sorry for my english..</description>
      <pubDate>Fri, 13 May 2005 02:04:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/oracle-tempspace-full/m-p/3543026#M839425</guid>
      <dc:creator>Ignacio Rodríguez Arrós</dc:creator>
      <dc:date>2005-05-13T02:04:56Z</dc:date>
    </item>
    <item>
      <title>Re: oracle tempspace full</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/oracle-tempspace-full/m-p/3543027#M839426</link>
      <description>No,&lt;BR /&gt;not all fine, but two things to check !&lt;BR /&gt;&lt;BR /&gt;Looks like your "old" TEMP-TS was in fact a data-tablespace of type "permanent" (concluded from the fact, that a re-cycle of the DB did not reset the allocated space).&lt;BR /&gt;If you followed the procedure described above (which is fine !), you now have changed your "old-style" temp-space to a real temporary tablespace. &lt;BR /&gt;So you need to check:&lt;BR /&gt;&lt;BR /&gt;a) Depending on your backup type, you might need to extend your documentation how to recreate the tempfiles if they are not part of your backup, or change your backup to include the tempfiles.&lt;BR /&gt;I think RMAN takes care of everything, but if you use filesystem/script based backups something has changed now, which "might" lead to additional steps needed in case of recovery.&lt;BR /&gt;&lt;BR /&gt;b) A tempfile is a sparse file by default. So your freespacemonitoring needs adjustment, or you need to convert the files.&lt;BR /&gt;&lt;A href="http://www.unixguide.net/unix/sparse_file.shtml" target="_blank"&gt;http://www.unixguide.net/unix/sparse_file.shtml&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Volker</description>
      <pubDate>Mon, 16 May 2005 15:33:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/oracle-tempspace-full/m-p/3543027#M839426</guid>
      <dc:creator>Volker Borowski</dc:creator>
      <dc:date>2005-05-16T15:33:42Z</dc:date>
    </item>
    <item>
      <title>Re: oracle tempspace full</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/oracle-tempspace-full/m-p/3543028#M839427</link>
      <description>Hi Vloker, i make every nigth a full backup of all the system (/), previous to this backup, i shutdown baan and oracle.&lt;BR /&gt;&lt;BR /&gt;About the type of tempspace, do you mean that if i put it like permanent, if it rise, by example, 1Gb it will never be smaller than that (it will not srink automatic), but if i define it like temporary then it will grow and srink automatic.</description>
      <pubDate>Tue, 17 May 2005 02:01:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/oracle-tempspace-full/m-p/3543028#M839427</guid>
      <dc:creator>Ignacio Rodríguez Arrós</dc:creator>
      <dc:date>2005-05-17T02:01:44Z</dc:date>
    </item>
  </channel>
</rss>

