Re: [Neo4j] Neo4j Web interface issue

49 views
Skip to first unread message

Mattias Persson

unread,
Nov 20, 2012, 2:43:09 AM11/20/12
to Neo4j Development
Are you thinking about the counts displayed at the start page in webadmin? Those are estimates and can easily be out of sync if you don't shut down the database cleanly each time.


2012/11/19 Neil D'souza <hackm...@gmail.com>
Hi Guys,

Been playing around with Neo4j 1.8 stable on Linux 32-bit.
Have a small issue with Neo4j and the Web Interface.

ISSUE:
I have deleted all nodes accept Node0 from the database using Neography (Ruby lib) but when I check the web interface it still shows me that some nodes / properties persist.
I have done a query using Cypher ie. "START n=Node(*) RETURN n" and this correctly only returns Node0.
Any ideas why the Web interface Node count doesn't tally with with my Cypher Query above.

Any thoughts would be much appreciated.

See ya,

Neil.

--
 
 



--
Mattias Persson, [mat...@neotechnology.com]
Hacker, Neo Technology
www.neotechnology.com

Neil D'souza

unread,
Nov 21, 2012, 7:04:22 AM11/21/12
to ne...@googlegroups.com
Hi Mattias,

Yups .. was referring to the counts displayed on the start page.
I usually start neo4j by doing "./bin/neo4j console"
and kill it by doing Ctrl+C

Shall stop doing that and issue the start and stop commands from now on.

Thnx much for this.

Neil.

Neil D'souza

unread,
Nov 21, 2012, 1:06:52 PM11/21/12
to ne...@googlegroups.com
Hi Mattias,

This time I started and stopped the neo4j server by doing './bin/neo4j start' & './bin/neo4j stop'

However, the original issue persists with the web interface :(

Is is safe to ignore this about the web interface?

Neil.

Mattias Persson

unread,
Nov 22, 2012, 5:08:23 AM11/22/12
to Neo4j Development
The counters doesn't "heal" themselves, unless supplying

fast_rebuild_idgenerators=false

after a non-clean shutdown. So if tou really want the counters to be correct, try that.


2012/11/21 Neil D'souza <hackm...@gmail.com>

Mattias Persson

unread,
Nov 22, 2012, 5:09:02 AM11/22/12
to Neo4j Development
Sorry:

rebuild_idgenerators_fast=false


2012/11/22 Mattias Persson <mat...@neotechnology.com>

Philip Rathle

unread,
Nov 25, 2012, 5:25:51 AM11/25/12
to ne...@googlegroups.com
Neil: yes, ignore those counters. What they're actually showing you is the high-water mark for the node and relationship IDs, which isn't exactly the same as a count... particularly when you delete things. We're looking to re-work this. In the meantime, best to ignore it, or treat it as an estimate.

Neil D'souza

unread,
Nov 28, 2012, 2:01:43 PM11/28/12
to ne...@googlegroups.com
Hi Mattias .. shall do as Philip suggest below .. but just wanted to thank you for the help with this.

Neil D'souza

unread,
Nov 28, 2012, 2:02:33 PM11/28/12
to ne...@googlegroups.com
Hi Philip .. thank you very much for your help with this.

Kind Rgds,

Neil.
Reply all
Reply to author
Forward
0 new messages