Number of records issue - need recommendation

Hi - I'm changing sizes of an ASM disk and I have the opportunity to change the number of disks at the same time. Original config was of 3 disks, but grew up in 5 to support growth.  Growth is now expected to be static.  I'm trying to find a recommendation for the amount of discs in an ASM disk group.  I have 1 or 100 discs with external redundnacy.  The back-end is a modern SAN and using different controllers and sets hard raid is not necessary.  All the disks that I create on the SAN will perform identically.  I should create 1, 2, 3 or some other number of discs?  Thank you

You can have several groups of disk failure in a disk group or create groups of failure of multiple disks, but the DSO will use all the disks in a diskgroup in alternate way, regardless of your setting of redundancy of ASM. If you use external redundancy, ASM will be scratch always data on all current disks in a disk group.

http://docs.Oracle.com/CD/E11882_01/server.112/e18951/asmprepare.htm#OSTMG02150

A minimum of four (Oracle ASM disks) LUNS of equal size and performance is recommended for each disk group.


There are a few other recommendations described, you might want to consider.

Tags: Database

Similar Questions

  • Need help number of records

    I'm trying to wirte a MySQL query where I can display the number returned in a repeat region... for example:

    Record 1

    Worksheet 2

    Fact sheet 3

    Record 4

    Folder 5 etc...

    I get a stupid number or a '0' repeated instead of the incremental number.

    I have:

    SELECT COUNT (*) AS Count, fld_fID, fld_fTHREADID FROM tbl_forumPOSTS WHERE fld_fTHREADID = %s

    What I am doing wrong?

    Thank you.

    > What am I doing wrong?

    There is no line number in your SQL. Count() is an aggreate function that is used to count the number of records in a group - do not return a line number. In a SQL database, there is really no such thing as a line number that the rows are returned in an arbitrary order, except if specified. If you just want to assign an incremental number to a line, do so with a loop counter in your script, or try this method:

    http://blog.gomilko.com/2007/04/28/MySQL-rownum-imitation

  • good way to get the number of records in a block

    Work with form 11g.

    I want to know the amount of files that are currently in a block, being that the : system.cursor_record you could get if you issue a built-in last_record .

    It's the kind of thing that should be easy to get with a get_block_property, but I looked for the property and I have not found.

    There are various fo get_block_property properties that relate the number of records, but none seems to fit what I need. The best is QUERY_HITS. It works great when you run just a query (showing all records), but if you add or delete records, it retains its old value, so it doesn't help.

    The trick of last_record is very dirty (and implies the navigation, which is worse)... Can you think of something better?

    I tried with a glimpse at the point and it works, but I don't know if it's reliable, and it is still too expensive for something that should be in a property

    My advice would also be the preview to the point

  • Count the number of records between two values of keys (BTREE)

    How can I count the number of keys between two values?

    I use python driver and BTREE access method.

    = >

    Ideally, what I want is a set of whole time series data (intervals may change) to a given number of points on average. The keys are timestamps and the values are the data that it takes on average. I need to count the number of records between two timestamps so that I can divide this figure by the number of points I need and data on average. What is the best way to do it?  Or should I keep the timestamp constant intervals and use the RECNO access method?

    Thank you
    (first post btw... and why is there not a lot of people at stackoverflow that answering the questions of Berkeley DB?)

    BDB is an integrated db and there no internal counters or statistics you might grap to use for this.    You will have to do it manually.

    You can create a cursor, grap the records you want, whenever you get the next card that you bump a counter.

    If you are using RECNO, you can use a slider to obtain the number of registration (DB_GET_RECNO), and if all that you data is in

    sequentail records with no missing documents, you can find the total number of take the last rec #-original rec # + 1 to get a count.

    If you pass the SQL API, you can issue a SQL query to give you a count.  Select count (*) where...

    As you enter the data anyway, so better perhaps to count records as you go along.

    Thank you

    Mike

  • Copy from HDD to disc results external hard of different sizes but the same number of records

    Backup hard drive to external drive, 800 GB in total. When finished copying the file on the external drive size is smaller than 40 GB, but there is the same number of records.

    Different disks often present of thisdue fragmentation on each disk and the differences in the block sizes used on each disc. As long as all your data are present then there is no need to worry.

  • Number of distinct values need

    HI gurus of the oracle,.

    I have the table as

    NUMBER NAME
    11111one
    11111b
    222c
    222d
    555555e
    555555f
    555555g
    11h
    3333I have

    I need to select distinct (length (number)), count (number of records with the same length) of the table.

    output must be

    separate (length (Number)) count (occurrences)

    5                                      2

    3                                      2

    6                                      3

    2                                      1

    4                                      1

    Please help me in this regard.

    Thanks in advance.

    REDA

    so you were almost there...

    SELECT length (number), count (*)

    FROM THE DATA

    Length Group (number)

    /

    HTH

  • I can capture the number of records retrieved by page in the Apex Interactive report?

    Hello

    I have a requirement in which I need to conditionally hide / show button on an interactive report.

    To achieve this, I need to compare the number of reows read by v/s lines page number to be

    read as specified by the user (defined using Actions-> lines per page).

    Please help me to know if there is a way to capture these 2 values:

    1. number of records retrieved in a report by page

    2. the value set by the user for the number of rows must be extracted (Actions--> lines per page).

    Quick help is really appreciated. Thank you.

    Hello

    You can use by jariola in his blog

    http://dbswh.webhop.NET/Apex/f?p=blog:read:0:article:41900346848694

    Thank you

    Benjamin

  • ADF table large number of records

    JDeveloper 12.1.2

    I have an engine of research as well as an array of result. In some research, it is possible that the result set is more than a million records. The problem is when the user uses the table scroll bar and quickly tries to go at the end of the result set, weblogic with error, memory, it blocks. What is the best practice to handle this in the user interface?

    I think of several ways to resolve and would like if anyone has experience with one of the following:

    1. when the user performs the search, run select count (*), and determine the number of records search will return. If say greater then 1000, warn the user to refine the search criteria. This seems to have made an extra trip to DB

    2. implementation of the pagination of the table instead of the scroll bar. Is this possible in the last ADF table?

    3. go to the front and back only to say 1,000 records and warn the user that not all records are returned, and that it would be best to refine the criteria. Similar to 1, except no extra trip to DB

    Thanks in advance for comments and maybe the solution

    Insufficient memory is caused by the underlying ViewObject that retrieves and keeps track of all the lines to the position where the user scrolls to the bottom of the table. It is behavior of the VO when the VO is configured with the access mode "Scrollable", which is the default access mode setting. For example, if the user scrolls to the No.100000 line, the VO to get and keep in mind all the lines n ° 1 to No.100000. This means that the table pagination will NOT help you!

    Fortunately, you have two simple options out-of-the-box:

    1. The 1st option is to configure the original Version of extraction does not exceed a fixed number of lines (for example 5000). You can do it in the "General" of the VO definition dialog page. Go to the 'Tuning' section, select the option "only up to line number" and enter the number chosen in the field of text next to it. In this way, what the condition is entered by the user, the VO will seek no more than the specified line number.
    2. The 2nd option is to configure the VO with "Range Paging" access mode rather than the default access mode "Scrollable". With the access mode "Range Paging" the VO not go get and keep in mind all the lines until the currently selected line, but he keeps in memory a few line ranges (for example only a few dozen lines). This way you will not be affected by an OutOfMemory error even if the user scroll down to a millionth line. The downside is that when it is configured with "Range Paging" the VO will have to rerun the query each time when he needs to pick a different range of lines. If the execution of the query is slow to the DB server, this will load the DB server and the user will experience delays when scrolling in a different range of lines.
      Take a look at the documentation for more details here: View object performance tuning (read article 9.1.5).

    Dimitar

    Post edited by: Dimitar Dimitrov

    If you decide to use "Range Paging", don't forget to set the appropriate size, which is not less than the usual number of visible lines in your table on the page. If you set the size of the lower range, then the original Version will have to fetch more than a range of lines, which will need more of a running query. The size of default in the definition of VO is 1, but it is not important. The important value is the size of the range that is defined in the iterator binding in the PageDef, which overrides the setting of the VO. The default value for the size of the links of the iterator range is 25.

  • Number of records in the interval of 30 minutes.

    Hi all

    I'm trying to find the number of records in 30-minute intervals. Having said that, I am discovering many records I get in 30 minutes. In my table, I have a column called 'Last_UPDATE_DATE' with the date and time. Can someone help me, ways to achieve. I tried to think about how to get, but do not get the required information.

    Hello

    as Pablolee suggested, it is not easy to understand without examples of data.

    Here's a possible solution:

    with timeranges as

    (

    Select trunc (sysdate) +(level-1) *(30/24/60) starttime

    trunc (sysdate) + (level) *(30/24/60) endtime

    from dual connect by level<=>

    )

    Select b.starttime, count (*)

    from yourtable one

    Join timeranges b

    on (a.last_update_date > = b.starttime and a.last_update_date)<>

    B.starttime group;

    If it does not match your need please post some sample data (check the Re: 2. How can I ask a question on the forums?)

    and validate the information to reproduce your case.

    Kind regards.

    Alberto

  • Number of records per column in each table

    Hi all

    I need to get the number of records by column for each table in a schema.

    Is there a way I get the list of columns in each table in a schema and get the number of records per column where the count > 0?

    We have oracle 10g

    Thank you

    Smidreb wrote:
    You are right, but we're going to run the script as soon as we move

    the script below gives me a correct result.

    If it works well for you, then it works OK for me.

    Realize that Oracle is that I/O block-level.
    As a general rule, any LINE is a single block.
    Realize that is 1 column "count (*)" is correct, then all the columns in the same row are correct.
    This obsessive compulsion to count each COLUMN in each LINE borders on real PARANOIA!

  • OBIEE 11 g: build a zoom in detail on the number of records

    Hello:

    I have a synthesis report based on some criteria the number of number of cases, for example, count (sales_id).

    Region (North), Product Category (ABC) - > 15 (sales number of records using count (sales_id))

    I want the opportunity to provide a detailed report that will be the drill down by 15 which shows 15 retail sales records.

    The detailed report will be called using the link of Action which has navigation BI of the measurement column (which has 15) to transmit the list of sales_id filter prompted based on the results of the analysis of the synthesis report.

    Any idea on what I need to do in the synthesis report for sale id instead of the number 15 list? I don't want to display the sales_id in the synthesis report.

    Thank you
    Sery

    589151 wrote:
    Hello:

    I have a synthesis report based on some criteria the number of number of cases, for example, count (sales_id).

    Region (North), Product Category (ABC)-> 15 (sales number of records using count (sales_id))

    I want the opportunity to provide a detailed report that will be the drill down by 15 which shows 15 retail sales records.

    The detailed report will be called using the link of Action which has navigation BI of the measurement column (which has 15) to transmit the list of sales_id filter prompted based on the results of the analysis of the synthesis report.

    Any idea on what I need to do in the synthesis report for sale id instead of the number 15 list? I don't want to display the sales_id in the synthesis report.

    Thank you
    Sery

    In your example, each of the 15 sales ID are in the same product category (ABC), Yes? So put the link of action on that column, instead of the measure (so ABC in this example would be the link). In the report in detail, you will need to include the column ID of sales in order to produce the 15 lines, but you can hide it so it does not appear on the report. (The reason for which you want to include sales ID in the destination report is because the column measure would break lines only assuming that there are no measures that are the same. If they are identical, they could roll to have sales in the report ID ensures that the lines remain distinct.)

    Edited by: David_T March 15, 2012 14:34

  • Number of records in a block

    I need to know if a block contains records to activate a button to run a process.
    I tried to use something like this:

    declare
    Number of the CNT: = 1;
    Start
    go_block ('my_block');
    premier_enregistrement;

    While: system.last_record = "FALSE".
    loop
    CNT: = cnt + 1;
    next_record;
    end loop;

    : ANOTHER_BLOCK. RECCOUNT: = cnt; -will hold the number of records

    end;

    I put this code in a WHEN-VALIDATE-ITEM trigger to activate the button immediately the user types in a record (MY_BLOCK has only a single element)
    But I get this message: Illegal procedure GO_BLOCK limited in...
    I removed call GO_BLOCK and get: illegal procedure NEXT_RECORD limited in...
    and so on.

    Maybe I need to use another type of code or should use this code in another trigger this effect.

    Is it possible to do? Please advice

    Thanks in advance
    Oscar

    Another solution:
    On your block when you enter a date, create a second hidden digital field. In the trigger of the ORGANISATION to the date, if the date is not null, the numeric value of 1. Otherwise, set it to zero or null. (Lower...)

    In a control block, create a hidden numeric field, with its method of calculation set to summary, summary = sum function, summarizes block & element to the digital element hidden in your block to date.

    In the WVI trigger above: after you set the value of the number hidden in one or zero, check the value of digital field hidden control block. If it is > 0 and your button is not enabled, set it to enabled. If value = 0 and the button is enabled, set NOT active.

  • Try to count the number of records where some columns are met

    Using SQL in Toad against an Oracle table, I'm trying to count the number of records in a table where some columns are filled. For
    example, I need to know the total number of records from a table where

    ln_stop_cd is not null - 65000 records
    ln_process_cd is <>- 25000 0 records
    ln_opt_cd is not null - 7500 records

    and the record_type = "A".

    I know that the total individual records as described above. However, I do not know how
    the SQL to show for record_type = 'A' the total count is 97500 records. Any help would be
    appreciated.

    Hello

    It seems that the problem is that the indictment may overlap; You can count the same rank 0, 1, 2 or 3 times, depending on whether 0, 1, 2 or 3 of these 3 independent conditions are met.

    Try something like this:

    SELECT     COUNT (in_stop_cd)
          + COUNT (CASE WHEN in_process_cd  != 0        THEN 1 END)     -- this site doesn't like the other inequality operator
          + COUNT (in_opt_cd)        AS grand_total
    FROM    table1
    WHERE     dt          >= TO_DATE ('01-JUN-2011', 'DD-MON-YYYY')
    AND     dt          <  TO_DATE ('02-JUN-2011', 'DD-MON-YYYY')
    AND     record_type       = 'A'
    ;
    

    You want to make charges without making 3 assists separated through the table. The problem is the 3 original requests had slightly different WHERE clauses.
    Put these conditions in the WHERE clause and make other conditions apply only to the individual counties, either with a column instead of *, or using a CASE statement that contains the condition that applies only to the column.

    Also, the date is not a column name good. Do not compare the DATEs to strings. If your column is really a DATE and you want to ignore the hours, the minutes and seconds, then the best way is to compare the column with 2 other DATES, as shown above. It's more coding, but it is more efficient and more reliable.

    I hope that answers your question.
    If not, post a small example data (CREATE TABLE and only relevant columns, INSERT statements) and also publish outcomes from these data.
    You don't have to display a large amount of data. You can probably give an excellent example of this problem with only 5 or 10 rows of sample data.
    Explain, using specific examples, how you get these results from these data.
    Always tell what version of Oracle you are using.

    Published by: Frank Kulash, August 4, 2011 11:27

  • Is obstacle cursor when processing a huge number of records?

    Hi all

    I use the slider in my several times stored proc. Is obstacle cursor when processing a huge number of records?
    Is there an alternative way that I can treat the records one by one?

    Thanks and greetings
    Nana Akkivalli.

    IS it your own custom proc? PLSQL has bulk collect ability you should look for large volumes, see this recent article for info;
    http://www.Oracle.com/technetwork/issue-archive/2011/11-may/o31asktom-354139.html

    OWB generates several different code of pure execute SQL based paths in bulk using PLSQL.

    See you soon
    David

  • Number of records rollBacked

    Hello

    We killed a session that has been updated 10cr records. And unfortunately, we need to kill the sessions. And we did the same thing.

    Now I need to know the number of records is rollbacked & how to restore, how much time it will take to complete.

    So could you please help on this.

    Kind regards
    Nasresh

    For you, I did something as below and the script above Sir Steve Adams works well at my 11.2.0.1 windows xp box (just I removed the '_' that is line of underscore of)
    ...
    ...
    sys.x_$ ktuxe x,.
    sys. V_$ transaction t,.
    sys. V_$ s session
    ...
    ...
    Of
    sys.x_$ ktuxe
    ...
    ...
    These lines and I got the results. See below:

    Session 1: (Scott Session)
    create test table select the level of the double connect by level<=>
    Update test set l = 0;
    Rollback;

    Session 2:(SYS's Session)

    SQL> declare
      2    cursor tx is
      3      select
      4        s.username,
      5        t.xidusn,
      6        t.xidslot,
      7        t.xidsqn,
      8        x.ktuxesiz
      9      from
     10        sys.x$ktuxe  x,
     11        sys.v$transaction  t,
     12        sys.v$session  s
     13      where
     14        x.inst_id = userenv('Instance') and
     15        x.ktuxesta = 'ACTIVE' and
     16        x.ktuxesiz > 1 and
     17        t.xidusn = x.ktuxeusn and
     18        t.xidslot = x.ktuxeslt and
     19        t.xidsqn = x.ktuxesqn and
     20        s.saddr = t.ses_addr;
     21    user_name  varchar2(30);
     22    xid_usn    number;
     23    xid_slot   number;
     24    xid_sqn    number;
     25    used_ublk1 number;
     26    used_ublk2 number;
     27  begin
     28    open tx;
     29    loop
     30      fetch tx into user_name, xid_usn, xid_slot, xid_sqn, used_ublk1;
     31      exit when tx%notfound;
     32      if tx%rowcount = 1
     33      then
     34        sys.dbms_lock.sleep(10);
     35      end if;
     36      select
     37        sum(ktuxesiz)
     38      into
     39        used_ublk2
     40      from
     41        sys.x$ktuxe
     42      where
     43        inst_id = userenv('Instance') and
     44        ktuxeusn = xid_usn and
     45        ktuxeslt = xid_slot and
     46        ktuxesqn = xid_sqn and
     47        ktuxesta = 'ACTIVE';
     48      if used_ublk2 < used_ublk1
     49      then
     50        sys.dbms_output.put_line(
     51          user_name ||
     52          '''s transaction ' ||
     53          xid_usn  || '.' ||
     54          xid_slot || '.' ||
     55          xid_sqn  ||
     56          ' will finish rolling back at approximately ' ||
     57          to_char(
     58            sysdate + used_ublk2 / (used_ublk1 - used_ublk2) / 6 / 60 / 24,
     59            'HH24:MI:SS DD-MON-YYYY'
     60          )
     61        );
     62      end if;
     63    end loop;
     64    if user_name is null
     65    then
     66      sys.dbms_output.put_line('No transactions appear to be rolling back.');
     67    end if;
     68  end;
     69  /
    No transactions appear to be rolling back.
    SQL> /
    No transactions appear to be rolling back.
    SQL> /
    SCOTT's transaction 3.1.1315 will finish rolling back at approximately 14:43:12
    01-MAY-2011
    SQL> /
    SCOTT's transaction 3.1.1315 will finish rolling back at approximately 14:43:31
    01-MAY-2011
    SQL> /
    SCOTT's transaction 3.1.1315 will finish rolling back at approximately 14:43:27
    01-MAY-2011
    SQL> /
    SQL> /
    No transactions appear to be rolling back.
    SQL>
    

    Concerning
    Girish Sharma

Maybe you are looking for