Determining the space used by data in a table at the granularity of bytes

The SPACE_USAGE procedure of DBMS_SPACE package
is meant for knowing space table with auto segment
space management.
It gives out 4 types of values fs1_blocks to
fs4_blocks as the number of blocks which are filled
25%, 50%, ....
I tried it with different number of records (including)
and empty table) but all 4 fields are always output as
zero.
Basically my aim is to know the actual amount of space
used by my data in the table for both auto segment
allocation and non auto mode.

To have this kind of information I've used the function
DBMS_SPACE.UNUSED_SPACE, that reporting:
TOTAL_BLOCKS - data allocation space (in blocks)
TOTAL_BYTES - data allocation space (in bytes)
UNUSED_BLOCKS - allocated space but not used (in blocks)
UNUSED_BYTES - allocated space but not used (in bytes)
The difference between TOTAL_BYTES and UNUSED_BYTES is the REAL SIZE of your data.
I don't know if you can use the same function for table with auto segment space management.
Bye L.

Similar Messages

  • HT3224 Migration created a new user account on my new MacBook, increasing the space used. Any solution?

    I recently upgraded my MacBook Pro. Using the migration assistant, I transfered my old backed up (using the Time Machine) things to the new MacBook Pro. It  created another user account with the old Administrator ID. This about doubled the space usage on my machine and sort of slowed down the machine. There are no Apple Stores in my area and the machine was brought from the UK. So how do I solve the space problem?

    Thanks Neil. What I did before asking the question was simslar to what you suggested. I logged in with the new account, went to the Users&Groups pane, clicked on the other sccount and asked to delete. Which it did. With the older MacBook Pro and under Disk Utilities the space used was about 160 GB. With the new MacBook Pro and after the delete, the Disk Utility is giving me used space as 322.22GB (a difference of 150 GB all things considered). That I think was a substacial increase and I want to figure out why. May be I did something wrong?
    Your help is very much appreciated.
    Francis

  • TS1702 how can I remove large number of photos on my iPhone 4s from iTunes using a PC - Lenovo Think Pad - so that I can reduce the space used on the phone by 50%?

    how can I remove large number of photos on my iPhone 4s from iTunes using a PC - Lenovo Think Pad - so that I can reduce the space used on the phone by 50%?

    You don't need iTunes for that. Simply connect the iPhone to the PC where it will be recognized as a camera. You can then select the photos you wish to transfer, transfer them, and delete them.

  • I just got iTunes Match and I would like to know if downloading my songs from the cloud uses cellular data?

    I just got iTunes Match and would like to know if downloading my songs from the cloud uses cellular data if I am not able to use wifi?

    Hi,
    Yes, it will use cellular data. If you know that you are going to out of wifi range, you can predownload some music whilst you have a wifi connection.
    Jim

  • Does saving a finished iMovie to Theater duplicate the space used on the computer

    Does saving a finished iMovie also to Theater  (on iMovie 10) duplicate the space used on the computer (for example if I save the finished movie as a file on my desktop and have it save to Theater (did I just double the space used on my computer: file on desktop plus the file in Theater)?

    Is there a way to have itunes delete the WMA file after creating mp3 copy?
    No.  But after the MP3s are created and you are satisfied that things went OK, just delete the WMAs manually and say "Good Riddance."
    You can use an MP3 in multiple players, but you need to turn off any features that automatically change or move files, since one player will change something that messes up the other:
    In iTunes, that means go to Edit > Preferences > Advanced and uncheck "Keep..." and "Copy..." 
    In Windows Media Player, that means go to Tools > Options > Library, and uncheck everything that starts with a verb such as "Rename...," "Rearrange...," etc.

  • HT4914 Does ITunes Match effect the space used on your ICloud?

    Does ITunes Match effect the space used on your ICloud? Being as though your songs are not actually being uploaded and your just  pulling content off of I tunes .

    Hello Karen,
    Yes, enabling iTunes Match the current music library on the phone will be deleted.
    From: iTunes: How to add a computer or iOS device to iTunes Match
              http://support.apple.com/kb/ht4913
    When enabling iTunes Match on your iOS device, the music library on your iOS device will be deleted and then replaced with your music in iCloud.
    The music is stored on the cloud and streamed to your device unless you choose to download it on the phone.
    Here is some additional info on how it works:
    http://www.apple.com/itunes/itunes-match/
    All the very best,
    Sterling

  • HT4623 Is this the most up to date article on up dating the iPhone - it there anything about the problems relating to the up date to OS 6 - my G3 no longer works and Apple seems to have gone to ground.  No Genius bar appointments available for a week!

    Is this the most up to date article on up-dating the iPhone OS - is there anything about the problems relating to the up-date to OS 6 - my G3 no longer works and Apple seems to have gone to ground.  No Genius bar appointments available for a week!

    iOS 7 devices need iTunes 11.1 or newer to sync.  Depending upon your computer and the OS it is running, you may not be able to upgrade to iTunes 11.1 based on the requirements for iTunes 11.1.  What computer and OS are you running your iTunes on?  From the iTunes download pages I see the requiorements are:
    Macintosh System Requirements
    Mac computer with an Intel Core processor
    OS X version 10.6.8 or later
    400MB of available disk space
    Broadband Internet connection to use the iTunes Store
    Windows System Requirements
    PC with a 1GHz Intel or AMD processor and 512MB of RAM
    Windows XP Service Pack 2 or later, 32-bit editions of Windows Vista, Windows 7, or Windows 8
    64-bit editions of Windows Vista, Windows 7, or Windows 8 require the iTunes 64-bit installer
    400MB of available disk space
    Broadband Internet connection to use the iTunes Store

  • How to send data from internal table to the shared folder in ABAP

    Hi experts,
             My requirement is to transfer data from a file to shared folder. i just did reading data from a file to a internal table. Now i want to send this internal table data into a shared folder which is  "
    xxx\y\z....".
    I do not have any idea on how to send data from internal table to the shared folder path.
    can anybody please help me out how to do this?
    Thanks & Regards
    Sireesha.

    Where that folder is located, its on presentation server i.e. desktop or application server.
    If its on presentation server, use FM GUI_UPLOAD.
    If its on application server, then use DATASET functions. Have a look at below link.
    [File Handling in ABAP|http://help.sap.com/saphelp_nw04/helpdata/en/fc/eb3ca6358411d1829f0000e829fbfe/frameset.htm]
    I hope it helps.
    Thanks,
    Vibha
    Please mark all the useful answers

  • How can i convert the data from mutiple-table to the other database(MSSQL)?

    Dears,
    How can i convert the data from mutiple-table to the other database such as MS-SQL?
    I have a third party system based on MS-SQL 2000.
    Now we want to make a integration between SAP R/3(Oracle) and SQL server.
    When my user releases the purchase order in R/3, the application we coded will convert the releated data to the temp database on the SQL server.
    But i don't know which tools will help me reach the purpose.  BAPI, LSMW, IDoc... ???
    Would anybody tell me which way is better and how to do?
    Thanks a lot!
    Kevin Wang

    Hello Kevin,
    The question to use which method depend on your detail requirements. If you use BAPI, you need to find which Bapi can provide the data you want. Bapi normally use as a function called by external system. So you need to develop an external program like VB/Java to call this Bapi and move it to SQL. LSMW is use when you want to upload data from an external system to SAP. So it does not serve your requirement. Idoc can be use to export data to an external system. Again like Bapi, you need to find what Idoc can provide the data you want. However, it does not any programming from the external system. If I were you, based on your requirements, I think writing an Abap program that read the data you want and download it to NT/SQL server will be faster and easier.

  • I can edit on Premiere Pro 6 files, but after a dozen keystrokes, the space bar and cursor keys stop working while the save function works

    I can edit on Premiere Pro 6 files, but after a dozen keystrokes, the space bar and cursor keys stop working while the save function, render workspace function, export file are still operational. How can I fix it so I may complete my assignment?
    Besides DaVinci Resolve, Adobe Creative Suite 6 is the only software on the machine. I am using Windows 7 Professional 64-bit Operating System on AMD FX 6100 six-Core Processor at 3.31gHz and 32 GB RAM memory. There are two SLI-bridged GTX680 NVidia cards.
    The software was very stable for the last six months, working with 720P proxy files from 2.5K masters (Blackmagic Design Camera). I am working on a feature-length project that exceeds 1000 edits. I have broken the file into 2 one hour segments.
    I have deactivated the software before reinstalling the entire OS from scratch. PP6 was very stable for 48 hours. Then the freezing space bar returns. After a dozen strokes into the project, same problem.  I have made cache files store next to originals, I have deleted preview files if they were corrupted and causing instability. Am I missing something?
    I have Microsoft Security Essentials for virus protection. I double checked the memory for damage/defect. Nothing says that the motherboard or other components are damaged.
    I am in film competition overseas and need to have deliverables in less than a month's time.  I lost the last two weeks troubleshooting and this crisis came at an inopportune moment of the project.
    Any assistance would be greatly appreciated.

    Still getting software freezes but found a way to mitigate for the mean time.
    Upon launching Adobe Premiere Pro, hit CTRL-ALT-DEL to launch TaskManager as well.
    You will want to highlight Adobe QT32 Server.exe
    Right click and select "End Process Tree"
    You will get considerable stability in the program, long enough to get timing of cuts done. Be sure to save often.
    If the program freezes, do not hit Save. You definitely want to avoid saving the corruption into your TimeLine
    CTRL-ALT-DEL to relaunch the TaskManager and highlight Adobe Premiere Pro.exe
    Right-click to "End Process"
    No need to reboot the whole system; just launch Premiere Pro again and continue with the session. Note that your work reverted to Last Save.
    Hope this helps until the bug is fixed.

  • How can we improve the performance while fetching data from RESB table.

    Hi All,
    Can any bosy suggest me the right way to improve the performance while fetching data from RESB table. Below is the select statement.
    SELECT aufnr posnr roms1 roanz
        INTO (itab-aufnr, itab-pposnr, itab-roms1, itab-roanz)
        FROM resb
        WHERE kdauf  = p_vbeln
        AND   ablad  = itab-sposnr+2.
    Here I am using 'KDAUF'  & 'ABLAD' in condition. Can we use secondary index for improving the performance in this case.
    Regards,
    Himanshu

    Hi ,
    Declare intenal table with only those four fields.
    and try the beloe code....
    SELECT aufnr posnr roms1 roanz
    INTO  table itab
    FROM resb
    WHERE kdauf = p_vbeln
    AND ablad = itab-sposnr+2.
    yes, you can also use secondary index for improving the performance in this case.
    Regards,
    Anand .
    Reward if it is useful....

  • Want to get the where-used hitlist to an internal table

    hi everyone,
            while using where-used list we will get a hit list result. I want to take that hit list data to an internal table with out using any local file.
    Is anybody there to help me.
    regards,
    vijaya.

    Hi Lakshmikona,
    I had wrongly interpreted your question, as suggested by Thomas you can use RS_EU_CROSSREF to get the Where used list data in the internal table.
    Refer this SAP standard report RSHDCF00 for you detailed perusal.
    Regards
    Abhii
    Edited by: Abhii on Sep 3, 2010 12:08 PM

  • I want to get the data of a table inside the Form but it is not passed

    I want to get the data of a table inside the Form but it is not passed to the form by tables parameters.
    How can I do this.
    Regards

    If there is a problem with defining it globaly, you can define a field symbol globably and point to it. For example.  It would probably be better to define your table globably.
    report zrich_0003 .
    field-symbols: <imarc> type marc_upl_tt.
    start-of-selection.
      perform get_data.
    *       FORM get_data                                                 *
    form get_data.
      data: imarc type table of marc with header line.
      select * from marc into table imarc up to 10 rows.
      assign imarc[] to <imarc>.
      perform write_data.
    endform.
    *       FORM write_data                                               *
    form write_data.
      data: xmarc type marc.
      loop at <imarc> into xmarc.
        write: / xmarc-matnr, xmarc-werks.
      endloop.
    endform.
    Regards,
    Rich Heilman

  • Can I sort the images used in a book's browser by the # of times used?

    I'm also producing a DVDSP slideshow of the event's (selected) photos not included in the book.
    Q2: Can I sort the images used in a book's browser by the # of times used?
    That way I don't have to search thru hundreds of photos. When used in a book, each photo gets a badge showing the # of times used. Can this badge be used in a sort?
    Or must I apply a keyword to the used (or unused) photos?
    Thanks.

    But if the file has been embedded, the file name is lost.

  • HT5787 My sister got an iPad and played with its passcode. She lost her passcode and had to reset the iPad using iCloud. Unfortunately, she accidentally pressed the iForgot button and leave it blank and quit it. Can anybody help?

    My sister got an iPad and played with its passcode. She lost her passcode and had to reset the iPad using iCloud. Unfortunately, she accidentally pressed the iForgot button and leave the old and new password menu blank and quit it. She didn't really understand about iForgot so she thought it's fine. Can anybody help?

    Have you tried looking in your spam folder for the email?

Maybe you are looking for

  • Is it possible to control an itunes library located on an iMAC from a

    I am trying to set up a sound system for a blind person using an ipad as a controller. The  itunes music library is located on a iMAC and there is a Wifi network with an Airport Express located elsewhere. The ipad has the Remote App and Airport utili

  • How can I use the same iCloud email that's on my iPad on my Iphone?

    How come my iPhone 4 will not let me use my iCloud email address that's on my iPad?

  • Fagl_fc_valu for open item managed accounts

    Hi, I have an open item managed account and I have activated the delta posting logic.  In January, an entry was made and not cleared.  The open item managed account was valuated at month end and an entry was posted to an adjustment account and unreal

  • N97 screen cable =( help please!

    my n97 that i absolutely LOVE wouldnt start the other day; i figured it was coz it ran out of battery after charging it and turning it back on,  the screen wouldnt turn on? everything else was fine; it made the nokia sound at the start and the keys l

  • Problem with importing a dmp file

    Hello, I am trying to import a dmp file to make an excercise. I've tried and read manuals all day now, but it seems I still do something wrong First, In the Enterprise Manager console, I create a new user (CREATE LIKE scott): <img src="http://users.s