Oracle disk contention/ cpu usage

Ask a Question related to Oracle Server, Design and Development.

  1. #1

    Default Oracle disk contention/ cpu usage

    Hi all

    Just been lumbered installing the application my company support on an
    oracle installation and know nothing about it, normally handle ingres dbs.

    From what I can see oracle is struggling, but I'd like to get an idea of how
    fast I should expect it to be.
    Its running on a bitching sparc unix, 4 cpus, plenty of disk. However I
    believe there is disk contention. Using top the cpu usage never gets above
    8% for oracle (I assume thats 8% of total available, hence max 25%) and
    iowait is around 15%. The application is running at 20%.

    How can I tell if oracle or application is producing the iowait (nothing
    else is running on the box) and where its producing the iowait. What sort of
    %cpu activity is normal (I realise the higher the better).

    the output from sar shows two disks (md2 and md5) having avwaits of 13.4 and
    8.3 respectively. How do I translate them to vfstab entries. Is that high?

    At the mo the machine is bulk loading a db. Currently running at @ 228
    recs/second. Surely that should be much higher?
    Any pointers on where to look would be much apprec.

    tia
    Mike


    Mike Ross Guest

  2. Similar Questions and Discussions

    1. Scratch disk & Memory usage
      I can't seem to find an answer in the Knowledge Base articles, so I hope some one can clarify something for me. Also, the info in PE's on line Help...
    2. Disk usage oddity
      I'm running Ubuntu Breezy on a Dell Dimension 8100. I have a 60GB (hda), with Windows ME installed and a 160GB (hdb) with Ubuntu. If I type "df...
    3. Perl module disk usage, for embedded system.
      Hey, We're concidering including perl in an embedded system. Disk and RAM usage are parameter that should be minimized. We have already some...
    4. Looking for disk usage trends over time tool...any suggestions?
      anybody here using Big Brother (http://www.bb4.com)? If yes, can we have some comparison of big brother with other tools. thanks -manu...
    5. Installing Oracle Software on Local Disk Vs Shared Disk
      Hi I am investigating on several options for a multi node VCS cluster to house oracle databases. Where would it be most advantageous to...
  3. #2

    Default Re: Oracle disk contention/ cpu usage

    "Mike Ross" <mike@mchaver.freeserve.co.uk> wrote in
    news:avmvo2$h0j$1@news6.svr.pol.co.uk and I quote:

    > Just been lumbered installing the application my company support on an
    > oracle installation and know nothing about it, normally handle ingres
    > dbs.

    Oh! That's nice...
    Ever thought of getting some training?

    > Its running on a bitching sparc unix, 4 cpus, plenty of disk. However I
    > believe there is disk contention. Using top the cpu usage never gets
    > above 8% for oracle (I assume thats 8% of total available, hence max
    > 25%) and iowait is around 15%. The application is running at 20%.

    15% io wait is nothing. 8% CPU usage even less. 20% app use
    is way too low. I'd say you got a serious problem somewhere
    else...
    Do not use top. Use sar. Over a reasonably large cycle period,
    say 10 seconds or more. Check out the system time. And the
    context switches. Both are killers in Unix.

    >
    > How can I tell if oracle or application is producing the iowait (nothing
    > else is running on the box) and where its producing the iowait. What
    > sort of %cpu activity is normal (I realise the higher the better).

    100% CPU activity can be achieved even with less than twice as many
    processes as you have CPUs.

    >
    > the output from sar shows two disks (md2 and md5) having avwaits of 13.4
    > and 8.3 respectively. How do I translate them to vfstab entries. Is that
    > high?
    >

    No, that's not high. You got a serious problem somewhere else,
    nothing to do with Oracle or your I/O. As for translating:
    that is highly dependent on how you got your system setup
    as far as disk I/O and filesystems are concerned.

    Try looking in fstab for the device that is mapped against
    the directory. It's the /dev/**** string. That should tell
    you which disk and partition. Unless you're using a
    LVM. As I said: highly dependent on what I/O setup you got.

    > At the mo the machine is bulk loading a db. Currently running at @ 228
    > recs/second. Surely that should be much higher?

    The bulk load process is stuffed. Needs to be looked at.
    Not the database setup. My guess is that the process is
    reading the input data with one of the high overhead Unix
    read calls. Probably getch() or something similar...

    > Any pointers on where to look would be much apprec.

    Gladly. Check the application code as well as bulk load
    code. I'll give you 99% odds there is something very wrong
    with one (or both) of them.


    --
    Cheers
    Nuno Souto
    [email]nsouto@optusnet.com.au.nosp[/email]am
    Noons Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139