RH_STRUC_GET get different result

All experts,
    As i use this FM to get OM structure,  the evalation path it 'MSSDIREC'.  it can ge resutl,  but , i use two logon ID to check this, it gets different result,  how to do this?

My parameters is like this:
CALL FUNCTION 'RH_STRUC_GET'
            EXPORTING
                ACT_OTYPE  = 'O'
                ACT_OBJID  = it_org-sobid               "50006642
                ACT_WEGID  = 'MSSDIREC'              "evalation path
                ACT_PLVAR  = '01'
                ACT_BEGDA  = lv_date1 "wa_begda  M1        "21.10.2009
                ACT_ENDDA  = lv_date1 "wa_endda              "21.10.2009
            TABLES
                RESULT_TAB  =  lt_d_result_tab
            EXCEPTIONS
                NO_PLVAR_FOUND  =  1
                NO_ENTRY_FOUND  =  2.
I use two Logon ID to test this FM, but it get two different result.
i want to know why there is different result in different ID,
Edited by: Kevin Leung on Oct 21, 2009 9:40 AM

Similar Messages

  • I get different result when I paste with mouse and shift+ins

    Sometimes I get different result when I paste the clipboard content with mouse and shift+insert key combination. Why? What can I do to stop this annoyance?

    Just to add a little to the above, there really is no universally applied standard (not even close) for how the primary, secondary, and clipboard buffers should be used.  Any X program can use them however they wish.  But there are some common patterns: selected text should be placed in the primary buffer, and X pastes from the primary buffer with either middle click or shift-ins by default.
    This default can (and unfortunately often is) overriden by clipboard managers - I don't know why they don't stay true to their name and just manage the clipboard buffer, but they often don't.
    <mini rant>with no clipboard tools installed, selected text in any program I have is in the primary selection, and shift+ins or middle click paste from this primary selection.  Ctrl-C/Ctrl-V post to/from the clipboard buffer.  No need for extra tools.  If I install any clipboard manager, this default sanity of X11 goes strait to s(&*Y.  I don't like clipboard managers </mini rant>  <mini praise> X11 is great without any of that cruft added </mini praise>
    Last edited by Trilby (2013-06-15 03:12:39)

  • Getting different result while running Dashboard SP Using Temporary table?

    Hi Experts
    I am getting different result when I run my dashboard procedure I am using temporary table with "ON COMMIT PRESERVE ROWS", below is the information
    I am running my attendance dashboard procedure which will display the employee attendance status based IN and OUT punches the status like AA-full day absent, GG-Full day Present, AG-First half absent,GA-Second half absent. Now when I run the first time my procedure for first time I am getting status AA even though IN and OUT timings are correct and if run it again then it is displaying the status for same employee as GG
    I didn't understand the problem where it is effecting the status

    ChakravarthyDBA wrote:
    It is procedure which will display the employee status, back end I am storing the procedure result in Temporary table with "ON COMMIT PRESERVE ROWS", when I run the procedure first time it is showing wrong information when I run it again second time then it is showing correct information. I don't know why the status is changing.
    first time employee status is AA --Full day absent and Second time is GG--Full day present (in both cases IN and OUT timings are correct only)
    is it effecting due to temporary table?
    So, you have a GTT and you're doing "something" with it and that "something" isn't what you expect.
    I've about summed up what you've posted and given us to work with. If you have specific examples please do share. Without them we're going to be of very little use to you.
    If you aren't getting the results you expect, it stands to reason that
    1) you don't understand the outputs you are supposed to be getting
    2) you have a bug in the code developed
    Please stop and think about this, pretend you are the one trying to help out. You've been given little to no information about a system you've never seen before. You need to explain your situation as you would if you brought someone in to your shop to show them this problem you are having ... the rules don't change just because it's not face-face interaction.
    Cheers,

  • Getting different result while executing the report by debugger

    Hi All,
                I am facing a peculiar issue. When i execute the report from SE38 i am getting a particular set of values in a alv report.
    But if i start debugging the report by using /h and execute . i am getting another set of result. How does it happen any idea.
    Without debugger result is
    a
    b
    c
    With debugger i am getting result as
    a
    d
    e
    f
    What may be the reason . Kindly help.
    Thanks in advance.
    S.Velsankar

    Hi,
    you mean you have'nt change anything while debugging and results are different when ALV is displayed?
    I don't really understand your issue... Could you give more details?
    Kr,
    m.

  • Syncing devices contacts with i cloud and getting different results

    i have 2 iphones and an imac and i am syncing contacts with i cloud and i am getting 3 different counts of contacts on each device. any thoughts on what goes wrong?

    At this point I recommend you try deleting, then re-creating the iCloud account on your phone.  Sometimes this will restart difficult syncing problems.  You won't lose any data by doing this.
    Start by saving any photo stream photos on your phone that you want to keep to the camera roll (unless they are already there).  To do this, open your my photo stream album, tap Edit, tap the photos, tap Share, tap Save to Camera Roll.
    Then go to Settings>iCloud, tap Delete Account, and choose Delete from My iPhone when prompted, then after a minute or so, sign back in.  This deletes the account and your iCloud data from your phone, but not from iCloud.  Your data will reappear on your phone when you sign back in, although there may be a slight delay as it redownloads.  Then check your contact groups and see if this fixed things.  If so, repeat this process on your iPad.

  • Why am I getting different results for the same resolution but different Windows boxes, Win 7 and XP

    I am running an .exe on two different windows boxes, one in Win 7 and one on XP.  I set both for resolution 1024 x 768.
    On Win 7 (laptop and old Dell desktop) I have a great looking app.  On the WIn XP boxes all the fonts to large.  THis doesn't make sense to me as all the PC's have the same resolution.
    Has anyone run across this before?
    Mark Ramsdale
    Solved!
    Go to Solution.

    The system fonts for XP and Vista/Win7 are different.
    See
    http://forums.ni.com/t5/LabVIEW/Elements-have-moved-when-opening-vi-with-f3-patch/m-p/1054817
    http://forums.ni.com/t5/LabVIEW/What-can-affect-the-size-of-a-front-panel-object-between/m-p/1058607...
    http://forums.ni.com/t5/LabVIEW/Font-size-on-Windows-7-with-LabVIEW-2009/m-p/1055114/highlight/true#...
    and several other similar threads.

  • Why Do I get different result when Run as Admin to Standard?

    Why when Running this script to copy from the "config64" folder (if files exist)(if not copy from "config32")  if works correctly when running  Batch file normally (copies the config64), but using the exact same line when running
    the Batch file as "Run as Administrator" it doesn't work correctly (copies the config32, even though Files do exist config64 folder as they did when I ran it normally and it worked)
    >nul 2>nul dir /a-d "Folder\config64\*" /s && (XCOPY "%~dp0Folder\config64\File64.ini" "%ProgramFiles(x86)%\CompanyFolder\ProductFolder\" /y /d) || (XCOPY "%~dp0Folder\config32\File32.ini" "%ProgramFiles(x86)%\CompanyFolder\ProductFolder\" /y /d)
    UAC is turned off and I'm the administrator (only user on a standalone PC) running windows 8.1.
    Is there a reason or it is a strange bug with Windows 8.1?

    A LOT  more intellectual than
    Frederik Long Who just had no clue himself to not offer an answer. As I've only been looking at this for 2 weeks I think I've come far and you help is much appreciated. Thank you JRV!
    You seem to miss the point. Assuming that your problem is caused by a bug can prevent you from finding the real cause. If you had dismissed the bug theory then you might have done some real debugging, e.g. by breaking up your single-line script (which is
    hard to comprehend) into easily digestible pieces and adding some debugging code like so:
    @echo off
    set Target="%ProgramFiles(x86)%\ComapanyFolder\ProductFolder\"
    dir /a-d "Folder\config64\*" /s 1>c:\Test.log 2>&1
    if %ErrorLevel% EQU 0 (
    XCOPY "%~dp0Folder\config64\File64.ini" %Target% /y /d /s 1>>c:\Test.log 2>>&1
    ) else (
    XCOPY "%~dp0Folder\config32\File32.ini" %Target% /y /d /s 1>>c:\Test.log 2>>&1
    The log file would have told you quickly what is going on. Furthermore - why should I offer my own solution to your problem when JRV gave you a perfect answer straight away?

  • [Solved]Getting different results with PKGBUILD and compiling manually

    Hi,
    When I compile this one package manually and install it, it works 100% however when I try it in a PKGBUILD the compile fails.
    Here is the PKGBUILD I have so far (still working on it)
    pkgname=smtp-gated
    pkgver=1.4.16.2
    pkgrel=1
    pkgdesc="This software block SMTP sessions used by e-mail worms and viruses on the NA(P)T router. It acts like proxy, intercepting outgoing SMTP connections and scanning session data on-the-fly. When messages is infected, the SMTP session is terminated. It's to be used (mostly) by ISPs, so they can eliminate infected hosts from their network, and (preferably) educate their users."
    url="http://smtp-proxy.klolik.org/"
    license="GNU"
    arch=('i686' 'x86_64')
    #depends=('')
    #install=smtp-gated.install
    source=("$url/files/$pkgname-$pkgver.tar.gz")
    md5sums=('3857d03c847efd89b052acaeffaa453b')
    build() {
    cd $startdir/src/$pkgname-$pkgver || return 1
    msg CONFIGURE
    #./configure --prefix=/usr || return 1
    ./configure || return 1
    msg MAKE
    make || return 1
    msg INSTALL
    make install INSTALL_ROOT=$startdir/pkg/ || return 1
    And the compile error when I run "makepkg"
    ==> MAKE
    make all-recursive
    make[1]: Entering directory `/root/ABS_snmp-gated/src/smtp-gated-1.4.16.2'
    Making all in src
    make[2]: Entering directory `/root/ABS_snmp-gated/src/smtp-gated-1.4.16.2/src'
    if gcc -DHAVE_CONFIG_H -I. -I. -I.. -DMD5_TEST -march=x86-64 -mtune=generic -O2 -pipe -Wall -MT md5_test-md5.o -MD -MP -MF ".deps/md5_test-md5.Tpo" -c -o md5_test-md5.o `test -f 'md5.c' || echo './'`md5.c; \
    then mv -f ".deps/md5_test-md5.Tpo" ".deps/md5_test-md5.Po"; else rm -f ".deps/md5_test-md5.Tpo"; exit 1; fi
    gcc -march=x86-64 -mtune=generic -O2 -pipe -Wall -Wl,--hash-style=gnu -Wl,--as-needed -o md5-test md5_test-md5.o
    if gcc -DHAVE_CONFIG_H -I. -I. -I.. -march=x86-64 -mtune=generic -O2 -pipe -Wall -MT regex-test.o -MD -MP -MF ".deps/regex-test.Tpo" -c -o regex-test.o regex-test.c; \
    then mv -f ".deps/regex-test.Tpo" ".deps/regex-test.Po"; else rm -f ".deps/regex-test.Tpo"; exit 1; fi
    gcc -march=x86-64 -mtune=generic -O2 -pipe -Wall -Wl,--hash-style=gnu -Wl,--as-needed -o regex-test -lpcre regex-test.o
    regex-test.o: In function `main':
    regex-test.c:(.text+0xc): undefined reference to `pcre_version'
    regex-test.c:(.text+0x3c): undefined reference to `pcre_compile'
    regex-test.c:(.text+0x71): undefined reference to `pcre_exec'
    regex-test.c:(.text+0x88): undefined reference to `pcre_free'
    collect2: ld returned 1 exit status
    make[2]: *** [regex-test] Error 1
    make[2]: Leaving directory `/root/ABS_snmp-gated/src/smtp-gated-1.4.16.2/src'
    make[1]: *** [all-recursive] Error 1
    make[1]: Leaving directory `/root/ABS_snmp-gated/src/smtp-gated-1.4.16.2'
    make: *** [all] Error 2
    Any pointers or help would be greatly appreciated.
    Last edited by Tinuva (2010-01-27 11:55:41)

    Alright not sure if this is up to standard to go into AUR but this is what I have for now:
    PKGBUILD:
    pkgname=smtp-gated
    pkgver=1.4.16.2
    pkgrel=1
    pkgdesc="This software block SMTP sessions used by e-mail worms and viruses on the NA(P)T router. It acts like proxy, intercepting outgoing SMTP connections and scanning session data on-the-fly. When messages is infected, the SMTP session is terminated. It's to be used (mostly) by ISPs, so they can eliminate infected hosts from their network, and (preferably) educate their users."
    url="http://smtp-proxy.klolik.org/"
    license="GNU"
    arch=('i686' 'x86_64')
    #depends=('')
    install=smtp-gated.install
    source=("$url/files/$pkgname-$pkgver.tar.gz")
    md5sums=('3857d03c847efd89b052acaeffaa453b')
    build() {
    cd $startdir/src/$pkgname-$pkgver || return 1
    msg CONFIGURE
    export LDFLAGS="${LDFLAGS//-Wl,--as-needed}"
    ./configure --prefix=/usr || return 1
    msg MAKE
    make || return 1
    msg INSTALL
    make install INSTALL_ROOT=$startdir/pkg/ || return 1
    install -D -m755 ../../smtp-gated ${startdir}/pkg/etc/rc.d/smtp-gated || return 1
    install -D -m644 ../../smtp-gated.conf ${startdir}/pkg/etc/smtp-gated.conf || return 1
    smtp-gated.install
    # arg 1: the new package version
    post_install() {
    mkdir /var/run/smtp-gated
    mkdir /var/spool/smtp-gated
    mkdir /var/spool/smtp-gated/msg
    chown mail.mail /var/run/smtp-gated
    chown mail.mail /var/spool/smtp-gated -R
    echo "
    SMTP-GATED Instructions:
    After installing SMTP-GATED you need to edit smtp-gated.ini
    Good luck!
    /bin/true
    op=$1
    shift
    $op $*
    smtp-gated that goes into /etc/rc.d/
    #!/bin/bash
    . /etc/rc.conf
    . /etc/rc.d/functions
    # source application-specific settings
    [ -f /etc/conf.d/$NAME ] && . /etc/conf.d/$NAME
    # PATH should only include /usr/* if it runs after the mountnfs.sh script
    PATH=/usr/sbin:/usr/bin:/sbin:/bin
    DESC="SMTP Proxy"
    NAME=smtp-gated
    DAEMON=/usr/sbin/$NAME
    CONFIG=/etc/$NAME.conf
    DAEMON_ARGS="$CONFIG"
    PID=/var/run/$NAME/$NAME.pid
    SCRIPTNAME=/etc/rc.d/$NAME
    # Exit if the package is not installed
    [ -x "$DAEMON" ] || exit 0
    # Read configuration variable file if it is present
    [ -f /etc/conf.d/$NAME ] && . /etc/conf.d/$NAME
    case "$1" in
    start)
    stat_busy "Starting $NAME"
    #[ -z "$PID" ] && $DAEMON $DAEMON_ARGS
    $DAEMON $DAEMON_ARGS &>/dev/null
    if [ $? -gt 0 ]; then
    stat_fail
    else
    add_daemon $NAME
    stat_done
    fi
    stop)
    stat_busy "Stopping $NAME"
    #[ -n "$PID" ] && kill $PID &> /dev/null
    smtp-gated -K &> /dev/null
    if [ $? -gt 0 ]; then
    stat_fail
    else
    rm_daemon $NAME
    stat_done
    fi
    restart)
    $0 stop
    # will not start if not fully stopped, so sleep
    sleep 2
    $0 start
    echo "usage: $0 {start|stop|restart}"
    esac
    smtp-gated.conf that goes into /etc
    # Virus scanning: yes
    # SPAM scanning: yes
    #proxy_name smtp-proxy.mydomain.com
    port 9199
    ; bind_address 192.168.1.254
    ; source_addr 0.0.0.0
    mode netfilter
    ; action_script /etc/smtp-gated-action.sh
    lock_duration 1800
    lock_path /var/spool/smtp-gated/lock
    spool_path /var/spool/smtp-gated/msg
    spool_perm 0660
    pidfile /var/run/smtp-gated/smtp-gated.pid
    ;dumpfile /var/run/smtp-gated/smtp-state-dump
    set_user mail
    priority 5
    lock_on virus,spam,maxhost
    max_connections 64
    max_per_host 10
    ;max_per_ident 6
    ;max_load 3.0
    ignore_errors yes
    spool_leave_on error,spam
    nat_header_type ip-only
    ; abuse [email protected]
    log_helo yes
    log_mail_from accepted,rejected
    log_rcpt_to accepted,rejected
    ; locale pl_PL
    ;scan_max_size 1048576
    ;spam_max_size 0
    spam_max_size 131072
    ;spam_max_load 0.5
    spam_threshold 5.0
    ; scanner_path
    antivirus_type clamd
    antivirus_path /var/lib/clamav/clamd.sock
    antispam_type spamassassin
    antispam_path /var/run/spamd.sock
    Last edited by Tinuva (2010-01-27 12:13:03)

  • Oracle function and query return different results

    Hi, I am using oracle 10g database.
    Function is :
    create or replace FUNCTION FUNC_FAAL(myCode number,firstDate date
    *, secondDate date)*
    RETURN INTEGER as
    rtr integer;
    BEGIN
    select count() into rtr*
    from myschema.my_table tbl where tbl.myDateColumn between firstDate and
    secondDate and tbl.kkct is null and tbl.myNumberColumn  = myCode ;
    return (rtr);
    END FUNC_FAAL;
    This function returns 117177 as result.
    But if I run same query in the function seperately ;
    select count()*
    from myschema.my_table tbl
    where tbl.myDateColumn between firstDate and secondDate
    and tbl.kkct is null and tbl.myNumberColumn  = myCode ;
    I get different result 11344 (which is the right one).
    Table and function are in the same schema.
    What can be the problem ?
    Thanks.

    1. i think ur parameter name and Column names are same Firstdate and seconddate try to choose different name
    2. try using Trunc function around your dates
    where trunc(tbl.myDateColumn) between trunc(firstDate) and trunc(secondDate)then compare the result....sometimes time elements comes into play.
    Baig
    [My Oracle Blog|http://baigsorcl.blogspot.com/]

  • XSLT producing different results via debugger and xslt.Transform()

    I'm producing the body of an email via an xsl. I've been having a problem with the html nested inside a <table> tag not displaying correctly. With a bit of help from the good folks over at the asp.net forums, I've tracked the problem down to getting
    different results if I run the xsl via the debugger or via a compiled transform.
    When I debug the xsl it produces
          <table border="1" cellpadding="4" cellspacing="0" style="..." id="tmsEmailTable">
            <tr>
              <th width="50%" align="center"><b>Issue</b></th>
              <th width="50%" align="center"><b>Resolution</b></th>
            </tr>
            <tr>
              <td>Missing Acknowledgement date</td>
              <td><p> Test test</p></td>
            </tr>
            <tr>
              <td>Missing Agent and/or Seller signature</td>
        </table>
    And that's absolutely correct and displays perfectly if I save the result as an html file. But when I use xslt.Transform(..), where xslt is a compiled transform, it produces
    <table border="1" cellpadding="4" cellspacing="0" style="..." id="tmsEmailTable">
                <tr><th width="50%" align="center"><b>Issue</b></th><th width="50%" align="center"><b>Resolution</b></th></tr>
                <tr>
                    <td>
                        Missing Acknowledgement date
                    </td>
                    <td></td>
                </tr>
            </table>
        </p><p> Test test</p></td></tr><tr>
            <td>Missing Agent and/or Seller signature</td>
            <td>
        </table>
    And to make it even more interesting, that extra </table> tag and the misplaced table data only occur on the first table row, but the table rows are generated by an xsl:for-each.
    The relevant bit of the xsl is:
              <table border="1" cellpadding="4" cellspacing="0" style="..." id="tmsEmailTable">
                <tr>
                  <th width="50%" align="center">
                    <b>Issue</b>
                  </th>
                  <th width="50%" align="center">
                    <b>Resolution</b>
                  </th>
                </tr>
                <xsl:for-each select="emailbody/checklist/item">
                  <xsl:if test="string-length(select='issue')>0">
                    <tr>
                      <td>
                        <xsl:value-of select="issue" disable-output-escaping="yes" />
                      </td>
                      <td>
                        <xsl:value-of select="resolution" disable-output-escaping="yes" />
                      </td>
                    </tr>
                  </xsl:if>
                 </xsl:for-each>
              </table>
    The code that generates the compiled transform and the (incorrect) output is:
                Dim xslt As XslCompiledTransform = New XslCompiledTransform(True)
                'Dim xslt As XslTransform = New XslTransform
                xslt.Load(templatePath) 
                Dim objStream As Stream = New MemoryStream(UTF8Encoding.UTF8.GetBytes(xmlData))
                Dim strbldrXML As StringBuilder = New StringBuilder()
                Dim objXmlReader As XmlReader = XmlReader.Create(objStream)
                Dim objXmlWriter As XmlWriter = XmlWriter.Create(strbldrXML)
                xslt.Transform(objXmlReader, objXmlWriter)
    I've checked that templatePath is pointing to the right file, and the source file I'm debugging the xsl against was copied from the xmlData parameter, so I know the same stuff is getting fed into it.
    I've been chasing this for days, and I'm about ready to quit and go get a job at a fast food joint. I'm not wonderful with xsl in general, or xsl in .NET in particular. Somebody PLEASE tell me I'm doing something stupid....
    Rebecca M. Riordan

    Thanks for the replay, Fred, but that wasn't the problem.
    I still don't know what the problem was, but in putting together a sample for review, I cleaned up the code a little (I inherited this), and while it
    appears to be functionally identical, it's working now. Since we're scheduled to go live on Friday, I'm gonna just take the win ;)
    In the unlikely event that anybody's curious, the original, non-functional code, looked like this:
    Public Function createEmailBody(ByVal templateType As String, ByVal xmlData As String) As String
                Dim templatePath, emailBody As String
                templatePath = Me.templatePath & "\" & templateType & ".xsl"
                Dim xpd As New XPathDocument(New StringReader(xmlData))
                Dim xslt As XslCompiledTransform = New XslCompiledTransform(False)
                xslt.Load(templatePath)
                Dim objStream As Stream = New MemoryStream(UTF8Encoding.UTF8.GetBytes(xmlData))
                Dim strbldrXML As StringBuilder = New StringBuilder()
                Dim objXmlReader As XmlReader = XmlReader.Create(objStream)
                Dim objXmlWriter As XmlWriter = XmlWriter.Create(strbldrXML)
                xslt.Transform(objXmlReader, objXmlWriter)
                emailBody = strbldrXML.ToString()
                Return emailBody
    End Function
    In cleaning it up, I wrote this:
    Public Function createEmailBody(ByVal templateType As String, ByVal xmlData As String) As String
                Dim xslt As XslCompiledTransform = New XslCompiledTransform(False)
                Dim templatePath As String = Me.templatePath & templateType & ".xsl"
                xslt.Load(templatePath)
                Dim reader As XmlReader = XmlReader.Create(New MemoryStream(UTF8Encoding.UTF8.GetBytes(xmlData)))
                Dim outSB As StringBuilder = New StringBuilder()
                Dim writer As XmlWriter = XmlWriter.Create(outSB)
                xslt.Transform(reader, writer)
                Dim emailBody As String = outSB.ToString()
                Return emailBody
    End Function
    As I said, they look functionally identical to me, but obviously they're not, because the second one works....
    Rebecca M. Riordan

  • Same Effects Panel parameters-different results on Tiff & Psd file format?

    Just a quick question to all the users and the Adobe Lightroom team & see if anybody has the same problem.
    I have one file saved in a Tiff format & the exact duplicate saved in a PSD, however when I sync the Effects Panel settings between the two, I get different results. The difference isn't black & white but clearly visible. The grain in the PSD file is less coarse & pronounced and the post crop vignetting is much more subtle. The color balance is also different. In other words every adjustments seems to be more subtle & less pronounced on a PSD file compare to a Tiff file.
    Not the end of the world but clearly something to keep in mind when syncing settings between the two formats and something that shouldn't be there in the first place.
    Thanks

    Now you are providing more detail.
    "... but lesser quality at least in terms of natural movement."
    It sounds very much like 11 is exporting 25p/30p which is why you see non smooth motion.
    25p/30p is the result of deinterlacing 50i/60i. When you take two FIELDS that are 1/50th or 1/60th apart and create 1 image, these images will be 1/25th or 1/30th second apart.
    You can create 1 frame through several methods.
    With iM09 deinterlacing occured only if you imported as LARGE, OPTIMIZED video, or used a function or FX that scales video. Perhaps with 11, Apple has decided that its time to FORCE any kind of interlaced video to be deinterlaced.
    In other words, LARGE and FULL only relate to size.
    One possible advantage is that Apple has finally decided to deinterlace using BLEND during import. This would look better, but it creates 25p or 30p video.
    They may hinting its time to buy a progressive camera.

  • SQL Server 2012 Physical vs. Hyper-V Same Query Different Results

    I have a database that is on physical hardware (16 CPU's, 32GB Ram).
    I have a copy of the database that was attached to a virtual Hyper-V server (16 CPU's, 32GB Ram).
    Both Servers and SQL Servers are identical OS=2008R2 Standard, SQL Server 2012R2 Standard same patch level SP1 CU8.
    Same query run on both servers return same data set, but the time is much different 26 Sec on Physical, 5 minutes on virtual.
    Statistics are identical on both databases, query execution plane is identical on both queries.
    Indices are identical on both databases.
    When I use set statistics IO, I get different results between the two servers.
    One table in particular (366k rows) on physical shows logical reads of 15400, on Hyper-V reports logical reads of 418,000,000 that is four hundred eighteen million for the same table.
    When the query is run on the physical it uses no CPU, when run on the Hyper-V it takes 100% of all 16 processors.
    I have experimented with Maxdop and it does exactly what it should by limiting processors but it doesn't fix the issue.

    A massive difference in logical reads usually hints at differences in the query plan.
    When you compare query plans, it is essential that you look at actual query plans.
    Please note that if your server / Hyper-V supports parallelism (which is almost always nowadays), then you are likely to have two query plans: a parallel and a serial query plan. Of course the actual query plan will make clear which one is used in which
    case.
    To say this again, this is by far the most likely reason for your problem.
    There are other (unlikely) reasons that could be the case here:
    runaway parallel threads or other bugs in the optimizer or engine. Make sure you have installed the latest service pack
    Maybe the slow server (Hyper-V) has extreme fragmentation in the relevant tables
    As mentioned by Erland, you have much much more information about the query and query plan than we do. You already know whether or not parallelism is used, how many threads are being used in it, if you have no, one or several Loop Joins in the query (my
    bet is on at least one, possibly more), etc. etc.
    With the limited information you can share (or choose to share), involving PSS is probably your best course of action.
    Gert-Jan

  • Different results on consecutive runs of OFT for Web Applications

    I am using Oracle Functional Testing for Web Applications to test share point site [using: OS = WinXP SP3, default browser = IE8.0.6]
    I’ve recorded simple scenario - browsing through two pages (home page > menu link > page 1)
    there is no user input involved – just browsing)
    problem:
    I am running the same test multiple times and I get different results – sometimes (less often) I get clear ‘Passed’ results but more often I get warnings about missing items, Severe content differences)
    upon comparing Master and Tested HTML I see that test fails because no content is being logged under Tested:HTML node (the content displays properly in right browser pane)
    any hints?

    You probably need a close no save step at the end of your action.
    In the save for web dialog, when you record the action, save to the folder you
    want the batch dialog to put the images. Then set the batch dialog as below.
    MTSTUNER

  • Different results on a SQL sort depending on the tool?

    Hi,
    i've a problem with sorting a column, getting different results depending on the tool.
    Environment:
    Oracle 8.1.6 on Solaris, Oracle Client on NT 4.0 (SP5)
    The Query:
    SELECT * FROM mytable ORDER BY mycolumn ASC
    This is the result of a query by SQL Plus Worksheet:
    0000000006
    0000100100
    A00000
    A06015
    A06016
    This is the result of a query by SQL*Plus (and Oracle ODBC 32Bit Test and a jdbc query) :
    A00000
    A06015
    A06016
    0000000006
    0000100100
    Why has the same SQL statement different results?
    Why are there different collating orders?
    How can this be solved?
    Can anyone help me?
    Regards Stefan
    null

    At this point I think you should get Applejack...
    http://www.macupdate.com/info.php/id/15667/applejack
    After installing, reboot holding down CMD+s, (+s), then when the DOS like prompt shows, type in...
    applejack AUTO
    Then let it do all 6 of it's things.
    At least it'll eliminate some questions if it doesn't fix it.
    The 6 things it does are...
    Correct any Disk problems.
    Repair Permissions.
    Clear out Cache Files.
    Repair/check several plist files.
    Dump the VM files for a fresh start.
    Trash old Log files.
    First reboot will be slower, sometimes 2 or 3 restarts will be required for full benefit... my guess is files relying upon other files relying upon other files! :-)
    Disconnect the USB cable from any Uninterruptible Power Supply so the system doesn't shut down in the middle of the process.
    Then... Try putting these numbers in Network>TCP/IP>DNS Servers, for the Interface you connect with...
    208.67.222.222
    208.67.220.220
    Then Apply. For 10.5/10.6 Network, highlight Interface>Advanced button>DNS tab>little + icon.
    DNS Servers are a bit like Phone books where you look up a name and it gives you the phone number, in our case, you put in apple.com and it comes back with 17.149.160.49 behind the scenes.  
    These Servers have been patched to guard against DNS poisoning, and are faster/more reliable than most ISP's DNS Servers.
    The Interface that connects to the Internet, needs to be drug to the top of System Preferences>Network>Show:>Network Port Configurations and checked ON.
    10.5.x/10.6.x instructions...
    System Preferences>Network, click on the little gear at the bottom next to the + & - icons, (unlock lock first if locked), choose Set Service Order.
    The interface that connects to the Internet should be dragged to the top of the list.

  • List of deployed applications. Different results for different MBean hierarchies

    Hello there,
    When I list the deployed applications, I am getting different results depending what MBean hierarchy I am querying:
    serverConfig():
    wls:/MY_WEBLOGIC_DOMAIN/serverConfig> listApplications() APPLICATION_1APPLICATION_2
    domainRuntime():
    wls:/MY_WEBLOGIC_DOMAIN/domainRuntime/AppRuntimeStateRuntime/AppRuntimeStateRuntime> ls()
    -r--   ApplicationIds                               java.lang.String[APPLICATION_1, APPLICATION_2, APPLICATION_3]
    Any idea why is APPLICATION_3 in the list?
    Thanks in advance,
    Luis
    ps: if I ask directly to the managed server:
    wls:/MY_WEBLOGIC_DOMAIN/domainRuntime/ServerRuntimes/prodGAD_1> ls('ApplicationRuntimes')
    dr--   bea_wls9_async_response
    dr--   bea_wls_cluster_internal
    dr--   bea_wls_deployment_internal
    dr--   bea_wls_diagnostics
    dr--   bea_wls_internal
    dr--   APPLICATION_1
    dr--   APPLICATION_2

    Hello Vijaya,
    Thanks for your answer, yes you are right, in my config.xml I can see that application:
      <app-deployment>
        <name>APPLICATION_3</name>
        <target>...</target>
        <module-type>ear</module-type>
        <source-path>...ear</source-path>
        <security-dd-model>DDOnly</security-dd-model>
      </app-deployment>
    But at the moment that I read your response I had already restarted the AdminServer. This re-start has solved the issue.
    Thanks,
    Luis

Maybe you are looking for

  • Optimizer_mode set to CHOOSE in Oracle 10G

    I a bit confused about the new settings for the parameter "optimizer_mode" on 10G. If the parameter is set to CHOOSE on a 10G database, what value is the database actually using since CHOOSE is no longer a valid choice for this parameter (ALL_ROWS or

  • Tables containing item status procedure used in sales documents

    Hello experts, I need make a query in order to know the status procedure used into items of sales documents. Example: In some items of sales orders I have status procedure CRMORD_I and in some items I have Z_ORDR_I. I need make a query in order to cl

  • How to remove margin around #MainContent

    I am starting a new site, you can see my start at www.lakesareacc.com/Home3.php. This is a DW template, 1 col. fixed width, header & footer. How do I remove the space that seems to surround the #mainContent section. I have looked and can't find any p

  • How to edit phone format numbers (not Verizon user)?

    Hi folks, I own an iPhone 3GS and it is set to General > International > Region format = Brazil. Well, we had some changes in our state that they increased a prefix 9 in all cell numbers. So, it is now 9xxxx-xx-xx, but when I add it, It goes wrong as

  • White dots in playback

    Hello everybody, Every video that I play in quick time has a bunch of white dots show up on it, but only in windowed mode if I switch to full screen the movie plays fine. BTW: I'm running quick time 7.0.4 in Win XP Pro Thanks for any help,   Windows