Time Calculation Shell dimension is slow compared to hardcoded measure?

Hi,
I have a measuregroup with 200m+ rows with about 20 measures (sums). I've created a shell dimension to hold my time calculation members such as mtd, qtd, ytd, etc. My problem is that it performs REALLY poorly when using the time calculation dimension.
 My script looks like this:
SCOPE
Measuregroupmeasures("MyMeasureGroup");
SCOPE
[Time Calculation].[Calculation].&[None];
THIS =
[Measures].CurrentMember;
END SCOPE;
SCOPE
[Time Calculation].[Calculation].&[MTD];
THIS =
Aggregate
[Time Calculation].[Calculation].&[None]
MTD([Date].[Calendar (YQMD)].CurrentMember)
END SCOPE;
SCOPE
[Time Calculation].[Calculation].&[QTD];
THIS =
Aggregate
[Time Calculation].[Calculation].&[None]
QTD([Date].[Calendar (YQMD)].CurrentMember)
END SCOPE;
SCOPE
[Time Calculation].[Calculation].&[YTD];
THIS =
Aggregate
[Time Calculation].[Calculation].&[None]
YTD([Date].[Calendar (YQMD)].CurrentMember)
END SCOPE;
END SCOPE;
When I use my Calendar hierarchy and time calculation dimension as a background selection it takes forever. It never returns anything. A profiler trace shows that it's just pushing 1 and 21 events (cache data).
If I create the following measure:
CREATE
MEMBER CURRENTCUBE.[Measures].[TestMTD] AS
SUM(MTD([Date].[Calendar (YQMD)].CurrentMember), [Measures].[MyMeasure]),
VISIBLE = 1 ;
it works just fine but the whole point here is I want to avoid creating new measure for every time calculation.
The measuregroup has been partitioned by month and I've set each partition slice to the corresponding month in the calendar hierarchy.
Why doesn't my script perform - please advice :)
Thanks.

Hi Mortenbpost,
According to your description, the issue was solved by change Aggregate() function to Sum() function, now you want to know why it behaves like that, right?
In Aggregate function, if a numeric expression is not provided, this function aggregates each measure within the current query context by using the default aggregation operator that is specified for each measure. Here is a thread which discuss difference
between AGGREGATE() and SUM()https://social.msdn.microsoft.com/Forums/sqlserver/en-US/ef4b2555-45f2-4871-9137-a12a637ce2f5/whats-the-difference-between-aggregate-and-sum?forum=sqlanalysisservices
Besides, you can use SQL profiler to monitor what's the difference between using AGGREGATE() and using SUM().
Regards,
Charlie Liao
TechNet Community Support

Similar Messages

  • Time utility shell dimension across multiple date dimensions

    Hello,
    I have built a time utility shell dimension based on a solution from Tomislav Piasevoli (book: MDX with SSAS 2012 cookbook) however I have modified it slightly
    In his example he uses two hierarchies from the same dimension. However I have modified it to use two different date dimensions, 1 hierarchy from each of the dimensions. The hierarchies must be able to be filtered by one another or combined
    in the same query. The problem I’m having is my solution does not work for
    distinct count measures. It works for every other type of measure…sum, count of rows etc etc. The filtering works perfectly when one hierarchy is filtered by the other, it’s just the distinct count that won’t show the parallel period.
    I have created the shell dimension the typical way. Creating a named query like below. Creating the dimension with the default value etc etc
    SELECT       
    0 AS ID, 'As is' AS Name
    UNION ALL
    SELECT       
    1 AS ID, 'Year ago' AS Name
    Below is the original MDX and my modified MDX. If anyone can help that would be great!
    --original mdx for one date dimensions.. the below works perfectly for all measures including distinct counts
    SCOPE( [Time Calcs].[Calc].[Year ago]);
    SCOPE([Date].[Date].MEMBERS,
    [Date].[Calendar Year].[Calendar Year].MEMBERS
    This = (ParallelPeriod([Date].[Calendar].[Calendar Year],1,[Date].[Calendar].CurrentMember),
    ParallelPeriod([Date].[Calendar Weeks].[Calendar Year],1,[Date].[Calendar Weeks].CurrentMember),
    [Time Calcs].[Calc].&[0]
    End
    Scope;
    End
    Scope;
    --my modifed mdx for multiple date dimensions.. the below works perfectly for all measures
    except distinct counts
    SCOPE( [Time Calcs].[Calc].[Year ago]);
    SCOPE([Date].[Date].MEMBERS,
    [Date].[Calendar Year].[Calendar Year].MEMBERS
    [Delivery Date].[Date].MEMBERS,
    [Delivery Date].[Calendar Year].[Calendar Year].MEMBERS
    This = (ParallelPeriod([Date].[Calendar].[Calendar Year],1,[Date].[Calendar].CurrentMember),
    ParallelPeriod([Delivery Date].[Calendar Weeks].[Calendar Year],1,[Delivery Date].[Calendar Weeks].CurrentMember),
    [Time Calcs].[Calc].&[0]
    End
    Scope;
    End
    Scope;

    Hi Toro07,
    Thank you for your question. 
    I am trying to involve someone more familiar with this topic for a further look at this issue. Sometime delay might be expected from the job transferring. Your patience is greatly appreciated. 
    Thank you for your understanding and support.
    Regards,
    Charlie Liao
    TechNet Community Support

  • IMac really slow compare to my new macbook air which i bought several month ago. What should i do to get my iMac fast?

    I have just bought a new Macbook Air several month ago, and i realize that my iMac is very very slow compare with the macbookair, what should i do to faster my iMac,
    This few point happen slow at my iMac:
    When Restart it is very slow.
    When search spotlight or search a file using finder.
    When Running iPhoto, iTunes, iMovie. Especially iPhoto
    When transfering image from my phone to iphoto.
    When Open New Application.
    When working in multi application when swich between application, sometimes it was hang for a few second.
    Sometimes typing aslo slow and the text wont come out and the cursor hold a few second.
    I think above 7 points was very annoying my working, especially when in a rush.
      Model Name:          iMac
      Model Identifier:          iMac12,1
      Processor Name:          Intel Core i5
      Processor Speed:          2.5 GHz
      Number of Processors:          1
      Total Number of Cores:          4
      L2 Cache (per Core):          256 KB
      L3 Cache:          6 MB
      Memory:          4 GB
      Boot ROM Version:          IM121.0047.B1F
      HD Capacity:          499.25 GB (499,248,103,424 bytes)
      Running OSX 10.9.2
    Could anybody help me to solve this problem, i am guesing maybe my HDD not working properly, or if i change to SSD it will be better? but how?
    Thanks to all of you that willing to help me.

    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.
    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 request 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 300 25 5120 KiB/s 1024 85 \\b% 10240 1 MB/s 25000 ports 'com.autodesk.AutoCad com.evenflow.dropbox com.google.GoogleDrive' 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 50 );N5=${#p[@]};p[N5]=` networksetup -listnetworkserviceorder|awk ' NR>1 { sub(/^\([0-9]+\) /,"");n=$0;getline;} $NF=="'${p[45]}')" { 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]}'\n",$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]} ' 1,5d;/[Bmy].*:/d;H;$   { g;/s: [^EO]|x([^08]|02[^F]|8[^0])/p;} ' ' 5h;6   { H;g;/P/!p;} ' ' ($1~/^Cy/&&$3>'${p[11]}')||($1~/^Cond/&&$2!~/^N/) ' ' /:$/{ s/ *:$//;x;s/\n//;/Apple|Genesy|Intel|SMSC/d;s/\n.*//;/\)/p;};/^ *(V.+ [0N]|Man).+ /{ s/ 0x.... //;s/[()]//g;s/(.+: )(.+)/ (\2)/;H;} ' ' s/^.*C/C/;H;$   { g;/No th|pms/!p;} ' '/= [^GO]/p' '{$1=""};1' ' /Of/!{ s/^.+is |\.//g;p;} ' '/(sh|ng|ic)$/p' ' $3~/[0-9]:[0-9]{2}$/ { $4="";gsub("  "," ");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'"`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}//;s/ .+//p ' ' /Launch[AD].+\.plist$/;END{if(NR<100)print "/System/";} ' '/\.xpc\/(Contents\/)?Info\.plist$/p' ' NR>1&&!/0x|\.[0-9]+$|com\.apple\.launchctl\.(Aqua|Background|System)$/ { print $3;} ' '/\.(framew|lproj)/d;/plist:|:.+(M.+exec|scrip)/s/:[^:]+//p' '/root/p' ' !/\/Contents\/.+\/Contents|Applic|Autom|Frameworks/&&/Lib.+\/Info.plist$/;END{if(NR<100)print "/System/"};' '/^\/usr\/lib\/.+dylib$/p' '/\/etc\/(auto_m|hosts[^.]|peri)/s/^\.\/[^/]+//p' ' /\/(Contents\/.+\/Contents|Frameworks)\//d;p;' 's/\/(Contents\/)?Info.plist$//;p' ' { gsub("^| ","||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/ ) ' ' /lR/ { if($2<='${p[25]}')print $2;} ' ' BEGIN { FS=":";} { n=split($3,a,".");sub(/_2.+/,"",a[n-1]);b=b"\n"$2" "a[n-1]" "a[n]" "$1;c=c$1;} END { d="sort";print b|d;close(d);if(c)print("\n\t* Code injection");} ' ' NR!=4{next} {$NF=int($NF/10240)} '"`S0 27 14`" ' END { if($3~/[0-9]/)print$3;} ' ' BEGIN { L='${p[36]}';} !/^[[:space:]]*(#.*)?$/ { l++;if(l<=L)f=f"\n\t"$0;} END { F=FILENAME;if(!f) f="\n\t[N/A]";"file -b "F|getline T;if(T!~/^(A.+ E.+ text$|POSIX sh.+ text ex)/) F=F" ("T")";printf("\nContents of %s\n%s\n",F,f);if(l>L) printf("\n\t...and %s more line(s)\n",l-L);} ' ' BEGIN{FS="= "} /Path/{print $2} ' ' /^ +B/{ s/.+= |(-[0-9]+)?\.s.+//g;p;} ' ' END{print NR} ' ' /id: N|te: Y/{i++} END{print i} ' '/:/!p' ' /:/{$0="'"${p[28]}"'"};1;' ' $0;END { if(NR<100)print "com.apple.";} ' );c1=(system_profiler pmset\ -g nvram fdesetup find syslog df vm_stat sar ps sudo\ crontab sudo\ iotop top pkgutil PlistBuddy 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 );c2=(com.apple.loginwindow\ LoginHook '-c Print /L*/P*/loginw*' '-c Print L*/P*/*loginit*' '-c Print L*/Saf*/*/E*.plist' '~ $TMPDIR.. \( -flags +sappnd,schg,uappnd,uchg -o ! -user $UID -o ! -perm -600 \)' '.??* -path .Trash -prune -o -type d -name *.app -print -prune' '-c Print\ :'${p[35]}' 2>&1' '-c Print\ :Label 2>&1' '{/,}L*/{Con,Pref}* -type f ! -size 0 -name *.plist -exec plutil -s {} \;' "-f'%N: %l' Desktop L*/Keyc*" therm sysload boot-args status '-F bsd -k Sender kernel -k Message CReq "Beac|caug|dead[^l]|GPU |hfs: Ru|inval|jnl:|last value [1-9]|n Cause: -|NVDA\(|pagin|proc: t|Roamed|rror|ssert|Thrott|timed? ?o|WARN" -k Message Ane "SMC:" -o -k Sender fseventsd -k Message CReq "SL"' '-du -n DEV -n EDEV 1 10' 'acrx -o comm,ruid,%cpu' '-t1 10 1' '-f -pfc /var/db/*/*.{BS,Bas,Es,OSXU,Rem}*.bom' '{/,}L*/Lo*/Diag* -type f \( -exec grep -lq "^Thread c" {} \; -exec printf \* \; -o -true \) -execdir stat -f:%Sc:%N -t%F {} \;' '-L {/{S*/,},}L*/Lau* -type f' '-L /{S*/,}L*/StartupItems -type f -exec file {} +' '-L /S*/L*/{C*/Sec*A,E}* {/,}L*/{A*d,Compon,Ex,In,iTu,Keyb,Mail/B,P*P,Qu*T,Scripti,Sec,Servi,Spo}* -type f -name Info.plist' '/usr/lib -type f -name *.dylib' `awk "${s[31]}"<<<${p[23]}` "/e*/{auto_master,{cron,fs}tab,hosts,{launchd,sysctl}.conf} /u*/lo*/e*/per*/*/* .launchd.conf" list getenv /Library/Preferences/com.apple.alf\ globalstate --proxy '-n get default' -I --dns -getdnsservers -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 );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 RAM 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 RSSI Profiles 'Elapsed time (s)' Root\ crontab User\ crontab 'Global login items' 'User login items' );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;};for i in 0 1;do eval ' A'$((1+i))'() { v[0]=` eval "${c1[$1]} ${c2[$2]}"|'${c1[30+i]}' "${s[$3]}" `;[[ "${v[0]}" ]];};A'$((3+i))'() { v[0]=` while read i;do eval "${c1[$1]} ${c2[$2]}" \"$i\"|'${c1[30+i]}' "${s[$3]}";done<<<"${v[$4]}" `;[[ "${v[0]}" ]];};A'$((5+i))'() { v[0]=` while read i;do '${c1[30+i]}' "${s[$1]}" "$i";done<<<"${v[$2]}" `;[[ "${v[0]}" ]];};';done;A7(){ v[0]=$((`date +%s`-v[3]));};B2(){ v[$1]="${v[0]}";};for i in 0 1;do eval ' B'$i'() { unset v[0];((v['$((i+1))']==0))||{ v[0]=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[0]=` paste -d: <(echo "${v[$1]}") <(echo "${v[$2]}")|awk -F: ' {printf("'"${f[$3]}"'",$1,$2)} ' `;};B7(){ v[0]=`grep -Fv "${v[$1]}"<<<"${v[0]}"`;};C0(){ echo "${v[0]}";};C1() { [[ "${v[0]}" ]]&&printf "${f[$1]}" "${l[$2]}" "${v[0]}";};C2() { v[0]=`echo ${v[0]}`;[[ "${v[0]}" != 0 ]]&&C1 0 $1;};C3() { v[0]=`sed -E "${s[0]}"<<<"${v[0]}"`&&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;D13 0 $((N1+2)) 3 2;D13 0 $((N1+3)) 4 3;D22 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;A1 4 19 11;B4 0 0 44;C3 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;D22 12 39 15 21;A1 13 40 18;B2 4;B3 4 0 19;A3 14 6 52 0;B4 0 5 54;A1 17 41 20;B7 5;C3 22;B4 4 6 21;A3 14 7 52 6;B4 0 7 54;B3 4 0 22;A3 14 6 52 0;B4 0 8 54;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 53 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 53 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;A1 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;D23 14 1 48 43;D23 14 2 48 44;D13 14 3 49 5;D22 4 4 50 0;D13 4 5 32 1;D22 0 $((N1+8)) 51 32;D13 4 8 41 6;D23 22 9 37 7;B1&&D13 10 42 32 41;D23 20 42 32 42;D13 25 37 32 33;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;D22 32 31 43 38;B1&&for i in 0 1;do D22 28 $((N2+i)) 45 $((N4+i));done;B1&&D22 29 35 46 39;A7;C2 40;} 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," 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 or near the top of the results, there will be a line that begins with "System Version." 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.

  • Order calculating attribute dimension

    Hi all,I have an outine with 4 dimensions measure ( dimension tagged as accounts and desnse )Scenario (dimension tagged as dense)Year (dimension tagged as sparse) (Y02,Y03, Y04)store (dimension tagged as sparse)society (attribute dimension) ( soc1,soc2,soc3)The base dimension of the attribute is store.The dimension are displayed in the outline as described above.The dimension measure has a the following members price pieces number""medium price"= price/"pieces number" (tagged as dynamic and Two-pass calculations )the dimension Scenario has 2 members Actual , "Previous year" (tagged as dynamic and Two-pass calculations) with the following formula:if (@ismbr(Y03) ) Actual->Y02;elseif (@ismbr(Y04) ) Actual->Y03;endif;when I display from excel the memberssoc1 "medium price" Y03 "Previous year" Essabase produces incorrect results ( "medium price" is not price/"pieces number") why?Thanks, lucia

    1) Is year tagged as 'Time'?2) Why is the year formula two-pass?Rich SullivanBeacon Analytics

  • Script calculation for dimension properties

    Dear Experts,
    I am using BPC 7.0NW,
    My code in Default.lgf:
    *BEGIN
    [P_ACCT].[#B] = [P_ACCT].[A]* [P_ACCT].[C]
    *END
    Now, I want to run this calculation for dimension property wise.
    LIke i want to add dimension properties in above calculations.
    And how do i put "IF" conditions?
    Please help me ...
    Thanks alot in advance.....!

    Kumar,
    follow next steps:
    1. Create new logic file and name it "TEST" for example
    2. Use next coding in it:
    *XDIM_MEMBERSET P_ACCT = YOUR_P_ACCT_MEMBER
    *IS "YOUR_PROPERTY_VALUE"
    *REC(EXPRESSION=%VALUE%,TIME="2010.MAR")
    *ENDWHEN
    *COMMIT
    3. Validate and save your TEST.LGF
    4. Insert next coding into DEFAULT.LGF
    *INCLUDE ADD.LGF
    5. Validate and save DEFAULT.LGF
    Put your values insted of "YOUR_P_ACCT_MEMBER", "YOUR_PROPERTY_VALUE"
    This coding works for sure.
    U can use ABAP in script logic. The mechanism is described here:
    http://help.sap.com/saphelp_bpc70sp02/helpdata/en/a1/532226947C49A5B2E2BD32450CB2D1/frameset.htm
    Hope that was helpful,
    Dzmitry

  • Why is my macbook Pro 17" slow compared to desktop PCs?

    I switched over to a mac before the summer. I am a Systems Engineer so I'm on the computer a lot and always working in several different programs at a time. I find that my macbook is very slow compared to any desktop I use. I have a keyboard that I hook up to my macbook pro and I have a bluetooth mouse. The bluetooth mouse seems very slow when I click it and I have the settings set to fast. Manuevering around the macbook pro just seems so slow and my productivity goes way down when I work from home as opposed to when I am at work on a desktop. Any ideas?

    Hi, p4d. You don't have a late-2008 MBP, so you'd probably do better to repost in a more appropriate forum for your MBP model:
    http://discussions.apple.com/forum.jspa?forumID=1149
    When posting there, it will be useful for those responding to your post if you'll specify what other computer(s) you're comparing your MBP to. A notebook computer and a desktop computer with roughly similar specs are unlikely to match up very closely; the notebook will usually benchmark slower and will often feel slower too — especially when running on battery power. Energy-saving features that a desktop doesn't need are often invoked automatically when a notebook runs off its battery, and typically they result in slower performance. Beyond these general comments, I can't ofer any more specific suggestions or tests for your situation. I hope you'll find more focused help in the other forum.
    If your BlueTooth mouse is sluggish, then it would be useful to test using an ordinary USB mouse to see whether the BT connection is part (or all) of the problem. I don't think highly of BT — it's a lot more trouble than it's worth, as far as I'm concerned.

  • Firefox 13 very slow compared to IE or Chrome despite Fastestfox

    Firefox is very slow compared to IE 8 or Google Chrome despite Fastestfox plugin and the server connection is interrupted all the time when I try to load sites, and I have to re-load again and again (this also happens wehn I clicked on HELP)... I also could not restart in safemode as I didn't find it... Please help, as I would like to use Firefox...

    I noticed firefox 13.0.1 is very slow after gradual use. Even my computer is slowing down when using it.. All this nonsense about the addon or extension seems like Bull...
    Im thinking of using version 3.6.28 which was wayyyy faster. Mozilla need to make more quality products.
    I recommend either going back to Internet Explorer or using Firefox 3.6.28, i really hope mozilla's next browser ver 14 is way faster...

  • BO4 - Finding IDT tool really slow compared to UDT

    Hi,
    Finding Information Design Tool really slow compared to Universe Design Tool.
    Screens take long time to display etc.
    Other client tools seem fine.
    Any tips on making it faster.
    Also, getting messag Unknown error in SL Service (WIS 00000)
    Thanks

    Hi,
    Thanks for repsonse.
    Other client tools have are fine.
    When disabled the Macafee anti-virus found it far quicker.
    The enabled it also quicker as it some kind of conflict with the anti-virus software.
    Do you know how to stop Macafee scanning BO.exes?
    Many Thanks

  • Java Webservice client slow compared to dot net client

    we have DotNet webservice which is being called by two clients , one a dotnet client and other a javaclient
    The problem is java client is taking longer time in processing the results when compared to dotnet client and affecting the performance greatly , i'm using axis in java
    Is there any know issue with axis regarding my situation here.
    also the same java client when run on linux platform still longer time to process.
    please provide me some pointer here

    I would test the general performance difference between the 2 platforms on the same machine.
    I have the feeling that Java is generally slower on windows than .NET
    Microsoft has their secrets after all.

  • Time Capsule Disk is very slow

    Hello,
    I'm using 10.8.2 and I just bought a Time Capsule 2TB for my backups.
    I have tried to use Time Machine to backup my data (about 200GB) via our wifi network. My MBP (Retina mid 2012) stands at a distance of 2 meters from the Time Capsule.
    It took about 16 hours and at 90% it crashed.
    After that I used Carbon Copy Cloner to backup my data manually. I think I will go on with this methode, because I will have instant access to my data.
    CCC did the backup a bit faster (about 12-13 hours). Copying other files to the Time Capsule Disk is also slow (about 7-8 GB per hour). Navigating is also slow.
    I turned off Spotlight completely without a difference in copying speed.
    I think (and I hope) this Time Capsule disk could be faster. Is this a bug? Are there workarounds?
    Thanks a lot!

    -To sum up things: The setting "DHCP + NAT" delivers fast copying speeds
    Yes. You will eliminate the backroute to the fiber modem or maybe even back to your ISP - depending on their setup.
    The standard setting of the router is "DHCP + NAT" right?
    Normally the standard setting is good enough to obtain an internet connection instantly (without filling in IP, DNS etc. manually).
    Yes, you shoudl not have to fill in those details. Should work straight away as your MBP gets thos edetails automatically (yes?)
    best to reset the Airport Extreme to defaults and connect it again using DHCP / NAT

  • Time machine backup is very slow after migration to Mountain Lion

    After I migrated to mountain lion, Time machine backup is very slow. Time machine preference says there is no previous back up although I had Time machine on before migration. It did not help verymuch to connect an ethernet cable between my timecapsule and my Macbook Pro
    Here are the screenshots I see:
    Should I erase the previous backup made on Lion before backing up on Mountain lion? in this case how do I transfer the Lion backup file on another disk just in case something goes wrong before I have a good backup under Mountain Lion? just like any other file?

    After further reading on the forum, the problem was solved: I used the possibility to back up on a second disk (in the preferences Time Machine choose a disk and save on both disks) to make a back up on another usb disk, and then erased the old .sparsebundle file on my Time Capsule. I have then re defined time capsule as the back up disk and then the backup was muuuuuch faster (one night instead of less than 1 giga after 3 days.....)

  • Execution time calculation issue

    Hi,
    I have a proceudre which update the tables data and it will capture the execution time for each and every table.
    For that i am using below procedure and its giving incorrect values. i.e., its giving end_time<start_time
    PFB code(Line nos 25,26,33,73,7679,80 code for exeution time calculation) and output.
    1 CREATE OR REPLACE PROCEDURE my_proc
    2 IS
    3 CURSOR c
    4 IS
    5 SELECT tablename, TYPE
    6 FROM table_list;
    7
    8 TYPE emp_record IS RECORD (
    9 empkey tab1.pkey%TYPE,
    10 rid ROWID,
    11 ID tab_join.ID%TYPE,
    12 dt tab_join.dt%TYPE
    13 );
    14
    15 TYPE emp_type IS TABLE OF emp_record
    16 INDEX BY BINARY_INTEGER;
    17
    18 v_emp emp_type;
    19
    20 TYPE emp_type_rowid IS TABLE OF ROWID
    21 INDEX BY BINARY_INTEGER;
    22 tab_no Number:=0;
    23 emp_rowid emp_type_rowid;
    24 r_cur sys_refcursor;
    25 v_start_time TIMESTAMP; /** Added for time calculation*/
    26 v_end_time TIMESTAMP; /** Added for time calculation*/
    27 string1 VARCHAR2 (1000) := 'SELECT b.empkey, b.ROWID rid, a.id id, a.dt dt FROM emp_base a,';
    28 string2 VARCHAR2 (1000) := ' b WHERE a.empkey = b.empkey';
    29 rowcnt Number;
    30BEGIN
    31 FOR c1 IN c
    32 LOOP
    33 tab_no:=tab_no+1;
    34 v_start_time := SYSTIMESTAMP; /** Added for time calculation*/
    35 BEGIN
    36 string_d := string1 || c1.tablename || string2;
    37
    38 OPEN r_cur FOR string_d;
    39
    40 LOOP
    41 FETCH r_cur
    42 BULK COLLECT INTO v_emp LIMIT 50000;
    43
    44 IF v_emp.COUNT > 0
    45 THEN
    46 FOR j IN v_emp.FIRST .. v_emp.LAST
    47 LOOP
    48 emp_rowid (j) := v_emp (j).rid;
    49 END LOOP;
    50
    51 upd_string := ' UPDATE ' || c1.tablename || ' SET id = ' || v_emp (1).ID || 'WHERE ROWID = :emp_rowid';
    52 FORALL i IN emp_rowid.FIRST .. emp_rowid.LAST
    53 EXECUTE IMMEDIATE upd_string
    54 USING emp_rowid (i);
    55 rowcnt := rowcnt + emp_rowid.COUNT;
    56 END IF;
    57
    58 EXIT WHEN v_emp.COUNT < 50000;
    59 v_emp.DELETE;
    60 emp_rowid.DELETE;
    61 END LOOP;
    62
    63 v_emp.DELETE;
    64 emp_rowid.DELETE;
    65
    66 CLOSE r_cur;
    67 EXCEPTION
    68 WHEN OTHERS
    69 THEN
    70 DBMS_OUTPUT.put_line (SQLERRM);
    71 END;
    72
    73 v_end_time := SYSTIMESTAMP; /** Added for time calculation*/
    74
    75 INSERT INTO exec_time
    76 VALUES (tab_no||' '||c1.tablename, v_start_time, v_end_time, v_end_time - v_start_time, rowcnt); /** Added for time calculation*/
    77
    78 COMMIT;
    79 v_start_time := NULL; /** Added for time calculation*/
    80 v_end_time := NULL; /** Added for time calculation*/
    81 rowcnt := 0;
    82 END LOOP;
    83END;
    Output :
    TableName: exec_time
    "TABLE_NAME"      "START_TIME"     "END_TIME"      "EXCUTION_TIME"      "NO_OF_RECORDS_PROCESSED"
    TAB7      5/29/2013 10:52:23.000000 AM      5/29/2013 10:52:24.000000 AM      +00 00:00:00.521707      773
    TAB5      5/29/2013 10:52:18.000000 AM      5/29/2013 10:52:15.000000 AM      -00 00:00:03.381468      56525
    TAB6      5/29/2013 10:52:15.000000 AM      5/29/2013 10:52:23.000000 AM      +00 00:00:08.624420      49078
    TAB2      5/29/2013 10:51:54.000000 AM      5/29/2013 10:51:42.000000 AM      -00 00:00:11.932558      529
    TAB4      5/29/2013 10:51:47.000000 AM      5/29/2013 10:52:18.000000 AM      +00 00:00:31.208966      308670
    TAB1      5/29/2013 10:51:45.000000 AM      5/29/2013 10:51:54.000000 AM      +00 00:00:09.124238      65921
    TAB3      5/29/2013 10:51:42.000000 AM      5/29/2013 10:51:47.000000 AM      +00 00:00:04.502432      12118
    Issue: I am getting execution time in negitive values because end_time<start_time coming.
    Please suggest me how to resolve this.
    Thanks.

    Welcome to the forum!!
    Please read {message:id=9360002} from the FAQ to know the list of details (WHAT and HOW) you need to specify when asking a question.
    I primarily hate 3 things in your code
    1. The way you have used BULK update which is totally unnecessary
    2. COMMIT inside LOOP
    3. The use of WHEN OTHERS exception.
    Your code can be simplified like this
    create or replace procedure my_proc
    is
       v_start_time timestamp;
       v_end_time   timestamp;
       v_rowcnt     integer;
    begin
       for c1 in (
                     select rownum tab_no
                          , tablename
                          , type
                       from table_list
       loop
          sql_string := q'[
                                  merge into #tablename# a
                                  using (
                                          select id, dt
                                            from emp_base
                                        ) b
                                     on (
                                          a.empkey = b.empkey
                                    when matched then
                                        update set a.id = b.id;
          sql_string := replace(sql_string, '#tablename#', c1.tablename);
          v_start_time := systimestamp;
          execute immediate sql_string;
          v_end_time   := systimestamp;
          v_rowcnt     := sql%rowcount;
          insert into exec_time
               values
                    c1.tab_no || ' ' || c1.tablename
                  , v_start_time
                  , v_end_time
                  , v_end_time - v_start_time
                  , v_rowcnt
       end loop;
       commit;
    end; In the INSERT statement on the table EXEC_TIME try to include the column list.
    NOTE: The above code is untested.

  • How is Processing time calculated in Simulation

    Hi,
    How is processing time calculated for every simulation-relevant object?
    say for example,
    i have 2 objects of person type (p1 and p1)
    4 human tasks (T1, T2, T3, T4)
    T1 assigned to p1, processing time 2hrs
    T2 assigned to p1, processing time 2hrs
    T3 assigned to p2, processing time 2hrs
    T4 assigned to p2, processing time 2hrs
    start --&gt; T1(p1) --&gt; T2(p1) --&gt; T3(p2) --&gt; T4(p2) --&gt; end
    Have not set any other simualtion parameters. now,
    * Duration for simulation is set to 6hrs,
    T1, T2, and T3 are getting processes once, but start event is getting processed twice
    # Why is start event getting processed second time?
    # Will this take any processing time..
    * Duration for simulation set to 7hrs,
    start event and T1 gets processed 2 times, T2 and T3 once..
    and the total processing time becomes *8hrs*..
    # At wht point of time does the second processing of T1 start.
    # If it is not after after the completion of one full process cycle, in this case, why not the second processing start at the end # of 2nd hour, or 4th hour.
    Thanks,
    Vishnupriya

    Hi Vishnupriya,
    "Why is start event getting processed second time?"Can you check the "Frequency" attribute of your start event? There you can specify how often the process will be triggered.
    "At wht point of time does the second processing of T1 start."You should be able to check it in the Processes (det.). It provides an overview regarding the process instances started during the simulation run. Furthermore you can check the Events (det.) category.
    Best regards,
    Danilo

  • My server time is 1/2 hr slow

    Dear All,
         I have r/3 ent server on hp-ux (oracle), my server time is 1/2 hr slow.
    How to rectify this problem, how change any note on this.
    Regards,
    satish -k

    Without knowing the REASON why the system is slow it´s impossible to give a suggestion.
    Check SM50/SM66 when this occurs, check if a backup (or the like) is running, check ST02 also. You see anything that is "not normal"?
    Markus

  • Ess Leave  Request -Change in Time calculation without changing work schedu

    Hi All,
    We are implementing a ESS Leave Request in EP6 with backend HR ECC5.0.
    The time calculation is taken  from the Work schedule rule in
    HR backend which is 24*7.
    For example if the leave taken is for 2 days-systems calculates as 24*2=48 hrs
    but in actual the requirement is to calculate 2*8 =16 hrs without changing
    the Work Schedule in 2001 infotype in HR Backend.
    Can we do this change through
    1.Validation in portal itself
    2.Changing the RFC PT_ARQ_REQUEST_CHECK
    3.Changing the Absence Types
    Regards
    Anand.

    Hello,
    Please use:
    programming
    but without the spaces before and after } and {
    Testing:
    programming
    regards
    Rick Bakker
    Hanabi Technology

Maybe you are looking for

  • HT1095 burn my movie to DVD without iDVD

    How do I burn my movie to DVD? I bought a Macpro last November and there's no iDVD.

  • Upgradations form  4.6c to ECC 6.0

    Hi all, can any body give how to upgrade scripts from 4.6C to ECC6.0. regards kumar

  • SQL query for custom alert view

    I have created a custom alert view and scoped to show alerts related to group of servers. Alert view Criteria: Resolution State - New, Severity - Warning and Critical, Group - "Group 1" I am trying to query the Operations Manager database to show the

  • Web site designer needed

    Hello folks, I am an adventure videographer based in Vancouver,BC. I am in preparation to launch an internet based video programm, and I am looking for talented web site designer not only for this project, but also for long term working collaboration

  • Logs for Oracle Fail Safe

    Hi Guys I need to know where Oracle writes logs for Fail Safe components, Fail Safe Manager and Fail Safe server? Any idea? Regards PG