Oracle 11.2 g through jena, take time to load ontology (file .owl)

I created an ontology using the api of OWL and I load this OWL file to oracle 11.2 g as a triple store. I use JENA to load the file. But for the 1.5 GB file takes 1 hour. Is there any other to load the file faster to oracle. In oracle that my ontology is like triple store.

Any suggestion would be appreciated. Thanks in advance.

Mandeep

Mandeep salvation,

Jorge Barba and I did a quick check against 11.2.0.1 Here are a few test scripts and example code snippets that might help you.

First of all, the list of pots:

ARQ - 2.8.5.jar

icu4j - 3.4.4.jar

IRI - 0.8.jar

Jena - 2.6.3.jar

thrown - 6.1.10.jar

Pier-util - 6.1.10.jar

Joseki - 3.4.2.jar

JUnit - 4.5.jar

log4j - 1.2.14.jar

Lucene-core - 2.3.1.jar

ojdbc6.jar

SDB - 1.3.2.jar

sdordfclient.jar

sdordf.jar

SLF4J-api - 1.5.8.jar

SLF4J-simple - 1.5.8.jar

Stax-api - 1.0.1.jar

TDB - 0.8.7.jar

wstx asl - 3.2.9.jar

xercesImpl - 2.7.1.jar

' public void testPrepareBulk (String jdbcUrl, String user,

String password, String modelName,

String filename,

String lang,

Tbs, the string

PrintStream psOut)

throws SQLException, IOException

{

Oracle Oracle = new Oracle (jdbcUrl, user, password);

Chart GraphOracleSem = new GraphOracleSem (oracle, modelName);

try {}

oracle.executeSQL ("truncate table RDFB_"+ modelName);

oracle.executeSQL ("truncate table RDFC_"+ modelName);

}

{} catch (Throwable t)

long lStartTime = System.currentTimeMillis ();

graph.getBulkUpdateHandler (.prepareBulk)

new FileInputStreamfileName(),

"http://base.com/,"

lang,

SCT,

SCT,

NULL, / / flags

NULL / / listener

);

psOut.println ("testPrepareBulk time (ms) =" + (System.currentTimeMillis () - lStartTime) "");

Graph.Close ();

Oracle.Dispose ();

}

' public void testCompleteBulk (String jdbcUrl, String user,

String password, String modelName,

Flags of the chain,

String tabname,

PrintStream psOut)

throws SQLException, IOException

{

Oracle Oracle = new Oracle (jdbcUrl, user, password);

Chart GraphOracleSem = new GraphOracleSem (oracle, modelName);

long lStartTime = System.currentTimeMillis ();

try {}

graph.dropApplicationTableIndex ();

}

catch (Exception e) {}

finish in bulk and rebuild the indexes with dop 4

graph.getBulkUpdateHandler () .completeBulk (flags, tabname);

try {}

graph.rebuildApplicationTableIndex (4);

}

catch (Exception e) {}

psOut.println ("testCompleteBulk time (ms) =" + (System.currentTimeMillis () - lStartTime) "");

Graph.Close ();

Oracle.Dispose ();

}

The following commands have crossed without problem. You will need to customize the URL jdbc, name of user and password and a tablespace.

Java - cp. /'* ' oracle.spatial.rdf.client.jena.Test - testPrepareBulk jdbc:oracle:thin:@127.0.0.1:1521:XXXX scott * mymodel./univ-bench.owl "RDF/XML" "SYSAUX.

Java - cp. /'* ' oracle.spatial.rdf.client.jena.Test - testCompleteBulk jdbc:oracle:thin:@127.0.0.1:1521:XXXX scott * mymodel "PARALLEL_CREATE_INDEX PARALLEL is 4". "

Note that if you upgrade your DB, so there will be more optimizations bulk charger that you can leverage.

Thank you

Zhe Wu

Tags: Database

Similar Questions

  • Pkg of SCORM composed of several FLV files takes time to load in LMS

    Hello world

    I m create scorm packages in captivate. The source, I got to the MP4 format that I convert FLV files. I loaded these FLV files on slides in captivate. In this way, I create the scorm package using parameters of scorm 1.2.

    Problem: I've loaded the scorm LMS package and tested. It takes more time to load the files at the usual time. I can reduce this time somehow? I know video needs a buffering time, but if there is no way to reduce this time - it would be a great help.

    Pls help...

    Thanks and greetings

    Vikas

    Hi Vikas,

    The time it takes is due to the size of the project and the load on bandwidth on your side.

    Basically, you need to reduce the size of your package. So do what encoding your FLV videos to a smaller size using Adobe Media Encoder. And then add to the slide and re - publish the SCORM package.

    Tip: While encoding, maintain the level as basic or low and target bit rate as being less as possible, it would appear you are the expected file size to the below, when you use the custom encoding settings.

    Good luck.

    Anjaneai

  • 2015 CC Photoshop takes too much time to load any file

    Since I've upgraded to 2015 CC Photoshop I have this problem - regardless of the type of file, I try to open or how big it is, Photoshop takes too long to open 10-30 seconds. After that everything goes well. But when I click on 'Open with Photoshop' in my Explorer or the same shape Photoshop directly, when I click on file > open (or ctrl + O) he is lagging. No matter what type of file (.jpg, .tiff, .psd) I try to open or how big it is. When I look in the Windows Task Manager it says "not responding" for a few seconds (5-30) and then open it. When Photoshop is open (without any file inside) there are about 360MB. I've dedicated 12 GB for Photoshop in settings, so I assume that is not the problem of memory... Any idea?

    Hi Aleksandar,

    Sorry for the inconvenience.

    Are the images on external hard drive, if they so please try to open pictures from local hard drive.

    And Yes you can disable the Welcome screen

    Measures

    -> Photoshop open

    -> Let the Welcome screen

    -> Click on Tips & Techniques

    -> Scroll down

    -> There is a checkbox that says don't show welcome screen

    ->, Check this box

    -> The close welcome screen

    -> Close Photoshop

    -> Open Photoshop, welcome screen will not show.

    Note: If you want to see the Welcome screen again you can follow these steps.

    -> PS open

    -> Click on help-> welcome

    I hope that you find it useful.

    Please let us know if the problem still occurs

    Thank you

    Jitendra

  • Computer takes forever to load, the files have no icon

    Hello!

    Since yesterday, I have this problem: when I open computer, the green bar at the top starts to load, there are magnifiers on computer, libraries and Favorites in the left pane and nothing appears in the main pane of Solution Explorer. If I manually navigate to any folder by typing the address, it takes me to this folder, but there is no icons for the files or folders. Although, they open as expected, may be renamed etc., but right click on explore crashes. The desktop icons, menu start and see the control panel correctly.

    No recent program has been installed. Before this problem occurred I accessed a suspicious Web page (from a USB key), but...

    I scanned with Malwarebytes, Spybot, ESET, ran ChkDsk, sfc/scannow.

    They have all found nothing except the sfc found 2 corrupt files that could not be repaired.

    Important the fact is that in Safe Mode, I have the same problem!

    Can someone help me on this?

    Screenshots: https://skydrive.live.com/redir?resid=68DDE8B5E2A73B7A! 1908 & authkey =! AF_v7TKydOGoaWM

    Correction, I had a virus, but it wasn't the problem.

    I reinstalled windows and all programs, one by one and that the problem was back, but now I now why! The problem occurred after installing Acronis True Image 2013, because I have disabled its services to run automatically. It seems that Acronis is not like that... and he wants to force me unnecessary services running, most of the time. After you have enabled services, the problem disappeared. :) Good to know!

  • Page Designer, it takes time to save page almost 15 seconds. !

    Hello..

    My problem is:

    Page Designer, it takes time to save page almost 15 seconds. Or when save creator of the Page after you edit something, I found slow down to save the process, taking more than 15 seconds to save the changes to the page.

    It was not before to install the new OS for my PC, its not normal before.

    Components of the OS:

    OS Linux

    Core i5

    8G of RAM

    Apex 5.0.2

    Java 8

    listener ADR v2.0.9

    Server glassFish 4.1

    I looked inside the Google I find no matter what topic, discuss or resolve the problem around APEX framework of work, but all topics tALC on how to speed up, more performance for server GlassFish.

    Note "APEX_PUBLIC_USER to unlock."

    I want to help me.

    Hi Amr Abdeen,

    AMR Abdeen wrote:

    Chubby Kiran fac586

    Please help me

    First of all I would like to you to use the tools of development of the browser and check under the tab "Console" when the page designer is responsible for checking if there are JS errors after loading page designer. Also check the 'Network' tab to investigate on what goes wrong.

    As the code-behind Page Designer is designed by "Oracle APEX Development Team", it is difficult to know where is the problem, why it behaves like that and what should be the solution. Yes, better you can drop an email from retail [email protected] on the problem you are experiencing OR if you have support contracts with Oracle, then raise this issue on My Oracle Support (MOS).

    Looping in Patrick Wolf-Oracle, John Snyders-Oracle and Christian Neumueller-Oracle to Oracle APEX development team.

    Kind regards

    Kiran

  • Request Login takes time kamel

    Salvation of DBA

    Application R12.1.1
    Database 11.0.7
    Linux 4.0 operating systems ARE 32-bit

    My application connection is very slow, after you open the Login page it takes 30 minutes to connects to the application and when I tried to connect from the terminal to connect to the session of sqlplus user apps is also take time.
    can someone help me solve this problem.

    very urgent.

    Thanks in advance.

    Concerning
    SG

    Hi SG.
    I had the same problem. Connecting to sqlplus, it took more than 10 minutes. O/s was OEL 5.4 (64-bit). and the culprit was /etc/resolv.CONF.

    Please see also this thread is useful
    Extremely slow Oracle (Oracle 11 G on Linux RHEL4) connection
    http://KR.forums.Oracle.com/forums/thread.jspa?threadID=944497

    I think that when we connect to oracle applications, a SQL session is established to check the credentials using APPLSYSPUB/PUB. It could take longer to connect.

    Thank you
    Taher

  • Firefox has become very slow. It takes a lot of time to load any website. I reinstalled FF but the fleeting problem.

    Firefox has become very slow. It takes a lot of time to load any website. I reinstalled FF but the rest of the problem.
    As a test, I downloaded Chrome and it is much faster.
    But I love FF and would be very happy if you can help me solve this problem.

    Hi Reos,

    When you reinstall Firefox it always uses your old profile with all the old things that you had. That said, you're lucky, there is a new feature that lets you "Reset" of Firefox. This will remove some of the pieces that might cause problems while it keeps your bookmarks and other important things safe.

    Check it out and let me know if it works: Refresh Firefox – reset the parameters and modules

  • Pages take a long time to load in versions 6,7 and 8, version 5 works fine.

    Version 5 works fine, when I updated to 6.7, and now 8, pages take a long time to load. It's on 2 different computers, one with Vista, Windows 7 other. If I restart Firefox it helps, but the problem comes back. Does not happen with IE or Opera.

    The default value of the pref Network.http.Max - connections has been increased from 30 up to 256 in versions of Firefox 6 +.

    Try to decrease the value of the pref Network.http.Max - connections 256-30 such as used in versions of Firefox 3.

    One possible cause is security software (firewall) that blocks or limits Firefox or plugin-container process without informing you, possibly after the detection of changes (update) for the Firefox program.

    Delete all rules for Firefox in the list of permissions in the firewall and leave your firewall again ask permission to get full unlimited access to the internet for Firefox and the plugin-container and the update process.

    See:

  • The system preference takes a long time to load

    As the title suggests, end of 2013 (10.11.4) System Preferences on my iMac takes a long time to load, even after a fresh reinstall and/or reboot (tried both). It takes about 20 seconds to one minute each time to open (except when I close it and immediately open it once again, as it is always loaded in memory). This problem existed only after the upgrade to El Capitan, and I saw many other people with iMacs with the same problem. I tried to remove cache for before system preferences files, but that did not help at all. I don't have a FileVault if it makes a difference, even if I did before reinstall, but never turned back (persistent question anyway). Any recommendations would be useful. Thank you!

    Data sheet:

    iMac (end 2013)

    Intel Core i5 at 2.7 GHz

    8 GB 1600 MHz DDR3

    1 TB 5400 RPM HARD DRIVE

    Intel Pro Iris 1536 MB

    I found it is the State of affairs in 10.11 if running a HD spinning.  Don't feel alone.

    I suspect that it is a function of low priority in the memory compressed algorithm.

    Upgrading to an SSD and it will rise to attention.

  • Cannot use the calendar network unavailable or slow app. The application takes more time to load than expected.

    When you use iCloud on my iMac I get the message "network unavailable or slow. The application takes more time to load than expected. "This has been the case for several hours, but other applications I use (Mail, Contacts, Notes, reminders), all seem to work well.  The

    I have the same message when I try to load the reminders in iCloud. All other applications work correctly. This issue has been ongoing for about a month now.

    Have this problem on my work computer running Windows 7 SP1 Pro and Macbook Air late 2009 w / OS X 10.11

  • Without LAN connection after logon applied credentils it takes a lot of time to load items on the desktop

    Original title: startup problem

    during the priming of the laptop without LAN connection after logon credentils applied it takes a long time to load the items on the desktop, but by connecting the laptop with LAN a boot of the computer LAPTOP, all right, please provide a solution for this problem of starting.

    Hello

    I removed IE 8, now it works fine

  • Windows 7 takes a long time to load the desktop after login

    Hello

    I am using windows 7 on my HP 530 laptop. My friend who installed and activated, but I think that it has installed the cracked version. After installation, it was really perfect. but after a while when I connected to the internet, some updates have been installed, and then when I logged in the windows, he invites me that you are using a pirated version or something like that (I don't know more actually). then I restored to my previous state and then everything was fine. After that I stopped the automatic updates, but these days my startup window is having a few problems. After entering the password, its taking a long time to load the office and its keep on the list "loading, please wait...". »

    I'm so sick of that, also, I have to restart my laptop by pressing the power button, and after the reboot, it works fine. But I need someone to answerwhy its taking a long time to load the desktop...?

    Also, please give me some advice to solve this problem, keep this idea in mind that my computer is virus free and got a good processor and RAM. I installed my windows in the C drive, and in my C drive only almost 2 GB of space is left (or almost). and there is no program running auto in msconfig, other than gtalk, Skype, etc.

    I'll be really grateful if someone please give me the solution.

    HP would have provided your preinstalled laptop with win, they would also have provided a way to recover your laptop to the specifications of the factory, either through discs of recovery or a hidden restore partition that you need to access in order to make recovery disks. How do you access a recovery partition is an option of HP, is not dealing with a MS - visit the HP website, specific to your model for more details on how.

    If an illegal win7 version has been installed, or you have to buy version of win7 you need, or you need to recover your laptop provided that the factory provided, by doing so, you lose everything on the phone, if you have lost or that you can not do the restore cd and then telephone HP support they would usually provide records for a small fee.

  • Oracle NoSQL YCSB - continuous increase in execution time

    Greetings,

    I'm testing with YCSB nosql databases. I'm new to this type of databases, but I already tried few of them. I use the VM with 2 GB of RAM and hosted on Win 7. Although it is not recommended, because I work in the environment of capacity now, I use KVlite. But my problem is confusing and I can not find the reason. So, I have successfully loaded data and tested NoSQL Oracle using different workloads. However, each time, I get the higher execution time. For example, if 1 performance I get 20 seconds, if I stopped database and next day run even workload once again, I get 35 second run time and so on.

    Do you have an idea of what may be the cause of that? As I said, I did research on some nosql databases, but I've never had that strange results.

    Kind regards.

    I can't say with certainty why you see the results you have described, probably is just that with every race on the same data store, more data is getting integrated into the KVlite.

    It is not a good idea to use KVlite for a test YCSB.

    KVlite links to your application instance and does not provide the kind of partitioning of a key space that is normally essential to YCSB workload.

    The idea of YCSB is to provide a random workload on a large number of keys and then to make things as expand data store while the operations are happening and see the impact.

    These kinds of operations on random data access workloads cannot be expected to scale on a single data store instance that distributes keys.

    I suggest that you use an appropriate version of kvstore to run these tests.

    Hope this helps,

    -Robert

  • Still burned DVD takes a long time to load into the reader

    I created a DVD in Encore CS3.  The final DVD is approximately 60 minutes and has 4 menus created in Photoshop CS3.  I purchased the Dolby converted in first and used this file as PCM format indicated by a friend vs.   The DVD works fine but takes a long time to load in one of my DVD players.

    A Sony player, it takes between 40 minutes and up to 70 seconds to load and play the first menu.  Each time is different.

    (This same drive load purchased in-store Hollywood style DVD in about 15 seconds on average)

    In another Sony player my DVD on average about 25 seconds

    A Panasonic player, it takes about 15 seconds

    In a portable player from JVC, it takes about 8 seconds.

    That is what it is?  This DVD is created for replication in a large number, but I'm afraid the long loading time is a problem and you want to solve this problem before sending it to the wide for replication.

    Help, please

    Thank you

    EDM

    EDM,

    One consideration is that there is no DVD drive certified to play any burned DVD, only those press/replicated. Most do and do as well, with provisions, but some don't.

    Now for these provisions. High quality blank media will get a closer all the success, just like using a slower speed of the burn, as the max. These two considerations will get a close, as it is possible.

    What brand of blank media are you using? Verbatim and Taiyo Yuden are about as good as it gets.

    How fast you burn to? I would look into a speed in the middle of the range permitted by the combo of speed by the media and the burning speed. Slower is better than more fast.

    As Stanley, there may be differences with r and + R media and players. There has been much more a problem, but some players still might prefer a vs the other.

    Finally, when you say "replicated", do you mean that you send in a DLT to make a House of replication a glassmaster, where the DVD is going to be in a hurry? If Yes, these replicated discs will be like the Hollywood DVD and will be NOT burnt, as was your test drive. The question will be moot with these, as they will be DVD-videos, where your burned DVD is really a DVD - ROM.

    Good luck

    Hunt

  • .Gif animation takes time to start playing in the web

    Hello! I'm new here...


    The title says it pretty well...

    I made some GIFs for web animations. I use 'save for web and devices' and get a nice compact file, but once it is uploaded to a server and I opened the .gif in my browser (google chrome), it takes time to start changing the first image for others, even if the delay is only 3 seconds. I use PS CS4 Extended.

    Is this behaviour normal .gif and the question can be dependent on my system (HP compaq nx7010) or is there a button unflipped somewhere in Photoshop?

    Fsr2000 wrote:

    a nice compact file

    How many kilobytes make up your definition of a nice compact file?

    Playback speed can be affected by the bandwidth connection, the particular browser used and the speed of the system.

Maybe you are looking for