Space not to be released after the table has been truncated.

Hi all

I've truncated at a table, but the space is not to be released after the truncation is done. Tried several option for relased back space that nothing works. Please can you help out me.

SQL > select * from v version $;

BANNER
----------------------------------------------------------------
Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bi
PL/SQL Release 10.2.0.4.0 - Production
CORE 10.2.0.4.0 Production
AMT for Solaris: release 10.2.0.4.0 - Production
NLSRTL Version 10.2.0.4.0 - Production

SQL > /.
Enter the value for the owner: CMSPRD
Enter the value 1: WEB_LOG
4 old: where the owner as ' & OWNER ' AND nom_segment = UPPER ('& 1')
4 new: where the owner as 'CMSPRD' AND nom_segment = UPPER ('WEB_LOG')

OWNER NOM_SEGMENT SIZE_IN_M
------------------------------ --------------------------------------------------------------------------------- ----------
NOM_TABLESPACE SEGMENT_TYPE NOM_PARTITION
------------------------------ ------------------ ------------------------------
CMSPRD WEB_LOG 601.515625
OWDATA TABLE

SQL > alter the movement line of table WEB_LOG enable;

Modified table.

SQL > truncate table WEB_LOG;

Table truncated.


SQL > analyze table WEB_LOG statistics calculation.

Parsed table.

SQL > ALTER TABLE WEB_LOG DEALLOCATE UNUSED;

Modified table.

SQL > ALTER TABLE WEB_LOG shrink space;
ALTER TABLE WEB_LOG shrink space
*
ERROR on line 1:
ORA-10635: Type of invalid segment or tablespace


SQL > select count (*) in the WEB_LOG;

COUNT (*)
----------
0
SQL > select sum (BLOCKS) from dba_tables where TABLE_NAME like 'WEB_LOG' and the OWNER as "CMSPRD."

SUM (BLOCKS)
-----------
0

SQL > select blocks 'Never used', empty_blocks 'Never used', 'Total of lines num_rows. "
from user_tables where table_name = 'WEB_LOG '; 2

Never used never used Total lines
---------- ---------- ----------
0 76993 0

SQL > select SUM (blocks)
dba_extents 2
3 nom_segment = "WEB_LOG";

SUM (BLOCKS)
-----------
76994

SQL > select MIN_EXTENTS from dba_tables where table_name like 'WEB_LOG ';

MIN_EXTENTS
-----------
1

SQL > @os
Enter the value for the owner: CMSPRD
Enter the value 1: WEB_LOG
4 old: where the owner as ' & OWNER ' AND nom_segment = UPPER ('& 1')
4 new: where the owner as 'CMSPRD' AND nom_segment = UPPER ('WEB_LOG')

OWNER NOM_SEGMENT SIZE_IN_M
------------------------------ --------------------------------------------------------------------------------- ----------
NOM_TABLESPACE SEGMENT_TYPE NOM_PARTITION
------------------------------ ------------------ ------------------------------
CMSPRD WEB_LOG 601.515625
OWDATA TABLE


There is no change in the tablespace space remaining before or after truncation.

What is the result of
Select owner, segment_name, SUM (blocks), sum (extent_id) from dba_extents nom_segment = "WEB_LOG" group by owner, nom_segment;

and

Select num_rows, initial_extent, table_name, owner of dba_tables where table_name = 'WEB_LOG ';

Tags: Database

Similar Questions

  • Exception of Tomcat may not call sendError() after the response has been committed

    CF 10 Developer Edition.

    Windows XP SP3

    When you submit a page that worked well in CF 7 on this machine, I get an error that I've never seen elsewhere:

    ==================

    HTTP 500 - STATUS

    Description: the server encountered an internal error () that prevents to satisfy this demand.

    exception:

    javax.servlet.ServletException: ROOT CAUSE: java.lang.IllegalStateException: cannot call sendError() after the response has been committed to org.apache.catalina.connector.ResponseFacade.sendError(ResponseFacade.java:451) to javax.servlet.http.HttpServletResponseWrapper.sendError to coldfusion.tagext.io.cache.ehcache.GenericResponseWrapper.sendError (GenericResponseWrappe r.java:91) at coldfusion.filter.FormScope.parseQueryString(FormScope.java:501) (HttpServletResponseWrapper.java:1 20)

    etc., which ends in

    Note Track of the full stack of the root cause is available in the Apache Tomcat/7.0.23 logs.

    ===================

    I can't seem to be able to debug or to locate this error: cfabort placed at strategic locations doesn't help at all, and none of my usual work. Debug information are not displayed when this error occurs (although the server is configured to display debug information, and she normally does).

    Totally puzzled.

    LBPSlava

    Maybe adjust the number Maximum of say 100 to 500 POST request parameters.

    CF10admin > server settings > settings > request size limits > Maximum number of MESSAGE request settings > value

    Not sure, you may have to restart CF10 for change to be applied.

    HTH, Carl.

  • How can I prevent the text fields and drop downs changed after the form has been signed using a digital certificate? Thank you.

    Hi all

    How can I prevent the text fields and drop downs changed after the form has been signed using a digital certificate? Thank you.

    There is also a checkbox on the dialog box 'Sign' to lock document after signing.

  • "Kick" application user after the password has been changed.

    Version of Application Express 4.2.4.00.08 apex


    I would like to "kick" current application user once the password has been changed in the database.

    I've customized auth which takes the database password.

    Currently if someone enters my application > after that I change his password > it is still able to go through the application and present things

    I want to make is that after I change his password for the current user gets "expelled" from the app to the login screen.

    Para wrote:

    Version of apex Application Express 4.2.4.00.08

    I would like to "kick" current application user once the password has been changed in the database.

    I've customized auth which takes the database password.

    Currently if someone enters my application > after I have change password > it is still able to go through the application and present things

    I want to make is that after I change his password for the current user gets "expelled" from the app to the login screen.

    Capture logon after user/password hash and store it in a part of the application. Create a On Load: before header process application which runs under condition if the hash of password/user session is different from the one currently in the database, the call apex_custom_auth.logout . This will disconnect the user on the first page is rendered after the password is changed, but will (in most cases), save the changes before you do.

  • Space is not to be released after the DROP TABLESPACE command

    DB version :10.2.0.4.0
    OS : SunOS SF40z4196 5.10 Generic_Patch_118844-30 i86pc i386 i86pc
    I drop the tablespace using the command
    drop tablespace TBS_TEST including contents and datafiles;
    The data file is in fact fallen at the level of the BONE after the above command. But space isn't being released more
    df -h /filesystem_name
    still shows the old freespace information.
    It is because of some process taking oracle always the file handle.
    ML note ID * 469731.1* speaks of a similair topic. But he said that it is not a bug and "expected" behaviour

    I tried to put the tablespace OFFLINE and then drop. The changes appear after 3 to 4 minutes. But this "fix" doesn't work now.

    I had to bounce once PB for this problem. But I still have the same question.
    All the world faced a similair problem?

    Hello

    It is true that it is a normal behavior on Unix file system.

    To avoid this, you can next time (it's too late for that drop Tablespace) drop the contents of the Tablespace, and RESIZE its data to a very low value (for example 128 K) files.

    Then, you drop the Tablespace with the data files. However the OS's features would have already recovered you more space used by this Tablespace.

    Otherwise, to recover space, you may need to restart your database, it may be sufficient.

    Hope this helps.
    Best regards
    Jean Valentine

  • Constant pop up of the notice that says "USB device not recognized" after the device has been disconnected

    Trying to connect a Sony W760 to PC Suite and receive the notification as the "peripheral USB is not recognized. Clicked on the indications of alert and monitoring. The device is not installed. Computer restarted, but the alert keeps popping up every 10 to 15 seconds. How to stop?

    Found the answer to the problems by accident. I had turned off my Avast, during the installation of the programs, but did not know that the computer came with Norton already active. Nothing on the screen noted that it is there. The Sony site, under the heading troubleshooting USB and I saw it mentioned to disable McAfee. Became curious and went to control panel > programs and features looking around and found the Norton. Uninstalled, downloaded programs from Sony, install and everything works fine. Just a reminder, check all your security system before installing programs.

  • Satellite L300D begins only after the battery has been drained and recharged

    I have a satellite L300D that has a problem at startup. Last week, it closed but got stuck on the "Disconnect" screen for a long time. Finally I manually turn it off by holding down the power button. Don't think no more of him it happened sometimes with my computers. However, when I went to turn it back on - it was nothing. Power lights came to the front of the computer, but not to screen at all. Could not even access the BIOS. Nothing. It was like that for several days.

    Tried all the common solutions - removed battery, disconnect the power supply and press the power button - still nothing. Tried w/o - just AC, just the battery. Even stripped down to the motherboard to see if I could remove the CMOS battery and reset the CMOS but it is soldered on the motherboard. Put all back together, still nothing.

    Finally, I had to recharge my cell phone using a USB adapter and given that the computer had power I tried the usb port and it worked (for example, I could charge the phone - still no screen on the computer). The computer's battery is dead and I plugged it in. That evening, after the battery was full, I tried the computer and it has perfectly worked. Started correctly, shut it down, restarted and it was fine. Unplugged this night there and reconnected again in the morning and... nothing. Just a black screen. No BIOS.

    Killed the battery again then reloaded and now my computer is working again.

    Any ideas on what could cause this problem?

    Thanks in advance.

    Hey Buddy,

    In my opinion her only the only one you can is update the BIOS like Akuma suggested. This problem is not related software so that s the only option you have I think. You can download the latest version of the BIOS here:
    http://EU.computers.Toshiba-Europe.com > support & downloads > download drivers

    If this is not the case, contact an authorized service provider please. Guys can fix all this hardware related problems can diagnose this problem. Maybe the motherboard or something else must be exchanged.

    Good luck! :)

  • RollbackToSP will be working if the column in the table has been abandoned?

    Hi all

    I would really appreciate an opinion on these two scenarios in OWM.

    Scenario one

    Steps to follow:



    Savepoint1, created may 20
    DIAL THE DBMS_WM. CreateSavepoint ('LIVE', 'RRR_Test');


    May 21 change us a table with version:


    DBMS_WM EXEC. BEGINDDL ('users');



    -remove unused column

    ALTER table drop column field users_LTS;



    EXEC DBMS_WM.COMMITDDL ('users');



    3 roll back at the point of backup created on 20 may
    DIAL THE DBMS_WM. RollbackToSP ('LIVE ',' RRR_Test);





    End of the scenario



    Question: Will the OWM correctly changes rollback made to the schema of the table USERS?









    Second scenario





    1 Savepoint1 created may 20
    DIAL THE DBMS_WM. CreateSavepoint ('LIVE', 'RRR_Test');



    May 21 change us a table with version:


    DBMS_WM EXEC. BEGINDDL ('users');



    -remove unused column

    ALTER table drop column field users_LTS;



    EXEC DBMS_WM.COMMITDDL ('users');



    3 roll back at the point of backup created on 20 may
    (1) add the domain of the column to the schema

    (2) rollback
    DIAL THE DBMS_WM. RollbackToSP ('LIVE ',' RRR_Test);



    End of the scenario



    Question: given that the pattern is exactly the same as it was originally, this will work?


    Your ideas are welcome.

    Thank you

    Serge

    Published by: sbornow on May 27, 2009 11:29

    Hi Serge,

    When you add the column to the table, it will be added to all versions/workspaces for this table. All of the current versions, as well as all the historical lines, will contain this new column with a null value or the default value.

    None of DBMS_WM restore procedures will be affected by the DDL changes, or a restore will return all DDL changes made since the backup was created. A backup point cannot become invalid. The restoration works on the level of the line, based on the columns of the primary key (which is not editable by the DOF). So the resulting table will have the same lines as he did at the time that the backup point has been created, adjusted for any changes in the column that has been done on the non-primary key columns.

    Kind regards
    Ben

  • Message update\update.exe is not a valid file because the computer has been infected from malware attacks

    Original title: update\update.exe message is not a valid file when tried to install IE8 KB2744842 patch

    I got this virus live Platinum security.  I think about Microsoft bulletin as CVE - 2012 - 4969 Backdoor: Win 32/Poison.BR supposedly he is gone now with PC Tools Spyware Doctor with antivirus.  I can no longer get critical updates to www.update.microsoft.com and cannot go there and get either them.  I have automatic updates turn on my computer, but when I go to the update site, it asks me to turn on the automatic updates, but doesn't change from red to green.  If I click on the express, it gives me a message there is a problem with the web page.  I have read some solutions and typed in will looking for three files like BIT and update, but the only one listed was the workstation.  I did some research and found the servers to Windows IE8 patch KB2744842 and downloaded and when I tried to install it, he unpacked himself and then ran, and then I got the message saying that update\update is not a valid Win 32 application.  I searched this file and found it was created on 20/09/2012, the same day I had the terrible malware and under properties, it is called configuration of Windows Service Pack, the version of the 6.3.0004.1 built by: dnsrv, internal name update.exe, English, original name: update.exe on my computer, it is C:\\bb5d6cfc84bf6a13dde9b006.update

    Try to solve this problem cost me $230 plus the cost of PCTools Spyware.  I called a number to the www.spywarehelpcenter.com to support when I was having trouble installing the PCTools in safemode and said Malwarebytes Pro was much better and used by companies and he said he gave me $150 off so it cost me one once charge $50 and there is no renewal and sold me a one year $ 180 contract to remove the virus and the development of my computer.  He had insisted on it going remotely and showed me all these errors.   I think that I made a mistake to trust him.  Two technicians have worked on my computer remotely on two different days without a firewall and installed Malwarebytes Pro three times because it kept to give a message of corruption, and it is that when I pointed out to them there is no firewall that was added by a sort of sharedaccess.reg problem is I can't get and install the critical updates.  I trust a third time to do things?  They have deleted quite a few programs.  I think that maybe the problem is that they were not aware of the fixit patch and the full patch to IE8.  I run Windows XP Professional and probably should upgrade to Windows 7 in the near future.

    I should add that a few days before that happened, I noticed that if I went in sysedit, the config.sys and autoexec.bat files windows were empty.   My computer has always competed, but it seemed very slowly.  I could not find a solution for this and read that you don't really need these files.  I have the original operating system disk and has been reading how to install it, but only for the repair by pressing 'r' and let it repair missing files.   So I don't know what to do.  Any advice?  I am so tired of this, but still have hope to operate correctly.

    Hi Catnip009,

    Follow the suggestions below for a possible solution:

    Method 1: I suggest you to download and make a bootable CD or USB to Windows Defender in offline mode, and then run the tool.

    For more information, see the following articles:

    What is Windows Defender in offline mode?

    http://Windows.Microsoft.com/en-us/Windows/what-is-Windows-Defender-offline

     

    Windows Defender Offline: Frequently asked questions

    http://Windows.Microsoft.com/en-us/Windows/Windows-Defender-offline-FAQ

    Method 2: If you still experience the problem, and then run Microsoft Fixit, that might help us diagnose the problem better.

    The problem with Microsoft Windows Update is not working

    http://support.Microsoft.com/mats/windows_update/

    Let us know if that helps.

  • After the computer has been infected with virus win32/cutwail.BA computer is very slow at startup

    My computer is infected with this wirus and my wirus program can not take it away from the computer, it make the computer very slow at the beginning, what should I do?

    Hi Andersjohansson,

    Method 1: To fix the performance issue, follow the steps mentioned in the link below

    Optimize the performance of Microsoft Windows Vista

    http://support.Microsoft.com/kb/959062

    http://Windows.Microsoft.com/en-us/Windows-Vista/optimize-Windows-Vista-for-better-performance


    Method 2:
    if a Protection of resources Windows (WRP) file is missing or is damaged, Windows may not behave as expected. Auditor of file system (CFS) scan to fix all of the corrupted system files. To do this, follow the steps mentioned in the link below:

    How to use the System File Checker tool to fix the system files missing or corrupted on Windows Vista or Windows 7

    http://support.Microsoft.com/kb/929833

    Method 3: Run Microsoft Security scanner (MSS) for any threat of remnant and try to correct

    http://www.Microsoft.com/security/scanner/en-us/default.aspx

    Note: Infected files can be deleted from your computer; There is a chance of data loss.

  • Insert my backed up data after the system has been restored.

    I have a four-year-old desktop HP Pavilion p6226f and am on Windows 7. A few days ago I had to restore my PC to factory conditions. I backed up my data files through the process in the Recovery Manager, on 3 DVDs.

    Is there a utility on my computer that manages the process of insertion of my files on my computer?

    Thank you in advance for your help!

    Update, December 30, 2013:

    Although Jaco has been more than helpful with this issue (read the thread for lots of great ideas and he provided information), I marked by error this issue having been resolved while he was not. I don't know how United Nations brand it, if I add this note.

    I thought, when I got the link to get instructions from HP, I got everything that I had to this summary. That was not the case. So, my apologies. I shouldn't be marked as resolved until what I had followed the process to the end. I'm still stuck in the same exact spot.

    Hello

    Sorry for the inconvenience, but please, use this link. The previous link was for Windows Vista. This link is for Win 7.

    You are the very welcome.

    Happy computing!

    Jaco

    I'm not an employee of ch *.

    "" "" Please give a "Bravo" If the notice is relevant or "Accept as Solution" If your problem has been resolved.

    +++++++++++++++++++++++++++++++++++++++++++++++++++++
    H8 1380 t CTO, Intel i7 3820
    16 GB OF DDR3 MEMORY
    Pegatron Motherboard-IPIWB-PB (Pittsburgh), Radeon HD 7570 1 GB. Win 7 Home Premium set to upgrade to Windows Pro 8.1.

    Want Phoenix 810-150se, Intel i7 4820 k
    12 GB OF DDR3 MEMORY
    Pittsburgh2 motherboard, NVIDIA GTX 645 - 2 GB GDDR5. Win Pro 8.1.

    HP 560z CTO AMD processor / chipset.
    16 GB OF DDR3 MEMORY.
    Radeon HD 6570
    Win 7 Home Premium set to upgrade to Windows 7 Pro.

    HP ENVY 17 t-j000 CTO Quad Edition laptop. Win Pro 8.0

  • Send not working error "connection to the server has been lost.

    Original title: Email does not.

    Email on my ipad has worked without problem for the last year. All of a sudden I see a message that says that the connection to the server was lost. I can still access the internet, but from my computer laptop I see the same problem, no new messages are to come email. There is a general problem with email?

    Who is your provider of mail service?

    If you use Outlook.com (if you have an e-mail @outlook, @live, @Hotmail, or @msn), please visit this page for current known issues: http://status.live.com.  Outlook is currently having a problem syncing with mobile devices like phones or iPads.

    This page will be updated when the problem is resolved.

  • App does not appear in the world of BB after the app has been renamed

    Hello

    I changed my app name 'X-phone Pro' at "TEra-phone Pro"and posted for sale in the supplier portal. It still does not appear in world BB on Z10/Q10 and the web version after 24 hours. The App Id is 23748873 Please help me.

    Thank you very much.

    Hello

    I'll try to help your question, have you solved your problem of application?

  • Elements does not work after the car has been cloned.

    Hi I have recently upgraded my HDD with SSD and used Carbon Copy Cloner to clone the old drive. However I had been using the new drive for a month or two before doing so rather than make a full clone I made a partition and cloned the old drive (less the operating system). My problem is that the elements and other programs do not have transfer via, but more annoyingly won't open even when I plug the old drive and try to open it over there. (who is now in a caddy for I could use it as an external hard drive).

    Does anyone have any suggestions? Thanks in advance.

    You probably need to install items

  • How cancel the installation of Win XP after the partition has been implemented

    Hello

    I put my pc in place and came to a point when I need to install the operating system. I went with XP because it's what I had at the time. I did the partition and restarted with a GUI screen pc and starts the installation. I came across some problems with drivers associated with SP1 here. I stopped, knowing I could get Win7 within a few days.

    Later I am OS Win7 and tried to install it, but the pc would start in the set up mode tries to install the XP. I tried to cancel when you start upward with F3 and ESC, but he would always go together to the top. Is it possible to cancel this be implemented despite the score. How can I access BIOS from here? Any help is very appreciated.

    Thank you!

    Proceed with the installation, I can't, I can't cancel it. Any suggestions?

    Use the two utilities below to create a CD bootable and then after booting from the CD, remove the XP partition.

    Partition Wizard Home Edition:
    http://www.partitionwizard.com/free-partition-manager.html
    Note: There is also a CD bootable or versions of the bootable Flash drive:
    CD
    : http://www.partitionwizard.com/partition-wizard-bootable-cd.html
    Flash player: http://www.partitionwizard.com/bootable-flash-drive.html
    Among the features and functions: create partition, Delete partition, Format partition,.
    A partition resize, move partitions, Partition recovery after an accidental deletion,
    Convert the partition, partition Explore, Hide partition,
    Change the drive letter, a partition active Set, Explorer (content display) of the partition.
    Note: To achieve any task using the "Operations pending" box at the bottom or top left.

    Alternative to Partition Wizard (a bit easier to use, but Partition Wizard and EASEUS have almost identical user interfaces)
    EASEUS Partition Master Home Edition (free):
    http://www.partition-tool.com/personal.htm
    Partition software ALL-IN-ONE and the most convenient hard disk partition manager Kit
    Includes Partition Manager, Disk & Partition copy Wizard and Partition MBR and GUID partition GPT disk recovery Wizard (table) on Windows 2000, XP, Vista, Windows 7 and Windows Server 2000/2003/2008 (32-bit and 64-bit).
    It allows users to resize/move Partition, drive system extend, copy Disk & Partition, Partition merge, Split Partition, redistribute free space, convert dynamic disk, convert disk GPT on the MBR, Partition Recovery and much more.

    J W Stuart: http://www.pagestart.com

Maybe you are looking for