Hello Rajeev, It is quite probable that this change in pattern results in global change in join order of the execution plan of the query. For accurate diagnostics I need to know the full text of the query and some statistics about the data set -- total number of quads, number of distinct graphs, distinct objects. If graph is not constant in the query I also need to know whether additional indexes are created.
Best Regards, Ivan Mikhailov, OpenLink Software. On Sat, 2008-02-02 at 02:46 +0530, Rajeev J Sebastian wrote: > Hi Ivan and friends, > > I have a query, which takes an unusual amount of time - as far as I > can tell, it never completes! > > When I remove a triple from the where pattern i.e., > > ?s ?p <some iri> . > > > and replace it with > > ?s ?p ?d . > > It executes immediately and returns a response. > > How can I make this faster ? > > Regards > Rajeev J Sebastian