Slow calc time with SET CREATEBLOCKONEQ OFF for block creation

Hello everyone,
I have a problem with the slow execution of one of my calc scripts:
A simplified version of my calc script to calculate 6 accounts looks like this:
SET UPDATECALC OFF;
SET FRMLBOTTOMUP ON;
SET CREATEBLOCKONEQ ON;
SET CREATENONMISSINGBLK ON;
FIX (
FY12,
"Forecast",
"Final",
@LEVMBRS("Cost Centre",0),
@LEVMBRS("Products",0),
@LEVMBRS("Entities",0)
SET CREATEBLOCKONEQ OFF;
"10000";"20000";"30000";"40000";"50000";"60000";
SET CREATEBLOCKONEQ ON;
ENDFIX
The member formula for each of the accounts is realtively complex. One of the changes recently implemented for the FIX was openin up the cost center dimension. Since then the calculation runs much slower (>1h). If I change the setting to SET CREATEBLOCKONEQ ON, the calculation is very fast (1 min). However, no blocks are created. I am looking for a way to create the required blocks, calculate the member formulas but to decrease calc time. Does anybody have any idea what to improve?
Thanks for your input
p.s. DataStorage in the member properties for the above accounts is Never Share

MattRollings wrote:
If the formula is too complex it tends not to aggregate properly, especially when using ratios in calculations. Using stored members with member formulas I have found is much faster, efficient, and less prone to agg issues - especially in Workforce type apps.We were experiencing that exact problem, hence stored members^^^So why not break it up into steps? Step 1, force the calculation of the lower level member formulas, whatever they are. Make sure that that works. Then take the upper level members (whatever they are) and make them dynamic. There's nothing that says that you must make them all stored. I try, wherever possible, to make as much dynamic as possible. As I wrote, sometimes I can't for calc order reasons, but as soon as I get past that I let the "free" dense dynamic calcs happen wherever I can. Yes, the number of blocks touched is the same (maybe), but it is still worth a shot.
Also, you mentioned in your original post that the introduction of the FIX slowed things down. That seems counter-intuitive from a block count perspective. Does your FIX really select all level zero members in all dimensions?
Last thought on this somewhat overactive thread (you are getting a lot of advice, who knows, maybe some of it is good ;) ) -- have you tried flipping the member calcs on their heads, i.e., take what is an Accounts calc and make it a Forecast calc with cross-dims to match? You would have different, but maybe more managable block creation issues at that point.
Regards,
Cameron Lackpour

Similar Messages

  • PAINFULLY SLOW launch times with MS Office 2004 Apps?

    Anyone else noticing painfully slow launch times with their MS Office 2004 Apps? It seems that each time I restart my machine and try to open any kind of office document the Word icon will bounce at least 15 times and then it takes forever for the application to actually launch. Once launched it seems fast and works fine, but not on initial launch after restart.
    Is this a Rosetta issue? Should I reinstall the MS Office apps?
    -JB

    Seems ok to me. Did you download the latest update which finally allows spotlight to search in Entourage and provide other improvements?
    http://www.microsoft.com/mac/downloads.aspx?pid=download&location=/mac/download/ office2004/Office2004_11.2.3.xml&secid=4&ssid=29&flgnosysreq=True
    "Microsoft Office 2004 for Mac 11.2.3 Update
    After you install this update, you can use Mac OS X Sync Services and Spotlight searches to sync and find Entourage items, use smart cards with Entourage 2004, and enjoy improved overall security and stability when using Microsoft Word 2004, Excel 2004, PowerPoint 2004, and Entourage 2004. This update also includes all of the improvements released in all previous Office 2004 updates.
    Applies to: Microsoft Office 2004 Standard Edition, Office 2004 Student and Teacher Edition, Office 2004 Professional Edition, Entourage 2004.
    Released: March 14, 2006"

  • A trigger returned a resultset and/or was running with SET NOCOUNT OFF while another outstanding result set was active

    I have 2 servers connected over a low speed wan and we're running SQL Server 2008 with Merge replication.
    At the subscriber, sometimes when attempting to insert new rows, I get this error:
    A trigger returned a resultset and/or was running with SET NOCOUNT OFF while another outstanding result set was active.
    My database doesn't have any triggers; the only triggers are the one created by the Merge replication
    Also, whenever this error occurs it automatically rolls back the existing transaction
    I am using DataTables and TableAdapters to
    insert and update the database using transactions
    What I have checked:
    the database log file size is below 50Mb
    Checked the source code for Zombie transactions (since I wasn't able to retrieve the actual error at the beginning)
    Checked the connection between the two servers and found it congested
    Questions:
    How to avoid this behavior and why it's occurring at first place?
    Why it's cancelling the open transaction?

    did the issue happen on some specific tables or all the tables?
    I suggest to run sql server trace at publisher and subscriber when the issue happens. Please involve below events and columns
    Stored      Procedures
    RPC:Completed      
    RPC:Starting
    sp:Completed
    sp:Starting
    sp:StmtStarting      
    sp:StmtCompleted      
    TSQL
    SQL:StmtCompleted
    SQL:StmtStarting      
    SQL:BatchCompleted
    SQL:BatchStarting      
    Unprepare SQL
     ‘Errors and Warnings’
    ErrorLog
    EventLog
    Exceptoin
    attention
    columns:
     TextData ,error, LoginName, ApplicationName , StartTime ,EndTime,DatabaseName,NestLevel,ObjectName,ObjectType,ServerName,eventsequence,linenumber,cpu,reads ,writes,rowcounts,clientprocessid,spid,transactionid
    Once the issue happens, please check the trace to find which step or statement hit the error.

  • Slow loop times with 6024E and LV2009

    Hello all,
    I have searched the forums back and forth, in addtion to the knowledge base, but I am still confused as to the slow loop times I am experiencing.  I have a 6024e PCMCIA DAQ card with a very simple VI created in LV 2009.  I am using the DAQ Assistant to collect 1 thermocouple channel on a SCXI Chassis 32 channel thermocouple module.
    The problem is that the loop times in labview is about 3 seconds.  The DAQ Assistant acquisition mode is set to "on demand".  The target sample rate is about 1 to 2 samples per second.  I have read in previous posts that the repeated creation of the task using the DAQ Assistant with the acquisition mode set to "on-demand" can slow things down.
    What really has me confused is that using this exact same method of setting the DAQ Assistant acquisition mode to "on-demand" has worked fine on the same hardware when using one of the earlier v8 versions of LabView.  I don't understand what has changed and why the loop times are so much slower.  I planned to pull the newest LV2009 off the computer and put a previous v8 version on just to confirm my observations.  In addition, I pulled up a copy of the VI that was written in one of the v8.x versions and it used the DAQ Assitants with the acquisition mode set to "on-demand" and had a loop time of 0.100 seconds.
    Any help would be appreciated.  I have been working on this all day today with no sucess.
    Thanks in advance,
    Steve

    H_baker,
    I did have the patch applied at the time I was experiencing the problems.  The DAQmx driver version was the version that was supplied on the DVD that we received for LV2009.  I believe the actual version number was something like 8.9.5.
    The loop time was determined as follows:
    A simple vi I was written in a while loop.  The data acquisition was conducted using the DAQ assistant sampling 1 channel on the SCXI thermocouple module in a SCXI 1000 chassis.  Inside the loop of the vi the getdatetime function was placed and wired to an indicator on the screen.  The vi was then ran.  Observation showed that the loop time was typically 3 seconds and sometimes 6 seconds by keeping track of the datetime indicator on the front panel.
    The problem appears to be resolved now.  I had pulled off the LV2009 installation and put back on the 8.6 installation.  Recreated the vi and everything worked fine. As a sanity check I went ahead and reinstalled LV2009.  Recreated the vi again and everything works fine now.  The only real difference between the two installations is that I am using the latest NIDAQmx drives (I believe version 9.0.5).  It could have been just some sort of transient issue that resolved itself either by reinstallation or by rebooting.   Not sure.  I was just initially very concerned given that another posting had mentioned loop times of 3 seconds just like I was experiencing.
    Thanks,
    Steve

  • IKode Newsletter Software with 30% Discount Off for Christmas

    As Christmas is coming. Our iKode Newsletter Software provides 30% discount off for any new customers.iKode Newsletter Software is a web-based email marketing software for sending email newsletters and other marketing campaigns to keep in lifelong contact with subscribers. iKode Newsletter Software includes everything you need to mange your mailing lists and send professional email campaigns,such as: 1.setting the email sending speed, schedule the sending time, and the sending frequency. 2.Including more than 1000 email templates through powerful HTML email editor. 3.Offeringaccurate tracking data, including the open rate, click rate, different clicks top board, open/click area(IP tracking), even each email address opening status. And more...

    Adobe has been running the combo discount on PS+LR since LR v1 .... in fact it was there when PSCS5 was released because my shopping cart asked me if I wanted to avail myself to the deal when I purchased the upgrade to PSCS5 ...
    Most stores run sales and discounts all the time ... some are semi permanent ... others are time sensitive .... Adobe is no different in that manner ...

  • Issues with setting appropriate ownership for file system

    Hi All,
    We are using ACFS File system. For some of the mount point we have set to change ownership according to requirement in rc.local file So that all permissions remain intact when the server restarts. But the permissions are not taking into account. Only after the rc.local is executed ASM disks are mounted I guess. Is there any where else can we write scripts to change ownership of mount points for ACFS so that when the disks are mounted proper Unix permissions are setup.
    Thanks & Regards,
    Vikas Krishna

    To configure raw devices if you are using Red Hat Enterprise Linux 4.0:
    To confirm that raw devices are enabled, enter the following command:
    # chkconfig --list
    Scan the output for raw devices. If you do not find raw devices, then use the following command to enable the raw device service:
    # chkconfig --level 345 rawdevices on
    After you confirm that the raw devices service is running, you should change the default ownership of raw devices. When you restart a Red Hat Enterprise Linux 4.0 system, ownership and permissions on raw devices revert by default to the root user. If you are using raw devices with this operating system for your Oracle Clusterware files, then you need to override this default.
    To ensure correct ownership of these devices when the operating system is restarted, create a new file in the /etc/udev/permissions.d directory, called oracle.permissions, and enter the raw device permissions information. Using the example device names discussed in step 5 of the previous section, the following is an example of the contents of /etc/udev/permissions.d/oracle.permissions:
    # OCR
    raw/raw[12]:root:oinstall:0640
    # Voting Disks
    raw/raw[3-5]:oracle:oinstall:0640
    # ASM
    raw/raw[67]:oracle:dba:0660
    After creating the oracle.permissions file, the permissions on the raw devices are set automatically the next time the system is restarted. To set permissions to take effect immediately, without restarting the system, use the chown and chmod commands:
    chown root:oinstall /dev/raw/raw[12]
    chmod 640 /dev/raw/raw[12]
    chown oracle:oinstall /dev/raw/raw[3-5]
    chmod 640 /dev/raw/raw[3-5]
    chown oracle:dba /dev/raw/raw[67]
    chmod 660 /dev/raw/raw[67]
    http://download.oracle.com/docs/cd/B19306_01/rac.102/b28759/preparing.htm#CHDGEEDC
    Edited by: Babu Baskar on Apr 18, 2010 1:33 PM

  • [Forum FAQ] How to sync time with a Domain Controller for a standalone server

    As we all known, if a computer belongs to an Active Directory domain, it will sync the time automatically by using the Windows Time service that is available on Domain Controllers.
    While a standalone server will synchronize with its local hardware time and Windows time server. (Figure 1)
    Figure 1.
    Under some circumstances, a standalone server is necessary in a product environment. We can sync the time of this standalone server with the Domain Controller using
    the steps below:
    1. Modified the value of the AnnounceFlags:
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W32Time\Config
    Under this entry we can see the default value of AnnounceFlags is 10 (Decimal), we configure the value as 5 (Decimal). (Figure 2)
    Figure 2.
    2. Confirm the value of the registry key below is set to 0:
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W32Time\TimeProviders\NtpServer 
    Figure 3.
    3. Configure the standalone server to synchronize with a specific time source (Domain Controller).
    In our test, we configured our Domain Controller (192.168.10.200) as the time source. Used the following commands:
    w32tm /config /syncfromflags:manual /manualpeerlist:192.168.10.200
    4. Sync the time with the Domain Controller using the command below:
    w32tm /config /update
    From the figure below (Figure 4), you can see the after we did all the steps above, the time on the standalone server was synced with the Domain Controller.
    Figure 4.
    (Note: Peerlist is a separated list of DNS servers, or IP Addresses for the time servers)
    More information:
    Windows Time Service Tools and Settings
    http://technet.microsoft.com/en-us/library/cc773263(WS.10).aspx#w2k3tr_times_tools_dyax
    Please click to vote if the post helps you. This can be beneficial to other community members reading the thread.

    Thank you for the instruction! I am sure it is one of the scenarios that majority of administrators will run into. So I suggest to write a wiki about it and publish it for this month's TechNet Guru in Windows Server section. This month's TechNet Guru can
    be found here:
    Calling All Wise Men! Windows
    Server Gurus Needed! Apply Within! No One Turned Away!
    Thanks for your informative post. :)
    Regards.
    Mahdi Tehrani   |  
      |  
    www.mahditehrani.ir
    Please click on Propose As Answer or to mark this post as
    and helpful for other people.
    This posting is provided AS-IS with no warranties, and confers no rights.
    How to query members of 'Local Administrators' group in all computers?

  • Setting Scan off for session

    Hi.
    I am trying to insert some encrypted data into a table. With scan set to ON (default)
    the data get slightly changed. This is of course not acceptable.
    By testing using PL/SQL console and inserting manually I see the same.
    But when I set the scan to off (Set Scan OFF) it works fine.
    My question is how do I do this using the java.sql.Connection object ?
    I tried setting the
    java.sql.Statement
    statement.setEscapeProcessing
    Any ideas?
    Thanks in advance
    Kjetil
    null

    Hi.
    Yes I think Set Scan Off is PL/SQL thing. (someone correct me if I am wrong)
    In any case, it set the translation of special characters to off.
    This is a property on the PL/SQL session that solves my problem. I just need to set the same on my session which the Connection object represents?
    The question basically is how do you execute SET commands on the connection. E.g. Connection provides a convinent method for AutoCommit, on/off. But I haven't found any similar method for setting the scan off.
    Anybody?
    Thanks
    Kjetil

  • Database copy with "set define off" option

    Is there an option to do a database copy with a "set define off" option ? I'm copying packages that contain ampersands (&) in strings and during the copy I'm being asked the value of these variables.

    Apologies for spamming this thread, but I'd like to point out a couple of additional issues regarding Database Copy:
    1) On Fedora it tries to create the script file in a system folder ( +/opt/sqldeveloper/sqldeveloper+, IIRC) which obviously doesn't work unless you are root.
    2) DDL generated for objects named like the exporting schema (for example table TEST in schema TEST) is incorrect. For example (note the missing table name):
    -- DDL for Table TEST
    CREATE TABLE
    (     "FIELD1" NUMBER,
    ) ;

  • Random, excruciatingly slow load time with 7900 Elite small form factor desktops

    Hi all, I have approx 300 HP 7900 Elite small form factor machines in my environment that were deployed just over two years ago. from the time of deployment we have experienced on about 50 occasions a random, excruciatingly slow load time that take about one hour for the user to login and open their programs. there has been no rhyme or reason for it, different floors, areas of the building, etc. I searched the forum for similar probs and didn't see one like this, I hope I'm not duplicating efforts from someone else's question... One thing we have noticed is that if we re-boot while it is going through the start-up process, it seems to "make it angry" and will lengthen the overall load time. We use the 32-bit Vista Enterprise OS. This is with a "stock" build, that is to say, our standard corporate build. our security policy does not allow users to install software, by the way. Thanks so much if you can help!

    Hi,
    How is the issue going? Usually, this error can be caused by missing third-party NIC driver. To solve the issue, we can download the missing network
    driver and update the WDS boot image to include it.
    In addition to the article provided by Chris, the following blog can also be referred to as reference.
    http://askmetricks.blogspot.in/2013/03/solvedwdsclient-error-occurred-while.html
    Please Note: Since the web site is not hosted by Microsoft, the link may change without notice. Microsoft does not guarantee the accuracy of this
    information.
    Best regards,
    Frank Shen

  • Slow render times with latest update

    Since updating to Premiere CC 7.1 I am experiencing extremly slow render speed with Magic Bullet Looks and .Filmconvert pro 2. When hitting enter to render it hangs for aout 10 seconds before starting. Then after each shot has been rendered it hangs again before continuing, What used to take around 20 minutes now takes 2 hours 34 minutes.
    Adobe, please can you show me how to roll back to version 7.0.1 as i don't have time to mess about with this.
    OS: Windows 7
    GTX 570 with latest driver (331.65)

    Hi captain,
    Check out the plug-ins manufacturer's web page and see if there are any updates for your plug-ins.
    Thanks,
    Kevin

  • IPhone time when "set automatically" off by 2 minutes (AT&T?)

    I've noticed that the time on my iPhone is about 2 minutes behind what actual time is. I am in Des Moines, Iowa, so perhaps there is some issue with the signal AT&T is sending, but my girlfriend's iPhone also is two minutes off.
    Has anyone else noticed the the automatic time on their AT&T iPhone is not accurate?
    (In my case, accurate time is the time I am seeing on Mac OS X when using the "Set date & time automatically" option in the Date & Time control panel; if I compare at www.time.gov I find the same time, so it sure looks like AT&T is sending the wrong time out.)

    When time is set to automatic on the iPhone, the iPhone displays the time which is being fed to it by the tower to which it is connected at any given moment. Thus if the tower is not set correctly, the iPhone will display the wrong time. You can call AT&T to notify them of significant errors, but switching the iPhone to manual time setting is better in areas where there are significant irregularities, particularly if time stamps vary greatly between towers!

  • Help - Getting slower render times with AE CS6

    Hi everyone
    Wonder if anyone else is getting as described?
    I have a 3m37s project which is predomnantly motion graphics using live shot footage (.MXF files), Illustrator and a few JPGs.
    In CS5 AE I get render times which average around 45mins, so I thought I'd see how quickly CS6 could crank it out by - as you can see I'm getting times which are in excess of 2 almost 3hours!
    The project contains a few 2.5D moves as well as tiny bit of Trapcode 3D Stroke
    I have mentioned on this forum that I'm having the Error 5070 problems with start up and Ray Trace is unavailable but these times seem seriously wrong to me.
    Mac Pro 3,1 (2x 2.8GHZ)
    20GB RAM
    OS 10.7.4
    NVIDIA GeForce GT8800
    NVIDIA Quadro 4000 both on GPU Driver 207.00.00.f06
    CUDA Driver 4.2.10
    All files are on a 2TB drive (7200rpm)
    Rendering to a 1TB drive (7200rpm)
    Corsair SSD 60gb Cache drive
    As an observation when I watch the frames counter ticking over, CS5 seems to steadily work it's way through the render at around less than a frame a second, CS6 seems to crank out 2-6 frames then hold for 30secs before working on another batch. It crawls to a halt near the end.
    Can anyone offer any help or advice?
    So far I'm not having a great time with my CS6 transition
    Thanks
    Rob
    Message was edited by: Bokeh Creative Ltd
    because of a Typo

    Thanks Rick - Yes what confused me was that it only took 45mins in CS5 even with MP 'on'
    Still having no joy with Ray Tracing though, even though I have a Quadro 4000 card, I get the 5070 error on start up. Any ideas?

  • Slow download time with XP

    I have a desk top and a laptop. Desktop has XP, laptop has Win7. Download speed tests are as follows: Desktop in Firefox 7-8mbps, in Explorer 18. Downloads on laptop, no difference with either program 16- 18. I have latest versions on both computers. Why does the desktop using Firefox show half the download speed?
    Thanks

    What with Mountain Lion, iOS 6 and the new software Updates being out recently, the Apple Servers seem to be running slow probably due to huge download demand for the above.  I've noticed it too.
    Hope this helps

  • Help me !!!!!! set Arguments property for block based on store procedures

    hi
    i build a block based on storeprocedures ,if i set the
    Query Data Source Arguments property in design time with a value
    my form will work,
    but i need to set this property programetically and in runtime,
    if there is any built_in or other ways ,please help me.
    thanks in advance.
    shoja.

    Sorry, but there is no way to do this.
    If you need to switch the table you're selecting from, you have to do this
    inside your stored procedure.

Maybe you are looking for

  • Best way to work with large image sequences

    Hello, Im relatively new to Adobe CS4. I am learning to create detailed animations with another software that produces thousands of still images. (I normally save them as  .png, 720 x 480, 29.97 fps) I spent the money to buy CS4 becuase I was told th

  • ME53N Prevent user from making a change

    How do you prevent a user from making a change to a purchase requistion via transaction ME53N?  We want the user to make a change to the purchase requisition using transaction ME52N not transaction ME53N.  When the user is in transaction ME53N and cl

  • Finder crash when clicking on a folder

    I am at a loss what to try on this problem. Since updating my MBP 2.3 ghz i5 to 10.7.5 I get a consistent and repeatable Finder crash every time i click on or attempt to open my Pictures folder. I have run Disk Utility from a recovery Drive as well a

  • HT201210 My Ipod has an error code of 1604 when trying to restore.  I have followed all recommended instructions...any ideas.??

    My Ipod has an error code of 1604 when trying to restore.  I have followed all recommended instructions...any ideas.??

  • Flash 8 is Freezing My Computer

    Hi Folks, I am brand new to Dreamweaver and Flash and I already have a problem. Every time I try to import a video file into a new Flash document to convert it to Flash my computer completely freezes up and I have to shut down using the On/Off power