Enabling Parallel Calc (CALCTASKDIMS)

Hi,I'm looking for information related to the CALCTASKDIMS function. The issue is to identify additional tasks for parallel calculation. As I rode it in DBA guide, Essbase uses the last spare dimension in an outline to identify tasks that can be performed concurrently. But how to know if I need to specify calctaskdms settings a second or a third sparse dimension???Thanks for your helpRegards,Sébastien ROUX

I saw this in DBAGThe 50% empty task ratio pointed out probably is a good goal of tuning with CALCTASKDIMS ? Use this configuration setting only if your outline generates many empty tasks, thus reducing opportunities for parallel calculation. See the Essbase Database Administrator's Guide for more information about what kind of outlines or calculation scripts generate many empty tasks. ? Essbase writes a message to the application log specifying the number of tasksthat can be executed concurrently at any one time (based on the data, not thevalue of CALCPARALLEL or SETCALCPARALLEL):Calculation task schedule [576,35,14,3,2,1]This example message indicates that 576 tasks can be executed concurrently.After these tasks complete, 35 more can be performed concurrently, and so on.The benefits of parallel calculation is greatest in the first few steps, and thenthe benefits taper off because there are fewer and fewer tasks being performedconcurrently.? Essbase writes a message to the application log indicating how many of thetasks are empty (contain no calculations):[Tue Nov 27 12:30:44 2001]Local/CCDemo/Finance/essexer/Info(1012681) Empty tasks [91,1,0,0]In the example log message above, Essbase indicates that 91 of the tasks atlevel zero were empty.If the ratio of empty tasks to the tasks specified in the task schedule is greaterthan 50, then parallelism may not be giving you improved performance,because of the high sparsity in the data model.Steven [email protected]

Similar Messages

  • Enabling parallellism in oracle sql

    Hi All,
    I have a question related to parallilism enabling statements .
    I have seen that before running a sql statement we may use
    alter session enable parallel DDL;
    alter session enable parallel query;
    alter session enable parallel DML;
    What exactly these statement mean ??
    If i mention parallel hints like below statement ..
    select /*+ parallel(a,8) */ count(1) from customer a;
    parallelism won't happen Until session is altered with above statement ??
    Is thr any depedency b/w above 'alter session' statement and parallel hint in query .
    Thanks

    By default parallel execution is enabled for DDL and query statements. Unless you had turn it off somewhere then you need to manually enable it subsequentially.
    Overview of Parallel Execution
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14231/manproc.htm#sthref688
    for example, I login to my DB without issue enable statement.
    %sqlplus test/test
    SQL*Plus: Release 10.1.0.2.0 - Production on Tue Sep 1 12:15:26 2009
    Copyright (c) 1982, 2004, Oracle.  All rights reserved.
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.1.0.2.0 - 64bit Production
    With the Partitioning, OLAP and Data Mining options
    TEST@etest> set autotrace on
    TEST@etest> select /*+ parallel(a,8) */ count(1) from test a
      2  /
      COUNT(1)
             4
    Execution Plan
       0      SELECT STATEMENT Optimizer=ALL_ROWS (Cost=0 Card=1)
       1    0   SORT (AGGREGATE)
       2    1     PX COORDINATOR
       3    2       PX SEND* (QC (RANDOM)) OF ':TQ10000'                   :Q1000
       4    3         SORT* (AGGREGATE)                                    :Q1000
       5    4           PX BLOCK* (ITERATOR) (Cost=0 Card=4)               :Q1000
       6    5             TABLE ACCESS* (FULL) OF 'TEST' (TABLE) (Cost=0 C :Q1000
              ard=4)
       3 PARALLEL_TO_SERIAL
       4 PARALLEL_COMBINED_WITH_PARENT
       5 PARALLEL_COMBINED_WITH_CHILD
       6 PARALLEL_COMBINED_WITH_PARENT

  • How to enable Parallelism process in 10.1.0.5 database

    Hi All,
    We have oracle database 10.1.0.5 running in windows 2003 server.
    I am trying to enable parallelism process in the database by including the following init parameters
    PARALLEL_AUTOMATIC_TUNING
    PARALLEL_SERVER
    PARALLEL_MIN_SERVERS
    PARALLEL_MAX_SERVERS
    But while i am trying to bring the database i am getting an error message like these parameter has been deprecated.
    Could anyone help me to enable parallel process in 10g database.
    Thanks in advance.
    Regards
    Aruna

    >
    I am trying to enable parallelism process in the database by including the following init parameters
    PARALLEL_AUTOMATIC_TUNING
    PARALLEL_SERVER
    PARALLEL_MIN_SERVERS
    PARALLEL_MAX_SERVERS
    But while i am trying to bring the database i am getting an error message like these parameter has been deprecated.
    >
    PARALLEL_AUTOMATIC_TUNING is deprecated since 10g. It's always true now. PARALLEL_SERVER is related to OPS (prior to RAC) and long time deprecated.
    You enable parallel query with an ALTER TABLE statement like
    SQL> ALTER TABLE SALES PARALLEL;or with a hint like
    SQL> select /*+ parallel(sales) */ * from sales;Kind regards
    Uwe
    http://uhesse.wordpress.com

  • Parallel Calc Issue

    We are currently running 6.5.1 on our NT server and have encountered inconsistencies in our aggregations when using the parallelcalc settings. We have two processors and are trying to use both of them in the calc. Has anyone run into a similar problem? Any ideas would be appreciated.

    Rich, I agree, we are using 6.5.3, and parallel calc is kicking butt. When I originally benchmarked parallel calc with 6.5.1, I was disappointed with the results. In all cases, serial calcs were running faster.<br><br>As far as Hyperion's recommendation that you leave one processor free for the os and for thread distribution, I suggest that users test different configurations. We have found that using all four processors on our 4-way boxes yield the best calc times, four processors are close to 20% faster on average than just 3 processors.<br><br>Jeff McAhren<br>Dallas, Texas

  • Enable parallel processing

    Hello,
    I'm trying to enable parallel processing at the session level to force parallel processing on all DML and DDL statements regardless of object definition or lack of hints for DML. I thought the following would do the trick but it's not working. Wondering if I'm missing an instance setting. Thanks for any advice.
    alter session force parallel ddl parallel 2;
    alter session force parallel dml parallel 2;
    SQL>show parameter parallel
    NAME TYPE VALUE
    fast_start_parallel_rollback string LOW
    parallel_adaptive_multi_user boolean TRUE
    parallel_automatic_tuning boolean FALSE
    parallel_execution_message_size integer 2152
    parallel_instance_group string
    parallel_max_servers integer 160
    parallel_min_percent integer 0
    parallel_min_servers integer 0
    parallel_server boolean FALSE
    parallel_server_instances integer 1
    parallel_threads_per_cpu integer 2
    recovery_parallelism integer 0

    I think I see the problem. The statement that I was looking to force parallel processing was an alter table add col with default value. Reading the documentation :) and it states that the alter table statement can only be parallelized for partitioned tables - the table in question is not partitioned. Documentation also states that even with DML parallel enabled the DML operation may still execute serially if there are no parallel hints or no tables with a parallel attribute or if restrictions on parallel operations are violated, i.e. Parallel DML operations cannot be done on tables with triggers.
    The problem for me is that I'm dealing with a 3rd party vendor script that I do not want to modify it (very long, complex PL/SQL with dynamic SQL), among other things the script alters high volume tables with default values, before it alters the table it renames it as table_old and then re-creates as ctas from old, so enabling parallel at the object level is only viable if I modify the script. Same thing with hints.

  • Alter session enable parallel dml

    Is it necessary to alter session in oracle 11gR2 using "alter session enable parallel dml" to execute parallell DML?Oracle will not use Degree of parallelism in DML statement without altering session even if there is DOP mention in the DML query?
    Thanks,

    Yes, http://docs.oracle.com/cd/E11882_01/server.112/e25523/parallel003.htm#CACFJJGG
    A DML statement can be parallelized only if you have explicitly enabled parallel DML in the session, as in the following statement:ALTER SESSION ENABLE PARALLEL DML;

  • Enable Parallelism in PeopleSoft Application Layer

    I have a situation where parallelism is enabled at the database end. The SQL statement uses parallelism when executed from the backend. However, when executed from PeopleSoft application, the same SQL statement does not use parallelism. Do we have some configuration that has to be changed at the application level to use parallelism?
    Thanks in advance.

    Yes, I did bounced and cleared APP/WEB cache too, still the same, it it make a difference if i reboot the server/box

  • How to enable parallel port DC5800

    This PC has header pins on the motherboard for a parallel port and I have connected a header cable but linux does not recognise that the computer has any parallel port hardware. There also seems to be no way to enable or disable the parallel port in the BIOS although it does have a setting for the printer port mode. The parallel support is described as "optional" on this PC, is it possible that the port cannot be enabled on this model?
    Additional: I just installed Windows and it's the same. It really seems like the parallel port is disabled at BIOS level and cannot be activated.

    869578 wrote:
    Could you give me a sample query using by the above example query?
    What kind of hints are needed in order to invoke multiple db link? As I said - this (distributed PQ across db links) is not supported. PQ needs to run inside a single database.
    The only time that PQ runs across servers, is with an Oracle RAC database. But even then, PQ runs inside a single physical database.
    If you want to use parallel processing across databases via db links, you need to code and implement that yourself.

  • Parallel calc script execution

    Hi All,
    We are having HP UX box with 4 processor and have 15 calc scripts. For parallel execution of these scripts We have set Calcparallel as 3 in .cfg file. My query is if these scripts are fired at the same time, will they going to execute in a seq. manner or in parallel fashion.
    We have 11 dim. in which 10 are sparse and 1 is dense in our outline. We have analysed the log but could not figure out anything.
    Any suggestions/guidance !!
    Regards
    -len

    To run three calc scripts simultaneously, you're going to need three people who kick it off in EAS/Excel/MaxL or more likely three separately yet simultaneously scheduled MaxL scripts that execute the calculations.
    From a data integrity (or just your sanity) perspective, it is good that the three calcs are addressing different parts of the database.
    However, from an Essbase data cache/disk controller perspective, the two are going to be spending a lot of time thrashing as Essbase tries to load blocks for all three calcs into and out of memory as the calculations proceed.
    You may find that these processes are faster when they are truly run one after the other.
    Of course the only way to really know is the benchmark both approaches and see what happens.
    Regards,
    Cameron Lackpour
    Edited by: CL on May 16, 2009 5:57 PM
    Whoops, three, not two.
    Edited by: CL on May 16, 2009 5:57 PM
    Whoops again, two referred to the data cache/disk controller, not the three calcs. I should not reread my posts and think that I can "improve" them.

  • How to enable an monitor parallel processing in Oracle

    Hi All,
    I have 2 short questions:
    1. When we want parallel processing, we can either use a parallel hint in the query, or alter a table to be parrallel. My question is what is the difference in the following 2 syntax:
    a. ALTER TABLE myTable PARALLEL (DEGREE 3);
    b. ALTER TABLE myTable PARALLEL 3;
    Does the "DEGREE" keywor make any difference? or they both are same statements?
    2. When we enable parallel processing, how can we monitor oracle processes, to confirm that a certain table is being actually processed by multiple threads of a singe user process?
    An early response would be highly appreciated. Thanks.

    1)The parallel clause lets you change the default degree of parallelism for queries and DML on the table.
    2) PARALLEL DEGREE specifies the number of query server processes that can scan the table in parallel. Either specify a positive integer or DEFAULT which signifies to use the initialization parameter
    check further http://mywebsys.com/oracle/syntax/view_syntax.php?id=23
    Thanks

  • Enable constraints in parallel

    Hi,
    I am in the process of seeding up import.
    In our Datawarehouse environment enabling constrainta during import takes lot of time..To improve the performance of this step, i created constraints script seperately added parallelism in all commands (eg: alter table x1 add constraint xc1 .....enable parallel 4;)
    i changed degree os paralllelism of each table to 4 , i included following command at the start of the script.
    alter session force paralllel ddl parallel 4;
    Still constraints are not being enabled in parallel.
    How can i make these constraints enable step uses paralllelism.
    Is there is any other way to improve enable constraint performence during import.
    We are on 10.2.0.4 ...sun solaris 10 and we are using data pump.
    Thanks
    Pramod

    To speed up the import use exclude=statistics parameter
    see this link for enabling index
    http://www.asktherealtom.ch/?p=214

  • Essbase calc script performance issues

    Hi,
    I have essbase 9.3 running on Sun solaris 4 CPU, 16 GB server. The calc script "calc all" takes ~3 hrs to complete.
    This is the calc script.
    /ESS_LOCALE English_UnitedStates.US-ASCII@Binary
    SET UPDATECALC OFF;
    SET CALCPARALLEL 4;
    SET CALCTASKDIMS 2;
    CALC ALL;
    We don't have to calc all dim, but even if we
    But even with specific dim we get the same timing. Below is the script
    SET UPDATECALC OFF;
    SET CALCPARALLEL 4;
    SET CALCTASKDIMS 2;
    FIX ("Y2009", "Actual");
    CALC DIM("Data Source","Intercompany","LegalEntity","Site","Department","Entity");
    ENDFIX
    The ess00001.ind is 700 Mb and ess00001.pag is 2.1 GB.
    In Admin services, this is what I see for caches
    1) Index cache size is 1 GB for this DB
    2) Index cache current value is 1gb
    3) Datafile cache setting is 1.5 GB
    4) Datafile cache current value is 0 (?? not sure why??)
    5) Data cache setting 4.1 GB
    6) Index page setting 8 kb
    please help ...
    Thanks
    Moe

    Moe,
    I'm guessing you inherited this thing, else you would know why the cache settings are what they are, but here are some thoughts:
    Caches:
    3) Datafile cache setting is 1.5 GB
    4) Datafile cache current value is 0 (?? not sure why??)You're running the database in Buffered I/O, so the data file cache is ignored.
    1) Index cache size is 1 GB for this DB
    2) Index cache current value is 1gb You have consumed all of the cache -- I'm a little confused, as you state your .ind file to be 700 megabytes -- generally the index cache consumption doesn't go beyond the .ind file size. When you look at your hit ratio statistics in EAS, does it show a 1 against the index cache? If yes, then you don't need to look any further as that's as good as it's going to get.
    5) Data cache setting 4.1 GBUnless you're using MEMSCALINGFACTOR, I don't think Essbase is actually addressing all of the memory you've assigned. What are you showing as actually used? In any case, having a data cache almost twice as big as the .pag files is a waste as it's way too large.
    Easy, off the cuff suggestions without knowing more about your db:
    1) Try AGG instead of CALC DIM for sparse dimensions.
    2) Try turning off (yes, turning off, you'd be surprised) parallel calc, and benchmark it. It will probably be slower, but it's nice to know.
    3) Dimension order? Modified hourglass?
    4) Tried defragmenting the database and benchmarking the performance?
    5) What is your block size? Big? Small?
    6) I think you are not calculating your Accounts/Measures dimension in your calc? If you are, and it's dense, could you make those Accounts dynamic calc -- dropping a dimension from the calc can be huge.
    I'm sure there will be other suggestions -- these are the easiest.
    Regards,
    Cameron Lackpour

  • Media Encoder CC 2014 not encoder in parallel mode.

    Media encoder cc normally render in parallel.
    Media Encoder 2014 will not.
    Why?
    2014 How do I render in parallel?

    That doesn't answer any of my questions.
    1. Are those custom or system presets?
        - If system presets, what are they?
        - If custom, could you specify the basic settings of that preset?
    2. Are you exporting to Dolby in any of those presets?
    3. Is "Enable Parallel Encoding" checkbox checked in preferences?
    The reason I ask is because we purposely don't allow parallel encoding with some combinations of settings and obviously if you disabled parallel encoding in the prefs, it will not work.

  • 0x8056530b error enabling disk deduplication on Windows Server 2012 R2 Volume - any ideas why or how to fix?

    I'm getting the following error when trying to enable disk de-duplication on a volume on my Windows 2012 R2 file server.  The error is:
    "There was an error updating Data Deduplication on volume: MSFT_DedupVolume.Volume='\\?\Volume{8dfc4322-9997-11e3-93f5-005056a84b9b}\' - HRESULT 0x8056530b, The specified volume type is not supported. Deduplication is supported on fixed, write-enabled
    NTFS data volumes and CSV backed by NTFS data volumes."
    The volume in question is a 1TB VMFS volume mounted to the virtual machine that is the Windows file server.  I could find no info anywhere that references this error as it relates to a standard mounted volume or VMware or VMFS. 
    Any ideas on what could be the problem or how to fix it?  I could find nothing in the log files other than an entry which is basically a repeat of the error above.
    Any help would be greatly appreciated.
    - ADEHART
    P.S. This is a volume that was previously mounted on an older Windows 2003 server.  Not sure if that may make a difference.

    have you compared this issue to the ones that are successful and compared what is different?
    Have you made sure of the following:
    Servers
    See the following list for server requirements for deduplication:
    • Server hardware should meet the minimum requirements for running Windows Server 2012. The deduplication feature was designed to support minimal configurations such as a single processor system with 4 GB of RAM and one SATA hard disk drive.
    • If you plan to support deduplication on multiple volumes on the same server, you need to plan an appropriately size for the system to ensure that it can process the data. The general rule is that the server needs 1 CPU-core and 350 MB of free memory to run a deduplication job on a single volume, and that job can process about 100 GB per hour or around 2 TB per day. Deduplication scales with additional CPU core processors and available memory to enable parallel processing of multiple volumes.
    For example: If you have a server with 16 CPU core processors and 16 GB of memory, deduplication uses 25% of the system memory in the default Background Processing mode, and in this case, that would be 4 GB. If you divide by 350 MB, you can calculate that the server could process about 11 volumes at a time. If you add 8 GB of memory, the system could process 17 volumes at a time. If you set an optimization job to run in Throughput mode, the system will use up to 50% of the system’s memory for the optimization job.
    • Data Deduplication supports up to 90 volumes at a time; however, deduplication can simultaneously process one volume per physical CPU core processor plus one. Hyper-threading does not impact this because only physical core processors can be used to process a volume. A system with 16 CPU core processors and 90 volumes will process 17 volumes at a time until all 90 volumes are done, if there is sufficient memory.
    • Virtual server instances should follow the same guidance as physical hardware regarding server resources.
    Volumes
    Volumes that are candidates for deduplication must conform to the following requirements:
    • Must not be a system or boot volume. Deduplication is not supported on operating system volumes.
    • Can be partitioned as a master boot record (MBR) or a GUID Partition Table (GPT), and must be formatted using the NTFS file system.
    • Can reside on shared storage, such as storage that uses a Fibre Channel or an SAS array, or when an iSCSI SAN and Windows Failover Clustering is fully supported.
    • Do not rely on Cluster Shared Volumes (CSVs). You can access data if a deduplication-enabled volume is converted to a CSV, but you cannot continue to process files for deduplication.
    • Do not rely on the Microsoft Resilient File System (ReFS).
    • Can’t be larger than 64 TB in size.
    • Must be exposed to the operating system as non-removable drives. Remotely-mapped drives are not supported.
    Note
    Files with extended attributes, encrypted files, files smaller than 32 KB, and reparse point files are not processed by deduplication.

  • "parallel encoding" no longer working in AME CC

    Since 2 weeks ago, AME no longer uses multiple cores to encode.
    I can tell because renders take FOREVER (>5 minutes for a 30 second sequence), and I can see my CPU usage is extremely low.
    Regardless of the "Enable Parallel Encoding" setting in Prefs.
    This is with 37GB of RAM shared between AME and Premiere.
    I called support, they cleared prefs, had me try with root user, all to no avail.
    Said they'd call me back after speaking to a higher level tech.
    What the heck?!
    Mac, CC, all apps up to date.
    40GB RAM.

    Taking what Jim said a bit further by way of explanation...
    Parallel Encoding is very specific in its capabilities.
    It ONLY functions when there are multiple encodings for a single source. I.e., you must click on the "Add Output" button (next to the big plus sign) for a queued encoding.
    And even then, apparently there are some encodings that cannot be done in parallel so there's a temporary switch back to serial encoding. I've not yet seen that.
    This has nothing to do with multicore or GPU processing.
    Hope that helps!
    Pete

Maybe you are looking for