1 Reply Latest reply on Aug 5, 2011 5:15 PM by alwu-Oracle

    BEST_EFFORT_QUERY Timeout - inconsistent behavior

    880359
      I'm seeing inconsistent results with the Best Effort Query/Timeout combination using the Jena Adaptor. Sometimes it appears that the timeout is working exactly as expected, after X amount of time (5 seconds in our case), the query returns with a subset of the specified data. Other times, it seems that the query ignores the fact that a timeout has been specified and it churns much longer than I would expect. Is there some reason for this that I'm missing?

      Jena v 2.6.2
      11g r2.0.2

      I provided these numbers for a different thread (Binding string values in SPARQL but they apply here as well. The query starts like so:

      PREFIX ORACLE_SEM_FS_NS:<http://oracle.com/semtech#timeout=5,BEST_EFFORT_QUERY=t,DEGREE=8>

      DEBUG[2011-08-05 09:05:49,498] - [service:debugQuery:202] - ( 0 processed in 0:00:32.578)
      DEBUG[2011-08-05 09:08:30,872] - [service:debugQuery:202] - ( 532 processed in 0:00:04.265)
      DEBUG[2011-08-05 09:09:23,262] - [service:debugQuery:202] - ( 532 processed in 0:00:01.250)

      Second Test: Search for "Juvenile"
      DEBUG[2011-08-05 09:16:22,588] - [service:debugQuery:202] - ( 0 processed in 0:00:06.078)
      DEBUG[2011-08-05 09:18:01,072] - [service:debugQuery:202] - ( 1 processed in 0:00:52.172)
      DEBUG[2011-08-05 09:19:21,602] - [service:debugQuery:202] - ( 1001 processed in 0:00:57.999)
      DEBUG[2011-08-05 09:20:03,477] - [service:debugQuery:202] - ( 1001 processed in 0:00:07.031)

      Any suggestions you can offer would be very helpful.

      Regards,
      J.P.

      Edited by: 877356 on Aug 5, 2011 8:00 AM