[Neo4j] Read-only transactions?

David Montag david.montag at neotechnology.com
Mon Aug 2 14:48:16 CEST 2010


Hi Tim,

It is not possible to mark a transaction as read-only. As Martin said, you
don't need a transaction to perform read operations. If you have a
transaction but don't do any writes, then it won't commit anything. So as
long as you don't do any writes, you shouldn't experience any delays when
finishing the transaction.

David

On Wed, Jul 28, 2010 at 8:38 PM, Martin Neumann <m.neumann.1980 at gmail.com>wrote:

> If you use the latest development version of Neo4j you can do read
> operations without a transaction. Especially for huge number of reads this
> speeds things up allot.
>
> cheers
> Martin
>
> On Wed, Jul 28, 2010 at 4:53 PM, Tim Jones <bogologo at ymail.com> wrote:
>
> > Hi,
> >
> > Is it possible to mark a transaction as being read-only? It's taking a
> > while for
> > my transaction to shut down, even though there are no writes to commit.
> >
> > Thanks,
> > Tim
> >
> >
> >
> >
> >
> > _______________________________________________
> > Neo4j mailing list
> > User at lists.neo4j.org
> > https://lists.neo4j.org/mailman/listinfo/user
> >
> _______________________________________________
> Neo4j mailing list
> User at lists.neo4j.org
> https://lists.neo4j.org/mailman/listinfo/user
>


More information about the User mailing list