Why is content import causing blocked transactions

Hi folks,
I'm doing a fairly large import of a delivery unit from development to staging environment and noticed that during my content import via delivery unit that many transactions are blocked for SLT trying to perform INSERTS and UPDATES into M tables like MARA, MARC etc.  I noticed that the lock is being caused by a transaction running under _SYS_REPO so I assume it's my imported views activating.  Should this activation be preventing inserts and updates?  If that's the case should I stop SLT mass transfer jobs prior to activating lots of views?  I was thinking that my activation is only READING and should not prevent inserts/updates.
Thanks,
-Patrick

Hi Patrick,
sorry - for some reason this one slipped my attention...
Anyhow, what I meant by "incompatible lock modes" was something like this:
Transaction A writes data into the table. To do that, a kind of "shared lock" is set for the table accessed. The point here is not to prevent data change, but to make sure that the table is neither dropped or structurally changed during the access.
Also: when there are exclusive locks on the table, this kind of lock cannot be set.
Transaction B now wants to activate the models and sets exclusive locks on the table during the activation so that the table reference can be set (I _guess_ here(!) that maintaining the reference between the column view and the table is handled just similar to ALTER/DROP TABLE concerning the locking scheme).
In this setup the lock mode "shared lock" on top of the "exclusive lock" wouldn't be compatible, that is both locks cannot exist at the same time for the same lock objects.
Does that make any sense?
Right now I don't have the option to check this hypothesis, but a try to check on that would include some tracing for the locks... (just in case anyone volunteers do try that).
Cheers,
Lars

Similar Messages

  • Import master and transaction data

    Hallo,
    I need the information, how I can import master and transaction data.
    I fellow the introductions from SAP.Help (see Link), but the Programm UPB_DATA_IMPORT
    is failed. (See point 3 in Link):
    http://help.sap.com/saphelp_nw04/helpdata/en/7a/6d313f8815d036e10000000a114084/frameset.htm
    If I want to try point 3. The error massage.
    “Program UPB_DATA_IMPORT does not exist Message no. DS017”
    will result.
    What I can do? Who can me say why I haven’t the Programm UPB_DATA_IMPORT?
    What is wrong?
    Please help me.I need Data to make a demo planning
    thanks

    Hi,
    There is a set of objects in business content (check under SAP DEMO in business content). You can activate some or all of these demo objects (for example demo cubes).
    There are programs which you can then execute to create the datafiles which can then be loaded to these demo cubes.
    " Start report RSO_BC_FILES_IN_BDS (Transaction SE 38), specify the required (Demo) InfoObject/InfoCube and choose the "Start BDN" button. The system will display all (generally one) CSV files which were supplied with the InfoObject/InfoCube. You can either export this CSV file into a local directory or you can write it directly onto the application server. For loading, proceed as described under section 1. " --- from OSS note 370397

  • Contention on index block splits  consuming significant database time

    Hi Guys,
    can anybody suggest on how to remove Contention on index block splits,this is giving so many issues on my production DB,the CPU usage shots up and application hangs for few minutes.
    DB is 10.2.0.3 and OS is IBM AIX 5.3

    I found this.. it might be useful
    One possibility is that this is caused by shared CBC latching peculiarities:
    1) during normal selects your index root block can be examined under a
    shared cache buffers chains latch.
    So as long as everybody is only reading the index root block, everybody can
    do it concurrently (without pinning the block). The "current holder count"
    in the CBC latch structure is just increased by one for every read only
    latch get and decreased by one on every release. 0 value means that nobody
    has this latch taken currently.
    Nobody has to wait for others for reading index root block in all read only
    case. That greatly helps to combat hot index root issues.
    2) Now if a branch block split happens a level below the root block, the
    root block has to be pinned in exclusive mode for reflecting this change in
    it. In order to pin a block you need to get the corresponding CBC latch in
    exclusive mode.
    If there are already a bunch of readers on the latch, then the exclusive
    latch getter will just flip a bit in the CBC latch structure - stating it's
    interest for exclusive get.
    Every read only latch get will check for this bit, if it's set, then the
    getters will just spin instead, waiting this bit to be cleared (they may
    yield or sleep immediately as well, I haven't checked). Now the exclusive
    getter has to spin/wait until all the shared getters have released the latch
    and the "current holder count" drops to zero. Once it's zero (and the getter
    manager to get on to CPU) it can get the latch, do its work and release the
    latch.
    During all that time starting from when the "exclusive interest" bit was
    set, nobody could access this indexes root block except the processes which
    already had the latch in shared mode. Depending on latch spin/sleep strategy
    for this particular case and OSD implementation, this could mean that all
    those "4000 readers per second" start just spinning on that latch, causing
    heavy spike in CPU usage and they all queue up.
    How do diagnose that:
    You could sample v$latch_misses to see whether the number of "kcbgtcr:
    kslbegin shared" nowaitfails/sleeps counter takes an exceptional jump up
    once you observe this hiccup.
    How to fix that once diagnosed:
    The usual stuff, like partitioning if possible or creating a single table
    hash cluster instead.
    If you see that the problem comes from excessive spinning, think about
    reducing the spinning overhead (by reducing spincount for example). This
    could affect your other database functions though..
    If you can't do the above - then if you have off-peak time, then analyse
    indexes (using treedump for start) and if you see a block split coming in a
    branch below root block, then force the branch block to split during
    off-peak time by inserting carefully picked values into the index tree,
    which go exactly in the range which cause the proper block to split. Then
    you can just roll back your transaction - the block splits are not rolled
    back nor coalesced somehow, as this is done in a separate recursive
    transaction.
    And this
    With indexes, the story is more complicated since you can't just insert a
    row into any free block available like with tables. Multiple freelists with
    tables help us to spread up inserts to different datablocks, since every
    freelist has its distinct set of datablocks in it. With indexes, the
    inserted key has to go exactly to the block where the structure of b?tree
    index dictates, so multiple freelists can't help to spread contention here.
    When any of the index blocks has to split, a new block has to be allocated
    from the freelist (and possibly unlinked from previous location in index),
    causing an update to freelist entry in segment header block. Now if you had
    defined multiple freelists for your segment, they'd still remain in the
    single segment header block and if you'd have several simultaneous block
    splits, the segment header would become the bottleneck.
    You could relieve this by having multiple freelist groups (spreading up
    freelists into multiple blocks after segment header), but this approach has
    it's problems as well - like a server process which maps to freelist group 1
    doesn't see free blocks in freelist group 2, thus possibly wasting space in
    some cases...
    So, if you have huge contention on regular index blocks, then you should
    rethink the design (avoid right hand indexes for example), or physical
    design (partition the index), increasing freelists won't help here.
    But if you have contention on index segment's header block because of block
    splits/freelist operations, then either partition the index or have multiple
    freelist groups, adding freelists again won't help here. Note that adding
    freelist groups require segment rebuild.

  • Error while processing /libs/commerce/content/import.html

    hello every body;
    I wanna import a catalog from hybris to cq5, I fill the form when I click import catalog; it gives me this error:
    Error while processing /libs/commerce/content/import.html
    thanks for your help;

    thanks sham;
    ok; it's resoleved now, it was a problem in the version of cq,i was using cq5.4,it dosn't work with this version;
    but I have an other problem here where I imported a catalog from hybris; the function getProductPrice(product) doesn't work;in the file /apps/geometrixx-outdoors/components/nav_products/listitem_product.jsp
    i the line: final String price = session.getPriceInfo(product); anit gives me the error:
    Caused by: java.lang.NullPointerException
              at com.adobe.cq.commerce.hybris.impl.HybrisSessionImpl.getProductPriceInfo(HybrisSessionImpl .java:184)
              at com.adobe.cq.commerce.hybris.impl.HybrisSessionImpl.getProductPrice(HybrisSessionImpl.jav a:211)
              at com.adobe.cq.commerce.hybris.impl.HybrisSessionImpl.getProductPrice(HybrisSessionImpl.jav a:207)
    thanks for your help;

  • Lightroom 4 importing causing program to crash.

    Lightroom 4 will not import files. Windows 7 pop-up states; "there is a problem with this program that is preventing it from running correctly will check for solution". "Windows failed to find a solution must shut down program now".
    This prevents the import page from loading or working and no images can be imported using usb or SATA connections. Was able to use computer's built-in card-reader to read from Sd and compact cards, those were able to run in the import window only because of preference setting. "when a Memory card is installed import files" (preference-setting).  Any other means of importing files, the out-come is the program crashing and being shut down. All other functions outside the import menu seem to be working. Deleting all catalogs and then using the default catalog setting,  failed to clear issue.
    System info: Windows 7 64-bit, Intel i7 cpu, 16 gigs of ram, 4 one terabyte hard-drives.
    Solutions tried. Removing Lightroom 4, all catalogs, then running defrag, registry cleaner, before attempting to re-installing lightroom 4.  Removing lightroom 4 and installing lightroom 3.6 fails to fix issue. Removing all Lightroom products from hardrive,Including the windows program folder, windows programs data folder. Then rebooting re-running defrag, registry cleaner and re-installing lightroom 4 fails to fix importing issue. No way to contact support and links to user group fail to take me to correct user group. Question with the lead as lightroom 4 importing causes program to crash. Takes me to everything but lightroom solutions!  Now this takes me to photoshop user group which has nothing to do with lightroom. With lightroom 4 in the question itself, I get everything but lightroom solutions!

    Camera raw is built into Lightroom. It is the engine that makes the corrections within an image. You might not see as a seperate program, like earlier versions of Lightroom. Or having to launch it in a new window to work in camera raw. In version 4 of Lightroom it was made seamless and built into Lightroom.
    Lightroom 4 was installed in the admin log-in window. I have all useage rights to any file lightroom creates or adjusts. I am thinking that the Photoshop CS6 beta created some working problem within Lightroom 4. Now that the beta-test program is over, I think the problem is a result of removing Photoshop's last build, before the public beta was released. I do hope, Adobe is working on a solution for people experiencing importing problems with Lightroom 4. I am just grabbing at straws here, trying to find something that will work. I think the problem will go away once computer has the new camera raw build 7.0 that ships in Photoshop CS6. With so many versions of camera raw installed on the computer, I think Lightroom is having issues as a result. Let's hope a patch is in the works, Lightroom 4 is useless if importing files doesn't work correctly.
    B&H photo is taking pre-orders for the creative suites, right now. The only way to get support is by purchasing a subscription. Otherwise it is a $35.00 per issue fee. So, I am not sure of what upgrade path I will take. Not loving the cloud at all, with this year of Hackers, I seriously doubt that any cloud will prove to be safe to use. Why would, I want to post my hard work to a cloud where anyone can steal it? But that is a different topic.
    For right now the only way to import is by creating an empty folder on the same hard-drive that Lightroom resides on. Setting up auto-import in Lightroom Pref. file to check that empty folder. Folder has to be empty to set up. Then dragging image files into that empty folder. I discovered that Lightroom 4 will not open or look in sub-folders for images. Which means you lose keeping a day's worth of shooting seperate from other folders. Where Lightroom version 3.6 you could.There was a second auto-import that worked, with my built-in memory-card reader. Where in the Lightroom pref.file you can tell Lightroom to auto-import, when a memory-card is detected. ( this is the least viable option, because more memory card become damaged removing and reinstalling them). These were the only two methods, I could get images into Lightroom 4 and prevent Lightroom from crashing.  Might have to go back to using Nikon NX to import my images and using Bridge to catalog them.

  • Trying to find answers for the question "Why is this file type blocked from being uploaded into SharePoint"

    At least once a month - sometimes much more frequently - I get calls from users asking why the file extension they "need" to upload to SharePoint is blocked.
    Most recently, it was a Microsoft Access database that the user was attempting to upload to a document library. Before that, it was a shortcut link (*.url). And so on.
    Is there a reference document which goes over the reasons why specific file types are blocked?
    Thanks!

    Each blocked file format has it's own reasons for not being allowed to be stored on a SharePoint library.
    Some of them are blocked because they would be processed by SharePoint Servers during the upload/download sequences, thus, possibly corrupting the system ( like dll files ). Others would cause Crawl to break ( url files ).
    The Access database files are blocked for two valid reasons. First, because saving "live" to those files using Windows explorer window ( WebDAV ) doesn't work. Second because SharePoint product managers want us to use SharePoint lists instead.
    And it does makes sense.
    If you're in the middle of a migration from file servers to a SharePoint solution, your people could use these situations to stop and think about it for a little:
    Really ? Now that we have SharePoint, couldn't we do things a little bit differently ?

  • Why does iTunes Match cause iTunes to crash ?

    Why does iTunes Match cause iTunes to crash ?

    My problem is similar.  It began right after I allowed an Adobe update to run.  (Adobe Flash Player version 10.0.45.2 is recorded in my Registry.) Now every single website I try to open triggers a window (see below) and repeats many times.
    It makes no difference whether I "Allow" or not.  I think it runs this window for every flash object on that website.  It is occurring while I enter this post!
    It makes using the Internet MOST challenging.  Surely this is causing major problems for everyone.
    I have IE8 on Windows Vista.
    Here's the text from the message:
    "A website wants to open web content using this program on your computer.
    This program will open outside of Protected Mode. Internet Explorer's Protected Mode helps protect your computer. If you do not trust this website, do not open this program.
    Name:  Adobe Flash Player
    Publisher: Adobe Systems Incorporated
    (Checkbox) Do not show me the warning for this program again.
    buttons:  Allow         Do Not Allow"
    Should I appeal to Microsoft or Adobe for a solution?  Is is possible to install the previous version?
    Thanks for any wisdom.

  • Why i cant import back my photo video after export to pc?it will state cant sync and open itunes.

    Why i cant import back my photo video after export to pc?it will state cant sync and open itunes.

    Hey Bakak,
    Thank you for using Apple Support Communities. 
    I understand that you keep getting a message to authorize your computer when trying to transfer applications to your iPhone. Here is an article on things that may cause this. I suspect that the section "Authorize using the correct account name" may be most relevant. It is possible that you have multiple Apple IDs and iTunes accounts.
    iTunes repeatedly prompts to authorize computer to play iTunes Store purchases - Apple Support
    Regards,
    Jeff D. 

  • Any reasons why the content of a fillable form cannot be viewed or printed?

    I have created a 2-page form on Adobe Acrobat XPro. I emailed it to specific people and they filled it out, saved it and emailed it back. I am able to view what they typed in my monitor only, when I click on the field, but it will not print the content. Any reasons why the content of a fillable form cannot be viewed or printed?

    That's what I asked the people I emailed the form to and someone just emailed me saying: "I'll check my adobe. It keeps asking me to update and I keep ignoring it so maybe it was my fault". So there is the answer I guess. I saved the document as an Extended PDF and selected Enable Additional Features. Is there anything else I should consider?

  • Why is LR importing duplicate files and adding a -1 to file name?

    I need to locate some missing photos that disappeared from my library so I'm re-importing my photo collection again (from burnt DVD's) in hopes to recover all the missing images. When I insert a DVD to re-import the photo collection and choose "convert to DNG" and I check "do not import suspected duplicates" LR imports the same images that are already in the catalog and renames the images with a -1...for example, IMG_3664.dng is already in LR folder named 2008-06-14. When I re-import the images from that date, LR renames the image IMG_3664-1.dng and puts it in the same folder resulting in duplicate images side by side. Why is it importing the same image and adding a -1 to the file name?
    I was expecting it to tell me there are XXX photos already in the catalog but it doesn't. It just adds a -1 to the file name and imports all the duplicate images and displays them side by side in the grid view.
    Any ideas? I originally imported the images from the same DVD's I'm using now on a PC and placed the library on an external hard drive. NOw I'm using a new iMAC and I imported that same library from the same external drive location. I'm working with LR 1.31.
    Can someone help? LR should recognize the files with the identical date/time stamp and tell me it's already in the catalog...but it's not for some reason.
    Thanks

    If you import them again, you'll get a "-2" instead of -1, and the -2 will list with the -1,and the original with no dash. The higher number distinguishes the most recent file of same title..
    The file titles are identical as original, but it sounds as converting the file from the source,(PC, Hard drive) to DNG makes it another version of the file....do you type DNG in caps? should it be lower case?
    Because the computer doesn't read the file as a duplicate, but the file name is the same, you'll get a -1.
    This could probably happen,say, if your files are raw, and you had burned them as jpeg onto dvd storage. Even though you want them back as raw, converting them isn't duplicating them.
    I hope this helps...I don't even own Lightroom; I'm shopping around between this and Aperture right now...the experience I'm referring to is where I work in a pre-press printing house; So if someone replying to my post who masters in Lightroom calls me an idiot, I won't argue much!!

  • TS2972 why is the import button not showing at the button right hand corner of iTunes?

    why is the import button not showing at the bottom right hand corner of my ITunes page.  I am trying to transfer files from my home share library onto a new computers library.

    See if it isn't hidden under the View menu. iTunes- Turning on iTunes menus in Windows 8 and 7.

  • TS2972 Why is the "Import" button grey when I'm trying to transfer music from one computer to another?

    Why is the "Import" button grey when I'm trying to transfer music from one computer to another using Home Sharing?

    Hi lexipuppy,
    I dont know if you have your music on your other computer was on itunes, but if it was, make sure that you signed into your itunes account on your other computer. If you are signed in then your music should show up in your library.

  • Why the content of the Explain Plan not show out?

    Why the content of the Explain Plan not show out?
    I am using Oracle 11g.
    I already ran the utlxplan.sql sctipt and I also set serveroutput on.
    SQL> set autotrace on
    SQL> EXPLAIN PLAN FOR SELECT*FROM DEMO_TABLE WHERE OWNER='HR';
    Explained.
    Elapsed: 00:00:00.67

    When you say:
    My release 10.2 database display the Explain Plan automatically.
    How to make 11.1.0.6 Oracle database to display the Explain Plan automatically.What do you mean? Specifically, what commands are you executing in the 10.2 database, that displays the execution plan "automatically"?
    Are you saying that if you execute the same command in 11.1.0.6, you don't get a similar result? What happens? Do you get an error?
    For both the 10.2 case and the 11.1.0.6 case, post the full output of the commands you're executing, and the result you are seeing.
    Then, maybe someone can help you.
    When you post the output, please encapsulate it in a pair "code" tags, which is the word "code" without the quotes, surrounded by a pair of curly braces {}.
    When you do this correctly, the output looks like:
    This is output from my execution plan run.and is much easier to read.
    Don't be afraid to use the preview tab to see if your message will be posted with the correct formatting.
    -Mark

  • Why do we import a class

    Why do we import the class TestFile and not call the class instead like in the code given below
    package test;
    import testing.TestFile;
    import java.util.StringTokenizer;

    "import" basically just defines aliases for class names. It lets you specify just the class name, without the full path. It makes the code easier to read.
    You don't really call classes at all in Java. You call methods. You can do that later in the code.

  • Why do we use static block ????

    my question is that why do we use static block for certain statements and declarations ?? what advantage do they hold???
    Please help me........

    Here is an example:
    If you use a JDBC-driver, it's enough to write:
       String driverName = "package.MyDriver";
       Class.forName(driverName);In the class "MyDriver" there is a static block:
    public class MyDriver implements java.sql.Driver {
       static {
          MyDriver driver = new MyDriver();
          java.sql.DriverManager.registerDriver(driver);
    }

Maybe you are looking for

  • Sharing data stored by javax.jnlp.PersistenceService between users

    Application is deployed by Java Web Start. It runs and allows user to store some settings. It stores these settings using javax.jnlp.PersistenceService. Will these settings be available for another user (win account) if this application is run by win

  • ICal prints in portrait view . .

    Hi, I've recently installed leopard on my macbook pro that I purchased a year ago. I've just tried to print a weekly calendar and it is printing in portrait mode so half of the page is getting cut off on the side. I don't know how to go about fixing

  • The URL to run a Report stored in the Server-VERY URGENT

    Hi , I wanna to know the url to run the report stored in 9iDS. e.g. in earlier version we need to use the CGI scripts to do the work e.g. http://hostname:port/srwcgi60/rwcgi.exe?report=test.rep ..somethin like this ..but in 9iDS i m not able to get t

  • Usage of Transaction types in other than asset accounting

    Hi, can someone tell me the usage of transaction types in FI other than Asset accounting. Thanx, Sowmya

  • My Palm M105 is Bust!

    Ok it was donkies years old so its not the end of the world. I want to buy the modern equivilent the Z22 or Tungsten E2 handheld.  I´m a simple guy. The question is whether I will be able to directly upload my old contacts/address book and diary via