How will check the space taken by a single table in a tablespace ?

How will check the space taken by a single table in a tablespace ?
dba_segments is giving the same values even if I truncate the table?
Pls reply

I need to know how can we find out the size of the table in the tablespace.use user_segments (bytes) column.
How much bytes it has taken ?value from user_segments, bytes column
If u delete records will the space be used for another table in same tablespace?No, it keep the space in the same table for future usage.
How can we free that space ?truncate or drop the table and reduce the size from tablespace, if you want to reclaim the space from the tablespace, OS level.
Jaffar

Similar Messages

  • How to find the space used by a single table, a index on that table etc

    Can someone tell where to locate for the Extents used by a single table , index and other objects

    A large question implies a large answer, read the reference guide
    http://download-uk.oracle.com/docs/cd/B19306_01/server.102/b14237/toc.htm
    and search dba_extents...
    Nicolas.

  • How to check the number of rows in a table with input data?`

    Dear all,
    I am having a table ( with declaration of 5 rows during the init ) there's a next button which will add another 5 rows by pressing. Let say the user ony key in 7 rows of data.. how should i track it? coz these data act as input to my bapi function. One of the input field of my bapi is to state how many rows of data that a user had key in. Thank you.

    I think ur problem is empty records, u dont want to process empty table rows.
    m I right?
    if yes then just before processing the data / records, check for empty records and remove unwanted rows from the node.
    for (int i = 0; i < TableNode.size(); i++)
             if all cells of row(i) are empty
                   remove row(i) from Table Node.
    OR if you dont want to remove empty rows from display (screen), then at the time of processing, transfer useful rows to a separate node and process that node.
    Best Regards
    Deepak

  • How  can i check the space in the field.

    hi:
    how  can i check the space in the field.!
    for example:
    data: string(30) type c value 'sent ence'.
    search  string for space.
    if sy-subrc = 0.
    write: 'i am right'.
    endif.
    but the result is that it cann't check the space.
    so how can check the space in the field!!
    thank you very much!

    Hi,
    data: v_string(30) type c value 'sent ence'.
    DATA : v_cnt TYPE I,
                v_num TYPE I  VALUE 1,
                v_num1 TYPE I.
    v_cnt =  strlrn( v_string ).
    DO v_cnt TIMES.
      IF v_string+v_num1(v_num)  EQ SPACE.
        write: 'i am right'.    
    ELSE.
       write: 'i am WRONG'.
      ENDIF.
      v_num1  =  v_num1 + 1. 
    ENDDO.

  • How can I reduce the space taken up by "other" on my iPhone 4?

    I have a 16GB iPhone 4, with the latest iOS installed. For quite some time now (at least 6 months), the "Other" bar in the capacity graph when syncing in iTunes has taken up a lot of space. I tried restoring my phone a couple times, but it didn't fix it. The space taken up by Other hovers around 4GB, leaving me only a couple MB to a GB (depending on how much other stuff I put on my phone) of free space. Is this something like storage for applications (i.e. scores on levels of Angry Birds, browsing history in Safari, texts, calendar, and other info that doesn't fall under the criteria Audio, Video, Photos, or Apps), or is it something else?
    I send and receive a lot of pictures and video via text or iMessage, so if it's because of that, would the solution be to delete the videos from the conversation?
    Any help would be greatly appreciated.

    This indicates corrupt files.
    A restore should resolve.

  • Different iTunes Libraries on same comp- will it double space taken up?

    Hey all,
    Quick question- I have my iTunes Library with a bunch of songs, and my wife's iTunes library on our iMac.
    My Library is full of songs that she would like to add to her Library.
    Both libraries are on the same User (Me), and when I want to open hers I simply hold down 'option' and choose her Library from there.
    My setup from Finder looks like this: Finder > My User folder > Music > iTunes (my Library) and also Wife's Library
    My question: If I move songs from my iTunes folder to her iTunes folder within this Finder window, so she can have access to the same music, will it double the space taken up on the HD, or will it just reference my iTunes folder?
    Thanks in advance for the tips!

    missed a very important step necessary to achieve this, in the summary tab in iTunes there is a check box... "show only synced items".. if you uncheck that box then unsynced items will will appear on the appleTV menus and when you click on them they will be streamed... this gives you the sync and stream from the same library part of what the OP wants.
    the other part of the puzzle is to let items inside and outside of the iTunes Folder exist in the iTunes library... the library is file that contains all the files that you see in itunes... files don't need to be in the iTunes folder to be in the itunes library though..
    the trick here is that when you drag the files from your external (the ones you don't want on your computer) and into iTunes... press option as you drag and the files will be added to the iTunes library (a reference/path to them really) but the files will not be copied to the iTunes folder... when iTunes looks for that file (to play it directly or to stream or sync to appleTV) it looks at the reference and says.. hey i can get this file here (on your external) and goes and fetches it.
    on a PC you press SHIFT as you drag into iTunes so the item(s) don't get copied to the iTunes folder.. no OPTION key on PCs.
    Message was edited by: tmartine

  • How to analyse the time taken for a query

    Hey gurus ,
                          How to find the time taken for a query to execute .
    Regards,
    Venkatesh

    Hi,
    Time taken to execute a query = FRONT END TIME + OLAP TIME + DB TIME.
    front end time is time taken to do format in BEX.
    olap time is time taken to aggegate data in OLAP buffer.
    db time is tme taken to collect data at data target.
    to fine all these information
    goto RSRT -> give query name -> execute+debug -> it will display all the fields > check fields what ever u want.
    Regards,
    Haritha.

  • How to check the verity version in our PeopleSoft Installation?

    How to check the verity version in our PeopleSoft Installation? I am not sure if the verity is installed or not and also if installed what is the version?

    yes. it says the version is 5.0.1
    Is there any difference in installation or configuration when the app and web server are in same machine and when the app and web server are installed in different servers?
    ============================================
    D:\fs840\webserv\peoplesoft>mkvdk
    mkvdk - Verity, Inc. Version 5.0.1 (_nti40, Jul 23 2004)
    Usage: mkvdk [<option>...] <filespec>...
    Where <option> can be a VDK switch, or any of:
    -about Show the collection's about resources
    -autodel Delete bulk insert file when no longer needed
    -backup <dir> Specify collection backup location
    -bulk Submit bulk insert file(s)
    -charmap <name> Specify the character map to VDK
    -collection <path> Specify the collection (required)
    -create Create the collection
    -credentials <user> Specify user[:passwd][:domain][:mailbox]
    -datapath <path> Specify VDK datapath
    -datefmt <fmt> Specify date format to VDK
    -debug Enable debugging output
    -delete Delete documents
    -description <desc> Set the collection's description
    -diskcache <num> Set VDK's disk cache size (kbytes)
    -extract Extract field values from text
    -help Print this usage information
    -insert Insert documents (default)
    -locale <locale> Specify the locale to VDK
    -logfile <file> Save output in a log file
    -loglevel <num> Set the VDK output level for the log
    -mailboxes This option is depracated. Use the credentials option inste
    ad
    -maxfiles <num> Set VDK's maximum number of open files
    -maxmemory <num> Set VDK's maximum memory usage (kbytes)
    -mode <mode> Set the indexing mode
    -modify Modify fields using field/value pairs from a bulkfile
    -nohousekeep Disable housekeeping
    -noindex Disable indexing
    -nolock Turns off locking (dangerous)
    -nooptimize Disable optimizations
    -nosave Don't save collection work list
    -noservice Prevents servicing of submitted work
    -nosubmit Don't submit work to VDK
    -numdocs <num> Number of documents to insert from bulk insert file(s)
    -numpages <num> Synonym for diskcache for backward compatibility
    -offset <num> Specify offset into bulk insert file(s)
    -online Flag for online Bulk Modify
    -optimize <spec> Optimize the collection
    -outlevel <num> Set the VDK output level
    -persist Service the collection forever
    -purge Remove all documents from collection
    -purgeback Purge in the background
    -purgewait <secs> Specify delay before purge
    -quiet Suppress all non-error messages
    -repair Repair the collection
    -servlev <spec> Advanced option for overriding service level
    -sleeptime <secs> Interval between service calls for persist
    -style <dir> Specify style directory for create
    -submit Synonym for noservice for backward compatibility
    -synch Perform work synchronously
    -topicset <path> Specify VDK topic set
    -update Update documents
    -vdkhome <path> Specify VDK home
    -verbose Output more information
    -words Build word assist list
    -wordindex Build word assist index
    The <spec> for -optimize is a hyphenated string of:
    maxmerge Perform maximal merging of partitions
    squeeze Recover space from deleted documents
    vdbopt Build optimized VDB's
    spanword Create word list spanning all partitions
    ngramindex Create ngram index into spanning word list
    maxclean Really clean (not for read-write)
    readonly Make the collection read-only
    tuneup Fully optimize for read-write use
    publish Fully optimize for read-only use
    The <spec> for -servlev is a hyphenated string of:
    search Enable search and retrieval
    insert Enable adding and updating documents
    optimize Enable opportunistic collection optimization
    assist Enable building of word list
    housekeep Enable housekeeping of unneeded files
    delete Enable document deletion
    backup Enable backup
    purge Enable background purging
    repair Enable collection repair
    dataprep Same as search-index-optimize-assist-housekeep
    index Same as insert-delete
    Error: must specify collection
    mkvdk done
    D:\fs840\webserv\peoplesoft>

  • How to check the format (PAL or NTSC) of a DVD?

    I wonder if someone can tell me how to check the format (PAL or NTSC) of DVD’s that I receive from my friends around the world. Many of them have no marking as to the format... Is there some software that can do this?

    Hello Peace Freak,
    have a look at myDVDedit (http://www.mydvdedit.com). It's actually designed to do postproduction on a DVD, but will also display a lot of info, such as TV standard, 16:9 vs. 4:3, etc.
    Insert your DVD, then launch myDVDedit and open the VIDEO_TS folder contained in your DVD. Click the IFO tab to find the information you're looking for.
    hope this helps
    mish

  • How to Check the report is Finished while calling a report from Forms 6i

    Dear All,
    I am Calling a report from oracle forms 6i, after runing report in " Run_Product(REPORTS,:fn_cntl.nb_report_name,ASYNCHRONOUS, RUNTIME, FILESYSTEM,pl_id, NULL);"
    I need to copy the pdf to store it in another place once the report is generated.
    My Problem is : that i want ot Check first the report has generated after " Run_Product(REPORTS,:fn_cntl.nb_report_name,ASYNCHRONOUS, RUNTIME, FILESYSTEM,pl_id, NULL);" is executed ? How to check the report is generated ot not?
    As i tried to use the below procedure after "Run_Product(REPORTS,:fn_cntl.nb_report_name,ASYNCHRONOUS, RUNTIME, FILESYSTEM,pl_id, NULL);"" but his does not work... nothing happens
    {code}
    PROCEDURE FPC_COPY_REPORT (p_report_name varchar2) IS
         repid REPORT_OBJECT;
         v_rep VARCHAR2(100);
         rep_status varchar2(20);
         lv_id varchar2(1000);
    BEGIN
    repid := find_report_object('AMTP_995.RDF');
    v_rep := RUN_REPORT_OBJECT(repid);
    rep_status := REPORT_OBJECT_STATUS(v_rep);
         if rep_status = 'FINISHED' then
         message('Report Completed'); message('Report Completed');
         else
              message('Error when running report.');           message('Error when running report.');
         end if;
    END;
    {code}
    Any Help

    actually My code is this:
    declare
         ln_alert          number;
         pl_id               ParamList;
         lv_report_name varchar2(10000);
         lv_path  varchar2 (100) := 'C:\';
         lv_shared_path  varchar2(1000);
         lv_copy_file varchar2(10000);
      cursor cr_dir_path IS
      select v_dir_path
      from md_directory
      where v_dir_code ='SHR';
      lv_file_name varchar2(1000);
    BEGIN
      open cr_dir_path;
      fetch cr_dir_path into lv_shared_path;
      close cr_dir_path;
    lv_report_name :=  lv_path||:fn_cntl.nb_ref_no||'_M08600000_'||to_char(sysdate,'YYYYMMDD-HHmmss')||'.pdf';
      if ffn_check_fields  THEN
         pl_id := Get_Parameter_List('LAI');
             IF NOT Id_Null(pl_id) THEN
                 Destroy_Parameter_List( pl_id );
              END IF;             
              pl_id := Create_Parameter_List('LAI');
           if :fn_cntl.nb_report_name ='MMAT_REPORT'
                then
                     if :fn_cntl.nb_report_desc ='EXPORT'
                          then
                         Add_Parameter(pl_id, 'PARAMFORM',TEXT_PARAMETER, 'NO');
             Add_Parameter(pl_id, 'DESTYPE',  TEXT_PARAMETER,'File');
            Add_Parameter(pl_id, 'DESNAME',  TEXT_PARAMETER, lv_report_name);
            Add_Parameter(pl_id, 'DESFORMAT',TEXT_PARAMETER,'PDF');
            Add_Parameter(pl_id, 'p_mat_no',TEXT_PARAMETER, :fn_cntl.nb_mat_no);   
            Add_Parameter(pl_id, 'p_ref_no',     TEXT_PARAMETER, :fn_cntl.nb_ref_no);
            Add_Parameter(pl_id, 'p_verified_by',TEXT_PARAMETER, user);
                     Run_Product(REPORTS,:fn_cntl.nb_report_name,ASYNCHRONOUS, RUNTIME, FILESYSTEM,pl_id, NULL);
          DECLARE     
               repid REPORT_OBJECT;     v_rep VARCHAR2(100);     rep_status varchar2(20);BEGIN
                         /* REP_OBJ= REPORT OBJECT CREATED UNDER REPORT NODE AT FORM */
             repid := find_report_object('MMAT_REPORT');      v_rep := RUN_REPORT_OBJECT(repid);
                        rep_status := REPORT_OBJECT_STATUS(v_rep);          
          if rep_status = 'FINISHED' then
              message('Report Completed');          message('Report Completed');
             --copy_report_object_output(v_rep,'c:\local.pdf');
             -- host('netscape c:\tlocal.pdf');     
         else          message('Error when running report.');
                                          message('Error when running report.');     
         end if;
                 END;
         end if;
      end if;
           if :fn_cntl.nb_report_desc ='EXPORT'
                then
                  error_handler('This report will be Storde in ' ||lv_report_name||' and '||lv_shared_path|| ' Location',3);
                     lv_copy_file :='copy '||' "'||lv_report_name||'" "'||lv_shared_path||'"';
                     host(lv_copy_file,no_screen);
                  error_handler('Report Has been Generated Sucessfully.',3);
           end if;
        end if;
    END;I will try first the another solution you have replied perviously... and will let you no the results... thanks a lot...

  • How to check the report builder version from the rdf file

    Hi,
    I have a rdf file but I don't the developer using which version of report builder to develop the rdf file. So, does anyone knows how to check the rdf file is developed by which version of report builder?
    When I try to use the notepad to open the rdf file, it shows the string "ROS.60050". So, does it means that the rdf file is developed by Oracle report 6i?
    Besides, do anyone knows if Oracle report 6i are still offer from Oralce (as I know, the latest verison of oracle report is 11g). So, in case Oralce not offer oracle 6i and I need to buy oracle report 11g, do u know it is compatiable or I need to do the migration from 6i to 11g?
    Thanks!

    Hi,
    The ROS version you are seeing in the RDF file does not mean the version where that RDF was developed. I am not aware of a way to check this but something that may help is that when you try to open a RDF developed in a higher version
    of Reports with a lower version of Reports builder the following warning will be displayed
    Warning. Opening a report saved with a newer version of Reports Builder.
    Functionality may be lost. Continue?
    "You tried to open a report with a version of Reports Builder older than the version used to
    create the report. If the report uses functionality unavailable in the older version, that
    functionality will be eliminated from the report.
    Regarding Oracle Developer 6i. This version is not supported any more. Regarding how to upgrade Reports 6i to 11g and what to have in mind during the upgrade please review the following documentation.
    References
    http://docs.oracle.com/cd/E24269_01/doc.11120/e24478/toc.htm
    How To Migrate Forms and Reports From 6i and/or 9i To 11g? (Doc ID 1275515.1)
    Hope it helps.
    Regards, RZ

  • How to check the hardware vendor of a particular device

    Hi every one
    in the recent interview i have taken he asked me a question like
    how to check the hardware vendor of a particular device
    ex: hard disk ,nic card ,ram
    Thanks in Advance.......

    hi
    depends on OS version
    in RedHat like distros e.g.:
    lspci, lsusb, ls...
    dmidecode|grep -i manuf
    kudzu -p -s
    on Solaris you can use these :
    dladm show-dev
    dladm show-link
    prtconf -D
    kstat [-P]
    Edited by: g777 on 2011-03-11 07:24

  • I am planning to take unlocked  iphone5 which is from USA, let me to know how to check the phone is valid ?

    i am planning to take unlocked  iphone5 which is from USA, let me to know how to check the phone is valid ?.How can i check is that properly unlocked, stolen and service.

    IF you can actually yet purchase an unlocked iPhone4 8GB from the US Retail stores is not clear
    They are certainly available from Apple.com but only if you have a US credit card and a US delivery address
    I suspect you do not fit this requirement
    You also have to be careful as the Apple Retail stores sell no contract iPhones these are NOT unlocked
    However if you are able to purchase an unlocked iPhone4 8GB then it will certainly work with the Approved carriers in India

  • Help! how to check the SQL run in Oracle?

    Hi all,
    I have a problem. the developer said the SQL written in Java code are not the one executed in Oracle DB. that mean the query is some how manipulated by some PL/SQL so the final query run in Oracle is different. So can someone teach me how to check the actual SQL run in Oracle?
    Thanks a lot.
    Regards,
    Jason

    Hi Michel Thanks. But it looks like the query stored in v$sqlarea is not the final executable SQL. for example, the code in application is "select column_A from default_table where column_A = ?" and this ? will be given some value in run time. the query stored in v$sqlarea will be like "select column_A from default_table where column_A = :1"... what is this :1?
    Also if some PL/SQL procedure appends some condition to the SQL, is it possible to view the full query from database side?
    ok, let me try trace and tkprof first.

  • How to check the sales orders that have been created with an Rebate Agreeme

    Dear Experts,
    Do you know how to check the sales orders that have been created with an Rebate Agreements?
    Thanks!!

    Hi Hoo Laa,
    I have one way but little lengthy.
    Rebate condition always appears in the billing document.
    So 1st you extract the sales order list from Table VBAK.
    once you have the sales order list then you can put your order list in Table VBFA --> Extract the billing document list.
    Now put that list in the table VBRK.
    In VBRK you will get the "Doc. condition" --> put that doc condition in table KONV with your rebate condition type.
    It will show the result.
    Later, through VLOOKUP you can identify in which order you have given rebate to your customer.
    Already said, Little lengthy
    Regards,
    MT

Maybe you are looking for

  • Deployment Application To Weblogic Server Failed

    Hello every body I need your help in this problem please : I'm using Oracle JDeveloper 11.1 in my local machine, I Installed Weblogic Server 10.3 on the server and it's works well, I made new JDBC connection in Weblogic Server and it's works well too

  • Printing iCal in list form

    When printing a calendar in list form, is it possible to print only the days that have events?

  • Submit by email as PDF issue

    I have a PDF form with submit by URL button.  When used 'select email client' box pops up.  If by desktop  email, button works fine.  If by internet email you have to save the pdf.  But my PDF will not save to my computer when testing the form.  It a

  • Help! "Use iTunes to restore.."(CAN'T!!)

    Hi all, I got an ipod nano.(4 gb)when i tried to open my ipod ,it gives an error "use iTunes to restore" then i try to restore but it gives an error "iTunes has detected an iPod in recovery mode.You must restore the ipod before it can be used with iT

  • Encrypt / Decrypt text

    I created MyClass having the capability update a database. A typical application call is like this. MyClass newObj = new MyClass("uuuu", "pppp", otherparam ); i = newObj.update(); The first two parameters in the constructor are username and password.