Capacity Planning for Creation of Table

Hello Guys,
I just need some advise here.
I have been told to work out the space needed for the creation of a table.
The table in question would have three columns with datatypes [num(10), varchar(10),date] and would be loaded with 100,000 rows. How do I go about it.
Thanks in Advance

Try with something like this, may help you.
Prerreqs: parameter OPTIMIZER_MODE != RULE.
grant to execute DBMS_SPACE
DDL Table creation:
CREATE TABLE SAMPLE
ID               NUMBER(9),
NAME             VARCHAR(50),
CREATE_DATE_TIME DATE,
MOD_DATE_TIME    DATE,
USER_ID          VARCHAR(15)
set serveroutput on
declare
   calc_used_bytes  NUMBER;
   calc_alloc_bytes NUMBER;
   cols             sys.create_table_cost_columns;
begin
   cols := sys.create_table_cost_columns
           sys.create_table_cost_colinfo('NUMBER',   9),
           sys.create_table_cost_colinfo('VARCHAR2', 50),
           sys.create_table_cost_colinfo('VARCHAR2', 15),
           sys.create_table_cost_colinfo('DATE',     NULL),
           sys.create_table_cost_colinfo('DATE',     NULL)
   DBMS_SPACE.CREATE_TABLE_COST (
       tablespace_name => 'USERS',
       --avg_row_size    => 100,   quitar comentario para 11g
       row_count       => 5000,
       pct_free        => 10,
       used_bytes      => calc_used_bytes,
       alloc_bytes     => calc_alloc_bytes
   dbms_output.put_line('Used      (M): '||round(calc_used_bytes/(1024*1024)));
   dbms_output.put_line('Allocated (M): '||round(calc_alloc_bytes/(1024*1024)));
end;
/More info: http://download.oracle.com/docs/cd/B19306_01/appdev.102/b14258/d_space.htm#i1003180
Regards.
johnxjean
Edited by: johnxjean on 18-Mar-2011 09:43
Edited by: johnxjean on 18-Mar-2011 09:44

Similar Messages

  • Capacity planning for DB, pctfree pctuser

    What is segment, pctfree, pctused ? want to clear my concepts...
    Secondly how we can do capacity planning for Database growth?

    The simplest and most accurate approach is
    - Create the schema
    - Load it with a representative amount of data (i.e. 1-2% of the expected data volume)
    - Measure the amount of disk required
    - Multiply by an appropriate factor to determine the eventual size
    You can also do back of the envelope calculations, taking the average row size of your larger tables, multiplying by the expected number of rows, then adding an appropriate multiplier. Probably in the neighborhood of 2 to account for indexes, empty space in the table, etc., but this is very application specific.
    Justin

  • Constraint capacity planning for Un-Routed items in ASCP

    Hi All,
    Is there any possibility to create constraint capacity planning for items which do not have routings in ASCP?
    I tried by setting Bill of Resources (BOR) in Aggregatin tabbed region in Plan option. But i could not get an expected result. Kindly help me out in this.
    regards,
    Murlai R
    Edited by: user10942922 on Mar 27, 2009 9:30 AM

    Dear ,
    To answer the question for Capacity requirement planning on sales order I would say that MRP does  only materials planning based on demand and reciept  but never does Capacity Requirement Plannig .MRP generates Planned Order  and susequently , production order can be genreted and farther you can carry out capacity requirement planning based on the work cente available capacity , requirement and load for those MTO orders .
    But there are SAP business suit like APO-SNP APO PPDS which carriy our details scheduleing and caapcity check based on the demand situation : Sales Order ,Independent Order  and does capcaity vaialbality chek for those demands while planning .
    Now , here is the answer of your question :
    1) Can Capacities are Scheduled as per priority given in SO automatically. : Not possible  through  SAP MRP but in APO-PPDS, APO-SNP-CTM , Herustic model .
    2) Can revised availability dates will be reflected in SO. : It can be reflected as per the ATP chekc , Replishmenet Lead  Time and re-scheduling horizon maintained in OPPQ-Carry all overall plant parametres.
    3) Which reports will be useful for understanding consolidated availability date of material for given sales order/s. : You can check through MD04/MD05 or in sales order -Availaibility check -Schedule Line -Availaibility date .
    Hope your are clear about the requirememt .
    Regards
    JH
    Edited by: Jiaul Haque on Jun 5, 2010 1:59 PM
    Edited by: Jiaul Haque on Jun 5, 2010 1:59 PM

  • Capacity Planning for Workflow Manager

    Some information is available regarding highly available Workflow Manager implementations but I cannot find any information regarding when or how you should perform capacity planning for the workflow manager.
    A few questions are jumping out at me.
    When would we want/need a dedicated Workflow Manager server? (I can understand if this was shared between multiple farms this may be a benefit but what about from a pure capacity perspective).
    Are there any case studies or documentation that we can use as a baseline estimation for capacity for the workflow manager?
    Generally speaking for a small/medium farm deployment is it expected that this service also run on the application server?
    certifications MCITP, MCTS, MCPD | blog
    http://corypeters.net | twitter
    @cory_peters

    That would really depend on what kind of workflows are being run and the traffic being generated by the users. If you have long and complex workflows, you will need multiple nodes in the farm to handle.
    Our tests with very simple workflows on a 16-core 16GB machine with SQL Server on a diff machine showed that it could handle 400 incoming messages per second and 65 workflow executed per second. Now if you have complex workflows, it may slow down further.
    If you have one msg per user per second - it may mean 400 users handled per second. But I wouldn't make that conclusion - u must test your farms against your scale needs and accordingly plan your farm capacity
    Hope this helps
    Ravi Sekhar

  • Capacity Planning for OBIEE

    Hi,
    I am looking for some information on how to do capacity planning for obiee imlpementation. Any pointers would be much appreciated.
    -Thanks

    Check out this document:
    http://www.peakindicators.com/media_pi/BI+EE+Architectures+and+Sizing.pdf
    regards
    John
    http://obiee101.blogspot.com/

  • Capacity Planning for Hyper-V individual host and Cluster

    Hi Experts
    I need to know some basic idea about Capacity planning for Hyper-V which requires Capacity Planning for Hyper-V individual host and Cluster.
    I got attached info on websites but still not clear. Can someone link me to an effective website or help me to calculate the required sizing. W
    Regards Suman B. Singh

    Hi,
    You might want to check out these websites:
    http://www.microsoft.com/en-us/download/details.aspx?id=39057
    http://technet.microsoft.com/en-us/library/dd277865(v=office.12).aspx
    http://technet.microsoft.com/en-us/solutionaccelerators/dd537570.aspx
    Cheers
    Andrew

  • Capacity Planning for External Procurement Material

    Hi, I have the following requirements.
    MRP Scheduling is getting executed material level (material no, plant) with scheduling type 2 which means lead time scheduling using MD02 Transaction Code. This is works fine for the Inhouse Product. In order to achieve lead time the functional team has maintained the necessary routing/workcenter configs.
    The business needs the same functionality "Capacity requirements calculation" for the external procurement material. Business is willing to maintain routing/workcenter config.
    Currently standard program (MD02) is not considering the Capacity planning for the external Procurement material.
    Could you please suggest is it can be controlled through programming.
    Kindly suggest the function modules for Capacity Planning - materialwise, plantwise.
    Please suggest.
    Thanks
    Giri

    Hi Giri
        I think the requirement is not mentioned clearly. Capacity is required only if the material is assembled/produced in house.
    Anyway try this. Set the Procurement type to X in the MRP views in material master. You might have to define your custom material type so that it does not force the procurement type to F. Try the feature called "Quota arrangement". The idea is to define the material in such a way that it can be procured externally or produced in house. With quota arrangement you can say what % has to be bought and what % to be produced in house. If it is produced in house then you can have capacity requirements.
    Regards
    Pragnesh

  • Can anybody give me the formula for Database capacity planning for 10gR2?

    Hi ,
    I want to learn how to make database capacity planning for production in 10gR2. Here i need any formula to plan the capacity.
    Can anybody help me?
    Regards
    Rajesh

    hi,
    There is no perfect world. There is no perfect application. If I am permitted to say, there is no perfect CAPACITY PLANNING. In this world, we strive hard to achieve near PERFECTION
    DISK SPACE ESTIMATED FOR THE DATABASE(RDBMS) ONLY
    ESTIMATES ARE BASED ON ASSUMPTIONS, SAMPLING, STATISTICS
    ESTIMATES CAN NOT QUANTIFY DISK SPACE REQUIREMENTS IN REAL TIME
    ACTUALS ALWAYS VARY FROM ESTIMATES.
    so ther is no particular formula to plan capacity planning.
    or post your rquirements for the DB and wait for some reply
    regards,
    Deepak

  • Bandwith Capacity Planning for 100 user SSL VPN Facility

    What are things we should conisde while doing the  bandwidth capacity planning for SSL VPN Facility for 100 users  ?       

    Hi Surya,
    This is not an easy question, since there are so many things to consider that I may miss some of them.
    1- In case you are planning to use an ASA, check this to find the ideal throughput for you:
             Compare Models
    2- What type of traffic? TCP or UDP?
         If TCP
              Make sure you avoid fragmentation, adjust the MSS value if necessary.
         If UDP
              If fragmentation must happen, then set the DF bit to clear to allow it.
    3- Make sure the clients always negotiate DTLS (which is by default).
    As mentioned in the document above:
    "Maximum throughput measured under ideal test conditions.
    VPN throughput and sessions count depend on the ASA device configuration and VPN traffic patterns. These elements should be taken into consideration as part of your capacity planning."
    Thanks.
    Portu.
    Please rate any post you find useful.

  • Help needed in EXPLAIN PLAN for a partitioned table

    Oracle Version 9i
    (Paste execution plan in a spreadsheet to make sense out of it)
    I am trying to tune this query -
    select * from comm c ,dates d
    where
    d.active_period = 'Y'
    and c.period = d.period;
    Operation     Object Name     Rows     Bytes     Cost     Object Node     In/Out     PStart     PStop
    SELECT STATEMENT Optimizer Mode=CHOOSE          5 M          278887                     
    HASH JOIN          5 M     5G     278887                     
    TABLE ACCESS FULL     SCHEMA.DATES     24      1 K     8                     
    PARTITION LIST ALL                                   1     8
    TABLE ACCESS FULL     SCHEMA.COMM     6 M     5G     277624                1     8
    However, I know that the dates table will return only one record. So, if I add another condition to the above query, I get this execution plan. The comm table is huge but it is partitioned on period.
    select * from comm c ,dates d
    where
    d.active_period = 'Y'
    and c.period = qd.period
    and c.period = 'OCT-07'
    Operation     Object Name     Rows     Bytes     Cost     Object Node     In/Out     PStart     PStop
    SELECT STATEMENT Optimizer Mode=CHOOSE          1           8                     
    MERGE JOIN CARTESIAN          1      9 K     8                     
    TABLE ACCESS FULL     SCHEMA.DATES     1      69      8                     
    BUFFER SORT          1      9 K                         
    TABLE ACCESS BY LOCAL INDEX ROWID     SCHEMA.COMM     1      9 K                    7     7
    INDEX RANGE SCAN     SCHEMA.COMM_NP9     1                          7     7
    How can I make the query such that the comm table does not have to traverse all of its partitions? The partitioning is based on quarters so it will get its data in one partition only (in the above example - partition no. 7)
    Thanks in advance for writing in your replies :)

    You need to specify period = 'OCT-07', otherwise there is no way the optimizer can know it needs to access only one partition.
    Alternatively, partition the DATES table in exactly the same way on "period", and partition-wise joins should kick in, and effectively accessing only the active partition.

  • How to go about capacity planning for storage ?

    Hi Experts,
    How to go about Capacity Planning? For  instance if clients wants to upgrade to new server and new storage and asks us how much additional storage do you need for next 5 years, how can calculate the amount of storage.
    I don't have any baseline info about the server of past years. Where can I start and any scripts you guys use for doing capacity planning?
    Appreciate your help.
    Thank you.
    Sam

    Please see this link:
    SQLAuthority News – Storage and SQL Server Capacity Planning and configuration...
    T-SQL Articles
    T-SQL e-book by TechNet Wiki Community
    T-SQL blog

  • Capacity planning for a 2 million hits / day site

    Hi,
    I am doing a feasibility study for a 2 million hits per day
    e-commerce site.
    We are looking at various vendors but would prefer an
    Oracle solution.
    One option I am looking
    at is a three-tier server architecture with instances of
    Oracle Application server running on one set
    of machines and instances of Oracle 8/8i running on a second
    set of machines.
    Macromedia generated HTML would be auto-translated to PL/SQL
    cartridges to generate the relevant WRBXs.
    Has anyone any experience of the performance issues /
    robustness of this type of large-scale
    development.
    In particular, I am looking for some hard numbers / capacity
    planning model on:
    Number of instances of Application Server;
    Number / type of Application Server boxes - SpecInt / Flt and
    memory;
    Number of instances of RDBMS / parallel Oracle;
    Number / type of RDBMS boxes - SpecInt / Flt and memory; and
    External communications bandwidth.
    Any advice, personal anecdotes, recommended sites, or
    literature references much appreciated.
    Regards,
    Ajit Jaokar
    null

    Hi,
    1. Do cross forest authentication Go through Global Catalog?
    Yes, cross-forest authentication relies on Global Catalogs of both forests.
    2.  Do Global catalogue cache ad object info if they are in different Forest. If not, how does the authentication request flow across the forest?
    GC doesn’t cache information for objects from another forest. However, once a user has been authenticated and authorized, its service ticket remains (on the local machine) for a while before it logs off. The authentication request
    is first received by the local DC, then GC, when GC couldn’t find a match in its own forest, it checks its database for trust information, if there is a name suffix matched, the authentication request is passed to the corresponding forest.
    3. Is this calculation still the same when considering cross forest trusts?
    Yes, establishing forest trust doesn’t consume much more space, because GC doesn’t store information of another forest.
    4. Do we need to consider any other memory requirements in a cross forest trust environment?
    Not really, as I mentioned above.
    More information for you:
    Accessing resources across forests
    http://technet.microsoft.com/en-us/library/cc772808(v=WS.10).aspx
    Best Regards,
    Amy

  • Capacity Plan for Partially Confirmed Order

    Hi Guys
    Can any one please guide me on Capacity Planning (CM29) how to:
    1. Plan to plan a partial order. Or in other terms: how to plan a part order in wk1 and rest in wk2
    2. If the process order is partially confirmed, then how should supervisor re-schedule it again for later date!
    3. Ideally what should be followed:
      a. Schedule the Planned Order on CM29 and then Convert them to Process Order , OR
      b. Convert the Planned Order and then Schedule the Process Order on the CM29 screen
    Thanks in advance
    -Rahul

    Hi Mehdi,
    Once order status is PCNF you cannot create lot with inspection type as 03. You need to reverse all the confirmations/Goods issue and activate 03 inspection type in material master, maintain MIC related data in routing and do Read Master data. Then system will create inspection lot.
    For 03 inspection type manually inspection lot cannot be created. Once order is released inspection lot will be automatically created by system.
    Thanks & Regards,
    Ramagiri

  • Capacity Planning for workcentre  employees

    I need to do the planning for my capacities on SAP MRS board but before that I need to understand the capacity planning like Capacitive planning, abstract planning etc. or in other words like if someone can explain the step by step how to do the capacity planning, explaining all this will be a great help.

    Gary,
    Available Capacity:
    Capacities is driven from the work centre settings in the Capacities tab (specifically the button at the bottom of this tab). These values determine the length of the working day, breaks, number of workers and efficiency - resulting in the daily amount of hours available at the work centre.
    Capacity Usage:
    Order operations are then created and loaded with work centre and hours, and dependent upon the operation control key settings, will then start to "consume" some of the above daily capacity.
    Here is a comprehensive PDF document on the subject
    Hope this helps..
    PeteA

  • Capacity planning for inspection

    Hi,
         I would like to plan for capacity required to complete inspection lots at our labs. This should include inspection types for 01, 03, 04 and 08. Is there a way I can do this in SAP ? I am planning to use an enhancement and create a planned order for every inspection lot (1:1 relation). But I don't know how that will work. Does anyone have any ideas ?
    Thanks

    Hi GS,
    I think that's a good question, might not have been explored much.
    I think, you can try to utilize the potential of "Quality Work Center" attached to inspection operations, and activate Machine and Labor as capacity categories, use relevant formulas and try the standard Capacity planning process for PP.
    For more details, please go through the links -
    1. http://scn.sap.com/community/erp/manufacturing-pp/blog/2013/10/23/capacity-planning-or-scheduling-leveling-maybe-sequencing
    2. Capacity planning - ERP Operations - SCN Wiki
    3. Capacity Planning (PP-CRP) - SAP Library
    4. http://scn.sap.com/docs/DOC-49431
    Please do further search on this subject and work with PP consultant to use this functionality. Finally share your results once you are done
    Thanks,
    Arijit

Maybe you are looking for

  • HDX16T hard disk problem

    i've got a laptop hdx16t, it's worked well for 1.5 years. Now it has many serious issues. Firstly, copying, moving and deleting are very slow! and always get dump. Secondly, when i open a folder which is contain large files so it still lag and dump t

  • Problems with Suitcase 11

    I recently installed Suitcase 11 on a newly rebuilt Dell Workstation. Font management has gone smoothly so far. But a couple of my Arial fonts aren't working well in Illustrator and Photoshop. They all work well in MS Office apps. Most of the Arial f

  • Macbook air suddenly running slow. Closed all applications, rebooted, doesn't solve the problem.  Any ideas?

    macbook air suddenly running slow. Closed all applications, rebooted, doesn't solve the problem.  Any ideas?

  • Passing arguments to weblogic shell

    Hello: I am trying to pass several(but undetermined) arguments to a weblogic shell scripts. I can´t use multiple -v options as I don´t know the number of arguments. My idea is the following: wlsh -f script.wls -v variables="variable1 variable2 vari

  • Import/Export Between Gschem and PSpice,

    I have some .sch files I made with gEDA's schematic editor (gschem), and am trying to import them into PSpice for Windows. I'm not sure if this is the right community to ask, but I figured I'd just see if anyone here knows how to do it... Or, if anyo