ROLLUP locked resource to build indexces

Hi,
I am running a rollup where some aggregates are filling, there was a direct sql statement running to fill the aggregate. while running this rollup one more process to drop index for another cube also started.
The rollup took 2 hours, after finishing the rollup only the drop indexces are executed.
Actuall both are different data targets, why drop indexces are waiting to finish rollup process.
Is there any data base level tuning required to run these parallel !
Could any one advise...
Thanks & Regards
Srini

Hi,
There should have been a common Master Data thats been shared between both the Infocubes...Like Material, Cutomer should have been there common for both the Info Cubes.
When the Roll-up is in Progress the Aggregates will be updated/Adjusted with the new transactions(Which have MD &TD) and this will lead to locking up of Master data. This should have lead to locking and only one procces has been executed.
Thanks/Tarak.

Similar Messages

  • Error message "Unable to lock resource channel ' BTS '"

    i have a solution which use Biztalk 2010 and Dynamic AX 2009. recently the Biztalk server always raise error:
    Error message "Unable to lock resource channel '<BTS>'".
    the Biztalk can not receive message from Dynamic AX and the message in queue of Dynamic AX also can not be sent out. what i know to do is that stop biztalk server and delete the lock data from Dynamic AX,then start biztalk server.
    what i want to know is why it happen? is it a Bug? how can i solve it?

    Hi,
    There is a hotfix available to fix this issue, which updates the AX BizTalk Adapter and Schema assemblies.
    If you are running Microsoft Dynamics AX 2009 RTM (Build v5.0.593.x), the fix is included in AX 2009 RTM Hotfix
    Rollup 4 Kernel.
    If you are running Microsoft Dynamics AX 2009 Service Pack 1 (Build v5.0.1000.52 or v5.0.1500.x), the fix is included in AX 2009 SP1 Hotfix
    Rollup 6 Kernel.
    NOTE: To
    check the version of the AX server version in use, find AX32SERV.EXE on your AOS servers, and chek the file properties.
    For detailed steps refer:
    https://social.msdn.microsoft.com/Forums/en-US/f4633ce4-7c77-402b-8b9c-6669ff392077/error-message-unable-to-lock-resource-channel-ax-channel-name?forum=biztalkr2adapters
    Rachit

  • Microsoft sql client deadlocked on lock resources with another process

    Hi
    I wrote a forecasting report for a customer which creates an excel spreadsheet with the information
    Depending on how they run the report it can take between 5 to 15 minutes to run
    We have just upgraded the customer to SAP 8.8 PL10 and Microsoft SQL Server 2008 and they seem to be getting an error -
    Microsoft sql client deadlocked on lock resources with another process .......
    The error seems intermittent, they may get the error once and the next time they run it, it is fine.
    I have never seen this error before and they never had it before on SAP 2005
    Can anyone suggest anything please?
    Thanks
    Regards Andy

    Hi Andy,
    I was having the same problem. I'm gonna tell you what i did.
    My query usually takes from 10 to 15 minutes to show results. That long time also block all transaction in the database.
    I was reading about some techniques to improve queries performance. Some of the tips are:
    1. Review indexes in the table you are querying
    2. Use Views
    3. Avoid cursors
    4. Archive old data
    5. Use the correct transaction isolation level
    The last one, was the tip that helped me to avoid the block in the database.
    By default the isolation level in SQL Server is Read Commited, that explains why the database block some transactions. For example, if you have a query that take data from JDT1 table and it takes several minutes to show the results, other transactions that try to write in the same table should be blocked if they arrive at the same time of the first query.
    To solve this, you can make your query in a transaction with Snapshot isolation level. It means that your select query will take a snapshot of the data without blocking any other transaction.
    Here is an example how you can make it. The difference is that you may use ADO.NET connection replacing DI API Connection:
    oConnection = OK1.Generic.Helpers.setConnection(server, password, userID, db); // You have to set anyway your sqlconnection
                        if (oConnection.State == ConnectionState.Open)
                            oCommand = new SqlCommand();
                            oCommand.Connection = oConnection;
                            oCommand.CommandTimeout = System.Convert.ToInt32(timeOut);
                            oCommand.CommandText = "ALTER DATABASE " + db + " SET ALLOW_SNAPSHOT_ISOLATION ON";
                            oCommand.ExecuteNonQuery();
                            sqlTran1 = oConnection.BeginTransaction(IsolationLevel.Snapshot);
                            oCommand.CommandText = query;
                            oCommand.Transaction = sqlTran1;
                            oCommand.ExecuteNonQuery();
                            sqlTran1.Commit();
                            oCommand.CommandText = "ALTER DATABASE " + db + " SET ALLOW_SNAPSHOT_ISOLATION OFF";
                            oCommand.ExecuteNonQuery();
                            if (oConnection.State == ConnectionState.Open)
                                oConnection.Close();
    In this example I write the data to show in the report in other table, then the report takes the data from that table.
    I hope it will be helpful for you.
    Regards,
    Juan Camilo

  • Transaction (Process ID 477) was deadlocked on {lock} resources

    hi !!!
    Has anyone encountered the following error:
    java.sql.SQLException: [Microsoft][SQLServer JDBC Driver][SQLServer]Transaction (Process ID 477) was deadlocked on {lock} resources with another process and has been chosen as the deadlock victim. Rerun the transaction.
    My prgram contains many thread which Update the database, the same table but different rows.
    Thanks and Regards,

    This problem relates to the Microsoft SQLServer, the server has decided to decline the request from that instance due to an internal deadlock issue. Your instances request was arbitrarily chosen as the one to terminate. So the SQLServer sent an error status back that would have been passed on thru the ODBC bridge to the JVM and then to your application.
    How you want to handle this event within your app is up to you.

  • Transaction (Process ID 112) was deadlocked on lock resources

    i got a error when i run the ssis,how to fix it.
    Transaction (Process ID 112) was deadlocked on lock resources with another pr
                                   ocess and has been chosen as the deadlock victim

    i got a error when i run the ssis,how to fix it.
    Transaction (Process ID 112) was deadlocked on lock resources with another pr
                                   ocess and has been chosen as the deadlock victim
    Moderators please  move this to Databse engine forum.Can you see if this ooutput gives you deadlock graph.If you are on SQL server 2008 or later
    SELECT
    xed.value('@timestamp', 'datetime2(3)') as CreationDate,
    xed.query('.') AS XEvent
    FROM
    SELECT CAST([target_data] AS XML) AS TargetData
    FROM sys.dm_xe_session_targets AS st
    INNER JOIN sys.dm_xe_sessions AS s
    ON s.address = st.event_session_address
    WHERE s.name = N'system_health'
    AND st.target_name = N'ring_buffer'
    ) AS Data
    CROSS APPLY TargetData.nodes('RingBufferTarget/event[@name="xml_deadlock_report"]') AS XEventData (xed)
    ORDER BY CreationDate DESC
    --Got from Erland
    Please mark this reply as the answer or vote as helpful, as appropriate, to make it useful for other readers

  • CS4 Locks up when building a preview/rendering

    Im on Windows XP running CS4 and I get a problem with it 'locking up' whilst building a preview or rendering.
    It doesnt happen everytime, but enough to be a problem.
    I have tried 'purge all' thinking this would 'free up' things, but no luck. When I get the lock up I hit 'control alt delete' and see the 'not responding' warning so I 'end task' only to presented with a 2 minute wait before the app finally clears.
    I never had this problem with my previous version (6.5)
    Any ideas whats causing it and can I do anything about it?

    I never had this problem with my previous version (6.5)
    Apples and Oranges. CS4 is a whole differnt beast with probably 40% or more being completely rewritten compared to 6.5. The behavior you describe doesn't sound unfamiliar, though. It mostly happens with compressed formats that are not 100% to AE's taste. It then kinda dumbly buffers as many frames as it can and when it needs to flush them to load new ones, it seems to hang for a while. Anotehr reason could be simply not enough space in the MediaCache folder, so conformed media cannot be stored persistently. This can be further compounded by using OpenGL. What footage do you use? In any case, look into disabling OpenGL and cleaning out the Media Cahce from the prefs as a first step, the nlet us know, if the issues persist.
    Mylenium

  • Deadlocked on lock resources

    Hi people!!
    Sometimes an error with this message happens in my process:
    1205 : 40001 : com.microsoft.sqlserver.jdbc.SQLSERVERException: Transaction (Process ID 102) was deadlocked on lock resources with another process and has been chosen as the deadlock victim. Rerun the transaction.
    The deadlock happens in my DB SNPS_WORK but it not happens every time
    Anybody knows what can i do with this?
    Ty!

    You can search which batch or process use the same table at the same time...
    Cause you may have 2 transactions launched on the same object and one of the 2 is blocked.
    Search in ODI if there is 2 executions on the same object at the same time...
    or search on your RDBMS log...

  • Deadlocked on lock resources error

    Forum,
    We have a system on 8.81 PL07. Intermittently they get the following messages when trying to add a sales quote or order:
    1). [Microsoft][SQL Native Client][SQL Server]Transaction 'Special Prices' (OSPP) (Process ID 123) was deadlocked on lock resources with another process and has been chosen as the deadlock victim. Rerun the transaction.
    Again this has happened before but with a slightly different transaction name.
    Has anyone come across this before or have any suggestions?
    Regards,
    Juan

    HI Juan,
    check Microsoft sql client deadlocked on lock resources with another process if it will help.
    Thanks,
    Neetu

  • Task locked by Workflow Builder

    Hi all - hoping someone has run across this.  i'm surprised I didn't find anything in the forums on this.  I created a workflow, but realized I didn't name some of the task container elements in a few steps properly.  So, in attempting to go into the send mail steps to rename the task container elements, I get the following:
    "Task TS99900143 locked by Workflow Builder"
    I'm unable to edit/rename/or even add new task container elements.  However, I am able to make changes to other parts of the workflow (i.e. workflow container elements, etc).
    Any idea what I need to do?  I logged out, logged back in to see if it would get unlocked.  I had this problem yesterday as well, so I thought maybe even overnight something would get unlocked, but that wasn't the case.
    Thanks,
    Steve

    >
    purvesh patel wrote:
    I think we should ask moderator about that.
    OK, let's get one thing straight: [Moderators|http://en.wikipedia.org/wiki/Forum_moderator] are folks who look after the forum and make sure everyone plays by the rules and so forth - a bit like a referee at a sports match.
    We do not represent official statements from SAP, in fact not all moderators even work for SAP. If someone with an SAP logo next to their name says something that is different...
    Now we've got that out the way, no this is not a bug. The sendmail step is just a 'special' step in the workflow builder that generates a regular SELFITEM.SENDTASKDESCRIPTION in background based on the info you supply. Since the WF builder maintains the task for you, it locks it so that the task and the WF builder don't get out of synch.
    Aside from PFTC (be aware of sync issues mentioned above), you can of course also create a sendmail step manually by creating a task based on SELFITEM.SENDTASKDESCRIPTION. It will appear as a regular activity step and not have the mail icon, and it won't be locked. In some cases this is better because you have more control over the details.
    Cheers,
    Mike

  • How can I force the unlock of one  locked resource?

    I have locked a resource, how can I unlock the resource?
    I try to call unlock function but I receive an error (ORA-31108)
    Is there a way to force the unlock of a resource locked by other user?
    thanks

    Is there a way to force the unlock of a resource locked by other user?Yes. get a DBA to kill the session. Actually it might be better to kill the OS process.
    Alternatively get the DBA to find out who the user is, and phone them up. This won't help if it's not an actual person (it might be a batch process).
    Cheers, APC

  • Resources to Build PC System?

    I have been reading the forums here on building your own system.  On one hand, I am inspired to do this ... on the hand, it sounds daunting.
    Can anyone recomend a good resource for instructions?  I'm guessing you'd mostly follow each manufacturer's instructions?
    I'm fairly techy ... but have never done anything close to this.
    Does this ehow resource look like something good to follow?
    How to Build a PC for Editing HD Video
    Read more:  How to Build a PC for Editing HD Video | eHow.com http://www.ehow.com/how_5876856_build-pc-editing-hd-video.html#ixzz1GRGn932N
    --NAN

    You can watch some video's on building a system here:
    http://www.homepcbuilder.com/
    Click the Home PC button and play each lesson.  It will play a few minutes but will give you a good idea.
    And you can get a good sence of what parts to buy by looking at what others here are using for Premire
    http://ppbm5.com/Benchmark5.html
    Building is the way to go.
    GLenn

  • Resources on building multi-resolution desktop games?

    Hi, I'm currently working on a game and was wondering if it was at all possible to build an Adobe AIR desktop game that has multi resolution handling.
    For instance, when you boot up Binding of Issac, or any other desktop game, in the settings page you can change the resolution from2560 x 1440, to 1920x1080, and so on so forth to accomadate the game to your monitors screen / fullscreen, windowed, etc.
    Is this possible to do?
    I've looked on the web for and I've come across is iOS resolution development. Are there any resources available for desktop games? So that hypothetically in the future, if I use Adobe Air to package up my game I could submit it to steam, and not neglect users who have monitors bigger than 1920x1080 6:9?

    O.K.
    This is my opinion:
    If you want to create high quality applications using Apex you will need the following
    (the percentages in the brackets are supposed to show the importancy in the total of 100%):
    1. Good knowledge of PL/SQL and SQL (70%)
    2. Good knowledge of javascript (10%)
    3. Good knowledge of HTML and DOM (10%)
    4. Good knowledge of CSS (5%)
    5. Other programming skills (5%)
    How can you get (improve) that knowledge?
    1. getting a training (5%)
    2. reading documentation (15%)
    3. learning by doing (50%)
    4. participating in forums (20%)
    5. using google (10%)
    As I said, this is only what I think and how I see that. Other people may dissagree.
    Denes Kubicek
    http://deneskubicek.blogspot.com/
    http://www.opal-consulting.de/training
    http://apex.oracle.com/pls/otn/f?p=31517:1
    -------------------------------------------------------------------

  • Cross system object lock -how to build up lock entries for existing request

    Hello,
    we implemented ChaRM for some years and  intend to activate cross system object lock (CSOL), now.
    But there are a lot of existing transport requests, which have not been imported to productive system, yet.
    It would be very helpful to create lock entries for objects, which are assigned to those transport requests.
    Does anyone know any standard report for this purpose?
    Thanks a lot for any hint.
    Best regards
    Horst

    If anyone else needs that feature:
    Report TMW_TRKORR_LOCK_UPDATE (executed in satellite system) will lock the objects of a transport request in solution manager system.

  • Locking problem  in Forms Builder 6i, Oracle 9i

    It appears that forms builder is issuing exclusive locks on referenced DB objects during and after compilation. This causes problems when trying to issue DDL statements against these objects while builder is connected. Is this the proper lock mode or a known bug? Anyway to control locking by forms builder?

    What is the version of your database?<br><br>
    Is this the same problem:<br><br>
    Compiling a form creates locks?

  • "/Resource/Lock/text()" value

    Hi,
    Can I see, locked resource or no, according
    "/Resource/Lock/text()" value ?
    It has a non null value when resource locked,
    and something like 000100000001, if resource unlocked.
    I haven't found into documentation, what does it mean.
    Is anybody knows ?
    Thanks in advance,
    Viacheslav

    Could you give me an advice: How can I know about
    state of resource - locked or unlocked according to
    "/Resource/Lock/text()" value ?
    Thanks in advance,
    Viacheslav

Maybe you are looking for

  • Getting Error in FB01

    Hi , I am getting error in FB01 while tried to Post document using BDC. Error is coming 'Maximum permitted number of internal tax items reached' Message ID is ZZ and msg # is 755. In my internal table I have only 455 line items which all have TAX cod

  • Payment term control

    Dear Experts If a Payment term is changed in PO after goods receipt, before invoice verification, Invoice receipt will take payment term w.r.t PO & not wrt GR. like in some cases. after partial gr but before IR for that GR, there may be requirement t

  • Missing small OSX window that shows progress of loading OSX when booting

    I recently reinstalled Leopard using Erase & Install... Now when I boot into Leopard...the grey windows appear with the chasing arrows.. the screens turn the Apple blue...this is when the small white OSX window should appear..the one using a progress

  • Oracle Locale Builder

    The Oracle Locale Builder is used for what purpose ?

  • XULRunner - Couldn't load XRE function. Alarm has just come up! What do I need to do next

    XULRunner - Couldn't load XRE function. Alarm has just come up! What do I need to do next