After truncation space not reclaiming
HI,
During our health check we found one of the tables in our database occupying more than 11 GB of space. We got approval from APP team to truncate the table.
And i truncated accordingly.
But after truncation also the table is still showing the same size.
I checked the record count. it's showing ZERO records.
Could you please let me know why my database behaving like this?
Before tables truncation
*================*
select OWNER,SEGMENT_NAME,SEGMENT_TYPE,BYTES/1024/1024/1024 FROM dba_segments WHERE TABLESPACE_NAME='WEBMDATA' and SEGMENT_TYPE='TABLE' and bytes/1024/1024/1024 > 1;
OWNER SEGMENT_NAME SEGMENT_TYPE BYTES/1024/1024/1024
PRISMA_WMISCORE_OWNER1 WMERROR TABLE 11.2998047
1 row selected.
SQL> truncate table PRISMA_WMISCORE_OWNER1.WMERROR;
Table truncated.
SQL> select count(*) from PRISMA_WMISCORE_OWNER1.WMERROR;
COUNT(*)
0
1 row selected.
After table truncation
*==============*
SQL> select OWNER,SEGMENT_NAME,SEGMENT_TYPE,BYTES/1024/1024/1024 FROM dba_segments WHERE TABLESPACE_NAME='WEBMDATA' and SEGMENT_TYPE='TABLE' and bytes/1024/1024/1024 > 1;
OWNER SEGMENT_NAME SEGMENT_TYPE BYTES/1024/1024/1024
PRISMA_WMISCORE_OWNER1 WMERROR TABLE 11.2998047
1 row selected.
Please help me..
Thank you..
HI,
Thanks for the response.
Even after stats gathering also its showing the same size..
SQL> select table_name,last_analyzed FROM DBA_TABLES WHERE table_name='WMERROR' AND OWNER='PRISMA_WMISCORE_OWNER1';
TABLE_NAME LAST_ANAL
WMERROR 17-AUG-12
SQL> select OWNER,SEGMENT_NAME,SEGMENT_TYPE,BYTES/1024/1024/1024 FROM dba_segments WHERE TABLESPACE_NAME='WEBMDATA' and SEGMENT_TYPE='TABLE' and bytes/1024/1024/1024 > 1;
OWNER SEGMENT_NAME SEGMENT_TYPE BYTES/1024/1024/1024
PRISMA_WMISCORE_OWNER1 WMERROR TABLE 11.2998047
1 row selected.
Similar Messages
-
Netweaver BI 7.0 on DB6, Space not reclaimed after PSA deletion
Hi,
We recently moved from Oracle to DB6 ( DB2 9.7.0 on AIX) for our Netweaver BI 7.0 system. Previously when we schedule the PSA deletion jobs we will see the benefits that the space is reclaimed, but now on DB6 we dont see that the space is reclaimed after PSA deletion. The DB size went up by whooping 30 GB in one month which was not expected.Please advice.
Thanks in advance
SivaHi Debanshu,
This is specific to DB6.
To 'reclaim' the storage (no matter what is the activity after which you expect some storage to be 'freed'), this is the procedure you have to carry out. Also, try to study about High water mark in detail.
http://publib.boulder.ibm.com/infocenter/db2luw/v9r7/index.jsp?topic=%2Fcom.ibm.db2.luw.admin.dbobj.doc%2Fdoc%2Ft0055375.html
http://publib.boulder.ibm.com/infocenter/db2luw/v9r7/index.jsp?topic=%2Fcom.ibm.db2.luw.admin.dbobj.doc%2Fdoc%2Fc0055392.html
Following very helpful link already provided -
http://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/20057ef0-7952-2c10-949f-decd4fcbb392
Thanks -
Table Partitions and Rolling Window: free space not reclaimed
I have a couple of processes that involve the rolling window scenario where we drop an old partition and add a new partition monthly. We are seeing, however, that free space is not being reclaimed, and so I keep having to feed new datafiles into the tablespace (which is LMT). I was (mistakenly, it seems) under the impression that dropping a partition frees up that space for re-use.
We're currently on Oracle 10gR2 (10.2.0.2), but these tablespaces were orginally created in 9i. I've read that one solution is to implement "table shrinking," however I also see that is only available on tables in an ASSM tablespace. I see that ASSM is the default for tablespaces in 10gR2, but since my tablespaces were created in 9i, I assume they are not ASSM.
I'd like to see what other people think of this scenario. Surely a lot of people do the rolling window scenario and need space reclaimed.No, it is of concern because Sanadra was messing with the partitions. She could have inadvertantly caused something to happen, in this case the free-space issue, and it's imperative to get all of the details.
My iMac 27' Late-2012 does not have a fusion drive, yet shows that the type is "internal" the original poster doesn't indicate that. -
Space not reclaimed afre dropping user
hello all,
OS:- RHEL 5.2
database:- oracle 10.2.0.1
i dropped a user from my database due to lack of space on partition.but it didn't reclaim space in database and keep telling the space space on partition...i tried alter tablespace colesce but same result as it is having multiple datafiles i am unable to know which datafile to resize..
i also purge recyclebin, but no luck, how can i reclaim space on tablespace level???? i also tried resize for database but got
ORA-32773: operation not supported for smallfile tablespace USERSso any suggestion will be appreciable, that user was occupying 4 GB of space and i dropped it, but still unable to reclaim space..how can i do that???
thanks and regards
VDhello,
actually the tablespace_name is users i put it wrong there and it is generating lot of records....(5185) i cannot post all here.....total size of users tablespace is 50GB.....
actually that was user i dropped and having size of 4 GB
SQL> select segment_name,segment_type,(bytes/1024/1024)MB from dba_segments where tablespace_name='USERS'
2 and owner='username'';
no rows selectedi have got this script from asktom...can i directly run it on my server??? i think this will resize all datafiles which are candidate for reclaiming space...actually i have multiple datafiles in users tablespace that is the issue i don't know which datafile to resize ......
set verify off
column file_name format a50 word_wrapped
column smallest format 999,990 heading "Smallest|Size|Poss."
column currsize format 999,990 heading "Current|Size"
column savings format 999,990 heading "Poss.|Savings"
break on report
compute sum of savings on report
column value new_val blksize
select value from v$parameter where name = 'db_block_size'
select file_name,
ceil( (nvl(hwm,1)*&&blksize)/1024/1024 ) smallest,
ceil( blocks*&&blksize/1024/1024) currsize,
ceil( blocks*&&blksize/1024/1024) -
ceil( (nvl(hwm,1)*&&blksize)/1024/1024 ) savings
from dba_data_files a,
( select file_id, max(block_id+blocks-1) hwm
from dba_extents
group by file_id ) b
where a.file_id = b.file_id(+)
column cmd format a75 word_wrapped
select 'alter database datafile '''||file_name||''' resize ' ||
ceil( (nvl(hwm,1)*&&blksize)/1024/1024 ) || 'm;' cmd
from dba_data_files a,
( select file_id, max(block_id+blocks-1) hwm
from dba_extents
group by file_id ) b
where a.file_id = b.file_id(+)
and ceil( blocks*&&blksize/1024/1024) -
ceil( (nvl(hwm,1)*&&blksize)/1024/1024 ) > 0
/ thanks and regards
VD
Edited by: Dixit on Sep 14, 2009 12:06 AM
Edited by: Dixit on Sep 14, 2009 12:07 AM -
Space is not released after truncating the table
Team,
We have a table of size 550gigs in size and we truncated the table , truncated sucessfully but space is not released in os level, what action we can take to release the space and this table has only one row and contains the binary data.
Thanks
PGRTeam,
We have a table of size 550gigs in size and we truncated the table , truncated sucessfully but space is not released in os level, what action we can take to release the space and this table has only one row and contains the binary data.
Thanks
PGR
Hello,
Yes space wont be released immediately .If large extents are in picture which I assume is your case it goes into deferred drop a background process which will execute after some time( time may vary).See below link for details.
As per BOL if extents are more than 128 it goes in deferred drop.
http://msdn.microsoft.com/en-us/library/ms177495.aspx
You should wait for some time .keep checking the free space
Below discussion will surely help you in understanding.See Jonathan's reply
http://social.msdn.microsoft.com/Forums/en-US/4aa2537e-246b-4bfe-818d-3482531d9149/sql-server-2005-massive-400gb-table-dropped-space-not-released
Please mark this reply as the answer or vote as helpful, as appropriate, to make it useful for other readers -
After i empty trash (the secure empty doesn't work either), the system does not reclaim the free space.
I need to run the erase free space option from the disk utility every time...which is really annoying and time consuming.
Any ideas how to solve this?
Thanks in advance =)There is a thing in iPhoto whereby the first time you delete a photo it asks if you want to delete or just remove from the album, something like that. Unfortunately it is one of these things with a "don't ask me again" checkbox. Now, "deleting" photos only removes them from the album they are in. To actually trash them I must then go to "all photos" and find them, to send them to the trash. To help find them, what I do is rename them zzz or something, so sorting them will get them to the bottom of my collection. Just maybe your photos are still lurking around?
-
Zfs does not reclaim space after database table dropped
Our Oracle DBA dropped 200GB of tables and zfs has not reclaimed the space. I have made sure we did not have any snapshots. When I do a du -h on the filesystem, it shows the correct space, but zfs list does not show the extra space. Any ideas?
Hi,
You should make sure that the removed Oracle Datafiles were on a ZFS file system. If they were under an UFS file system, the ZFS space will remain unchanged.
Regards,
Rei -
Re-claim of space after truncating mview logs
Hi All,
We have truncated mview logs on the environment.
Logically freespace(dba_free_space) 250 gb is available, But Physically we did not get any space.
For reclaim physical space what can i do?
ThanksHi Bai ,
Thanks for gud support,
Sorry for delay...
I will explain clearly so that u can understand the prob
Before truncating the mview logs avalable free space(dba_free_space) is --
SQL> select sum(BYTES)/1024/1024/1024 from dba_free_space;
SUM(BYTES)/1024/1024/1024
39.0560455
After truncating the mview logs available free space is ---
SQL> select sum(BYTES)/1024/1024/1024 from dba_free_space;
SUM(BYTES)/1024/1024/1024
251.980179
And these are the spaces cosumed by the tables corresponding tablespace...
SQL> select segment_name, bytes from dba_segments where tablespace_name='APPS_TS_TX_DATA' and segment_name like '%MLOG$%';
SEGMENT_NAME BYTES
MLOG$_AHL_SCHEDULE_MATERIA 131072
MLOG$_BOM_OPERATION_RESOUR 131072
MLOG$_BOM_RESOURCE_CHANGES 131072
MLOG$_BOM_SUB_OPERATION_RE 131072
MLOG$_BOM_SUBSTITUTE_COMPO 131072
MLOG$_BOM_OPERATION_NETWOR 131072
MLOG$_MTL_MATERIAL_TRANSAC 131072
MLOG$_MTL_ONHAND_QUANTITIE 131072
MLOG$_MTL_USER_DEMAND 131072
MLOG$_MTL_SYSTEM_ITEMS_B 131072
MLOG$_MTL_USER_SUPPLY 131072
SEGMENT_NAME BYTES
MLOG$_MTL_RESERVATIONS 131072
MLOG$_MTL_DEMAND 131072
MLOG$_MTL_SUPPLY 131072
MLOG$_MRP_FORECAST_DATES 131072
MLOG$_MRP_FORECAST_DESIGNA 131072
MLOG$_MRP_SCHEDULE_DATES 131072
MLOG$_MRP_FORECAST_ITEMS 131072
MLOG$_OE_ORDER_LINES_ALL 393216
MLOG$_PO_CHANGE_REQUESTS 131072
MLOG$_PO_ACCEPTANCES 131072
MLOG$_PO_SUPPLIER_ITEM_CAP 131072
SEGMENT_NAME BYTES
MLOG$_WIP_MSC_OPEN_JOB_STA 131072
MLOG$_WIP_SUB_OPERATION_RE 131072
MLOG$_WIP_OPERATION_RESOUR 131072
MLOG$_WIP_REQUIREMENT_OPER 850919424
And what would be the next step from my side?
Thanks. -
Table space not reduce after delete in oracle 11G
Hi Team,
I have a DB 11.1.0.7 on unix.
I have execute delete tables on tablespace, but this not reduce.
Thanks935299 wrote:
What segment space management type is defined for the tablespace in question?
MANUAL
Then you should check out the documentation some more.
But even if you shrink the table segement what is that going to do for the data file size?
I don't undertand you.
ThanksYour thread is titled "Table space not reduce after delete in oracle 11G" which implies to me that you are interested in reducing the size of a tablespace (which really means reducing the size of the underlying datafile(s)).
So, if you shrink the size of the sys.aud$ table, will that cause the datafile(s) to become smaller? Will it accomplish your goal? What else, if anything, needs to happen? -
Finder window won't resize after switching spaces
I've got my mbp set up with 12 spaces and designate apps to particular spaces.
When I open a new finder window in space 2, I can move it and resize it no problem.
If I then switch to another space and then switch back to space 2, I can't resize the finder window. I can still move it, but just can't resize it.
Does anyone know a way around this bug?
Thanks!I can also confirm this bug. Finder windows seem to "forget" where they are on the screen. This is very clear when renaming a file: the highlighted, editable filename text shows up some seemingly random distance from the filename displayed in the Finder window.
This can also be seen when using Quick Look. The file zooms to the full Quick Look preview not from the file icon, but from some random point on the screen.
Same goes for dragging and dropping. For example, if you want to drag a file into an existing folder, you have to hover some distance from the actual folder, the same distance you see when you rename a file or use Quick Look. The Finder window doesn't know its position on the screen after using Spaces or Expose. -
If the iPad is slowly loosing space (not much) is there away of getting it back?
How much space is used by your Other? You may be able to reduce.
How Do I Get Rid Of The “Other” Data Stored On My iPad Or iPhone?
http://tinyurl.com/85w6xwn
How to Remove “Other” Data from iPhone, iPad and iPod Touch
http://www.igeeksblog.com/how-to-remove-other-data-from-iphone/
With an iOS device, the “Other” space in iTunes is used to store things like documents, settings, caches, and a few other important items. If you sync lots of documents to apps like GoodReader, DropCopy, or anything else that reads external files, your storage use can skyrocket. With iOS 5/6/7, you can see exactly which applications are taking up the most space. Just head to Settings > General > Usage, and tap the button labeled Show All Apps. The storage section will show you the app and how much storage space it is taking up. Tap on the app name to get a description of the additional storage space being used by the app’s documents and data. You can remove the storage-hogging application and all of its data directly from this screen, or manually remove the data by opening the app. Some applications, especially those designed by Apple, will allow you to remove stored data by swiping from left to right on the item to reveal a Delete button.
Also,
How to Clear Message/iMessage Cache on iPhone & iPad And Reclaim Lots of Free Space
http://www.igeeksblog.com/how-to-clear-message-imessage-cache-on-iphone-ipad/
Cheers, Tom -
hi,
how can i get back my data after truncating the table.
regards
Kiran SankpalHi Kiran,
Table backup is the only way to restore data of a truncated table, it is possible to get deleted data back but not data of a truncated table. Refer Flashback
*009* -
Dock dissapear, Exposse, Spaces not work
Dock is dissapear, Exposse and Spaces not work, i had repaired permissions from disk utillity but all is de the same, restart and all is not working, command + tab either work, and if a try to minimizar a window nothings happend
I am experiencing this same problem. I have been fine for a few weeks after my Leopard update, but then all of a sudden today I could not find my dock. I wasn't able to get it back at all, so I tried to shut down. It would not shut down so I had to do a hard shut down by holding in the power button. When it rebooted, the dock was still non-existent. I did some googling and learned it might be a corrupt preference. I then deleted the preferences, and immediately a dock (the original default installed) came up. It seemed ok for about 30 seconds, then it quit, and keeps flashing, reappearing, poking out. I deleted the preferences again, same result.
I ran disk utility. It found some permissions problems and "repaired" them. Now the activity monitor shows that my dock is starting and quitting, as stated above, and I can't see it at all. It's gone.
I am pretty upset about this, I rely on the dock heavily for my drag and drop applications in CS3.
Any solutions to this yet? -
Dear all,
10.2.0.4 on solaris 10
SQL> alter table iaa_histcalls truncate partition nov200801;
Table truncated.
Elapsed: 00:00:00.67
SQL>
SQL>
SQL> alter table iaa_histcalls truncate partition jan200902;
Table truncated.
Elapsed: 00:00:00.06
SQL>
SQL>
SQL> select partition_name,num_Rows from user_Tab_partitions;
PARTITION_NAME NUM_ROWS
NOV200801 367746
NOV200802 0
DEC200801 0
DEC200802 0
JAN200901 0
JAN200902 22688458
I can see the num_rows is populated even after truncating the partition .Any idea ?
KaiKaiS wrote:
Tried the same Asif. but still the same
SQL> exec dbms_stats.gather_table_stats('IAAHIST','IAA_HISTCALLS',DEGREE=>15);
PL/SQL procedure successfully completed.http://download.oracle.com/docs/cd/B19306_01/appdev.102/b14258/d_stats.htm#CIHEHDFB
granularity
Granularity of statistics to collect (only pertinent if the table is partitioned).
'ALL' - gathers all (subpartition, partition, and global) statistics
'AUTO'- determines the granularity based on the partitioning type. This is the default value.
'DEFAULT' - gathers global and partition-level statistics. This option is obsolete, and while currently supported, it is included in the documentation for legacy reasons only. You should use the 'GLOBAL AND PARTITION' for this functionality. Note that the default value is now 'AUTO'.
'GLOBAL' - gathers global statistics
'GLOBAL AND PARTITION' - gathers the global and partition level statistics. No subpartition level statistics are gathered even if it is a composite partitioned object.
'PARTITION '- gathers partition-level statistics
'SUBPARTITION' - gathers subpartition-level statistics.
" -
After Effects lights not working
I am working in After Effects CC. I added a light to my scene and it just turns all of my 3d layers black. I am a very seasoned AE user. I have worked with lights before. I don't know what is going on here. It's not a draft mode issue. And my lights are not behind my layers or anything like that. I have found other people in the online forums with this problem from over the years but never a solution. Ambient light is the only light that works. Spot, pin, and parallel turn everything black. Thoughts?
Once the problem presented itself I started fresh with a new project and very simple comp and still had the same problem.
So my settings are pretty straightforward.
I am using After Effects CC (not the 2014 version)
I have one 3d solid that I pushed back in z-space. It is set to receive lights.
I am using Classic 3d.
I created a new spot light.
The settings are as follows:
Intensity: 100%
Color: white
cone angle 90
cone feather 0
falloff smooth
radius 75
Falloff distance 24
Casts Shadows on
Shadow Darkness 20%
Shadow Diffusion 0
If I turn my light off you see my solid. If I turn it on you see only blackness.
If I add a 2d layer you can see it. Once I make it 3d, it turns black.
Thanks for any advice you have. I'm guessing I probably need to do a clean install or something because this is crazy. It's not like I've never used lights before. They just up and stopped working.
Maybe you are looking for
-
How extract properties from document saved in blob.
I need extract all document properties from document (any file type) saved in blob. I've tried three ways... - I've tried using relational ORDDoc.getProperties() by example. But this method returned exception ORDSYS.ORDDOCEXCEPTIONS.DOC_PLUGIN_EXCEPT
-
Adding Pictures/Video to Drop Zones
Hello All, I've created a drop zone in motion and saved it as a master template. However when I bring it into FCP I have no idea how to place my footage into the drop zone. Whenever I drag something into the canvas it just overwrites the template. Al
-
SOA server not starting error:MDS-00054:META-INF/cwallet.sso does not exist
I am trying to run Business Rule composite application inside Oracle SOA suite 11g. Before I deployed this application, I was able to start the soa server without a problem. However after deploying this application via Jdeveloper. I am not able to st
-
Installing SOA Suite on the integrated WLS in JDeveloper
Hi, I'm wondering if it's possible to install SOA suite on the integrated WebLogic provided with JDeveloper? If it is not possible, what is the recommended way for provisioning for development? Is it to install a full-blown WebLogic & SOA Suite on ea
-
How to scale the font size that make with the CanvasDrawText()?
Trying some ways but not any effectiveness. David