Significance of 'migr' statistics shown in mpstat

One column of the 'mpstat' output is 'migr' - rate of "thread migrations (to another processor)". What is the significance of this statistic? What does it tell us if there are a lot of threads migration from this CPU to others? Or more outgoing migration on this CPU than on others?
Perhaps if there are a lot of outgoing migrations, coupled with a busy CPU, as shown in the "idl" (percent idel time) statistic, I may infer from it that because the CPU is busy with executing one of the threads, other threads are going to other idle CPUs. But there are also high 'migr' on other CPUs. Sometimes even higher than the busy CPU. I guess if both "outgoing migrations" and "incoming migrations" statistic are shown, things would be clearer. Anyway, how should we interpret the 'migr' statistic?
I have a dual-processor, dual core Opteron 270 node, i.e. 4 cores in total. When I am not running any user program, there are much more activity, in terms of 'intr' (interupts), 'ithr' (interrupts as threads), 'csw' (context switches), and 'icsw' (involuntary context switches), as shown on mpstat, on CPU0 than other 3 CPUs. Why does not Solaris 10 more evenly allocate the load on all 4 cores?
And who do 'interrupts as threads', 'involuntary context switches' mean?

'involuntary context switches' means when a process/thread is stopped by the kernel by instance. The thread got all his quantum, and another thread/process can access the cpu, or by instance when a thread/process of a higher level need to get the cpu, and hence the kernel preempt a thread/process running on cpu.
In contrast, 'voluntary' context switche happends ( csw column in mpstat ) when by instance a thread needs to do a IO operation, and hence preempt him-self, and he has nothing to do than waiting for the IO operation to complete, and let another thread to use the cpu.

Similar Messages

  • Wrong statistics shown in OS level and ST06.....

    Hai,
    Iam facing a peculiar situation. We have a production system which has PSAPTEMP of 50GB, it resides in the filesystem /oracle/<SID>/sapdata10. The capacity of the directory sapdata10 is 60GB.
    When I see the filesystem size and available size in OS level (UNIX Host) using df -k, it shows that it has 57GB free, also the same is reflected in ST06. I have compared my other Production systems they are fine. I guess there is some bug or corruption at the OS level??
    Has anybody ran across this situation, please help me to find the cause.
    Regards,
    Yoganand.V

    Hi,
    As per your query this type of problem comes some times. You don't worry regarding this. If you can take down time of your prd server then you just shutdown the server and restart the same. This problem will resolve automatically. This is related to your buffer is not clear. There are no hurry to take down time immediately, you can take as per convenient to your company may after two months. Because this system does not impact in your database and your day to day work.
    In case you have any issue pls revert back.
    Anil

  • Statistics Check

    Hi All,
    I wanted to know about the statistic checks on Cubes or ODS, that should be carried out in the system (BW 3.5)
    Which are the statistics checks which I should carry out daily or others and with what frequency?
    ALso, I wanted to know about the significance of these statistics checks.
    Thank and Best Regards,
    Sharmishtha

    Hi,
    for an overview about your tables statistics goto table DBSTATT*; for instance DBSTATTORA if your DB is Oracle. It will give you how the table was analyzed and when it eas last analyzed.
    DB20 is the central transaction for statistics for checking.
    You should refresh your statistics via the performance tab of an infoprovider and/or via process chains.
    Statistics must be updated regularly in order to have your RDBMS optimizer calculating the right execution plan for a particular query.
    The frequency to pdate statistics will depend on the number of records changed / inserted / deleted in comparison with the total (well shown in DB20)
    hope this helps,
    Olivier.

  • Table Statistics failed during Import

    Hi All,
    I am trying to import an existing schema in Oracle 10g.
    I am using the impdp utility.
    The export dump consists of the complete schema (metadata and data).
    But it failed with the following logs.
    Processing object type SCHEMA_EXPORT/TABLE/STATISTICS/TABLE_STATISTICS
    ORA-39125: Worker unexpected fatal error in KUPW$WORKER.PUT_DDLS while calling DBMS_METADATA.CONVERT []
    ORA-06502: PL/SQL: numeric or value error
    LPX-00007: unexpected end-of-file encountered
    ORA-06512: at "SYS.DBMS_SYS_ERROR", line 95
    ORA-06512: at "SYS.KUPW$WORKER", line 6235
    ----- PL/SQL Call Stack -----
    object line object
    handle number name
    1945A21C 14916 package body SYS.KUPW$WORKER
    1945A21C 6300 package body SYS.KUPW$WORKER
    1945A21C 12279 package body SYS.KUPW$WORKER
    1945A21C 3279 package body SYS.KUPW$WORKER
    1945A21C 6889 package body SYS.KUPW$WORKER
    1945A21C 1262 package body SYS.KUPW$WORKER
    1CD814AC 2 anonymous block
    Job "THHIS"."SYS_IMPORT_FULL_02" stopped due to fatal error at 11:47:38
    I had then used the parameter EXCLUDE=STATISTICS and then the import was successful.
    I would like to the significance of this STATISTICS.
    I mean would EXCLUDE=STATISTICS always be ok?
    I have exported and imported the scheme as a user and not as sysdba. Does this make any difference?
    any suggestion would be highly appreciated.
    Thanks,
    Tanuja

    Hi,
    See related threads here:
    ORA-39125 & DBMS_METADATA
    Error ORA-39125 and ORA-04063 during export for transportable tablespace
    ORA-39125: Worker unexpected fatal error in string while calling string [string]
    Cause: An unhandled exception was detected internally within the worker process for the Data Pump job while calling the specified external routine. This is an internal error. Additional information may be supplied.
    Action: If problem persists, contact Oracle Customer Support.
    Hope this helps . . .
    Donald K. Burleson
    Oracle Press author
    Author of "Oracle Tuning: The Definitive Reference"
    http://www.rampant-books.com/book_2005_1_awr_proactive_tuning.htm

  • Storage statistics / Disk usage shows wrong info

    Hi all!
    I've found a very strange bug in OS X Yosemite. The info about storage statistics shown in About my Mac dialog is wrong:
    As you can see, I have a 250GB SSD Drive which is 162,87GB used, but App's statistics show 342,48GB used!!! How it could be possible? Anyone has this same issue? Any way to fix it?
    Regards.

    Thanks Eric!
    This solved my issue!!!

  • How get the phone number of my hotspot so I can get a My Verizon account

    I have a Samsung SCH-LC11.  I do not have any Verizon cell phones.  I want/need my hotspot's cell phone number so I can sign up for My Verizon and monitor data usage of my hotspot.

    So, we can use the Verizon Wireless-provided interface to monitor usage on our Samsung SCH-LC11s?  I am getting a little tired of having to log into Verizon's bloated(sorry, but it is) website just to check usage.  I had attempted to setup the VZW Access Manager not longer have upgrading to the SCH-LC11, but it did not function.
    Oh, wait, no.  It does not work, according to the documentation(http://www.vzam.net/download/supported.aspx) from Verizon Wireless.  We need a reliable monitor to show us(the customer) the usage, that does not require us to visit the VZW website.  The statistics shown through the browser-controlled administration page are never correct, and the statistics continue to reset when you turn the MiFi device on or off, or when the device loses its connection.
    Samsung needs to write a reliable data monitor, or VZW needs to.  Either way, it is not right that customers have to use data to check their usage.

  • Problems with Exporting CSV files

    When I tried to export the Project Management Sample Table, I noticed that the last five unchecked check boxes weren't part of the exported file. I should have seen the value False. Instead there was no value provided. This seems like a bug.
    1019,Cell Editing,Text & Cell Styling ,"Font styling (Bold, Underline, Italic), Background color, Alignment, Cell border",Future,Hickey,Woodmansee,160,150,Within Budget,
    1020,Formulas,Robust formula engine  ,"Support for significantly more math, statistics, financial and logical formulas",Enhancement,Qualizza,Woodmansee,120,130,Over Budget,
    1021,Formulas,Formula copy and paste,Ability to reuse a formula by simply copying 'n pasting it in a different cell,Future,Qualizza,Woodmansee,30,25,Within Budget,
    1022,Cell Editing,Hyperlinks,Recognize http or WWW in text and make it clickable,Future,Rein,Parmar,40,30,Within Budget,
    1023,Cell Editing,Choice List,Select a value from a pre-specified list of choices in a column,Future,DeHoyos,Parmar,40,30,Within Budget,

    I have just replicated this issue with the Excel export as well.

  • Prime Infrastructure 2.x - Possible to Install On Own Hardware NOT as a VM?

    Hi All -
    At my company, we're doing everything we can to improve PI performance, but it's still god-awful slow.
    - 24 GB RAM
    - 16 vCPUs
    - Moved it to its own ESXi host
    Has anyone heard of taking the ISO and installing PI on your own bare-metal server with crazy specs?
    Or, installing the PI application on top of your own Redhat Enterprise server, again with crazy specs?
    We have 82 WLCs and thousands of LAPs in our implementation.  We haven't even added switches or autonomous APs yet!
    We've followed all recommendations in the Performance Tuning section of the system guide.
    Ideas?
    Thanks!

    I have attached the output of ps -ef, and I notice there are many instances of some processes, like:
    migration
    ksoftirqd
    kblockd
    oraclewcs
    Also, CPU utilization shown:
    ade # mpstat -P ALL
    Linux 2.6.18-238.1.1.el5 (scea4nms2001)         12/30/14
    16:31:16     CPU   %user   %nice    %sys %iowait    %irq   %soft  %steal   %idle    intr/s
    16:31:16     all   24.26    0.00    2.30    8.62    0.13    1.46    0.00   63.23   1227.89
    16:31:16       0   22.01    0.00    1.82    0.34    0.00    1.28    0.00   74.55    251.97
    16:31:16       1   21.97    0.00    1.95    0.35    0.07    1.49    0.00   74.16     66.04
    16:31:16       2   23.41    0.00    1.96    0.30    0.00    1.37    0.00   72.96      0.00
    16:31:16       3   23.41    0.00    1.95    0.30    0.00    1.37    0.00   72.97      0.00
    16:31:16       4   23.39    0.00    1.95    0.30    0.00    1.38    0.00   72.98      0.00
    16:31:16       5   23.35    0.00    1.95    0.29    0.00    1.38    0.00   73.02      0.00
    16:31:16       6   23.42    0.00    1.95    0.30    0.00    1.38    0.00   72.96      0.00
    16:31:16       7   23.32    0.00    1.95    0.29    0.00    1.38    0.00   73.05      0.00
    16:31:16       8   25.56    0.00    2.17   11.12    0.00    1.20    0.00   59.95      0.00
    16:31:16       9   25.53    0.00    2.18   11.12    0.00    1.19    0.00   59.97      0.00
    16:31:16      10   25.48    0.00    2.17   11.09    0.00    1.19    0.00   60.07      0.00
    16:31:16      11   25.39    0.00    2.15   11.11    0.00    1.19    0.00   60.16      0.00
    16:31:16      12   25.34    0.00    2.15   11.11    0.00    1.19    0.00   60.21      0.00
    16:31:16      13   25.24    0.00    2.14   11.12    0.00    1.19    0.00   60.30      2.36
    16:31:16      14   25.24    0.00    3.44   31.44    0.61    2.00    0.00   37.28    302.52
    16:31:16      15   26.10    0.00    4.87   37.54    1.45    3.17    0.00   26.88    605.00
    ade #

  • Mpstat "minf" and "mjf" or vmstat "mf"

    I wish to find the page fault rate for a Solaris system. The man page for the mpstat command lists a statistic for "minor faults" (minf) and "major fault" (mjf). Under the vmstat man page, it states that you can get information for page faults including "mf" for "minor faults". Which statistic do I want? What are major and minor faults?
    Thanks.

    Hi,
    I am new to the Unix world. I used vmstat and mpstat
    to record the statistics for a test. The mpstat shows
    an average wait time of 23% and the average idle time
    of 73%. On the other hand, vmstat shows an average
    idle time of 96%.
    Is this because vmstat shows idle time as the sum of
    CPU wait and CPU idle time?
    Yes, it is.
    Sample vmstat trace:
    0 0 0 16341136 6397680 9 5 1 0 0 0 0 64 0 0
    0 0 688 861 642 1 2 97
    0 0 0 16341136 6397720 8 5 2 0 0 0 0 64 0 0
    0 0 691 855 650 2 2 96
    0 0 0 16341136 6397680 8 5 2 0 0 0 0 63 0 0
    0 0 687 872 641 1 2 97
    0 0 0 16341136 6397648 7 5 1 0 0 0 0 52 0 0
    0 0 607 700 543 1 2 97
    Sample mpstat trace:
    CPU minf mjf xcal intr ithr csw icsw migr smtx srw
    syscl usr sys wt idl
    0 1 0 109 16 5 319 7 20 11 1
    1 408 2 3 22 73
    1 4 0 128 674 566 321 7 20 13 1
    1 443 1 1 22 75
    CPU minf mjf xcal intr ithr csw icsw migr smtx srw
    syscl usr sys wt idl
    0 0 0 107 18 6 324 8 17 9 0
    0 474 2 3 21 74
    1 5 0 122 653 547 296 5 17 14 0
    0 373 1 1 19 79
    Thanks,
    Paul Ng

  • How can an applet retrieve the values of a HTML form shown in a JEditorPane

    Hi,
    I'm doing an applet that contains a JTree and a JEditorPane
    among other components. Each node of the JTree represents some
    information that is stored in a database, and whenever a JTree
    node is selected, this information is recovered and shown in
    the JEditorPane with a html form. To make the html form,
    the applet calls a servlet, which retrieves the information of
    the node selected from the database. This information is stored
    like a XML string, and using XSLT, the servlet sends the html
    form to the applet, which shows it in the JEditorPane.
    My problem is that I don't know how I can recover new values
    that a user of the application can introduce in the input fields
    of the html form. I need to recover this new values and send them
    to another servlet which store the information in the database.
    If someone could help me I'd be very pleased.
    Eduardo

    At least I found a fantastic example. Here it is:
    import java.awt.*;
    import java.awt.event.*;
    import java.util.*;
    import java.net.*;
    import javax.swing.*;
    import javax.swing.text.*;
    import javax.swing.text.html.*;
    public class FormSubmission extends JApplet {
    private final static String FORM_TEXT = "<html><head></head><body><h1>Formulario</h1>"
    + "<form action=\"\" method=\"get\"><table><tr><td>Nombre:</td>"
    + "<td><input name=\"Nombre\" type=\"text\" value=\"James T.\"></td>"
    + "</tr><tr><td>Apellido:</td>"
    + "<td><input name=\"Apellido\" type=\"text\" value=\"Kirk\"></td>"
    + "</tr><tr><td>Cargo:</td>"
    + "<td><select name=\"Cargo\"><option>Captain<option>Comandante<option>General</select></td>"
    + "</tr><td colspan=\"2\" align=\"center\"><input type=\"submit\" value=\"Enviar\"></td>"
    + "</tr></table></form></body></html>";
    protected HashMap radioGroups = new HashMap();
    private Vector v = new Vector();
    public FormSubmission() {
    getContentPane().setLayout(new BorderLayout());
    JEditorPane editorPane = new JEditorPane();
    editorPane.setEditable(false);
    editorPane.setEditorKit(new HTMLEditorKit()
    public ViewFactory getViewFactory() {
    return new HTMLEditorKit.HTMLFactory() {
    public View create(Element elem) {
    Object o = elem.getAttributes().getAttribute(javax.swing.text.StyleConstants.NameAttribute);
    if (o instanceof HTML.Tag)
    HTML.Tag kind = (HTML.Tag) o;
    if (kind == HTML.Tag.INPUT || kind == HTML.Tag.SELECT || kind == HTML.Tag.TEXTAREA)
    return new FormView(elem)
    protected void submitData(String data)
    showData(data);
    protected void imageSubmit(String data)
    showData(data);
    // Workaround f�r Bug #4529702
    protected Component createComponent()
    if (getElement().getName().equals("input") &&
    getElement().getAttributes().getAttribute(HTML.Attribute.TYPE).equals("radio"))
    String name = (String) getElement().getAttributes().getAttribute(HTML.Attribute.NAME);
    if (radioGroups.get(name) == null)
    radioGroups.put(name, new ButtonGroup());
    ((JToggleButton.ToggleButtonModel) getElement().getAttributes().getAttribute(StyleConstants.ModelAttribute)).setGroup((ButtonGroup) radioGroups.get(name));
    JComponent comp = (JComponent) super.createComponent();
    // Peque�a mejora visual
    comp.setOpaque(false);
    return comp;
    return super.create(elem);
    //editorPane.setText(FORM_TEXT);
    editorPane.setText(texto);
    getContentPane().add(new JScrollPane(editorPane), BorderLayout.CENTER);
    private void showData(String data) {
         // ergebnis significa resultado
    StringBuffer ergebnis = new StringBuffer("");
    StringTokenizer st = new StringTokenizer(data, "&");
    while (st.hasMoreTokens()) {
    String token = st.nextToken();
    String key = URLDecoder.decode(token.substring(0, token.indexOf("=")));
    String value = URLDecoder.decode(token.substring(token.indexOf("=")+1,token.length()));
    v.add(value);
    ergebnis.append(" "); ergebnis.append(key); ergebnis.append(": "); ergebnis.append(value); ergebnis.append(" ");
    ergebnis.append(" ");
    JOptionPane.showMessageDialog(this, ergebnis.toString());
    public static void main(String[] args) throws Exception {
    JFrame frame = new JFrame ();
    FormSubmission editor = new FormSubmission ();
    frame.getContentPane().add(editor);
    frame.pack();
    frame.show();
    }

  • MacBook Pro 13" Late 2011 Experiencing Significant Slow Down After Boot Camp Installation

         Okay, so today, after installing Windows 7 on my MacBook Pro via Bootcamp Assistant, I experienced significant performance slow down (fans going at full blast, applications opening after extended periods of time, keystrokes not being registered) when I returned to my OS X partition/second hard drive. I have dual hard drives, one of them being a Samsung 256 GB SSD with OS X Mavericks and the other being my original 500 GB HDD, divided into a 250 GB OS X Mavericks partition and a 250 GB Windows partition. I have the SSD set as my startup disk and I have it located in the main HDD bay. I moved the old HDD into a caddy and placed it where the optical drive normally should be.
          After multiple failed attempts to install Windows via USB and Bootcamp Assistant, I decided to reinstall my optical drive and use a Windows installation disk. This attempt proved successful, and I was able to install Windows 7 onto the 250 GB partition I had created for it on the 500 GB HDD. After completing basic setup of Windows, I removed the optical disk drive and reinstalled the SSD and the HDD into their original spots (SSD in the main HDD bay, HDD in the caddy where the optical drive normally is).
         After completing this tedious process, I booted my Mac back up using the SSD. However, I noticed something was wrong when the login screen, apps, and nearly everything else on my desktop had slowed to crawl. I decided to check my Activity Monitor to see what the problem might be. Activity Monitor told me that the task "kernel_task" was taking up anywhere from 200-600% of my CPU, which explained the slowdown in performance. I looked around to see if there were others with the same problem as me, and I found that Spotlight Indexing might be an issue, with a potential remedy being move my Bootcamp Partition into the Privacy section of Spotlight under System Preferences. After doing that, I experienced no increase in performance and everything was still going very slowly.
         The next step I took was to see if booting into Safe Mode would help the issue. After booting into Safe Mode on my SSD, I noticed that things were back to their normal speeds, with applications opening at the speed they should be and keystrokes being registered instantaneously. However, the fans were still going and had not shut off once booting into Safe Mode. In addition, I checked Activity Monitor and the "kernel_task" in question was no longer taking up massive amounts of the CPU.
         At this point, I don't know what to do and I need help in restoring my Mac to original speeds. I may end up deleting my Boot Camp partition as a last measure if all else fails, seeing as I installed Windows in the first place for running a few programs and games that I can live without. However, I'd prefer to not have things come to that and fix things before deleting the Boot Camp Partition. I've heard that if everything runs normally in Safe Mode, then the issue is third-party software. Is this true?
         Any help would be greatly appreciated as I am writing this from the MacBook in question in Safe Mode because it's essentially useless in normal SSD operation.

    1. This procedure is a diagnostic test. It changes nothing, for better or worse, and therefore will not, in itself, solve the problem. But with the aid of the test results, the solution may take a few minutes, instead of hours or days.
    Don't be put off merely by the seeming complexity of these instructions. The process is much less complicated than the description. You do harder tasks with the computer all the time.
    2. If you don't already have a current backup, back up all data before doing anything else. The backup is necessary on general principle, not because of anything in the test procedure. Backup is always a must, and when you're having any kind of trouble with the computer, you may be at higher than usual risk of losing data, whether you follow these instructions or not.
    There are ways to back up a computer that isn't fully functional. Ask if you need guidance.
    3. Below are instructions to run a UNIX shell script, a type of program. All it does is to collect information about the state of the computer. That information goes nowhere unless you choose to share it. However, you should be cautious about running any kind of program (not just a shell script) at the behest of a stranger. If you have doubts, search this site for other discussions in which this procedure has been followed without any report of ill effects. If you can't satisfy yourself that the instructions are safe, don't follow them. Ask for other options.
    Here's a summary of what you need to do, if you choose to proceed:
    Copy a line of text in this window to the Clipboard.
    Paste into the window of another application.
    Wait for the test to run. It usually takes a few minutes.
    Paste the results, which will have been copied automatically, back into a reply on this page.
    The sequence is: copy, paste, wait, paste again. You don't need to copy a second time. Details follow.
    4. You may have started the computer in "safe" mode. Preferably, these steps should be taken in “normal” mode, under the conditions in which the problem is reproduced. If the system is now in safe mode and works well enough in normal mode to run the test, restart as usual. If you can only test in safe mode, do that.
    5. If you have more than one user, and the one affected by the problem is not an administrator, then please run the test twice: once while logged in as the affected user, and once as an administrator. The results may be different. The user that is created automatically on a new computer when you start it for the first time is an administrator. If you can't log in as an administrator, test as the affected user. Most personal Macs have only one user, and in that case this section doesn’t apply. Don't log in as root.
    6. The script is a single long line, all of which must be selected. You can accomplish this easily by triple-clicking anywhere in the line. The whole line will highlight, though you may not see all of it in the browser window, and you can then copy it. If you try to select the line by dragging across the part you can see, you won't get all of it.
    Triple-click anywhere in the line of text below on this page to select it:
    PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/libexec;clear;cd;p=(Software Hardware Memory Diagnostics Power FireWire Thunderbolt USB Fonts 51 4 1000 25 5120 KiB/s 1024 85 \\b%% 20480 1 MB/s 25000 ports ' \*AutoCad \*dropbox \*GoogleDr\* vidinst\* ' DYLD_INSERT_LIBRARIES\ DYLD_LIBRARY_PATH -86 ` route -n get default|awk '/e:/{print $2}' ` 25 N\\/A down up 102400 25600 recvfrom sendto CFBundleIdentifier 25 25 25 1000 MB com.apple.AirPortBaseStationAgent 464843899 );N5=${#p[@]};p[N5]=` networksetup -listnetworkserviceorder|awk ' NR>1 { sub(/^\([0-9]+\) /,"");n=$0;getline;} $NF=="'${p[26]}')" { sub(/.$/,"",$NF);print n;exit;} ' `;f=('\n%s: %s\n' '\n%s\n\n%s\n' '\nRAM details\n%s\n' %s\ %s '%s\n-\t%s\n' );S0() { echo ' { q=$NF+0;$NF="";u=$(NF-1);$(NF-1)="";gsub(/^ +| +$/,"");if(q>='${p[$1]}') printf("%s (UID %s) is using %s '${p[$2]}'",$0,u,q);} ';};s=(' /^ *$|CSConfigDot/d;s/^ */  /;s/[-0-9A-Fa-f]{22,}/UUID/g;s/(ochat)\.[^.]+(\..+)/\1\2/;/Shared/!s/\/Users\/[^/]+/~/g ' ' s/^ +//;5p;6p;8p;12p;' ' {sub(/^ +/,"")};NR==6;NR==13&&$2<'${p[10]} ' 1s/://;3,6d;/[my].+:/d;s/^ {4}//;H;${ g;s/\n$//;/s: [^EO]|x([^08]|02[^F]|8[^0])/p;} ' ' 5h;6{ H;g;/P/!p;} ' ' ($1~/^Cy/&&$3>'${p[11]}')||($1~/^Cond/&&$2!~/^N/) ' ' /:$/{ N;/:.+:/d;s/ *://;b0'$'\n'' };/^ *(V.+ [0N]|Man).+ /{ s/ 0x.... //;s/[()]//g;s/(.+: )(.+)/ (\2)/;H;};$b0'$'\n'' d;:0'$'\n'' x;s/\n\n//;/Apple[ ,]|Intel|SMSC/d;s/\n.*//;/\)$/p;' ' s/^.*C/C/;H;${ g;/No th|pms/!p;} ' '/= [^GO]/p' '{$1=""};1' ' /Of/!{ s/^.+is |\.//g;p;} ' ' $0&&!/ / { n++;print;} END { if(n<200) print "com.apple.";} ' ' $3~/[0-9]:[0-9]{2}$/ { gsub(/:[0-9:a-f]{14}/,"");} { print|"tail -n'${p[12]}'";} ' ' NR==2&&$4<='${p[13]}' { print $4;} ' ' END { $2/=256;if($2>='${p[15]}') print int($2) } ' ' NR!=13{next};{sub(/[+-]$/,"",$NF)};'"`S0 21 22`" 'NR!=2{next}'"`S0 37 17`" ' NR!=5||$8!~/[RW]/{next};{ $(NF-1)=$1;$NF=int($NF/10000000);for(i=1;i<=3;i++){$i="";$(NF-1-i)="";};};'"`S0 19 20`" 's:^:/:p' '/\.kext\/(Contents\/)?Info\.plist$/p' 's/^.{52}(.+) <.+/\1/p' ' /Launch[AD].+\.plist$/ { n++;print;} END { print "'${p[41]}'";if(n<200) print "/System/";} ' '/\.xpc\/(Contents\/)?Info\.plist$/p' ' NR>1&&!/0x|\.[0-9]+$|com\.apple\.launchctl\.(Aqua|Background|System)$|'${p[41]}'/ { print $3;} ' ' /\.(framew|lproj)|\):/d;/plist:|:.+(Mach|scrip)/s/:[^:]+//p ' '/root/p' ' !/\/Contents\/.+\/Contents|Applic|Autom|Frameworks/&&/Lib.+\/Info.plist$/ { n++;print;} END { if(n<1000) print "/System/";} ' '/^\/usr\/lib\/.+dylib$/p' ' /Temp|emac/ { next;} /(etc|Preferences|Launch[AD].+)\// { sub(".(/private)?","");n++;print;} END { print "'${p[41]}'.plist\t'${p[42]}'";if(n<500) print "Launch";} ' ' /\/(Contents\/.+\/Contents|Frameworks)\/|\.wdgt\/.+\.([bw]|plu)/d;p;' 's/\/(Contents\/)?Info.plist$//;p' ' { gsub("^| |\n","\\|\\|kMDItem'${p[35]}'=");sub("^...."," ") };1 ' p '{print $3"\t"$1}' 's/\'$'\t''.+//p' 's/1/On/p' '/Prox.+: [^0]/p' '$2>'${p[9]}'{$2=$2-1;print}' ' BEGIN { i="'${p[26]}'";M1='${p[16]}';M2='${p[18]}';M3='${p[31]}';M4='${p[32]}';} !/^A/ { next;} /%/ { getline;if($5<M1) a="user "$2"%, system "$4"%";} /disk0/&&$4>M2 { b=$3" ops/s, "$4" blocks/s";} $2==i { if(c) { d=$3+$4+$5+$6;next;};if($4>M3||$6>M4) c=int($4/1024)" in, "int($6/1024)" out";} END { if(a) print "CPU: "a;if(b) print "I/O: "b;if(c) print "Net: "c" (KiB/s)";if(d) print "Net errors: "d" packets/s";} ' ' /r\[0\] /&&$NF!~/^1(0|72\.(1[6-9]|2[0-9]|3[0-1])|92\.168)\./ { print $NF;exit;} ' ' !/^T/ { printf "(static)";exit;} ' '/apsd|OpenD/!s/:.+//p' ' (/k:/&&$3!~/(255\.){3}0/ )||(/v6:/&&$2!~/A/ ) ' ' $1~"lR"&&$2<='${p[25]}';$1~"li"&&$3!~"wpa2";' ' BEGIN { FS=":";} { n=split($3,a,".");sub(/_2[01].+/,"",$3);print $2" "$3" "a[n]" "$1;b=b$1;} END { if(b) print("\n\t* Code injection");} ' ' NR!=4{next} {$NF/=10240} '"`S0 27 14`" ' END { if($3~/[0-9]/)print$3;} ' ' BEGIN { L='${p[36]}';} !/^[[:space:]]*(#.*)?$/ { l++;if(l<=L) f=f"\n  "$0;} END { F=FILENAME;if(!F) exit;if(!f) f="\n  [N/A]";"file -b "F|getline T;if(T!~/^(AS.+ (En.+ )?text$|POSIX sh.+ text ex)/) F=F" ("T")";printf("\nContents of %s\n%s\n",F,f);if(l>L) printf("\n  ...and %s more line(s)\n",l-L);} ' ' /^ +[NP].+ =/h;/^( +D.+[{]|[}])/{ g;s/.+= //p;};' 's/0/Off/p' ' END{print NR} ' ' /id: N|te: Y/{i++} END{print i} ' ' / / { print "'"${p[28]}"'";exit;};1;' '/ en/!s/\.//p' ' NR!=13{next};{sub(/[+-M]$/,"",$NF)};'"`S0 39 40`" ' $10~/\(L/&&$9!~"localhost" { sub(/.+:/,"",$9);print $1": "$9;} ' '/^ +r/s/.+"(.+)".+/\1/p' 's/(.+\.wdgt)\/(Contents\/)?Info\.plist$/\1/p' 's/^.+\/(.+)\.wdgt$/\1/p' );c1=(system_profiler pmset\ -g nvram fdesetup find syslog df vm_stat sar ps sudo\ crontab sudo\ iotop top pkgutil 'PlistBuddy 2>&1 -c "Print' whoami cksum kextstat launchctl sudo\ launchctl crontab 'sudo defaults read' stat lsbom mdfind ' for i in ${p[24]};do ${c1[18]} ${c2[27]} $i;done;' defaults\ read scutil sudo\ dtrace sudo\ profiles sed\ -En awk /S*/*/P*/*/*/C*/*/airport networksetup mdutil sudo\ lsof test );c2=(com.apple.loginwindow\ LoginHook '" /L*/P*/loginw*' '" L*/P*/*loginit*' 'L*/Ca*/com.ap*.Saf*/E*/* -depth 1 -name In*t -exec '"${c1[14]}"' :CFBundleDisplayName" {} \;' '~ $TMPDIR.. \( -flags +sappnd,schg,uappnd,uchg -o ! -user $UID -o ! -perm -600 \)' '.??* -path .Trash -prune -o -type d -name *.app -print -prune' :${p[35]}\" :Label\" '{/,}L*/{Con,Pref}* -type f ! -size 0 -name *.plist -exec plutil -s {} \;' "-f'%N: %l' Desktop L*/Keyc*" therm sysload boot-args status " -F '\$Time \$Message' -k Sender kernel -k Message Req 'bad |Beac|caug|dead[^bl]|FAIL|fail|GPU |hfs: Ru|inval|jnl:|last value [1-9]|n Cause: -|NVDA\(|pagin|proc: t|Roamed|rror|ssert|Thrott|tim(ed? ?|ing )o|WARN' -k Message Rne 'Goog|ksadm|SMC:' -o -k Sender fseventsd -k Message Req 'SL' " '-du -n DEV -n EDEV 1 10' 'acrx -o comm,ruid,%cpu' '-t1 10 1' '-f -pfc /var/db/r*/com.apple.*.{BS,Bas,Es,J,OSXU,Rem,up}*.bom' '{/,}L*/Lo*/Diag* -type f -regex .\*[cgh] ! -name *ag \( -exec grep -lq "^Thread c" {} \; -exec printf \* \; -o -true \) -execdir stat -f:%Sc:%N -t%F {} \;|sort -t: -k2 |tail -n'${p[38]} '-L {/{S*/,},}L*/Lau* -type f' '-L /{S*/,}L*/StartupItems -type f -exec file {} +' '-L /S*/L*/{C*/Sec*A,E}* {/,}L*/{A*d,Ca*/*/Ex,Compon,Ex,In,iTu,Keyb,Mail/B,P*P,Qu*T,Scripti,Sec,Servi,Spo,Widg}* -type f -name Info.plist' '/usr/lib -type f -name *.dylib' `awk "${s[31]}"<<<${p[23]}` "/e*/{auto,{cron,fs}tab,hosts,{[lp],sy}*.conf,pam.d/*,ssh{,d}_config,*.local} {,/usr/local}/etc/periodic/*/* /L*/P*{,/*}/com.a*.{Bo,sec*.ap}*t /S*/L*/Lau*/*t .launchd.conf" list getenv /Library/Preferences/com.apple.alf\ globalstate --proxy '-n get default' -I --dns -getdnsservers\ "${p[N5]}" -getinfo\ "${p[N5]}" -P -m\ / '' -n1 '-R -l1 -n1 -o prt -stats command,uid,prt' '--regexp --only-files --files com.apple.pkg.*|sort|uniq' -kl -l -s\ / '-R -l1 -n1 -o mem -stats command,uid,mem' -i4TCP:0-1023 com.apple.dashboard\ layer-gadgets '-d /L*/Mana*/$USER&&echo On' '-app Safari WebKitDNSPrefetchingEnabled' );N1=${#c2[@]};for j in {0..8};do c2[N1+j]=SP${p[j]}DataType;done;N2=${#c2[@]};for j in 0 1;do c2[N2+j]="-n ' syscall::'${p[33+j]}':return { @out[execname,uid]=sum(arg0) } tick-10sec { trunc(@out,1);exit(0);} '";done;l=(Restricted\ files Hidden\ apps 'Elapsed time (s)' POST Battery Safari\ extensions Bad\ plists 'High file counts' User Heat System\ load boot\ args FileVault Diagnostic\ reports Log 'Free space (MiB)' 'Swap (MiB)' Activity 'CPU per process' Login\ hook 'I/O per process' Mach\ ports kexts Daemons Agents launchd Startup\ items Admin\ access Root\ access Bundles dylibs Apps Font\ issues Inserted\ dylibs Firewall Proxies DNS TCP/IP Wi-Fi Profiles Root\ crontab User\ crontab 'Global login items' 'User login items' Spotlight Memory Listeners Widgets Parental\ Controls Prefetching );N3=${#l[@]};for i in 0 1 2;do l[N3+i]=${p[5+i]};done;N4=${#l[@]};for j in 0 1;do l[N4+j]="Current ${p[29+j]}stream data";done;A0() { id -G|grep -qw 80;v[1]=$?;((v[1]==0))&&sudo true;v[2]=$?;v[3]=`date +%s`;clear >&-;date '+Start time: %T %D%n';};for i in 0 1;do eval ' A'$((1+i))'() { v=` eval "${c1[$1]} ${c2[$2]}"|'${c1[30+i]}' "${s[$3]}" `;[[ "$v" ]];};A'$((3+i))'() { v=` while read i;do [[ "$i" ]]&&eval "${c1[$1]} ${c2[$2]}" \"$i\"|'${c1[30+i]}' "${s[$3]}";done<<<"${v[$4]}" `;[[ "$v" ]];};A'$((5+i))'() { v=` while read i;do '${c1[30+i]}' "${s[$1]}" "$i";done<<<"${v[$2]}" `;[[ "$v" ]];};';done;A7(){ v=$((`date +%s`-v[3]));};B2(){ v[$1]="$v";};for i in 0 1;do eval ' B'$i'() { v=;((v['$((i+1))']==0))||{ v=No;false;};};B'$((3+i))'() { v[$2]=`'${c1[30+i]}' "${s[$3]}"<<<"${v[$1]}"`;} ';done;B5(){ v[$1]="${v[$1]}"$'\n'"${v[$2]}";};B6() { v=` paste -d: <(printf "${v[$1]}") <(printf "${v[$2]}")|awk -F: ' {printf("'"${f[$3]}"'",$1,$2)} ' `;};B7(){ v=`grep -Fv "${v[$1]}"<<<"$v"`;};C0(){ [[ "$v" ]]&&echo "$v";};C1() { [[ "$v" ]]&&printf "${f[$1]}" "${l[$2]}" "$v";};C2() { v=`echo $v`;[[ "$v" != 0 ]]&&C1 0 $1;};C3() { v=`sed -E "$s"<<<"$v"`&&C1 1 $1;};for i in 1 2;do for j in 2 3;do eval D$i$j'(){ A'$i' $1 $2 $3; C'$j' $4;};';done;done;{ A0;A2 0 $((N1+1)) 2;C0;A1 0 $N1 1;C0;B0;C2 27;B0&&! B1&&C2 28;D12 15 37 25 8;A1 0 $((N1+2)) 3;C0;D13 0 $((N1+3)) 4 3;D23 0 $((N1+4)) 5 4;for i in 0 1 2;do D13 0 $((N1+5+i)) 6 $((N3+i));done;D13 1 10 7 9;D13 1 11 8 10;D22 2 12 9 11;D12 3 13 10 12;D23 4 19 44 13;D23 5 14 12 14;D22 6 36 13 15;D22 7 37 14 16;D23 8 15 38 17;D22 9 16 16 18;B1&&{ D22 11 17 17 20;for i in 0 1;do D22 28 $((N2+i)) 45 $((N4+i));done;};D22 12 44 54 45;D22 12 39 15 21;A1 13 40 18;B2 4;B3 4 0 19;A3 14 6 32 0;B4 0 5 11;A1 17 41 20;B7 5;C3 22;B4 4 6 21;A3 14 7 32 6;B4 0 7 11;B3 4 0 22;A3 14 6 32 0;B4 0 8 11;B5 7 8;B1&&{ A2 19 26 23;B7 7;C3 23;};A2 18 26 23;B7 7;C3 24;A2 4 20 21;B7 6;B2 9;A4 14 7 52 9;B2 10;B6 9 10 4;C3 25;D13 4 21 24 26;B4 4 12 26;B3 4 13 27;A1 4 22 29;B7 12;B2 14;A4 14 6 52 14;B2 15;B6 14 15 4;B3 0 0 30;C3 29;A1 4 23 27;B7 13;C3 30;D13 24 24 32 31;D13 25 37 32 33;A2 23 18 28;B2 16;A2 16 25 33;B7 16;B3 0 0 34;B2 21;A6 47 21&&C0;B1&&{ D13 21 0 32 19;D13 10 42 32 40;D22 29 35 46 39;};D13 14 1 48 42;D12 34 43 53 44;D22 0 $((N1+8)) 51 32;D13 4 8 41 6;D12 26 28 35 34;D13 27 29 36 35;A2 27 32 39&&{ B2 19;A2 33 33 40;B2 20;B6 19 20 3;};C2 36;D23 33 34 42 37;B1&&D23 35 45 55 46;D23 32 31 43 38;D12 36 47 32 48;D13 20 42 32 41;D13 14 2 48 43;D13 4 5 32 1;D22 4 4 50 0;D13 4 3 32 5;D12 26 48 49 49;B3 4 22 57;A1 26 46 56;B7 22;B3 0 0 58;C3 47;D23 22 9 37 7;A7;C2 2;} 2>/dev/null|pbcopy;exit 2>&-
    Copy the selected text to the Clipboard by pressing the key combination command-C.
    7. Launch the built-in Terminal application in any of the following ways:
    Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    Open LaunchPad. Click Utilities, then Terminal in the icon grid.
    Click anywhere in the Terminal window and paste by pressing command-V. The text you pasted should vanish immediately. If it doesn't, press the return key.
    8. If you see an error message in the Terminal window such as "Syntax error" or "Event not found," enter
    exec bash
    and press return. Then paste the script again.
    9. If you're logged in as an administrator, you'll be prompted for your login password. Nothing will be displayed when you type it. You will not see the usual dots in place of typed characters. Make sure caps lock is off. Type carefully and then press return. You may get a one-time warning to be careful. If you make three failed attempts to enter the password, the test will run anyway, but it will produce less information. In most cases, the difference is not important. If you don't know the password, or if you prefer not to enter it, press the key combination control-C or just press return three times at the password prompt. Again, the script will still run.
    If you're not logged in as an administrator, you won't be prompted for a password. The test will still run. It just won't do anything that requires administrator privileges.
    10. The test may take a few minutes to run, depending on how many files you have and the speed of the computer. A computer that's abnormally slow may take longer to run the test. While it's running, there will be nothing in the Terminal window and no indication of progress. Wait for the line
    [Process completed]
    to appear. If you don't see it within half an hour or so, the test probably won't complete in a reasonable time. In that case, close the Terminal window and report the results. No harm will be done.
    11. When the test is complete, quit Terminal. The results will have been copied to the Clipboard automatically. They are not shown in the Terminal window. Please don't copy anything from there. All you have to do is start a reply to this comment and then paste by pressing command-V again.
    At the top of the results, there will be a line that begins with the words "Start Time." If you don't see that, but instead see a mass of gibberish, you didn't wait for the "Process completed" message to appear in the Terminal window. Please wait for it and try again.
    If any private information, such as your name or email address, appears in the results, anonymize it before posting. Usually that won't be necessary.
    12. When you post the results, you might see the message, "You have included content in your post that is not permitted." It means that the forum software has misidentified something in the post as a violation of the rules. If that happens, please post the test results on Pastebin, then post a link here to the page you created.
    Note: This is a public forum, and others may give you advice based on the results of the test. They speak only for themselves, and I don't necessarily agree with them.
    Copyright © 2014 by Linc Davis. As the sole author of this work, I reserve all rights to it except as provided in the Use Agreement for the Apple Support Communities website ("ASC"). Readers of ASC may copy it for their own personal use. Neither the whole nor any part may be redistributed.

  • IF Auto Update Statistics ENABLED in Database Design, Why we need to Update Statistics as a maintenance plan

    Hi Experts,
    IF Auto Update Statistics ENABLED in Database Design, Why we need to Update Statistics as a maintenance plan for Daily/weekly??
    Vinai Kumar Gandla

    Hi Vikki,
    Many systems rely solely on SQL Server to update statistics automatically(AUTO UPDATE STATISTICS enabled), however, based on my research, large tables, tables with uneven data distributions, tables with ever-increasing keys and tables that have significant
    changes in distribution often require manual statistics updates as the following explanation.
    1.If a table is very big, then waiting for 20% of rows to change before SQL Server automatically updates the statistics could mean that millions of rows are modified, added or removed before it happens. Depending on the workload patterns and the data,
    this could mean the optimizer is choosing a substandard execution plans long before SQL Server reaches the threshold where it invalidates statistics for a table and starts to update them automatically. In such cases, you might consider updating statistics
    manually for those tables on a defined schedule (while leaving AUTO UPDATE STATISTICS enabled so that SQL Server continues to maintain statistics for other tables).
    2.In cases where you know data distribution in a column is "skewed", it may be necessary to update statistics manually with a full sample, or create a set of filtered statistics in order to generate query plans of good quality. Remember,
    however, that sampling with FULLSCAN can be costly for larger tables, and must be done so as not to affect production performance.
    3.It is quite common to see an ascending key, such as an IDENTITY or date/time data types, used as the leading column in an index. In such cases, the statistic for the key rarely matches the actual data, unless we update the Statistic manually after
    every insert.
    So in the case above, we could perform manual statistics updates by
    creating a maintenance plan that will run the UPDATE STATISTICS command, and update statistics on a regular schedule. For more information about the process, please refer to the article:
    https://www.simple-talk.com/sql/performance/managing-sql-server-statistics/
    Regards,
    Michelle Li

  • Significant slowness in data transfer from source DB to target DB

    Hi DB Wizards,
         My customer is noticing significant slowness in Data copy from the Source DB to the Target DB. The copy process itself is using PL/SQL code along with cursors. The process is to copy across about 7M records from the source DB to the target DB as part of a complicated Data Migration process (this will be a onetime Go-Live process). I have also attached the AWR reports generated during the Data Migration process. Are there any recommendations to help improve the performance of the Data transfer process.
    Thanks in advance,
    Nitin

    multiple COMMIT will take longer to complete the task than a single COMMIT at the end!Lets check how much longer it is:
    create table T1 as
    select OWNER,TABLE_NAME,COLUMN_NAME,DATA_TYPE,DATA_TYPE_MOD,DATA_TYPE_OWNER,DATA_LENGTH,DATA_PRECISION,DATA_SCALE,NULLABLE,COLUMN_ID,DEFAULT_LENGTH,NUM_DISTINCT,LOW_VALUE,HIGH_VALUE,DENSITY,NUM_NULLS,NUM_BUCKETS,LAST_ANALYZED,SAMPLE_SIZE,CHARACTER_SET_NAME,CHAR_COL_DECL_LENGTH,GLOBAL_STATS,USER_STATS,AVG_COL_LEN,CHAR_LENGTH,CHAR_USED,V80_FMT_IMAGE,DATA_UPGRADED,HISTOGRAM
    from DBA_TAB_COLUMNS;
    insert /*+APPEND*/ into T1 select *from T1;
    commit;
    -- repeat untill it is >7Mln rows
    select count(*) from T1;
    9233824
    create table T2 as select * from T1;
    set autotrace on timing on;
    truncate table t2;
    declare r number:=0;
    begin
    for t in (select * from t1) loop
    insert into t2 values ( t.OWNER,t.TABLE_NAME,t.COLUMN_NAME,t.DATA_TYPE,t.DATA_TYPE_MOD,t.DATA_TYPE_OWNER,t.DATA_LENGTH,t.DATA_PRECISION,t.DATA_SCALE,t.NULLABLE,t.COLUMN_ID,t.DEFAULT_LENGTH,t.NUM_DISTINCT,t.LOW_VALUE,t.HIGH_VALUE,t.DENSITY,t.NUM_NULLS,t.NUM_BUCKETS,t.LAST_ANALYZED,t.SAMPLE_SIZE,t.CHARACTER_SET_NAME,t.CHAR_COL_DECL_LENGTH,t.GLOBAL_STATS,t.USER_STATS,t.AVG_COL_LEN,t.CHAR_LENGTH,t.CHAR_USED,t.V80_FMT_IMAGE,t.DATA_UPGRADED,t.HISTOGRAM
    r:=r+1;
    if mod(r,10000)=0 then commit; end if;
    end loop;
    commit;
    end;
    --call that couple of times with and without  "if mod(r,10000)=0 then commit; end if;" commented.
    Results:
    One commit
    anonymous block completed
    Elapsed: 00:11:07.683
    Statistics
    18474603 recursive calls
    0 spare statistic 4
    0 ges messages sent
    0 db block gets direct
    0 calls to kcmgrs
    0 PX remote messages recv'd
    0 buffer is pinned count
    1737 buffer is not pinned count
    2 workarea executions - optimal
    0 workarea executions - onepass
    10000 rows commit
    anonymous block completed
    Elapsed: 00:10:54.789
    Statistics
    18475806 recursive calls
    0 spare statistic 4
    0 ges messages sent
    0 db block gets direct
    0 calls to kcmgrs
    0 PX remote messages recv'd
    0 buffer is pinned count
    1033 buffer is not pinned count
    2 workarea executions - optimal
    0 workarea executions - onepass
    one commit
    anonymous block completed
    Elapsed: 00:10:39.139
    Statistics
    18474228 recursive calls
    0 spare statistic 4
    0 ges messages sent
    0 db block gets direct
    0 calls to kcmgrs
    0 PX remote messages recv'd
    0 buffer is pinned count
    1123 buffer is not pinned count
    2 workarea executions - optimal
    0 workarea executions - onepass
    10000 rows commit
    anonymous block completed
    Elapsed: 00:11:46.259
    Statistics
    18475707 recursive calls
    0 spare statistic 4
    0 ges messages sent
    0 db block gets direct
    0 calls to kcmgrs
    0 PX remote messages recv'd
    0 buffer is pinned count
    1000 buffer is not pinned count
    2 workarea executions - optimal
    0 workarea executions - onepass
    What we've got?
    Single commit at the end, avg elapsed: 10:53.4s     
    Commit every 10000 rows (923 times), avg elapsed: 11:20.5s
    Difference:     00:27.1s     3.98%
    Multiple commits is just 4% slower. But it is safer regarding Undo consumed.

  • Error during sap r/3 installation  at update databse statistics

    Hi friends,
    I am getting an error during sap r/3 installation almost at the last stage.
    the error is  at update database statistics.
    my configuration is
    os: windows 2000 server.
    d/b: oracle 9i.
    erp: sap 4.7 ee
    During oracle installation stage the oui is asking for create a database, i am chechking it ok. Is that a problem ?.
    I am sending the log file. Please can anybody help me, where i am going wrong-
    The log file----
    Click Browse and give location of export1, as shown in the bellow figure
    INFO 2007-02-04 21:46:32
    Creating directory D:\oracle\DRS\sapdata4\drs620_5.
    INFO 2007-02-04 21:46:32
    Creating file system node D:\oracle\DRS/sapdata4\drs620_5 with type DIRECTORY succeeded.
    INFO 2007-02-04 21:46:32
    Creating directory D:\oracle\DRS\sapdata5\drs620_6.
    INFO 2007-02-04 21:46:32
    Creating file system node D:\oracle\DRS/sapdata5\drs620_6 with type DIRECTORY succeeded.
    INFO 2007-02-04 21:46:32
    Creating directory D:\oracle\DRS\sapdata5\drs620_7.
    INFO 2007-02-04 21:46:32
    Creating file system node D:\oracle\DRS/sapdata5\drs620_7 with type DIRECTORY succeeded.
    INFO 2007-02-04 21:46:32
    Creating directory D:\oracle\DRS\sapdata6\drs620_8.
    INFO 2007-02-04 21:46:32
    Creating file system node D:\oracle\DRS/sapdata6\drs620_8 with type DIRECTORY succeeded.
    INFO 2007-02-04 21:46:32
    Creating directory D:\oracle\DRS\sapdata6\drs620_9.
    INFO 2007-02-04 21:46:32
    Creating file system node D:\oracle\DRS/sapdata6\drs620_9 with type DIRECTORY succeeded.
    INFO 2007-02-04 21:46:32
    Creating directory D:\oracle\DRS\sapdata6\drsusr_1.
    INFO 2007-02-04 21:46:32
    Creating file system node D:\oracle\DRS/sapdata6\drsusr_1 with type DIRECTORY succeeded.
    INFO 2007-02-04 21:46:32
    Creating directory D:\oracle\DRS\sapdata2\roll_1.
    INFO 2007-02-04 21:46:32
    Creating file system node D:\oracle\DRS/sapdata2\roll_1 with type DIRECTORY succeeded.
    INFO 2007-02-04 21:46:32
    Creating directory D:\oracle\DRS\sapdata3\temp_1.
    INFO 2007-02-04 21:46:32
    Creating file system node D:\oracle\DRS/sapdata3\temp_1 with type DIRECTORY succeeded.
    INFO 2007-02-04 21:46:32
    Creating directory D:\oracle\DRS\sapdata1\system_1.
    INFO 2007-02-04 21:46:32
    Creating file system node D:\oracle\DRS/sapdata1\system_1 with type DIRECTORY succeeded.
    INFO 2007-02-04 21:46:32
    Processing of all file system node operations of table tORA_SapdataNodes succeeded.
    INFO 2007-02-04 21:46:33
    Processing of all file system node operations of table tORA_DatabaseServerNodes succeeded.
    INFO 2007-02-04 21:46:34
    Processing of all file system node operations of table tORA_SapdataNodes succeeded.
    INFO 2007-02-04 21:46:35
    Creating file c:\oracle\ora90\database\initDRS.ora.
    INFO 2007-02-04 21:46:36
    Creating file C:\oracle\ora90\database\initDRS.sap.
    INFO 2007-02-04 21:46:37
    Copying file F:/sap4.7/ker/NT/COMMON/INSTALL/INITSID.DBA to: c:\oracle\ora90/database/initDRS.dba.
    INFO 2007-02-04 21:46:37
    Creating file c:\oracle\ora90\database\initDRS.dba.
    INFO 2007-02-04 21:46:38
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2007-02-04 21:46:39
    Moving file c:/oracle/ora90/database/initDRS.ora to: orig_init_ora_tmp.txt.
    INFO 2007-02-04 21:46:39
    Moving file C:/SAPinst ORACLE KERNEL/changed_init_ora_tmp.txt to: c:\oracle\ora90\database\initDRS.ora.
    INFO 2007-02-04 21:46:39
    Removing file C:/SAPinst ORACLE KERNEL/orig_init_ora_tmp.txt.
    INFO 2007-02-04 21:46:40
    Creating file C:\SAPinst ORACLE KERNEL\oradim.log.
    INFO 2007-02-04 21:46:45
    See 'c:\oracle\ora90/bin/oradim -new -sid DRS -STARTMODE auto' output in 'C:\SAPinst ORACLE KERNEL\oradim.log'.
    INFO 2007-02-04 21:46:45
    'c:\oracle\ora90/bin/oradim -new -sid DRS -STARTMODE auto' returned with '0'.
    INFO 2007-02-04 21:46:46
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2007-02-04 21:46:49
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2007-02-04 21:59:57
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2007-02-04 22:00:00
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2007-02-04 22:00:44
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2007-02-04 22:00:46
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2007-02-04 22:01:31
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2007-02-04 22:01:34
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2007-02-04 22:02:18
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2007-02-04 22:02:20
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2007-02-04 22:03:06
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2007-02-04 22:03:09
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2007-02-04 22:03:55
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2007-02-04 22:03:57
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2007-02-04 22:04:44
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2007-02-04 22:04:46
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2007-02-04 22:05:32
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2007-02-04 22:05:35
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2007-02-04 22:06:21
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2007-02-04 22:06:23
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2007-02-04 22:07:10
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2007-02-04 22:07:12
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2007-02-04 22:07:58
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2007-02-04 22:08:01
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2007-02-04 22:08:48
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2007-02-04 22:08:50
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2007-02-04 22:09:38
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2007-02-04 22:09:40
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2007-02-04 22:09:44
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2007-02-04 22:09:46
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2007-02-04 22:10:06
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2007-02-04 22:10:09
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2007-02-04 22:10:39
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2007-02-04 22:10:41
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2007-02-04 22:10:44
    Moving file c:/oracle/ora90/database/initDRS.ora to: orig_init_ora_tmp.txt.
    INFO 2007-02-04 22:10:44
    Moving file C:/SAPinst ORACLE KERNEL/changed_init_ora_tmp.txt to: c:\oracle\ora90\database\initDRS.ora.
    INFO 2007-02-04 22:10:44
    Removing file C:/SAPinst ORACLE KERNEL/orig_init_ora_tmp.txt.
    INFO 2007-02-04 22:10:45
    Creating file C:\SAPinst ORACLE KERNEL\lsnrctl.log.
    INFO 2007-02-04 22:10:46
    See 'c:\oracle\ora90/bin/lsnrctl stat' output in 'C:\SAPinst ORACLE KERNEL\lsnrctl.log'.
    INFO 2007-02-04 22:10:46
    'c:\oracle\ora90/bin/lsnrctl stat' returned with '3'.
    INFO 2007-02-04 22:10:46
    Creating file C:\SAPinst ORACLE KERNEL\lsnrctl.log.
    INFO 2007-02-04 22:10:48
    See 'c:\oracle\ora90/bin/lsnrctl start' output in 'C:\SAPinst ORACLE KERNEL\lsnrctl.log'.
    INFO 2007-02-04 22:10:48
    'c:\oracle\ora90/bin/lsnrctl start' returned with '0'.
    INFO 2007-02-04 22:10:48
    Copying file F:/sap4.7/ker/NT/COMMON/INSTALL/ORADBUSR.SQL to: ./oradbusr.sql.
    INFO 2007-02-04 22:10:48
    Creating file C:\SAPinst ORACLE KERNEL\oradbusr.sql.
    INFO 2007-02-04 22:10:49
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2007-02-04 22:10:52
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    PHASE 2007-02-04 22:10:54
    Database Load
    INFO 2007-02-04 22:10:58
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2007-02-04 22:10:59
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2007-02-04 22:11:00
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2007-02-04 22:11:01
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2007-02-04 22:11:01
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2007-02-04 22:11:01
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2007-02-04 22:11:01
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2007-02-04 22:11:01
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2007-02-04 22:11:01
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2007-02-04 22:11:01
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2007-02-04 22:11:01
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2007-02-04 22:11:01
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2007-02-04 22:11:01
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2007-02-04 22:11:01
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2007-02-04 22:11:01
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2007-02-04 22:11:02
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2007-02-04 22:11:02
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2007-02-04 22:11:02
    Task files created
    INFO 2007-02-04 22:11:03
    Command files created
    INFO 2007-02-04 22:11:05
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2007-02-04 22:11:05
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2007-02-04 22:11:05
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2007-02-05 00:06:44
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2007-02-05 03:43:19
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2007-02-05 04:55:23
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2007-02-05 05:17:24
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2007-02-05 05:39:25
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2007-02-05 05:45:25
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2007-02-05 05:57:26
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2007-02-05 06:00:26
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2007-02-05 06:03:26
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2007-02-05 06:05:26
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2007-02-05 06:07:26
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2007-02-05 06:08:27
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2007-02-05 06:09:28
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2007-02-05 06:24:46
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2007-02-05 06:24:46
    Processes finished successfully
    INFO 2007-02-05 06:26:23
    Creating file C:\SAPinst ORACLE KERNEL\ddicora.sql.
    INFO 2007-02-05 06:26:25
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2007-02-05 06:26:30
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2007-02-05 06:26:32
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2007-02-05 06:26:43
    Moving file c:/oracle/ora90/database/initDRS.ora to: orig_init_ora_tmp.txt.
    INFO 2007-02-05 06:26:43
    Moving file C:/SAPinst ORACLE KERNEL/changed_init_ora_tmp.txt to: c:\oracle\ora90\database\initDRS.ora.
    INFO 2007-02-05 06:26:43
    Removing file C:/SAPinst ORACLE KERNEL/orig_init_ora_tmp.txt.
    INFO 2007-02-05 06:26:43
    Moving file c:/oracle/ora90/database/initDRS.ora to: orig_init_ora_tmp.txt.
    INFO 2007-02-05 06:26:43
    Moving file C:/SAPinst ORACLE KERNEL/changed_init_ora_tmp.txt to: c:\oracle\ora90\database\initDRS.ora.
    INFO 2007-02-05 06:26:43
    Removing file C:/SAPinst ORACLE KERNEL/orig_init_ora_tmp.txt.
    INFO 2007-02-05 06:26:43
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2007-02-05 06:26:45
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2007-02-05 06:26:48
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2007-02-05 06:26:52
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2007-02-05 06:26:55
    Creating file C:\SAPinst ORACLE KERNEL\brconnect.log.
    INFO 2007-02-05 06:26:55
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2007-02-05 06:26:55
    See 'D:\usr\sap\DRS\SYS\exe\run/brconnect -c -f crsyn -o SAPDRS' output in 'C:\SAPinst ORACLE KERNEL\brconnect.log'.
    ERROR 2007-02-05 06:26:55
    MOS-01012  PROBLEM: 'D:\usr\sap\DRS\SYS\exe\run/brconnect -c -f crsyn -o SAPDRS' returned with '128' which is not a defined as a success code.
    ERROR 2007-02-05 06:26:55
    FJS-00012  Error when executing script.
    kindly help me where i am going wrong.
    Yours friendly,
    Bharath.

    Hi Andreas,
    many thanks to you for the timely help.
    a.)I want to know why there is an error at brconnect ? why is it returning an error code (128) at UPDATE DATABASE STATISTICS stage.
    I have read in this forum itself that the UPDATE STATISTICS need not be suceesfully completed and we can edit database.r3s
    " ..on the other hand you can easily invoke the update statistics after the installation has ended (succesfully!)...edit DATABASE.R3S (or the appropriate template file you are using) by changing the status=ERROR to status=OK...this will let you finish the installation..-GreetZ, AH."
    I have searched for this file (database.r3s) in my system in vain Where can i find this file database.r3s?.
    Have i done any configuration mistake at the pre-installation stage. I have installed Oracle 9.0 using setup.exe of oracle. should i use sapserver.cmd to install oracle?.I havent applied any patch for Oracle 9.0
    Should I apply any patch just the same way we do for Oracle 8.1.x ?.  If so, where can i get the patch for Oracle 9.0 .?.
    b.) You said there should not be any spaces in file path (ex: C:/SAPinst ORACLE KERNEL/) . But I havent specified file path, the r/3 setup itself has created the directory path.
    c.) I want to know one thing- should we create a database before installing r/3. When we are installing Oracle 8/9. x what are the components that we are installing?
    Your friend,
    Bharath.

  • MBRC and SYSTEM STATISTICS in Oracle 10g database.

    Hi All,
    I am performing database upgrade from Oracle 8i Solaris to Oracle 10g HP-UX using exp/imp method.
    But i do have some doubts regarding MBRC and System statistics.
    MBRC in Oracle 10g is automatically adjusted if MBRC parameter is not set, but i found value 128 as shown below.
    SQL> select * from v$version;
    BANNER
    Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bi
    PL/SQL Release 10.2.0.4.0 - Production
    CORE    10.2.0.4.0      Production
    TNS for HPUX: Version 10.2.0.4.0 - Production
    NLSRTL Version 10.2.0.4.0 - Production
    SQL> sho parameter multi
    NAME                                 TYPE                             VALUE
    db_file_multiblock_read_count        integer                          128Also i performed one simple full table scan to test it...but db file scattered read is performing on 128 blocks. So i dont think 128 is suitable and is automatic, i mean MBRC is not set accrodingly it always uses 128.
    Does this MBRC value affects whole database performance?
    Regarding SYSTEM STATISTICS i found below result:
    SQL> select * from AUX_STATS$
    SNAME                          PNAME                               PVAL1 PVAL2
    SYSSTATS_INFO                  STATUS                                    COMPLETED
    SYSSTATS_INFO                  DSTART                                    11-09-2009 04:59
    SYSSTATS_INFO                  DSTOP                                     11-09-2009 04:59
    SYSSTATS_INFO                  FLAGS                                   1
    SYSSTATS_MAIN                  CPUSPEEDNW                     128.239557
    SYSSTATS_MAIN                  IOSEEKTIM                              10
    SYSSTATS_MAIN                  IOTFRSPEED                           4096
    SYSSTATS_MAIN                  SREADTIM
    SYSSTATS_MAIN                  MREADTIM
    SYSSTATS_MAIN                  CPUSPEED
    SYSSTATS_MAIN                  MBRC
    SYSSTATS_MAIN                  MAXTHR
    SYSSTATS_MAIN                  SLAVETHRNow whether NOWORKLOAD or WORKLOAD is better, and this server is still under building process....so how can i collect WORKLOAD stats as high load on this server can't be performed?? Is it really require to gather system statistics, what will happen with NOWORLOAD stats?
    I have not seen single database where system stats are gathered in our organisation having more than 2000 databases.
    -Yasser

    Maybe this article written by Tom Kite helps:
    http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:499197100346264909

Maybe you are looking for

  • Is it possible to change the number of rows while printing a contact sheet in Iphoto? Please help

    Hi guys, I am struggling to find out how to change the number of rows on a contact sheet on Iphoto , i have selected my photos and i want it to print 6 photos on each page however I am not able to do it.      Please help me out, im a Art student and

  • How to find dependents who are currently enrolled in a health plan

    How do you programmatically find which dependents are currently enrolled in a health plan? I have tried function: HR_BEN_GET_POSS_DEPENDENTS. This never returns which dependents are SELECTED. I have tried BAPI_BEN_BUS302901_GET_DEP, but this does not

  • Email flag changes color on its own

    In mail, I use different colour flags to mark different email; i.e red for urgent, green for information, blue for casual. But the flagged email kept on changing to red colour flags. Is it a bug? Can I solve this on my own by changing any settings?

  • Aptana - Can coldfusion builder be installed into aptana?

    Can coldfusion builder be installed into aptana?  Has anyone attempted this?  I currently have sites that have a mix of php and cfml files and would like to be able to use a single ide for all.  just curious thank you c

  • Sales Order process using approval flow

    Dear All, I need to make a sort of workflow approval in Sales Order (SO) document. This flow aims to guard the SO document to be released/processed to Accounting only after all data is completed and verified and approved by authorized superior. How c