Batch insertion is also a java API, but you don't need to use it... just use the normal GraphDatabaseService. It will take longer time, but 1M nodes isn't all that huge IMHO.
2011/8/9 Reza Ameri <rz.am...@gmail.com> > Hi, > Thank you for your answers, I can not generate it with the java API since, > I > want a big graph (more than 1 million nodes and rel.), So I have to search > about Batch-Inserter-API and understand it or do something like what Marko > said. > I thought there is a generated graph for stress tests! Any way, your > answers > really helped. > Thank you a lot. > > > > > On Mon, Aug 8, 2011 at 8:29 PM, Marko Rodriguez <okramma...@gmail.com > >wrote: > > > Hi, > > > > First, I analyze the statistics of my real-world graph data set. For > > example, determine the degree distribution -- if you want to get fancy, > the > > degree distribution for each edge type/label. Then I plot that on a > > log/log-scale. Get the slope of that plot which gives me the alpha > exponent. > > From there, I use iGraph, NetworkX, etc. to generate an artificial graph > (at > > whatever size I want) that respects that scaling exponent (that alpha). > > > > Another method, that is easier is simply to do a rich-get-richer, > > preferential attachment algorithm which will give you a natural looking > > graph at any arbitrary size. The algorithm for that is fairly > simple---max > > 50 lines of code. > > > > HTH, > > Marko. > > > > http://markorodriguez.com > > > > On Aug 8, 2011, at 9:53 AM, Michael Hunger wrote: > > > > > Normally you just write a generator that creates nodes, relationships > and > > properties that would > > > resemble YOUR domain model. > > > > > > You can create a graph using that generator either with the normal java > > API or if it is really large (100M+ nodes and rels) then use the > > Batch-Inserter-API for that. > > > > > > Then you implement your use-cases on top of your domain model and test > > and verify them on a small graph and performance test them on the large, > > generated graph. > > > > > > Cheers > > > > > > Michael > > > > > > Am 08.08.2011 um 17:49 schrieb Reza Ameri: > > > > > >> Hi, > > >> How can I test my application that uses Neo4j? > > >> I can not find a huge sample graph to test my app with it. Is there > any > > one > > >> that can help me??? > > >> Thank you all > > >> _______________________________________________ > > >> Neo4j mailing list > > >> User@lists.neo4j.org > > >> https://lists.neo4j.org/mailman/listinfo/user > > > > > > _______________________________________________ > > > Neo4j mailing list > > > User@lists.neo4j.org > > > https://lists.neo4j.org/mailman/listinfo/user > > > > _______________________________________________ > > Neo4j mailing list > > User@lists.neo4j.org > > https://lists.neo4j.org/mailman/listinfo/user > > > _______________________________________________ > Neo4j mailing list > User@lists.neo4j.org > https://lists.neo4j.org/mailman/listinfo/user > -- Mattias Persson, [matt...@neotechnology.com] Hacker, Neo Technology www.neotechnology.com _______________________________________________ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user