Do a PROFILE before each in neo4j-shell.  It should provide some incite
into what neo4j was doing under the hood.  However those should be the
same.  However that isn't comparing START vs WHERE.


On Thu, Jun 5, 2014 at 5:49 PM, Michael Azerhad <[email protected]>
wrote:

> Using Neo4J >=  2.0.0.
>
> Can I assert that the following ways of doing are similar in performance:
>
> MATCH (c: Car)
> WHERE c.id = "345"         // id being indexed with CREATE INDEX ON
> :Car(id)
> RETURN c
>
>
> MATCH (c: Car {id: "345"})
> RETURN c
>
>
> Let's imagine 1000000 Car nodes in the graph.
>
> Thanks a lot,
>
> Michael
>
> --
> You received this message because you are subscribed to the Google Groups
> "Neo4j" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Alexander Frieden

-- 
You received this message because you are subscribed to the Google Groups 
"Neo4j" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to