How can I calculate disk space/DB space and storage spaces.

Hi all,
How can I calculate space clauses and memory related parameters for tables and table spaces? Updation is not allowed in these tables.
I have to create a database also.
I expect a reply with examples.
[email protected]
[email protected]
Thanks for all replies .

Boby,
The formula to estimate the storage parameters for tables and indexes are the following:
Table size = db block size * (# of Estimated rows in 12 months * average row length)/(db block size-90) *(1-PCTFREE/100)
Let assume that you want to create a table called Jose_tab,
db block size = 4092
Estimated row length in 12 months = 1000
Average row len = 100
PCTFREE(Updation is not allowed) = 0
Then, your INITIAL storage parameter will be estimated as follows:
4092*1000*100
(4092-90)*(1-0/100)
= About 10M
Your create table command will look like this,
CREATE TABLE jose_tab
(col1 VARCHAR2(10), col2 NUMBER(2),
....coln VARCHAR2(100))
STORAGE(INITIAL 10M NEXT 10M
PCTINCREASE 0)
PCTFREE 0 PCTUSED 80
TABLESPACE tablespace_name;
Storage parameters for tablespace depends on the amount of disk space available. You can ignore tablespace storage parameters since the size of the tablespace is determined by the size(s) of the data files. Refer to the DBA manual for details.
John

Similar Messages

  • How can I cancel my order for extra ICloud storage space?

    How can I cancel my order for extra ICloud storage space?
    I don't need it afterall...

    Call Apple. 1-800-My-Apple

  • How to configure local disk on OVM Server as storage space to create VMs

    Hello,
    We have installed OVM Server 3.1.1 on a machine that has 250 GB of Hard disk space [Single disk].
    While installing used an option - Remove all partitions and create a new default partition layout.
    Around 4GB has been used and remaining 246 GB is left as free space.
    From OVM Manager - the server is discovered but didn't discovered the physical disk [i.e. remaining 246 GB raw disk space].
    Can someone help me to understand how to use local disk as storage space for creating and running VM's.
    Thanks
    Srinivas

    You can? You've used every conceivable BIOS out there? You must really be full of yourself. There is absolutely no BIOS that I know of that gives this basic function. BIOSs do not "hard partition" anything. A "BIOS" is not made for such things. Do you even know what "BIOS" stands for?
    I wonder why there is some many wanting to do this and are having problems.... I mean if it is such a straight forward thing to do..... It must be down right "intuitive".
    You maybe speaking of a RAID "BIOS" but you obviously think you're not. Some motherboards have integrated RAID abilities. Intel RST comes to mind... BUT this isn't a feature of a MOTHERBOARD BIOS.
    I've got some $50,000 servers that will not break a single hard drive up into multiple logical drives..... Now, I haven't worked on a "Stinkpad" for many years. Don't want to. However, I have never seen one that would do what you're saying you're doing.
    You maybe trying to help.... but you're leading people down a wrong path.
    Its just as easy to run virtual box and use the virtual box templates for Oracle VM. In fact, its more practical if you want to run Oracle VM on a laptop for testing purposes than blowing everything away and attempting to setup different LUNS on a single hard drive.
    For your review...
    http://www.oracle.com/technetwork/articles/servers-storage-admin/configure-vm-templates-1656261.html
    Although it's more reliable to use a separate location (such as an NFS share) for a storage repository, you can use a local disk of your Oracle VM Server instead, thus taking advantage of the local storage option. Beware, though: Oracle VM Server 3.0 doesn't allow you to utilize the unused space on the physical disk it's installed on. For local storage, you'll need at least one more physical disk. In other words, you'll need a total of two disks at minimum on your Oracle VM Server host if you want to use local storage. In practice, though, local storage is not a primary use case. The major downside to this approach is that local storage, by definition, cannot be shared between different servers.
    Edited by: user12273962 on Dec 10, 2012 10:40 AM

  • How can i get the list of DB02's Table spaces-overview?

    Dear Experts,
           Could you help me about how can i get the list of DB02's Table spaces-overview? which function module can do it?
    Thanks a lot

    Hi,
    Execute this FM DB02_ORA_FILL_TD110
    U will get all the details of table spaces in the importing parameter TD110 of that FM.
    Reward if helpful
    Regards
    Vodka.

  • How can I find out those files whose name has space character?

    Hi
    How can I find out the files whose name has space character in a whole file system?
    Thanks
    Jerry

    thank you all
    I can use this command to find out like
    $find ./ -type f -exec ls -1 {} \; 2>/dev/null | grep " "
    ./space in name
    while, I modify above a little to find out a spcific file systems like below:
    $find /bbj* -type f -exec ls -1 {} \; 2>/dev/null | grep " "
    /bbj14/appl/oracle/prdrep/S_STATIC_TAB_05.dbf
    --while, I didn't see any space character in file name "S_STATIC_TAB_05.dbf"
    what is wrong?
    thanks

  • How can i delete movies from my macboook to make space and keep them on icloud?

    How can i delete movies from my macboook to make space and keep them on icloud?

    Since iTunes Match nor iCloud supports storing video content at this time (other than music videos purchased from the iTunes Store) what you want to do is not possible. There may be other cloud storage solutions out there, but none that integrate with iTunes.
    FYI, if any of the movies are purchased from the iTunes Store the service Apple calls iTunes in the Cloud by be a partial solution for you. However it is strongly recommended that keep a local backup of all your purchased media and not depend solely on a third party (Apple) to keep your data safe.

  • My LR previews data file has just gone over 50GB, how can I shrink it as I really need the space on my laptop?

    My LR previews data file has just gone over 50GB, how can I shrink it as I really need the space on my laptop?

    Or if you don't want to delete all of it, you can just discard 1:1 previews using Library->Previews menu - that may or may not buy you the space you need.
    If you do opt for deleting the whole thing, here is an idea to keep it from going back to 50G: change the size/quality of standard previews and/or the policy for auto-removing 1:1 previews (Lr Preferences -> Catalog Settings -> File Handling).

  • How can i calculate tempsize and logdir size ?

    Hello:
    I have one database on a primary server and its replica on a replica server.
    Since one week to now, Mexican Exchange have had a considerable growth on transactions.
    My database works in line, every night all data is cleaned waiting for new data on next day.
    From last Thursday (29 april 2010) my replicas have had problems on drop all data using delete from.
    I use delete from because those tables are Oracle cache groups defined.
    Looking for error on tterrors logs (yesterday I got this error) I could see that replica was ran out of temporal memory.
    On line database and replica database I have defined same temporal memory size, on this case 512Mb. But primary database did not send any error about this parameter, so if I checked “monitor” columns on database, my temp_in_use size is too less than temp_allocate_size.
    My problem is, how can I calculate temp_allocate_size ?
    So I have had close to 3,000,000 record on a simple table, I mean, I could have 2 or 3 tables with same number of rows.
    If I have this parameter (may be 9,000,000) rows to be deleted, is there any way to calculate temp_allocate_size ?
    But now, I suppose that I need enogh space on “LogDir”, my high_water_mark for permanent memory is 10GB, I have defined 16 gb for LogDir, but if I stopped replication since the operation starts, I had 100% space used at middle of my operation, so 5Gb on real database used, it is using close to 16 gb on LogDir.
    My second doubt … is there any way to calculate LogDir size having the maximum database size ??
    Thanks a lot for your help.
    Regards.

    I think that approaching this from the perspective of increasing temporary space and log space is not the best way.
    Firstly, there are better ways to delete all rows from a table instead of using delete...
    1. For regular tables (ones that are not part of a cache group) you can use TRUNCATE TABLE ... This operation is replicated but the voilume of replicated data is vastly smaller than if you delete all rows individually. Also, it should take a lot less Temp space on both the source and target system.
    2. For cache tables, you could use UNLOAD CACHE GROUP ... This is similar to TRUNCATE but for cache tables. Again, this operation is replicated. Note that if you are using AWT or SWT cache groups and you DELETE in TimesTen then the data is also deleted from Oracle... is that wjhat is desired?
    If you have to use DELETE then it is very important that you delete the rows in small batches rather than as one huge transaction. Trying to replicate a delete of 3M rows will cause huge problems for replication. A much better solution is to delete in smaller batches using some application logic as follows:
    loop:
    commit;
    DELETE FIRST 1000 FROM sometable;
    If rowcount > 0 then goto loop;
    commit;
    This approach has 5 benefits:
    1. Much less Temp space will be needed.
    2. Replication will be able to process the delets as they occur rather than waiting until all 3M rows have been deleted and then trying to tepliate a single transaction of 3M deletes. This will greatly improve replication performance and also prevent excessive log file buildup.
    3. Checkpointing will be able to purge log files as the delete progresses rather than having to wait until all rowsw have been deleted. This will prevent excessive log file buildup.
    4. The overall time required will be much reduced compared to deleting all rows in a single delete.
    You should not stop replication while the delete s are being done as this just causes log file accumulation.
    To answer your original question. it is not possible ot 'calculate' the required temp space pof log space; rather one must use observed data from when the system is running to determine the necessary size. For Temp size, you can look at the Temp high water mark to see the maximum space used and then set TempSize to somewhat more than that value. For log space, you need enough to sustain the maximum amount of log data generated with some contingency. Running our of log space is a very bad idea...
    If you adopt my suggestions above then you can avoid these issues and also complete the cleanup of data in a shorter time.
    Chris

  • How can I repair disk permissions

    How can I repair disk permissions on a non boot drive? I have a SSD as my boot disk and a HD as a storage drive. The permissions are not correct on th HD and in disk util the option for fixing the permissions is ghosted out. I really would hate to do this one folder at a time.
    Thanks

    FYI, BB
    Below is a quote from Apple describing what Disk Permissions deals with.
    If you still need assistance, please describe what problem/issue you are trying to solve.
    http://support.apple.com/kb/HT1452
    "Many things you install in Mac OS X are installed from package files (whose filename extension is ".pkg"). Each time something is installed from a package file, a "Bill of Materials" file (whose filename extension is ".bom") is stored in the package's receipt file, which is kept in  /Library/Receipts/ in Mac OS X v10.5 and earlier. These files don't take up much disk space and you shouldn't put them in the Trash. Each of those ".bom" files contains a list of the files installed by that package, and the proper permissions for each file.
    Does Disk Utility check permissions on all files?
    Files that aren't installed as part of an Apple-originated installer package are not listed in a receipt and therefore are not checked. For example, if you install an application using a non-Apple installer application, or by copying it from a disk image, network volume, or other disk instead of installing it via Installer, a receipt file isn't created."
    Is this what you want to "fix"?

  • How do I save music tin order to add storage space to my Ipod?

    How do I save music in order to add storage space to my Ipod?

    "if backed up the music on a Mac could I then re-load the tracks from it once the ipod has been formatted for Windows?"
    Yes you could, Macs can read Windows formatted iPods. If you only have the songs on the iPod, and have any iTMS purchases the transfer of purchased content from the iPod to authorised computers was introduced with iTunes 7. A paragraph on it has been added to this article: Transfer iTunes Store purchases using iPod
    The transfer of non iTMS content such as songs imported from CD is designed by default to be one way from iTunes to iPod. However there's a manual method of copying songs from your iPod to your Mac. The procedure is a bit involved but if you're interested it's available at this link: Two-way Street: Moving Music Off the iPod
    If you prefer something more automated there are a number of third party utilities that you can use to retrieve music files and playlists from your iPod, this is just a selection. I use Senuti but have a look at the web pages and documentation for the others too, you'll find that they have varying degrees of functionality and some will transfer movies, videos, photos and games as well. You can also read reviews of some of them here: Wired News - Rescue Your Stranded Tunes
    Senuti Mac Only
    iPodRip Mac Only
    PodWorks Mac Only
    PodView Mac Only
    iPodAccess Mac & Windows
    YamiPod Mac & Windows
    PodUtil Mac & Windows
    iPodCopy Mac & Windows

  • How can we calculate no.of leave used by the employee except sunday.

    Dear Friends,
    i have query how can we calculate no.of leave taken by the employee except sunday & government holiday.
    Example: A person take a sick leave From 13/02/2008 to 20/02/2008 with in that period 17th was sunday.
    when we calculate absence day for that person,Total value is 8 days but exact output is 7days only.How can i get exact result,any function module is avilable for this issue .
    Thanks & Regards,
    Rajkumar.A

    Hi,
    you have to consider SL leave as in holiday's So you can check with clinet if client says consider you can otherwise you con't
    its depend client requirement
    and you can go to controlls inSAP and change absence controlls for SL with holidays
    Regards
    Suresh

  • How can we calculate no. of instances in a java program ?

    Hi,
    I want to know that
    How can we calculate no. of instances in a java program ?
    Actually I just want to calculate number of live instances in a program at any time...
    Thanx in Advance
    Vijay

    Been asked a few times in this forum.
    Try having a search.
    One way, in brief, is to instrument your classes so that constructors update a per-type counter, and enqueue a PhantomReference for the instance.
    When you pop from an associated ReferenceQueue, decrement the counter for the no longer reachable type.
    Once you have this, you can query instance counts per type, or globably etc.
    We maintain a model which can be remotely queried - and display results over time using JGraph. Gives a fairly non-intrusive way to spot and narrow down the cause of memory leaks in a large application.

  • How can I calculate which is the index (x-value) correspondant to a certain value of a signal?

    I just want to calculate the quality of the peak in a FFT, defined as you can see in the attached file.
    For that, I would need to know how can I calculate in Labview the index or indices (x-value) correspondant to a certain amplitude value of the function.
    Kind regards, and thank you for reading,
    Jose
    Solved!
    Go to Solution.
    Attachments:
    quality.jpg ‏6 KB

    If you know the lineshape (e.g. Lorentzian), you can use nonlinear fit. This will give you the most accurate value.
    In the most simple case (insignificant offset and noise, no other peaks) you can apply the following code (if there are other peaks, then take a apropriate array subset before applying the code). To get correct units, just scale with df.
    LabVIEW Champion . Do more with less code and in less time .
    Attachments:
    WidthAtHalfHeight.png ‏52 KB

  • How can I calculate the request time ?

    Hello,
    How can I calculate the total consume time in each request ?
    For example, I want to start calculating the time when I click on a Link or a button and the end time when it completed load the page !
    Eric

    You could use a filter like this one:
    import java.io.*;
    import java.net.*;
    import java.util.*;
    import java.text.*;
    import javax.servlet.*;
    import javax.servlet.http.*;
    import javax.servlet.Filter;
    import javax.servlet.FilterChain;
    import javax.servlet.FilterConfig;
    import javax.servlet.ServletContext;
    import javax.servlet.ServletException;
    import javax.servlet.ServletRequest;
    import javax.servlet.ServletResponse;
    public class TimeFilter implements Filter {
        // The filter configuration object we are associated with.  If
        // this value is null, this filter instance is not currently
        // configured.
        private FilterConfig filterConfig = null;
        private static final boolean debug = false;
        private long start = 0;
        private long end = 0;
        public TimeFilter() {
        private void doBeforeProcessing(ServletRequest request, ServletResponse response)
        throws IOException, ServletException {
            if (debug) log("CalendarFilter:DoBeforeProcessing");
            System.out.print("In Filter  ");
            this.start = System.currentTimeMillis();
            System.out.println((new java.util.Date()).toString() +
                               " start request ");
        private void doAfterProcessing(ServletRequest request, ServletResponse response)
        throws IOException, ServletException {
            if (debug) log("TimeFilter:DoAfterProcessing");
            System.out.println("Completion Time = " + (System.currentTimeMillis() - start));
         * @param request The servlet request we are processing
         * @param result The servlet response we are creating
         * @param chain The filter chain we are processing
         * @exception IOException if an input/output error occurs
         * @exception ServletException if a servlet error occurs
        public void doFilter(ServletRequest request, ServletResponse response,
        FilterChain chain)
        throws IOException, ServletException {
            if (debug) log("TimeFilter:doFilter()");
            doBeforeProcessing(request, response);
            Throwable problem = null;
            try {
                chain.doFilter(request, response);
            catch(Throwable t) {
                problem = t;
                t.printStackTrace();
            doAfterProcessing(request, response);
            // If there was a problem, we want to rethrow it if it is
            // a known type, otherwise log it.
            if (problem != null) {
                if (problem instanceof ServletException) throw (ServletException)problem;
                if (problem instanceof IOException) throw (IOException)problem;
                sendProcessingError(problem, response);
         * Return the filter configuration object for this filter.
        public FilterConfig getFilterConfig() {
            return (this.filterConfig);
         * Set the filter configuration object for this filter.
         * @param filterConfig The filter configuration object
        public void setFilterConfig(FilterConfig filterConfig) {
            this.filterConfig = filterConfig;
         * Destroy method for this filter
        public void destroy() {
         * Init method for this filter
        public void init(FilterConfig filterConfig) {
            this.filterConfig = filterConfig;
            if (filterConfig != null) {
                if (debug) {
                    log("TimeFilter:Initializing filter");
         * Return a String representation of this object.
        public String toString() {
            if (filterConfig == null) return ("TimeFilter()");
            StringBuffer sb = new StringBuffer("TimeFilter(");
            sb.append(filterConfig);
            sb.append(")");
            return (sb.toString());
        private void sendProcessingError(Throwable t, ServletResponse response) {
            String stackTrace = getStackTrace(t);
            if(stackTrace != null && !stackTrace.equals("")) {
                try {
                    response.setContentType("text/html");
                    PrintStream ps = new PrintStream(response.getOutputStream());
                    PrintWriter pw = new PrintWriter(ps);
                    pw.print("<html>\n<head>\n</head>\n<body>\n"); //NOI18N
                    // PENDING! Localize this for next official release
                    pw.print("<h1>The resource did not process correctly</h1>\n<pre>\n");
                    pw.print(stackTrace);
                    pw.print("</pre></body>\n</html>"); //NOI18N
                    pw.close();
                    ps.close();
                    response.getOutputStream().close();;
                catch(Exception ex){ }
            else {
                try {
                    PrintStream ps = new PrintStream(response.getOutputStream());
                    t.printStackTrace(ps);
                    ps.close();
                    response.getOutputStream().close();;
                catch(Exception ex){ }
        public static String getStackTrace(Throwable t) {
            String stackTrace = null;
            try {
                StringWriter sw = new StringWriter();
                PrintWriter pw = new PrintWriter(sw);
                t.printStackTrace(pw);
                pw.close();
                sw.close();
                stackTrace = sw.getBuffer().toString();
            catch(Exception ex) {}
            return stackTrace;
        public void log(String msg) {
            filterConfig.getServletContext().log(msg);
    }and in the web.xml :
       <filter>
            <filter-name>TimeFilter</filter-name>
            <filter-class>
                com.filter.TimeFilter
            </filter>
        <filter-mapping>
            <filter-name>TimeFilter</filter-name>
            <url-pattern>/services/*</url-pattern>
        </filter-mapping > 

  • How can I calculate the value of the cell, which depends on other rows?

    Hi, all!
    I have an application with table. In this table i have calculate some fields, that doesn't exists in data class and depends on other row values, e.g. current row number, or sum of previous rows. How can i calculate this values in TableView?
    The problem is that I have no information about the current row number in the cell value factory.
    Example:
    public class Transaction {
         public String getName();
         public BigInteger getAmount();
    } // There is no getter for "Balance"
    Result table should be something like this:
    Name
    Amount
    Balance
    transaction1
    300
    300
    transaction2
    200
    500
    transaction3
    500
    1000
    Also, after sorting by "Amount", "Balance" should be recalculated:
    Name
    Amount
    Balance
    transaction3
    500
    500
    transaction1
    300
    800
    transaction2
    200
    1000

    Strings can be converted to numbers by various parse methods. For instance Strings can be converted to double via Double.parseDouble(myString).
    That being said, it appears that your textfield will contain numbers and operators, and so these operators will need to be parsed too. I would advise you to search on the terms Java infix postfix.

Maybe you are looking for

  • Which is better verizon or att for cellular?

    which is better verizon or att for cellular?

  • Does Lightroom 4 support Panasonic Lumex FZ150 raw files

    Just purchased this camera, and use primarily Lightroom to edit.  When downloading my images, although I shot it RAW (which is why I bought this camera) it converted it to JPEG's.  I also just upgraded to Lightroom 4, which will arrive shortly.  Does

  • Trading partner agreement not found for the given input values

    Hi, I am working on EDI X12 over generic exchange outbound. In enqueue script: replyToMsgID = from =TEE to =RF actionName =BASFEDI841 doctypeName =841 doctypeRevision =4010 msgType =1 payload =RF_841_4010_1_12.xml attachment= I am getting the Trading

  • SSRS In Internet Explorer 11 ans 10 (latest update)

    Hi, we have implemented SQL reporting services in our web application and everything worked fine until we'v update the last IE 10 update, or installed IE 11. Now part of the report looks like someone reduced its width (see image attached)

  • IP Conflict

    OK a basic question that I should know the answer to and I guess its not really related to BB I've set up my Torch on my office wi-fi but I get the message 'There is an IP address conflict with another system on the network'. This conflict knocks out