Temporary Tablespace not shrinking automatically after restarting the DB.

I had a Database with 2GB tempfile. It gave me an error that it's unable to extend the temporary segment. I added a new tempfile of 500MB. Within a few min the new file was filled. In process of shrinking the temporary files, I shutdown the DB, and restarted it. But the Tempfiles were still filled to the max. I still don't understand why? Then I attached a new tempfile of 1GB to the Temp Tablespace, but it didn't use the new tempfile. I repeated the restart process again but still the output was same.
1. Both datafiles were filled to the max
2. It didn't use the new (3rd) attached tempfile.
Finally I've created a new tablespace with new Tempfiles, and it's working now. But I'm still confused. Please suggest me with the possibilities. How can i shrink the Temporary Tablespace/Tempfiles.
Thanks & Regards
Vikas Verma
Manager (IT) / Sr. DBA
Hero Cycle Group,
India

It all depends from what you understand by shrinking:
If you would like to shrink tempfile for tablespace I would suggest using following procedure:
Find out to which size you can shrink tempfile
select extent_size,current_users,total_extents,used_extents,free_extents
from v$sort_segment
where tablespace_name='TEMP';
alter database tempfile 'XXXX' resize YYM;
YY is the size which can be found by above query.
But Ithink you are more interested in following procedure:
create new
make this new one the default temporary tablespace for the database
drop old
ps. Yoogesh ask you about DB version
you can find bd version by:
select *
from v$version
select *
from product_component_version
Best Regards
Krystian Zieja / mob

Similar Messages

  • Oracle Database not open automatically on restarting the server

    Hello,
    I am using Oracle8i Release 8.1.6.0.0 - Production. And OS windows 2000.
    I installed oracle 8i. On restarting the server the database is not up automatically.
    I check the following services. All are in automatice mode.
    ORACLETNSListerner
    ORacleserviceSID
    Oraclewebassistant.
    I tried the following option also.
    ORADIM -edit -sid -startmode auto.
    still not working.
    Anyone please suggest the solution for this.
    Thanks & Regards
    Krishna

    Do you have any Antivirus installed in that server, sometimes antivirus blocks oracle autostart. try with uninstalling antivirus if it is .
    Thanks

  • JMS Queue is not accepting requests after restarting the weblogic server

    Hi,
    JMS queue is able to receive message after redeploying the application or restarting the weblogic server. It is intermittent , not happening every time.
    Please suggest how to resolve this issue. do we missed any configuration settings we are missing at clinet side or server side.
    we are using Weblogic 92 MP2 version.
    thanks.
    [email protected]

    I assume you meant "is unable to receive messages".
    Are you getting any exceptions in the code, or errors in the log, or is nothing happening when you know there's a message on the queue to be read?
    Are you perhaps reading from a distributed destination?

  • Need Database to be started automatically after restarting the system

    I m using oracle 8.1.6 on windows 2000. My company wants me to automate the database i.e whenever the system is restarted then the database should also start automatically.
    Do any one have any solution for this?....

    Action :
    Begin by logging on as Administrator. This will give you access to all the Services available in Windows 2000. To load the Services Utility, click on Start, Settings, Control Panel, Administrative Tools, then Services (You may also be able to access it via Start, Programs, Administrative Tools, Services if you enabled Administrative Tools to be displayed on the Start Menu).
    Then double click on OracleService<sid> and change the startup type to Auto.
    Mudassir

  • After downloading mountain lion the internet does not start automatically after start or restart but if I use diagnostics it starts is there a simpler solution

    After downloading mountain lion the internet does not start automatically after start or restart but if I use diagnostics it starts is there a simpler solution?

    Extensions can sometimes be the cause of problems. If the problem does not occur in Safe Mode, then you can disable your extensions one-by-one until you find out which one is causing the problem. See [[Troubleshooting extensions and themes]]

  • Site does not load after some minutes of creation or after restart the server

    Hello,
    I have been asked to create a test enviroment identical to the production enviroment. So, what I did was:
    Backed up the production web application's content database: Prod_WSS_ContentDB
    Created new test servers (domain controller, sql server and sharepoint 2013 server) in a new, completely isolated, network environment, without any connection with the production environment (specifically Azure)
    Created a new web application in test environment with a new content database.
    Dismounted the new content database with powershell: Dismount-spcontentdatabase Test_WSS_Content
    Copy the Prod_WSS_ContentDB database to the test sql server and restored it with Management Studio.
    Mount the Prod_WSS_ContentDB databe to the web application with powershell:
    Mount-spcontentdatabse Prod_WSS_ContentDB -WebApplication http://testsp/
    Then, when I type http://testsp in the browser it redirects me to http://testsp/SitePages/Home.aspx
    and the site loads exactly as the production environment.
    But, after some minutes, or if I restart the Sharepoint Server, when I navigate to
    http://sitesp I am redirected to http://testsp/SitePages/Home.aspx
    as expected, but the site does not load, the browser just show a complety blank page.
    The Central Administration site loads normally.
    Trying to fix it I found that if I dismount the content database Prod_WSS_ContentDB, then mount the test database Test_WSS_Content,
    then navigate to the site, dismount Test_WSS_Content and finally mount again Prod_WSS_ContentDB, the site loads normally, no blank page, but after some minutes or if I restart the same happens again.
    For the error event I receice in event viewer it seems that the problem is related to database. I have not found a solution for this error... How can I solve  this?
    The error is:
    Log Name:      Application
    Source:        Microsoft-SharePoint Products-SharePoint Foundation
    Date:          6/27/2014 2:44:22 PM
    Event ID:      5586
    Task Category: Database
    Level:         Error
    Keywords:      
    User:          UCETEST\spaccount
    Computer:      TESTSP01.ucetest.edu.do
    Description:
    Unknown SQL Exception -2146893055 occurred. Additional error information from SQL Server is included below.
    A connection was successfully established with the server, but then an error occurred during the pre-login handshake. (provider: SSL Provider, error: 0 - The handle specified is invalid)
    Event Xml:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
      <System>
        <Provider Name="Microsoft-SharePoint Products-SharePoint Foundation" Guid="{6FB7E0CD-52E7-47DD-997A-241563931FC2}" />
        <EventID>5586</EventID>
        <Version>15</Version>
        <Level>2</Level>
        <Task>3</Task>
        <Opcode>0</Opcode>
        <Keywords>0x4000000000000000</Keywords>
        <TimeCreated SystemTime="2014-06-27T14:44:22.743159500Z" />
        <EventRecordID>4742</EventRecordID>
        <Correlation />
        <Execution ProcessID="1688" ThreadID="1692" />
        <Channel>Application</Channel>
        <Computer>TESTSP01.ucetest.edu.do</Computer>
        <Security UserID="S-1-5-21-2552298216-324766354-3392103171-1108" />
      </System>
      <EventData>
        <Data Name="int0">-2146893055</Data>
        <Data Name="string1">A connection was successfully established with the server, but then an error occurred during the pre-login handshake. (provider: SSL Provider, error: 0 - The handle specified is invalid)</Data>
      </EventData>
    </Event>
    Melvintt
    MCTS, Windows Server 2008 R2: Network Infrastructure
    MCTS, Windows Server 2008 R2: Active Directory, Configuring

    Hi,
    According to your post, my understanding is that Site does not load after some minutes of creation or after restart the server.
    Please make sure you create a test environment for existing production site correctly.
    Here are some great articles for your reference:
    Moving content between SharePoint environments
    Copy SharePoint production data to a test environment
    Build a SharePoint 2010 Test/Development Farm
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support
    Hello Linda Li,
    I follwed that steps to create my test enviroment... and I have recreated it some times using that same steps, but the problem persits. After some minutes or after I restart the SharePoint server the site does not load.
    Melvintt
    MCTS, Windows Server 2008 R2: Network Infrastructure
    MCTS, Windows Server 2008 R2: Active Directory, Configuring

  • I was logged in with a temporary profile on my pc, after restarting everything seemed to be fine. But my iTunes music is all in the cloud now, and my playlists are gone. What do I do?

    I was logged in with a temporary profile on my pc, after restarting everything seemed to be fine. But my iTunes music is all in the cloud now, and my playlists are gone. What do I do?
    My iTunes media folder shows ALL of my music still there (including all from imported CD's), but on my iTunes, it says most of it is in the cloud? As well as my playlists that I have had for YEARS, are all gone. I just recently got a new laptop and had my iTunes transferred over, when I re-downloaded iTunes onto it, everything popped up perfectly from this same file. Now after this "Temporary Profile" mishap, nothing is working properly with iTunes.
    Help! Please.

    Do this. If all the synced media like apps and music are alread in the the iTnunes library just backup the iPod and restore from that backup
    iOS: How to back up and restore your content
    Syncing to a "New" Computer or replacing a "crashed" Hard Drive: Apple Support Communities

  • After I've upgraded my iPhone iOS to 5.0.1, I got problems with connectivity. If my iPhone lose network, then it gets frozzen and I cannot make calls. After restart the telephone still does not work.

    After I've upgraded my iPhone iOS to 5.0.1, I got problems with connectivity. If my iPhone lose network, then it gets frozzen and I cannot make calls. After restart the telephone still does not work.

    1. Download the iOS 5.0.1: http://www.tobias-hartmann.net/2011/11/download-ios-5-0-1-veroffentlicht-direkte -downloadlinks/
    2. open itunes,Click in iTunes while holding down the Shift key (on Windows) or Alt key (Mac) to restore and firmware

  • HT2052 After I purchased , downloaded it and installed it , my Ipod Touch 1st gen restarted and show connect to Itune but Itune does not recognize it, I restarted the PC, the Ipod, now I paid for something that I was thinking will be easy and make my life

    After I purchased , downloaded it and installed it , my Ipod Touch 1st gen restarted and show connect to Itune but Itune does not recognize it, I restarted the PC, the Ipod, now I paid for something that I was thinking will be easy and make my life easy

    See if placing the iPod in DFU mode will allow a restore.
    How to put iPod touch / iPhone into DFU mode « Karthik's scribblings

  • Billing document cancellation (VF11) the cancelled doc. is not getting automatically cleared against the actual billing doc.

    Hi All,
    In case of billing document cancellation (VF11) the cancelled doc. is not getting automatically cleared against the actual billing doc. no. Each time user has to clear the doc. manually. We have observed this issue after recent patch updation dated 22nd Feb’2014. Till 21st Feb’2014 the cancelled doc. has been cleared automatically against their respective billing documents.
    Please guide.
    Thank you.

    Hi Gopi,
    Please chheck SAP Note No. 1259505. It explains two ways in which SAP releases cancellation documents to FI.
    OSS NOte 1259505 lists the possible causes from SD side &
    OSS Note 309208 lists the possible causes from FI side.
    Regards,
    Kavita

  • Hi, I just bought a new Macbook Pro 15" with SSD 256 Gb and its almost a brand new a while ago i was trying to connect to my home wireless network it said that your airport is not configured then I restarted the system but it didn't restart it shows the "

    Hi,
    I just bought a new Macbook Pro 15" with SSD 256 Gb and its almost a brand-new (the 4th time to use the device) a while ago i was trying to connect to my home wireless network it said that the connection is timed out so i clicked the airport sign on the top it said that your airport is not configured then I restarted the system but it didn't restarted it showed the grey screen with the apple logo and the spinning wheel for more than 10min so I tried the force shutdown by pressing the power button till it switched off I waited for 5min then pressed the power button to start or boot the system and again the grey screen with the apple logo and the spinning wheel, I waited for more than 20min nothing changed, any solution please?
    Your help is really appreciated"

    Thanks a lot i followed the instructions for safe mode (i found out that i was pressing the C button after restarting) i did whats written there but the repair couldn't be performed so in addition i needed to re-formate the HD so i erased the volume and then repaired the disk--> quite disk utilities --> start the installation from the installation DVD.
    Thanks really appreciating your help

  • Firefox 11.0 Personas are not staying enabled after restart of FF11

    After updating Firefox 10.0.2 to FF 11.0, both of my PC's personas that I have will not stay enabled after restarting FF 11.0. I have tried different personas on each PC and they also will not stay enabled after a restart of the browser. FYI, I am still using the same extensions that I had used in FF 10.0.2 and there all up to date in FF 11.0, it's just this persona issue that bug me big time.
    I've tried all the Knowledge Base help suggestions, but none have worked.
    Any one else having this issue? Any on have a fix that worked?
    Help!

    The installed personas and the currently selected persona is saved as a pref in the prefs.js file in the Firefox Profile Folder, so there may be a problem with that file.
    See:
    *http://kb.mozillazine.org/Preferences_not_saved
    *https://support.mozilla.org/kb/Preferences+are+not+saved

  • I'm trying to sync Outlook calendar (office 2010?win 8) with my iphone 4s. All works well when running control panel manually but it will not run automatically after that. Anyone got any ideas

    I'm trying to sync outlook calendar and contacts via icloud control panel. Everything works when control panel is run manually but it will not run automatically after that. Anyone got any ideas

    I am having a very similar problem. Until 12 hours ago, I was using my recently replaced 4s (with iOS7) flawlessly, receiving emails and calendar info from Exchange (Outlook 2010). But starting last night, it all stopped. I have deleted and added the account several times, tried making simple changes (considering whether the username is case sensitive, or not, etc.) and cannot fix it. I have iOS 7.04. Interestingly, the first time I changed the case to lower case, it seemed to respond immediately, and downloaded many emails with no sender, no content, and with a 12/31/69 date. Yes, 1969. And then nothing happened. Help please!

  • Cluster is not coming up after changing the network

    Hi All,
    I changes the network using srvctl modify command. Accidently i modify it to Private interconnect.
    After restarting the cluster,The crsd is not coming up. I can see this in crsdlog which mean it is trying to listen on private IP.
    (ADDRESS=(PROTOCOL=tcp)(HOST=192.168.0.204)(PORT=0))
    I am not able to modify it now using srvctl commnad as i am getting the below error.
    Failed to check if resource ora.net1.network is registered
    Please somebody help me to modify metwork back to its original value.
    Env Details
    DB- 11.2.0.3
    OS : RHEL-5
    Thanks and Regards,

    Hi,
    you may want to try if you can startup the cluster stack in exclusive mode (crsctl start crs exclusive).
    This might bring up the clusterstack, so you can modify with srvctl again.
    If this fails, it could also be that the network and the internal information got out of sync.
    Can you give a
    # oifcfg getif
    # oifcfg iflist
    # crsctl stat res ora.net1.network -p
    # gpnptool c14n -p=$ORACLE_HOME/gpnp/profiles/peer/profile.xml -fmt
    Regards
    Sebastian

  • Will DB start automatically after rebooting the computer?

    Will DB start automatically after rebooting the computer?

    user9947478 wrote:
    Will DB start automatically after rebooting the computer?Yes. IF you set it up to do so. Or you have an OSs for which it is installed to automatically do so and you have not disabled it.
    I assume, since it seems to be difficult for you to tell us what operating system you use, that you use some form of Windows. In which case, the answer is 'Yes, automatically set up - as seen by the Services'.
    (Windows users don't seem to realize there are other OSs and therefore don't tell. They also don't realize that Windows is not an OS, but rather the marketing label for a whole families of OS Editions. Some popular families are: Windows XP, WIndows 2003, Windows 2008, Windows 7. But even then, Oracle only works on specific Editions within the family.)

Maybe you are looking for

  • Variables between two swfs

    I have a main.swf (level0)and a news.swf (level1). News.swf is loaded because main.swf tells it so :-). If I have a variable in news.swf, does it become part of the main.swf? I want to send a variable from news.swf to main.swf, so the main.swf knows

  • How to created cost centre

    hi all how to create cost centre regards JK rao

  • Best Practices: tnsnames.ora and listener.ora

    I would like to know if it is better to use the public ip / public hostname or the virtual ip / virtual hostname in the tnsnames.ora and listener.ora files on the servers and clients. I have seen examples where the vip is used for all areas, and I ha

  • IPod Shuffle does not play playlist of podcasts, instead separates them into unique lists by podcast

    Very frustrating. In previous versions of the shuffle I was able to select to listen to all podcasts in a row automatically. Now I can't seem to figure it out, I tried creating a playlist as I do with music, however the shuffle is smart and figures t

  • The 7.0.03,4 updates for IPAD pick a network and accept no others.

    I updated to 7.0.3 and the ipad picked 1 of my home networks and will NOT connect to the other home network on the same router or the EXT. It will not connect to my work networks either. I then updated again to 7.0.4 and it picked my othr home networ