This was bugging me a lot. Thank you.

On Thu, Mar 17, 2011 at 4:23 PM, Patrick van Kleef <[email protected]>wrote:

> HI Abhi,
>
>
>  In my project, when I persist an entity I create a new graph for each
>> entity persisted. Will the performance degrade due to the huge no of graphs
>> crated?
>>
>
> This depends how queries are written and what is the distribution of the
> data is.
>
> Principally performance would not degrade with large numbers of graphs,
> however the database size would be a bit larger due to the number of
> duplicate triples in many distinct graphs. As long as you have adequate
> memory in your system, this should not matter.
>
> Without knowing more about your data, the biggest problem might come from
> performing queries without a graph, as this would return duplicates if
> triple patterns are contained in different graphs. Intuitively this might
> trigger you to use a DISTINCT clause, but on a large result set this will
> have an impact on performance.
>
> Best regards,
>
> Patrick
> ---
> OpenLink Software
>



-- 
Cheers,
Abhi

Reply via email to