[Virtuoso-users] Query performance with R2RML remote RDBMS SQL Server

2016-10-14 Thread CHARBEL EL KAED
Hello,

I would like to have your opinion on the following:

I installed Virtuoso Enterprise on a Windows VM with:
8 cores
28 GB RAM
56 GB SSD

I attached virtuoso configuration file.

On virtuoso I have a local RDF Table with 8221 triples and a remote MS SQL 
Azure with 50 million records. A record is simply an id, param1 and param2, 
with (id and param1) as a composite primary key.
I have the following query:

Select ?id ?param1 ?param2 {
   Select ?id ?param1 ?param2 FROM 
>
 Where {
[]  ?id;
> ? param1;
 > ? param2.
filter (?param1 < 5)
{
SELECT DISTINCT (strafter(str(?id1), "#") AS ?trimId) from 
>
WHERE
{
?server qt:hasId ?id1. //returns 42 ids
}
}
filter( ?trimId = ?id)
}
 };

The query is expected to return 1 million record result.
I initiated the query yesterday through iSQL, it is still running since, more 
than 12 hours. On the Windows VM, the task manager shows that Virtuoso consumes 
10 GB of RAM and less then 5% of CPU.
On the MS SQL monitoring tool, you can notice the load is constant using only 
10% of the CPU and 10% of the DTU.

Any recommendations to improve the performance?

Thank you

This message was scanned by Exchange Online Protection Services.



virtuoso.ini
Description: virtuoso.ini
--
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot___
Virtuoso-users mailing list
Virtuoso-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/virtuoso-users


Re: [Virtuoso-users] How to get full running SPARQL queries; status() trunc them

2016-10-14 Thread Frederick Giasson
Hi Hugh,

> You can enable Virtuoso query logging as detailed at:
>
>   http://docs.openlinksw.com/virtuoso/ptune/
>
> in the "Query Logging” section where many metrics on queries,  profile, 
> compilation, execution time etc information can be veiwed and analysed ...


Wonderful thanks! This is exactly what I was looking for.

Take care,

Fred

--
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
___
Virtuoso-users mailing list
Virtuoso-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/virtuoso-users