SEM_APIS.BULK_LOAD_FROM_STAGING_TABLE does not finish

Hi all,
I am trying to bulk load an N-Triples file using a staging table according to instructions given in documentation (RDF Semantic Graph Overview).
The file contains about 23,000,000 triples, and I have split it in 16 files of 1,437,500 triples, in order to load them in parallel.
First I successfully load these files into the staging table by invoking the following command, which needs about 1 minute to finish:
BEGIN
  SEM_APIS.LOAD_INTO_STAGING_TABLE(
    staging_table => 'STAGE_TABLE'
   ,source_table  => 'STAGE_TABLE_SOURCE'
   ,input_format  => 'N-TRIPLE'
   ,parallel          => '16');
END;
Then, I call SEM_APIS.BULK_LOAD_FROM_STAGING_TABLE to load data into the semantic store:
BEGIN
    SEM_APIS.BULK_LOAD_FROM_STAGING_TABLE(
        model_name  => 'rdfmodel',
        table_owner => 'rdfuser',
        flags       => 'PARSE PARALLEL_CREATE_INDEX PARALLEL=16 MBV_METHOD=SHADOW',
        table_name  => 'stage_table'
END;
However, this operation does not finish. I left it running for more than 5 hours and not any triple is inserted into the table mdsys.semm_rdfmodel.
Also, I have observed that even if PARALLEL parameter is set the most CPUs remain idle. Usually, only one or two CPUs are used to a percentage more than 50% (I check it using htop).
Any hint about how I can find out what goes wrong will be very appreciated!
Best regards,
George

Hi Souri,
thank you for you advices!
I enabled parallel dml but the results are the same. I, also, created the RDF$ET_TABLE and it seems that the events that do not finish are FIND_AND_RESOLVE_BATCH_DUPS and -find_BATCH_DUP_SELECTIONS.
To find unfinished events I posed the query:
SELECT DISTINCT proc_sid, event_name, start_time, end_time, start_comment, end_comment
FROM RDF$ET_TAB
WHERE end_time IS NULL
ORDER BY start_time ASC;
and the results are the following:
PROC_SID
EVENT_NAME
START_TIME
END_TIME
START_COMMENT
END_COMMENT
M1_16B08_6F40B1F_68
*BULK_LOAD_FROM_STAGING_TABLE
06-FEB-14 12.02.43.669541 AM
M1_16B08_6F40B1F_68
FIND_AND_RESOLVE_BATCH_DUPS
06-FEB-14 12.06.57.878441 AM
[P1=[PARALLEL(RDF$2LM1_16B08_6F40B1F_68,16)]
P2=[PARALLEL(RDF$TLM1_16B08_6F40B1F_68,16)]
P3=[PARALLEL(RDF$BDM1_16B08_6F40B1F_68,16)]
P4=[PARALLEL(RDF$BSM1_16B08_6F40B1F_68,16)]
Px=[PARALLEL(x,16)]
Py=[PARALLEL(y,16)]]
M1_16B08_6F40B1F_68
-find_BATCH_DUP_SELECTIONS
06-FEB-14 12.06.59.969255 AM
I suppose that these events are about duplicates. So, I thought that adding the flag DEL_BATCH_DUPS=USE_INSERT to the sem_apis.bulk_load_from_staging_table call would help. I added this flag and retried. The storing, again, did not finish after 5 hours but the results of the query for the unfinished events are slightly different:
PROC_SID
EVENT_NAME
START_TIME
END_TIME
START_COMMENT
END_COMMENT
M1_16B047841AF37_68
*BULK_LOAD_FROM_STAGING_TABLE
05-FEB-14 07.32.05.582389 PM
M1_16B047841AF37_68
LOAD_BATCH_TRIPLES_TABLE
05-FEB-14 07.35.24.297935 PM
[nP=[0]
P1=[PARALLEL(RDF$TLM1_16B047841AF37_68,16)]
P2=[PARALLEL(st,16)]]
Best regards,
George
Message was edited by: 28f0f31d-f7f8-4fcd-a737-4d97bf31ab13

Similar Messages

  • Syncronizing my 3gs with itunes the sync does not finish because itunes allways crash and stuck i made some troubleshoots like reinstall again but nothing and my itunes is update and the system is windows vista home premium.Please help me...

    Syncronizing my 3gs with itunes the sync does not finish because itunes always crash and stuck and i can not sync my device, i dont no whats wrong because the itunes even can not  acess itunes store, still loading waiting for itunes store and nothing.I tryed reinstall itunes but just waste of time.
    My itunes is update, iphone 3gs 4.3.4, system is windows vista home premium.
    Please help me.

    I also have the Mcaffe security centre so on the face of it we have very similar situations and I had not problems.
    You asked what I meant about saving the installer on your PC.
    When you go to the iTunes download page:
    http://www.apple.com/itunes/download/
    And click on download, you should be offered the choice of running the installer or saving it. You need to click on save and then choose a folder on you PC where you want it saved. But I think you already did that.
    After the installer file - iTunessetup.exe - is save on your computer, you double click on it to run it.
    It's very odd that the installer fails at different stages. usually when the installation fails, it is at a specific stage and usually generates an error message.
    I am afraid I am mystified. Have you had any other problems with your PC which might suggest a general problem not specific to iTunes?
    The only other suggestion I have is to download a fresh copy of the installer - in case it got corrupted. You could also try using "run as administrator" to run the installer. It should be an option if you right click on the installer file.
    The other thing it might be worth trying is to install it from another account, but you would need to create another administrator account if you don't a;ready have one. Or if you have another account that is not an admin account, you can temporarily promote it from the control panel>>User accounts.

  • Import From CSV File statement runs forever, no error, does not finish

    Hello,
    I am trying to import a CSV file in a JAVA program, with the following statement:
    IMPORT FROM CSV FILE '/debug/testdatabase/FILE.csv'
    INTO "JOSEPH"."TEST_TABLE"
    WITH COLUMN LIST IN FIRST ROW
    RECORD DELIMITED BY '\n'
    FIELD DELIMITED BY '\t' ERROR LOG '/debug/testdatabase/file.err'
    THREADS 10
    BATCH 10000
    I have two HANA instances on different machines A and B:
    Both machines run HANA version 1.00.74.00.389160 (NewDB100_REL), while the OS is
    SUSE Linux Enterprise Server 11.1 on machine A and
    SUSE Linux Enterprise Server 11.2 on machine B.
    The statement above runs fine on machine A and the rows are imported properly from JAVA as well as when executed from HANA Studio SQL console.
    If I copy the file to machine B and try the exact same statement with the same file, it does not finish (neither from JAVA nor from HANA Studio SQL console). There is no error either. It cannot be cancelled, only a HANA restart stops the statement. Also the sample file I use has only 2 rows, and memory does not seem to be a problem.
    I seem to have a similar problem to the one described here, but the answers there do not help me: http://scn.sap.com/thread/3396582 I specified the record delimiter, and I used a python script to check for any strange characters that are not supposed to be there, but didn't find any.
    If I copy the file to my windows PC and use the "File Menu -> Import -> SAP Hana Content -> Data from Local file" function, it imports the file correctly into B, but I need to be able to do it from JAVA.
    Machine A administration view:
    Machine B administration view:
    If you have any idea what might cause this behavior or where I can find more information on this problem please give me a hint.

    Hi Joseph,
    First from the pics, the revision of your SAP HANA instance is 73 instead of 74. Since I have no identical environment, I cannot test it for you. But can you try the simplest scenario? You can create a table with only one column table try to import a CSV file with only one row.
    Best regards,
    Wenjun

  • Itunes attemots to download a movie, it says it is processing, but it does not finish, it is now "processing" for days, what can I do to stop it?

    Itunes attemots to download a movie, it says it is processing, but it does not finish, it is now "processing" for days, what can I do to stop it?

    Download movie with iTune (computer) and sync to iPad.

  • Creating Oracle Inventory Installation Step Does Not Finish and Hangs at 99% while installing Hyperion 11.1.1.4

    Hi Guys,
    Creating Oracle Inventory Installation Step Does Not Finish and Hangs at 99% while installing Hyperion 11.1.1.4.I'm running the installer from a local drive and also noticed that the uninstaller files are not created.The installer process has been running for 4+ hours.
    Any suggestions/tips?
    Thanks
    Manoj

    hi John,
    we left the installer running overnight, but the install process has still not completed.Also it has not created any uninstaller files under the following directory:
    E:\APPS\Hyperion\uninstall
    what could be the reason for that?
    Thanks.
    Manoj

  • Hp laser jet p 1102 w , downloaded driver does not finish the installati​on

    hp laser jet p 1102 w. Problem with installing new printer.
    The downloaded driver, and the one included with the new printer does not finish the job of installing the software. 

    Hi @allanR ,
    I can help you with setting up the printer, but I will need to know some more information.
    How would you like to setup the printer, through a USB connection or Wireless?
    What operating system are you using? (Windows 7, Mac 10.10)
    Please be specific, the steps can be different, depending on what you are using.
    Mac OS X: How Do I Find Which Mac OS X Version Is on My Computer?
    How to Find the Windows Edition and Version on Your Computer.
    Print a configuration page to get the printer's IPv4 address if networked and also to test the printer's functionality.
    Printing a Configuration Page. Were you able to print the test page, do you have a IPv4 address? (what are the first 3 sets of numbers)
    Have a nice day!
    Thank You.
    Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos Thumbs Up" on the right to say “Thanks” for helping!
    Gemini02
    I work on behalf of HP

  • BW statistics cube load does not finish

    Hi Friends,
    The BW statistics cube 0BWTC_C04 does not finish load for hours in the first run. It will be in running status. When we delete the request by forcing the status to red and run the load, it finishes sucessfully in minutes. It is happening for last 2 months daily. Any clue why this is happening and how to correct it?
    Thanks and regards,
    Balaraj

    Hi Arun,
    Thanks for reply.
    We are dropping and recreating the indices everytime we load. We are doing this through Process chain. We did drop the cube (deleted all the data) and reloaded, after 2nd run again the issue appeared.
    Any suggestions?
    Thanks and regards,
    Balaraj

  • In IPhoto, after I submit my book to the Apple store, it shows it uploading, but does not finish the process.

    after I submit my book to the Apple store in I photo, it shows that it assembles and uploads, but does not finish the process.  I cannot use the cancel button and have to force quit IPhoto to get out of the process.

    Assuming you're referring to iPhoto on your Mac here are some potential fixes you can try:
    1 -
    Go to the System/Sharing preference pane and make sure Remote Apple Events is checked. If it is, uncheck it and then recheck and try ordering again.
    2 -
    Quit iPhoto.
    From the Finder menu bar, choose Go > Utilities to access your Utilities folder (or press Shift-Command-U).
    In your Utilities folder, open Keychain Access.
    Find the "NetServices" entry in your Keychain Access window.
    Select the "NetServices" entry and press the delete key.
    Reopen iPhoto and attempt to place your order again.
    You should be prompted to enter your account information if you deleted the Keychain entry successfully.
    After entering your account information, you should be able to complete your order.
    3 -
    Boot into Safe Mode, Mac OS X: Starting up in Safe Mode, and try ordering from there.
    Note:  Create a proof pdf file of the book as described in this Apple document, iPhoto, Aperture: Previewing an order in iPhoto or Aperture, before ordering the book and keep the pdf file to compare with the printed copy when it arrives.

  • SAPinst does not finish at the task of "Execute step CreateDbSchema"

    Hello all,
    I'm trying to install Solution Manager 4.0 SR3 with MaxDB 7.6.02 Build12.
    But SAPinst does not finish the following task ...
    INFO       2008-04-21 23:47:53.765 [iaxxgenimp.cpp:632]
               showDialog()
    Execute step CreateDbSchema of component |NW_Onehost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|1|0|NW_CreateDBandLoad|ind|ind|ind|ind|10|0|NW_CreateDB|ind|ind|ind|ind|0|0|NW_ADA_DB|ind|ind|ind|ind|6|0|Sdb_Schema_Dialogs|ind|ind|ind|ind|4|0|Sdb_Schema|ind|ind|ind|ind|1|0.
    Does anyone have same problem? Could you give me advice?
    Also I found one error message near this task in the logging message.
    INFO[E]    2008-04-21 23:18:08.78 [synxcuser.cpp:102]
               CSyUserImpl::CSyUserImpl(const CUserData&, bool)
    FSL-01027  Account user="vm-sap2\SAP_LocalAdmin" does not exist.
    Any comment and advice are very appreciated.
    Best Regards,
    Makoto

    We resolved the problem.
    Problem:
    Installation of 7.0 using MaxDb on Windows x64 hangs on the sapinst at the step CreateDbSchema..
    There is no error in the installation log.
    We are using the specified JDK (JAVA development kit) as specified by OSS Note 723909 which is downloaded from a special website of SUN.com.
    We have tried uninstalling the other versions of the JDK build and tried other builds.
    Solution:
    By searching message boards for the specific error CreateDbSchema, one of the threads mentioned that passwords for MaxDb can't have special characters.  Searching OSS yielded a Note 674430 which confirmed that installing on MaxDb has to use alpha-numeric.  We were using an @.  We dropped the database and deleted the user so it would be a clean install, and ran again using a different password.  Some other cleanup was done too, but we suspect it was the password.

  • Ipod update does not finish, itunes wont recognise ipod!

    i recently installed the latest itunes. BIG MISTAKE!! when i connect my ipod and open itunes, it says "determining gapless playback information" and starts going through all the songs on my ipod (a very long process). so i sit this out, and it wants to update my ipod software. fair enough. so i sit this out. it 'finishes' and then just says "updating ipod" and looks like something is happening, but it isnt!! i left my computer and went out and came back in the morning and it was still going!
    ps. my ipod does not appear on itunes as well
    what can i do?

    so i sit this out. it 'finishes' and then just says "updating ipod" and looks like something is happening, but it isnt!! i left my computer and went out and came back in the morning and it was still going!
    ps. my ipod does not appear on itunes as well
    with those symptoms, it might be worth checking on the possibility from this document:
    iTunes for Windows: iTunes 7 doesn't recognize iPod

  • Ios 7.0.3 iphone - sync does not finish in Itunes

    iphone 4s  ios7.0.3
    itunes 11.1.32
    windows 7, version 6.1
    Automatic sync starts when the phone is connected but does not complete. It hangs on "Finishing Sync". 
    Does anyone have a suggestion? 

    This is just BS! I'm sick and tired of Apple. My phone and ipad are hung up in Syncing mode and won't finish. They've both been connected all night; what normally takes about a minute is still not finished after 6 hours. What's up with this? "They said they "think" it's just all the updates for Mavericks and iOS overloading their server. "
    Can I please cry: "BS!!" ??
    What's going on with this??

  • Lenovo ix2-dl does not finish the setup and go offline

    hello guys,
    my nas not finish the setup, the process hangs after entering the password and the NAS goes offline, when you start the nas is O.K, but at some point the nas goes offline and never comes back upward. ideas ???

    Hello Marcincus72
    try booting the unit without hard disks. After it's power led goes solid white or flashing red reset the unit using the pin-hole reset button on the rear of the unit.  Press and hold the pin-hole reset button for 15 seconds then release.
    After the unit restarts on it's own and has a solid white or flashing red power led, you can power down the unit and install the hard disk(s).  Try booting the unit up again and see if the issue persists.  If it does, please try cleaning the hard disk(s) using diskpart or something like ccleaner to fully wipe the disk(s)
    Let me know what happens.  In any case LenovoEMC support should be contacted to create a support incident in case you need to reimage the firmware or have the unit exchanged via the retailer/reseller if within the exchange period. 
    LenovoEMC Contact Information is region specific. Please select the correct link then access the Contact Us at the top right:
    US and Canada: https://lenovo-na-en.custhelp.com/
    Latin America and Mexico: https://lenovo-la-es.custhelp.com/
    EU: https://lenovo-eu-en.custhelp.com/
    India/Asia Pacific: https://lenovo-ap-en.custhelp.com/
    http://support.lenovoemc.com/

  • ODI update procedure does not finish

    Hi all,
    I would like to execute some arbitrary SQL to update some rows in an intermediary table and am using a procedure to do so. It runs but never seems to complete. If I do a dummy procedure with SELECT 1 FROM Dual then it runs fine, but this one with an UPDATE does not work. I have tried changing the commit settings to no avail.
    Also, the UPDATE statement that I am running is valid SQL (obviously) but it's a smaller version of the statement that I really want to execute -- it seems that the larger statement I want to run is somehow getting parsed wrong by ODI (even though the code works fine if I just execute it myself).
    Just wondering if anyone had any thoughts on a Procedure step hanging, thanks.
    Jason

    It seems you have some deadlock during the update step. Basically, it occurs when 2 sessions try to update the same records at the same time (or when one of them didn't commit).
    Launch it again, and check with your DBA the oracle sessions (you can also check it with PL-SQL Developer tool) to see if there is a deadlock (error ora-00060).

  • Time machine takes very long time and does not finish the backup

    Hi,
    Time machine is unable to backup my 2014 Mackbook Air 128 GB Drive anymore.
    I have tried numerously to initiate a backup but it could only backup a very small volume, less than 1KB, then stall for hours without any progress.
    I tries to repair my volume, using the Disk Utility, but it still does not backup, except for the 1K progress.
    I have noticed that "Spot Light" indexing is also taking forever.  It has been indexing for days without any pogress.
    What is going on.
    What should I do to fix it.
    My latest successful backup was on Jul 25.
    Please help.
    Thanks.
    Tareq

    These instructions must be carried out as an administrator. If you have only one user account, you are the administrator.
    Launch the Console application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Console in the icon grid.
    The title of the Console window should be All Messages. If it isn't, select
              SYSTEM LOG QUERIES ▹ All Messages
    from the log list on the left. If you don't see that list, select
              View ▹ Show Log List
    from the menu bar at the top of the screen.
    In the top right corner of the Console window, there's a search box labeled Filter. Initially the words "String Matching" are shown in that box. Enter the word "Starting" (without the quotes.) You should now see log messages with the words "Starting * backup," where * represents any of the words "automatic," "manual," or "standard."
    Each message in the log begins with the date and time when it was entered. Note the timestamp of the last "Starting" message that corresponds to the beginning of an an abnormal backup. Now
    CLEAR THE WORD "Starting" FROM THE TEXT FIELD
    so that all messages are showing, and scroll back in the log to the time you noted. Select the messages timestamped from then until the end of the backup, or the end of the log if that's not clear. Copy them to the Clipboard by pressing the key combination command-C. Paste into a reply to this message by pressing command-V.
    ☞ If all you see are messages that contain the word "Starting," you didn't clear the text field.
    ☞ The log contains a vast amount of information, almost all of which is irrelevant to solving any particular problem. When posting a log extract, be selective. Don't post more than is requested.
    Please don't indiscriminately dump thousands of lines from the log into this discussion.
    Please don't post screenshots of log messages—post the text.
    ☞ Some private information, such as your name, may appear in the log. Anonymize before posting.

  • Trying to unblock iPhone 4s.  made all the steps, at the end of restoring i get an error no. 9, and does not finish the restoring, who can help me?

    trying to unblock my iphone 4s, because i moved to another country and need to use another carrier.  followed all the steps to restore but at the end i received an error no. 9 and can not finish the restoring.  i asked my older carrier for the unblock permission, it should not be a problem. can someone help me?

    Read here:
    http://support.apple.com/kb/TS3694#error9

Maybe you are looking for