How to calculate table size given the structure.

Today i was asked how to estimate the size of the table given th transactions,.
table has 90 column all varchar(10)
How to calculate the size of table which has no data.
Message was edited by:
Maran.E

hi,
SQL> create table test as select * from all_objects ;
Table created.
SQL> create table test1 as select * from all_objects where 1 = 2 ;
Table created.
sql>select segment_name,bytes/1024/1024 "size", blocks
from dba_segments
where segment_name in ('TEST','TEST1')
SEGMENT_NAME
      size     BLOCKS
TEST1
     .0625          8
TEST
         6        768regards
Taj

Similar Messages

  • Fact table size of the cube

    BW Gods!
    I need to selectively delete data from a cube which holds data from 2001-2006.....say I want to delete data only for 2001. It was suggested to me by pizzaman in one of our earlier threads that BW would decide if the data to be deleted is more than 10% of the cube size and if it is, it would just copy the cube without the data which has to deleted and it would rename the cube. So he suggested that I should find out the fact table size and make sure that there is enough space in my fact tablespace for this operation to go on.
    My question is, how do I find out the fact table size of the cube?
    How do I find out if there is enough space on fact tablespace for the above said deletion operation to be executed.
    I am not too sure whether I have put across the question correctly. Let me know.
    Thank you all in adavance
    Ashwin

    You want to make sure you include space for the F fact table and the E fact table, assuming you compress the infocube. If you use DB02 and use wild cards you migh be able to get all teh size info in one shot.
    Gnerally, he indices for an InfoCube don't occupy a lot of space, but they do take space.
    The default InfoCube table space is PSAFACTD and indics are in PSAPFACTI - not 100% sure that is universal acorss all the different DBs.  Your shop could also have put them in differnt tablespaces altogether.  Probably worth a quick check with your DBAs - they might know that they have lot of space availalbe, and you don't need to take the time to run down the space usage info.
    The table copy process will NOT delete the original fact tables unless/until it has successfully loaded to new copy.

  • How to update table styles in the new Pages?

    Anyone found out how to update table styles in the new Pages? I see it's done in some of the templates that Apple provided, but I can't find it. Also, the Copy table style command is gone, so I can't make my tables look in a uniform way, unless I use one of the built-in styles.
    Thanks.

    I'm having the same trouble. Looks like no way to create an overal 'table' style and I cannot access the table paragraph styles either.

  • Table name for the structure MEPO1211

    Hi Friends,
    I want to find out the the Purchase Orders created with USD currency.   This currency indicator is not available in the table EKPO.  On checking the PO, the currency field is in the strucure MEPO1211.
    Kindly let me know the table name where the PO with currency is stored or the table name for the structure MEPO1211.
    Thanks in advance.
    Regards,
    Mark K

    Hello Mark
    If the fields belong to the PO header then EKKO is the table you should look for.
    In case of item related data the table is EKPO.
    In any case structure MEPO1211 just belongs to screen 1211 in the PO application.
    Further Reading:
    [Purchase order item - cl_po_header_handle_mm|https://wiki.sdn.sap.com/wiki/display/ABAP/Purchaseorderitem-cl_po_header_handle_mm]
    Regards
      Uwe

  • How to increase font size on the finder and menu bar

    how to increase font size on the finder and menu bar

    according to this thread, in Leopard you can't but they offer some suggestions: https://discussions.apple.com/thread/2075719?start=0&tstart=0

  • How do I get to know the structures stored in a cluster table

    Dear fellow developers,
    this question is about Cluster Tables of the INDX-type which need to be read with
    IMPORT/EXPORT FROM/TO ...
    I need some advice concerning the question of how to find
    out the definition of a structured field in such a cluster.
    To be more precise:
    By using the command
    IMPORT DIRECTORY ...
    I know that in the table/cluster
    VARI
    section
    VB
    there are two structured
    fields the content of which I'm interested in for reading and writing purposes:
    %_VARI40C
    and
    %_VARIVDAT
    I already know the structure of the first one, but only because I found a Standard FM that reads it with an appropriately defined WA-structure, but I cannot find something similar to find out the structure definition for the other one (%_VARIVDAT). It can't be possible that this is so difficult to find out. There must be some better and easier way to find this out that I don't know yet...
    Thanks in advance for your appreciated help
    Andreas

    Hi Andreas,
    I think you have nothing into SAP to find the structure of a cluster table.
    The way I use, is to find a standard program that use this cluster, and I look in the ABAP code the structure used by SAP.
    You just have to use the ST05, and use the option to see the code where the cluster has been readed.
    Rgd
    Frédéric

  • How to prevent developers from modifying the structure of DB

    We are developing an application and using Oracle 8i as DB server. I don't want the developers to modify the structure of tables. They should only be able to insert/update/delete rows of the tables.
    How can I make it?
    Any suggestions will be appreciated.

    A good rule is that no one logs in as the schema owner. You could give the schema owner a strong password, and not share it with the developers. Then create a role. Every time you make a table in this schema, be sure you're logged in as the schema owner, then grant select,insert,update,delete on the table to the role. Better yet, make two roles. Grant select on all tables to one role, which will be a readonly role. Grant select,insert,update,delete to the other role.
    Then, you can grant one of the roles to your developers -- the readonly role or the read/write role, as you choose. As you add tables, grant access to them to the roles and the users with the role automatically get DML access -- but not DDL access.
    Be sure to check which system privileges and roles your users already have. If you've made them all DBAs, all bets are off! 8)

  • How to maitain table maitainence for the table containing Long field

    Hi ,
    i have create a table with the following structure.
    MANDT           MANDT
    LANG           ZLNG          char3
    TEXT_ID           ZTEXT_ID    char8
    TEXT_TYPE     ZTEXT char35
    TEXT         TEXT_EB   char4
    LEN         ZLEN        int
    ZSTR         LS_LC4096 char1200
    How to maintain table maitainence generator for this table.
    regards,
    Madhavi

    Hi Madhavi,
    can u please let us know how u have solved the problem.
    It will be helpful to everyone.
    Thanks & Regards,
    Sudheer

  • How to reduce table size after deleting data in table

    In one of the environment, we have 300 GB tabe which contains 50 columns. some of the columns are large object columns. This table contains data for the past one year and every month it is growing by 40 gb data. Due to this we have space issues. we would like to reduce the table size by keeping only recent two months data. What are the posiible ways to reduce the table size by keeping only 2 months data. Database version 10.2.04 on rhel 4.

    kumar wrote:
    Finally we dont have down time to do by exp/imp method.You have two problems to address:
    <ul>
    How you get from where you are now to where you want to be
    Figuring out what you want to do when you get there so that you can stay there.
    </ul>
    Technically a simple strategy to "delete all data more than 64 days old" could be perfect - once you've got your table (and lob segments) down to the correct size for two months of data. If you've got the licencing and can use local indexing it might be even better to use (for example) daily partitioning by date.
    To GET to the 2-month data set you need to do something big and nasty - this will probably give you the choice between blocking access for a while and getting the job done relatively quickly (e.g. CTAS) or leaving the system run slowly for a relatively long time while generating huge amounts of redo. (e.g. delete 10 months of data, then shrink / compact). You also have a choice between using NO extra space to get the job done (shrink/compact) or doing something which effectively copies the last two months of data.
    Think about the side effects you're prepared to run with, then we can tell you which options might be most appropriate.
    Regards
    Jonathan Lewis

  • How to manage multiple sizes of the same image?

    I recently took up LightRoom for all the good things it does. One of the things I need to do, however, is to create and manage multiple sizes of the same image needed for different purposes. I always found this cumbersome. I totally expected that the LR library would offer a solution for this but I looked and I didn't see anything. Sure you can export and resize in the process but then you're on your own. Am I missing something? Isn't there a better way? What does Adobe have in mind for best practices and how do you handle this?

    I can't speak for 99jon, but when I need multiple sizes, I export at the desired sizes, and then make use of the exported photos (upload, e-mail, whatever) and then delete the exports. Thus, there's really no need for me to keep track of the photo at this specific size, knowing that if I ever need it again -- unlikely -- I can regenerate it with the export pre-set, so I put no effort (zero!) into keeping track of photos at different sizes.
    The idea of adding it back into the catalog doesn't get me excited, and I would advise against it. I don't need this, and I don't see the benefit of keeping this particular size export for the long-term. As I said, I can always recreate it — but maybe you have such a need to keep these exports long-term and recreating it at a later point in time doesn't meet your needs? Can you explain?
    By the way, you can't resize a virtual copy, so that won't work here. The only time you can resize is on export.

  • How to change font size of the date in notification center?

    The language of yosemite system on my macbook pro is “Traditional Chinese”. If the month and day of  a date are both composed of two characters, for example, Oct 23 (“10月23日” in Chinese), the last character of the date will go to a new line (as shown in the picture attached). It’s ugly!!!
    I think this issue can be solved by decrease the font size of the date. Is there anyone knows how to do this or where the configuration file of the notification center is? Thanks!

    AFAIK there is no way to customize this font size. You can't resize the window either.
    You need to report it to Apple Feedback so it can be logged and put in the queue to be fixed.
    http://www.apple.com/feedback/macosx.html

  • How to change font size in the message list pane (showing header lines of messages)

    The list of messages at the top of the Thunderbird window (From / Subject / etc.) uses a font that is very small and hard to read. The issue is: How can the user increase the size of the font so that it is readable?
    The platform is a Mac computer running OS X 10.9.5 with Thunderbird version 31.3.0.

    ''policyjm [[#question-1043939|said]]''
    <blockquote>
    The list of messages at the top of the Thunderbird window (From / Subject / etc.) uses a font that is very small and hard to read. The issue is: How can the user increase the size of the font so that it is readable?
    The platform is a Mac computer running OS X 10.9.5 with Thunderbird version 31.3.0.
    </blockquote>
    OK, that solution worked fine. I now have complete control of the fonts, colors, and other Thunderbird features. Thank you very much.

  • When I am on Firefox, my Netzero email page suddenly dropped to very small print. AOL OK. How do I increase size of the print so I can read the email?

    I was using Firefox to read my Netzero email. The print suddenly dropped down to very small and I have difficulty reading the email. Netzero said to oper Mozilla Firefox, click "tools", click "options", and click "content" to change the font to a bigger size. But when I clicked the brown "Firefox" button on the Firefox page, I do not see the buttons Netzero told me to click. Can you tell me what they are referring to or just tell me how to increase the size of the font when I am reading email on Netzero. AOL email font size was not affected when I clicked AOL to read the email there.

    See this and reset the zoom level there: <br />
    https://support.mozilla.com/en-US/kb/Page+Zoom

  • How to find table name for the fields from Standard Extractor in CRM system

    How to find table name of fields from the standard extractor in CRM system ?
    e.g. We use LBWE TCode in R/3 system to find table name for the field from Extractor VCSCL(e.g.).
    Likewise is there any way to find table name for the fields from Standard extractor like 0CRM_LEAD_I.

    Hi ,
    Please find the link below for understanding BW CRM analysis.
    http://help.sap.com/bp_biv135/html/bw.htm
    activate the CRM DSs by scenario:
    1) Activate the application component hierarchy (tcode RSA9). Changes made to the application component hierarchy in the CRM system can be transferred to the BW using the "Edit Application Component Hierarchy" (SBIW - Postprocessing of DataSources).
    SAP Note 434886 must be implemented in CRM 3.0 before the application component hierarchy is activated.
    2) Activate the Business Content DataSources (tcode RSA5).
    Select/enter the application component and choose Execute (F8).
    To compare the shipped and active versions, choose the 'Select Delta' pushbutton. If there is no active version of the DataSource, it is selected automatically.
    To activate the shipped version, choose the 'Transfer DataSources' pushbutton.
    3) Management of the versions of the BW-Adapter metadata (tcode BWA5). All DataSources are displayed that are managed by the BW Adapter.
    As in transaction RSA5 (Service API Metadata Activation), the 'Select Delta' function can be used to select the inactive DataSources or compare shipped and active versions.
    You can also go directly to the screen for maintaining DataSources that are managed by the BW Adapter.
    The 'Compare Version' function makes a detailed comparison of the shipped and active versions.
    All BW-Adapter metadata is considered when versions are compared:
    Header information (Table SMOXHEAD)
    Mapping information (Table SMOXRELP)
    Global selection conditions (Table SMOXGSEL)
    Attribute key fields (Table SMOXAFLD)
    Hope this helps.
    Regards,
    csm reddy

  • How to calculate overwrighting commission to the third party

    hi,
    sap gurus,
    here is the scenario:
    my sold to party is different
    and
    ship to, bill to and pyr is different.
    but
    the order will be on sold to - ie on third party.
    and
    the rest are the same ie - delivery, billing, payment is from the party to whom we have delivered, billed, and paid.
    and
    after the party paying the full amount then we have to
    calculate over writing commission to the party ie sold to.
    how to calculate that commission.
    hint: we hav to think from Partner Determination Procedure perspective and requesting to find a solution for that.
    this is specifically only TRANSACTION SPECIFIC.
    BUT NOT PERIOD SPECIFIC.
    help me on this.
    regrds,
    balaji.t
    09990019711
    and

    Hi
    yopu can make use of existing query in APD and update a Direct Update DSO and then a cube , then u can define your new query on the new Cube with required Keyfigure values .
    Rajesh

Maybe you are looking for

  • Know about apple recycle program

    how to recycle iphone 4s free of cost

  • IPhoto 9.4.2 crashes

    Hi, I have a MacBook pro 2,4GHz Core i7 running on Mountain Lion. My iPhoto crashes everytime I try to open it and when I plug my iPhone, iTunes tells me it can't find my iPhoto library. Any idea why and what I should do? Thanks!

  • Classification change not stored in change number using BAPI_OBJCL_CREATE

    Hello SAP Guru's, When using BAPI_OBJCL_CREATE to create classifications and using a change nr in parameters, the object is not recorded in the change nr. When you use the transaction CA01, object is well created in change number. We use the BAPI in

  • What is error 42408

    literally every time that I "should update" my software, as told to me by the software update system thing, and I listen to it, it screws up itunes, why? now whenever I open itunes, "unknown" error 42408 comes up.  What is error 42408? Unknown.  What

  • BufferedImage save As a JPEG

    I'm capturing video form camera.there I want to save capture video as a image(JPG format) . I want to save BufferedImage as a JPEG image with out using com.sun.image package. If any one know how to that plz reply this.