....and tweak the memory allocation settings for the jvm and neo... 
 

-----Original Message-----
From: Peter Neubauer <peter.neuba...@neotechnology.com>
Date: Mon, 11 Jan 2010 23:19:07 
To: Neo user discussions<user@lists.neo4j.org>
Subject: Re: [Neo] Neo is very slow (I think I'm being stupid)

Tim,
I think the structure is quite normal, would be good to see the code,
you could send it to me off-list. That way I get an impression on both
the querying code, the dataset size and maybe test-run it.

Cheers,

/peter neubauer

COO and Sales, Neo Technology

GTalk:      neubauer.peter
Skype       peter.neubauer
Phone       +46 704 106975
LinkedIn   http://www.linkedin.com/in/neubauer
Twitter      http://twitter.com/peterneubauer

http://www.neo4j.org                - Relationships count.
http://gremlin.tinkerpop.com    - PageRank in 2 lines of code.
http://www.linkedprocess.org   - Computing at LinkedData scale.



On Mon, Jan 11, 2010 at 10:28 PM, Tim Langley <timlang...@me.com> wrote:
> hi Peter
> Thanks for the rapid response (one of the reasons I really like the Neo crowd)
>
> ok - structure
> Node: Event (for the start of a session)
>                So the first time a user loads a page then creating a new 
> NodeEvent
> Node: EventItem
>                Every time the user generates a new page view then a new 
> NodeEventItem is created
>
> ok - query code:
> I'm trying to ask questions like "How many EventItems are under each Event?" 
> or "How many Events were there between Time X and Time Y?"
>
> I've tried using the Traverser and also iterating through each relationship 
> individually?
>
> (Does this help - or would you like to see the actual code)
>
> T
>
> On 11 Jan 2010, at 21:23, Peter Neubauer wrote:
>
>> Tim,
>> yes, since your loading evidently is working normally, a look at your
>> graph layout and query code would be great to have any opinion on what
>> might be wrong/not optimal.
>>
>> Cheers,
>>
>> /peter neubauer
>>
>> COO and Sales, Neo Technology
>>
>> GTalk:      neubauer.peter
>> Skype       peter.neubauer
>> Phone       +46 704 106975
>> LinkedIn   http://www.linkedin.com/in/neubauer
>> Twitter      http://twitter.com/peterneubauer
>>
>> http://www.neo4j.org                - Relationships count.
>> http://gremlin.tinkerpop.com    - PageRank in 2 lines of code.
>> http://www.linkedprocess.org   - Computing at LinkedData scale.
>>
>>
>>
>> On Mon, Jan 11, 2010 at 10:18 PM, Tim Langley <timlang...@me.com> wrote:
>>> hey :)
>>>
>>> ok - I'm trying to build a "web-analytics" program using Neo4j
>>> in a very similar manner to 
>>> http://wiki.neo4j.org/content/Site_Usage_Analytics
>>> I'm using Scala (and whilst eventually there will be a REST API - at the 
>>> moment everything is within Scala)
>>>
>>> The loading of data is blisteringly fast (really impressed)
>>> However - the querying is horribly slow
>>>
>>> For example: If I want to get the total number of relationships (or Nodes) 
>>> attached to a Node it's painfully slow
>>>
>>> Am I doing something stupid?
>>>
>>> I can post more code / details etc.. if required
>>>
>>> Thanks in advance
>>> T
>>>_______________________________________________
>>> Neo mailing list
>>> User@lists.neo4j.org
>>> https://lists.neo4j.org/mailman/listinfo/user
>>>
>>_______________________________________________
>> Neo mailing list
>> User@lists.neo4j.org
>> https://lists.neo4j.org/mailman/listinfo/user
>
> Tel:            +44 7989 539363
> Email:  ...@timlangley.me.uk
> Web:    http://www.linkedin.com/in/langleytim
> Skype:  LangleyTim
> Twitter:       �...@timlangley
>
>_______________________________________________
> Neo mailing list
> User@lists.neo4j.org
> https://lists.neo4j.org/mailman/listinfo/user
>
_______________________________________________
Neo mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user
_______________________________________________
Neo mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user

Reply via email to