Re: [Neo4j] Atomicity of RecordStorageEngine in Neo4j

2018-11-28 Thread 'Chris Vest' via Neo4j
on, > i expect the method 'getProperties' return both the old values or both the > new values. > Is that expectation right ? > > > 在 2018年11月26日星期一 UTC+8下午6:33:04,Chris Vest写道: >> >> Neo4j is Read Committed, which gives us a lot of freedoms that we can >>

Re: [Neo4j] Atomicity of RecordStorageEngine in Neo4j

2018-11-26 Thread 'Chris Vest' via Neo4j
Neo4j is Read Committed, which gives us a lot of freedoms that we can exploit to optimise performance. Being Read Committed means that transactions can observe newly committed data at any time. The most common way to think of this, is to imagine the read operations spread out on a time line, with a

Re: [Neo4j] Neo4j: count the size of array

2018-05-07 Thread 'Chris Vest' via Neo4j
If you want this to be a fast thing to query for, you can put the array length in a separate property on the nodes, and then create an index for it. Then change your queries to be for `v.length = 1`, etc. -- Chris Vest System Engineer, Neo Technology > On 7 May 2018, at 11.10, 'Michae

Re: [Neo4j] Neo4j Data Migration from 2.x to 3

2018-04-03 Thread 'Chris Vest' via Neo4j
Existing indexes are kept in Lucene on upgrade. If you want to switch to the native schema index implementation, you opt-in on a per index basis by dropping and recreating the relevant schema indexes. -- Chris Vest System Engineer, Neo Technology > On 3 Apr 2018, at 14.35, 'Michae

Re: [Neo4j] Information about storage architecture

2017-10-19 Thread 'Chris Vest' via Neo4j
It is outdated. We now do demand-paging based on the CLOCK replacement policy. The native memory we allocate is reused in this way, thus avoiding any GC pressure from mapped or direct byte buffers. -- Chris Vest System Engineer, Neo Technology > On 12 Oct 2017, at 22.37, tom.reyn...@gmail.

Re: [Neo4j] neo4j cypher optimizer cannot make feasible estimation for predicates like id(n) in [0, 1, 2]

2017-05-22 Thread 'Chris Vest' via Neo4j
the cardinality is given syntactically, rather than via a parameter. Thus you get a different plan. -- Chris Vest System Engineer, Neo Technology > On 21 May 2017, at 21.34, Sun Yuhan wrote: > > I have tried to profile a query like " profile match (n) where id(n) in [0, >

Re: [Neo4j] What is "java.lang.NoSuchMethodError: org.neo4j.kernel.impl.util.ArrayMap.(BZZ)V" when I call newEmbeddedDatabase ?

2017-05-14 Thread 'Chris Vest' via Neo4j
Make sure all your Neo4j dependencies are using the same version. -- Chris Vest System Engineer, Neo Technology > On 14 May 2017, at 21.02, Bill Nicholson > wrote: > > import java.io.File; > > > import org.neo4j.graphdb.GraphData

Re: [Neo4j] Get number of hit pages in java api

2017-05-04 Thread 'Chris Vest' via Neo4j
There is currently no way to do this with the available public APIs. -- Chris Vest System Engineer, Neo Technology > On 3 May 2017, at 20.34, Sun Yuhan wrote: > > I am using neo4j java api. I want to record the number of accessed pages for > a specific transaction. How can I d

Re: [Neo4j] Why Neo4j PageSwapper creates multiple channels for a mapped file

2017-04-13 Thread 'Chris Vest' via Neo4j
To stripe file channel/descriptor specific locks in the JDK, JVM and OS, allowing more concurrent IO. -- Chris Vest System Engineer, Neo Technology > On 4 Apr 2017, at 01.10, kan wu wrote: > > The problem is why each swapper create an array of channels(64 as I observed) > conn

Re: [Neo4j] does neo4j use the iterative query execution model as in the relational database?

2017-02-24 Thread 'Chris Vest' via Neo4j
Neo4j uses the newer Iterative Dynamic Programming (IDP) query optimisation algorithm. -- Chris Vest System Engineer, Neo Technology > On 24 Feb 2017, at 00.26, Sun Yuhan wrote: > > I know that the iterative (volcano) model is used to execute the query. Is > this model u

Re: [Neo4j] Reset, clearing database

2017-02-15 Thread 'Chris Vest' via Neo4j
You need to do an orderly restart of the database before ids are reused, or be on version 3.1 or newer. -- Chris Vest System Engineer, Neo Technology > On 15 Feb 2017, at 14.01, Andy wrote: > > How do reset from browser: http://127.0.0.1:7474/browser/ > or from code ? > &quo

Re: [Neo4j] Neo4j isn't parallel for deep/any queries ?

2017-02-15 Thread 'Chris Vest' via Neo4j
It's a limitation of the current Cypher runtime, and to some degree the current Neo4j database kernel. Parallelising query execution is a recent area of research, and not many industrial databases can do it yet. I'm sure it will show up in Neo4j as well some day. -- Chris Vest Syste

Re: [Neo4j] Has the neo4j yum repo been broken in recent days?

2017-02-15 Thread 'Chris Vest' via Neo4j
Maybe you are running into this? https://github.com/neo4j/neo4j/issues/8810 -- Chris Vest System Engineer, Neo Technology > On 14 Feb 2017, at 22.59, Miki Shapiro wrote: > > I've had docker container building off this 2 weeks ago, now the repo shows > up empty (and my neo

Re: [Neo4j] Looking for hosted Neo4j solutions within India

2017-02-08 Thread 'Chris Vest' via Neo4j
Perhaps GraphGrid? https://www.graphgrid.com -- Chris Vest System Engineer, Neo Technology > On 8 Feb 2017, at 11.58, Chidambaran Subramanian wrote: > > Graphene does not offer its services within India. Does anybody offer a > hosted Neo4j solution off an Indian Data center? >

Re: [Neo4j] where does neo4j cacher data

2017-02-06 Thread 'Chris Vest' via Neo4j
default configuration. There is no point in turning these cache off, unless you are doing component-level benchmarking of Neo4j internals, which most people aren't. -- Chris Vest System Engineer, Neo Technology > On 27 Jan 2017, at 19.53, ben imane wrote: > > hi guys , i have

Re: [Neo4j] MySQL faster than Neo4j for recursive queries

2017-02-06 Thread 'Chris Vest' via Neo4j
ompiled by the JVM. If you reduce the degree, say to 10 for instance, you might see Neo4j perform better than MySQL; especially if you also increase the search depth. -- Chris Vest System Engineer, Neo Technology > On 30 Jan 2017, at 19.02, Artur Rudalski wrote: > > Hi all! >

Re: [Neo4j] Precipitous drop in total store size...

2017-02-06 Thread 'Chris Vest' via Neo4j
e the space consumed by records that have been deleted. -- Chris Vest System Engineer, Neo Technology > On 31 Jan 2017, at 19.11, ken.a...@mzeal.com wrote: > > Running Neo4j Community 2.3.3 on Ubuntu 14.04, I recently saw a drastic drop > in the total store size as reported in th

Re: [Neo4j] Is Neo4j Suitable for Large Scale-free Network?

2017-01-30 Thread 'Chris Vest' via Neo4j
it. I don't know how well it works in practice; it probably depends on the query and the structure of the data, as it usually does. -- Chris Vest System Engineer, Neo Technology > On 30 Jan 2017, at 10.33, todd.f@gmail.com wrote: > > Hi, > > I know Neo4j works well on

Re: [Neo4j] neo4j-shell: run an OS command

2016-12-13 Thread 'Chris Vest' via Neo4j
reason, I'd prefer not to have a feature like this in the product. Instead use Michaels suggestion and script on the outside of neo4j-shell. -- Chris Vest System Engineer, Neo Technology > On 11 Dec 2016, at 17.10, mikey.re...@gmail.com wrote: > > Let's say I'm navigati

Re: [Neo4j] blockchain using graph database

2016-12-06 Thread 'Chris Vest' via Neo4j
Greg Walker is using Neo4j for his learnmeabitcoin.com <http://learnmeabitcoin.com/> -- Chris Vest System Engineer, Neo Technology > On 1 Dec 2016, at 08.06, ANAND BALAGOPAL wrote: > > Hi, Please let me know If you find any interesting links or Datas on the > same...I am

Re: [Neo4j] custom stored procedures

2016-07-21 Thread &#x27;Chris Vest' via Neo4j
No, that’s not possible. Periodic commit adds non-trivial complications to query planning, so we just don’t allow procedures to do it. -- Chris Vest System Engineer, Neo Technology [ skype: mr.chrisvest, twitter: chvest ] > On 20 Jul 2016, at 16:52, Clark Richey wrote: > > Hi! Whe

Re: [Neo4j] BatchInserter-Intermediate cache to hold reference for domainID-Neoid

2016-07-12 Thread &#x27;Chris Vest' via Neo4j
No, import-tool is a different thing. -- Chris Vest System Engineer, Neo Technology [ skype: mr.chrisvest, twitter: chvest ] > On 12 Jul 2016, at 02:36, Ganesh Selvaraj wrote: > > quick question: > is this project https://github.com/jexp/batch-import same as the neo4j > im

Re: [Neo4j] Neo4j Community Memory Usage

2016-06-27 Thread &#x27;Chris Vest' via Neo4j
Configure dbms.memory.heap.max_size and dbms.memory.pagecache.size as described here: http://neo4j.com/docs/operations-manual/current/#memory-tuning <http://neo4j.com/docs/operations-manual/current/#memory-tuning> -- Chris Vest System Engineer, Neo Technology [ skype: mr.chrisvest, t

Re: [Neo4j] performance when deleting large numbers of nodes

2016-06-20 Thread &#x27;Chris Vest' via Neo4j
locks, or worse, run into deadlocks and roll back. -- Chris Vest System Engineer, Neo Technology [ skype: mr.chrisvest, twitter: chvest ] > On 19 Jun 2016, at 01:20, 'Michael Hunger' via Neo4j > wrote: > > Shouldn't be slow. Faster disk. Concurrent batches would he

Re: [Neo4j] Simple Test Startup Fails

2016-06-13 Thread &#x27;Chris Vest' via Neo4j
We have a test dependency on jimfs, which has a dependency on guava. And Maven doesn’t resolve transitive test dependencies for some reason. So I guess this is an omission in the documentation. -- Chris Vest System Engineer, Neo Technology [ skype: mr.chrisvest, twitter: chvest ] > On 09

Re: [Neo4j] neo4j using up 8 cores at %100

2016-06-08 Thread &#x27;Chris Vest' via Neo4j
Looks like it’s running queries. It wouldn’t “just start” doing that without being asked to. -- Chris Vest System Engineer, Neo Technology [ skype: mr.chrisvest, twitter: chvest ] > On 07 Jun 2016, at 21:33, Eric Fulton wrote: > > I'm running neo4j-2.3.3 and the other night i

Re: [Neo4j] Error quitting neo4j-shell and shutting down and embedded .db instance after deleting transaction logs

2016-05-31 Thread &#x27;Chris Vest' via Neo4j
/#config_dbms.tx_log.rotation.retention_policy <http://neo4j.com/docs/operations-manual/current/#config_dbms.tx_log.rotation.retention_policy> -- Chris Vest System Engineer, Neo Technology [ skype: mr.chrisvest, twitter: chvest ] > On 01 Jun 2016, at 02:57, John Fry wrote: > > Hi All, > > I ran out of disk s

Re: [Neo4j] 3.0.0 on Ubuntu passing my tests. YAY!

2016-04-27 Thread &#x27;Chris Vest' via Neo4j
.x series. -- Chris Vest System Engineer, Neo Technology [ skype: mr.chrisvest, twitter: chvest ] > On 27 Apr 2016, at 15:58, Alan Robertson wrote: > > This morning, my OS offered me the opportunity to upgrade my Neo4j to 3.0.0 - > so I upgraded. > > I ran my tests on the As

Re: [Neo4j] Is the Muninn Page Cache related to the Muninn Flash Key-Value Store?

2016-04-19 Thread &#x27;Chris Vest' via Neo4j
considerations. We don’t mention the algorithm in the documentation because it is an implementation detail, and we still change and tune it from time to time. -- Chris Vest System Engineer, Neo Technology [ skype: mr.chrisvest, twitter: chvest ] > On 15 Apr 2016, at 21:53, Telmo Henrique Valve

Re: [Neo4j] Memory Limit

2016-04-04 Thread &#x27;Chris Vest' via Neo4j
It could also be that you are running up against Lucene index size limitations. In that case, 3.0 will help you when it is released. -- Chris Vest System Engineer, Neo Technology [ skype: mr.chrisvest, twitter: chvest ] > On 04 Apr 2016, at 21:15, Chris Vest wrote: > > Lucene doe

Re: [Neo4j] Memory Limit

2016-04-04 Thread &#x27;Chris Vest' via Neo4j
are using Linux, there might be a note in dmesg about high memory usage, or there might not. “Map failed” isn’t a very informative error message either way. -- Chris Vest System Engineer, Neo Technology [ skype: mr.chrisvest, twitter: chvest ] > On 04 Apr 2016, at 18:32, Zhixuan Wang wr

Re: [Neo4j] CSV import to Neo4j

2016-03-30 Thread Chris Vest
You Java version is too old. Neo4j has required Java 7 since 2.0, and will require Java 8 from 3.0. -- Chris Vest System Engineer, Neo Technology [ skype: mr.chrisvest, twitter: chvest ] > On 28 Mar 2016, at 05:36, vishal jain wrote: > > Hi > > I've recently installed t

Re: [Neo4j] Store and its lock file has been locked by another process

2016-03-30 Thread Chris Vest
avoid embedding the database if possible. This is the same no matter what edition you use. -- Chris Vest System Engineer, Neo Technology [ skype: mr.chrisvest, twitter: chvest ] > On 22 Mar 2016, at 16:10, Rodrigo Lima wrote: > > Hi, I'm running a community edition of Neo4j in

Re: [Neo4j] GC Overhead Limit Exceeded - Bounding the cache size

2016-03-27 Thread Chris Vest
a strong reference to your already-shut-down-graphs and thus keep their occupied heap memory alive until your JVM terminates. -- Chris Vest System Engineer, Neo Technology [ skype: mr.chrisvest, twitter: chvest ] > On 27 Mar 2016, at 21:02, Mohammad Hossain Namaki wrote: > > Thanks

Re: [Neo4j] GC Overhead Limit Exceeded - Bounding the cache size

2016-03-27 Thread Chris Vest
. -- Chris Vest System Engineer, Neo Technology [ skype: mr.chrisvest, twitter: chvest ] > On 25 Mar 2016, at 07:25, Mohammad Hossain Namaki wrote: > > Hi all, > I'm using neo4j.2.3.0. > I'm running some experiments (over ~1000 graph queries) on the Neo4j Java > API

Re: [Neo4j] Lost all my current data after last restart

2016-03-02 Thread Chris Vest
Are you storing the database files in the application servers deployment or temporary directories? -- Chris Vest System Engineer, Neo Technology [ skype: mr.chrisvest, twitter: chvest ] > On 02 Mar 2016, at 13:25, Joseph Davis wrote: > > I was am using neo4j 2.3.2(upgraded from

Re: [Neo4j] [Bug] Property can't be updated in Neo4j 3.0.0-M03

2016-02-22 Thread Chris Vest
How did you test this? It might be a result rendering artefact of your client. I’m not seeing any problem like that in 3.0.0-M4. -- Chris Vest System Engineer, Neo Technology [ skype: mr.chrisvest, twitter: chvest ] > On 18 Feb 2016, at 08:33, wenbo zhao wrote: > > Suppose you ha

Re: [Neo4j] Where (in the source code) is the LRU-K algorithm implemented in Neo4j?

2016-01-20 Thread Chris Vest
It’s in the neo4j-io module: https://github.com/neo4j/neo4j/tree/3.0/community/io/src/main/java/org/neo4j/io/pagecache <https://github.com/neo4j/neo4j/tree/3.0/community/io/src/main/java/org/neo4j/io/pagecache> -- Chris Vest System Engineer, Neo Technology [ skype: mr.chrisvest, twitter:

Re: [Neo4j] Neo4j not starting up

2016-01-03 Thread Chris Vest
We had a bug where recovery did not correctly track added and removed ids. This was fixed in 2.2.6. I recommend upgrading to 2.2.8, which was released recently. -- Chris Vest System Engineer, Neo Technology [ skype: mr.chrisvest, twitter: chvest ] > On 29 Dec 2015, at 12:34, Siddha

Re: [Neo4j] Neo4j query error “dont know how to compare”

2016-01-03 Thread Chris Vest
depending on how your data model works. -- Chris Vest System Engineer, Neo Technology [ skype: mr.chrisvest, twitter: chvest ] > On 29 Dec 2015, at 06:19, Hams D wrote: > > > I loaded Neo4j with Pizza.owl file using hermit reasoner and Java. > > when i pass a simple q

Re: [Neo4j] Neo4j DB size limits...

2015-12-14 Thread Chris Vest
It’s described on this page: http://neo4j.com/docs/2.3.1/capabilities-capacity.html <http://neo4j.com/docs/2.3.1/capabilities-capacity.html> -- Chris Vest System Engineer, Neo Technology [ skype: mr.chrisvest, twitter: chvest ] > On 14 Dec 2015, at 08:37, Rachna Agarwal wrote

Re: [Neo4j] NotInTransactionException: The statement has been closed - error on different versions of neo4j

2015-11-25 Thread Chris Vest
query results not consumed can no longer be computed. -- Chris Vest System Engineer, Neo Technology [ skype: mr.chrisvest, twitter: chvest ] > On 24 Nov 2015, at 17:15, Fry wrote: > > Thank you Michael and Chris. > > That works. > > Intuitively it makes sense as I guess

Re: [Neo4j] NotInTransactionException: The statement has been closed - error on different versions of neo4j

2015-11-24 Thread Chris Vest
Try moving the findShortestPathsCypher call inside the try-block that contains the transaction. -- Chris Vest System Engineer, Neo Technology [ skype: mr.chrisvest, twitter: chvest ] > On 24 Nov 2015, at 08:32, Fry wrote: > > > Hi All, > > for the code below it works on

Re: [Neo4j] Server crashing on load due to File System Limitation

2015-10-15 Thread Chris Vest
o send and reply to network messages within certain timeouts. -- Chris Vest System Engineer, Neo Technology [ skype: mr.chrisvest, twitter: chvest ] > On 14 Oct 2015, at 16:34, Avner Shahar-Kashtan wrote: > > We've been having strange crashes in Neo4j at a client site that have

Re: [Neo4j] Clarification on the Meaning of the Word "Database"

2015-08-19 Thread Chris Vest
You’ll have one database with (probably) three graph islands in it, all allocated in the same store, sharing the same id space. Nothing is stopping you from creating relationships between the data sets. Neo4j does not yet support multiple databases, id spaces or name spaces. -- Chris Vest

Re: [Neo4j] Neo4j Lucene index lookup performance when memory-constrained

2015-07-31 Thread Chris Vest
> On 30 Jul 2015, at 22:24, Zongheng Yang wrote: > > Thanks, Chris! Basically, the Neo4j page cache is malloc'd through Unsafe on > native memory, and counts as normal application memory from the OS's > perspective; is this right? That’s right. -- Chris Vest System

Re: [Neo4j] Neo4j Lucene index lookup performance when memory-constrained

2015-07-29 Thread Chris Vest
normally use FileChannel and ByteBuffer. -- Chris Vest System Engineer, Neo Technology [ skype: mr.chrisvest, twitter: chvest ] > On 29 Jul 2015, at 09:56, Zongheng Yang wrote: > > Hmm, I thought Neo4j's page cache uses java.nio.ByteBuffer, which eventually > does mmap

Re: [Neo4j] Neo4j Lucene index lookup performance when memory-constrained

2015-07-29 Thread Chris Vest
. -- Chris Vest System Engineer, Neo Technology [ skype: mr.chrisvest, twitter: chvest ] > On 29 Jul 2015, at 02:33, Zongheng Yang wrote: > > Hi Neo4j devs, > > My application does the following: constantly do some Lucene index lookups, > then loop over the result nod

Re: [Neo4j] What do propertystore.db and propertystore.db.strings store exactly?

2015-07-18 Thread Chris Vest
not like compression, but it does reduce space usage in many cases. The embedded API deals in String objects, so we have to serialise and deserialise to support that. If you set cache_type=none, then the overhead of the String objects should be low as there would be a lot fewer of them. -- C

Re: [Neo4j] What do propertystore.db and propertystore.db.strings store exactly?

2015-07-17 Thread Chris Vest
The propertystore.db file also has metadata about which entities a property belongs to, what the property names are, what type the value of a property has, and where to find the property values in cases where those are stored in other files such as propertystore.db.strings. -- Chris Vest

Re: [Neo4j] NEO4J Carshes often

2015-07-17 Thread Chris Vest
Try adding dbms.pagecache.memory=2g (or a smaller value) to neo4j.properties. -- Chris Vest System Engineer, Neo Technology [ skype: mr.chrisvest, twitter: chvest ] > On 16 Jul 2015, at 16:20, Harshal Patni wrote: > > Hello Michael, > Please find the config and log fi

Re: [Neo4j] neo4j sharding / scaling

2015-07-15 Thread Chris Vest
Yes, it’s configurable with ` org.neo4j.server.webserver.maxthreads`: http://neo4j.com/docs/stable/server-configuration.html <http://neo4j.com/docs/stable/server-configuration.html> In embedded mode, the database has no control over how many transaction processing are accessing it. --

Re: [Neo4j] neo4j sharding / scaling

2015-07-15 Thread Chris Vest
Replies inline -- Chris Vest System Engineer, Neo Technology [ skype: mr.chrisvest, twitter: chvest ] > On 14 Jul 2015, at 23:18, Zongheng Yang wrote: > > Hi All, > > I've been reading up on neo4j's scaling features, and would love to confirm > with some devs abo

Re: [Neo4j] Anyone experience with using Neo4J embedded in Java/Scala app on Pi ?

2015-06-23 Thread Chris Vest
x27;t be too bad. -- Chris Vest System Engineer, Neo Technology [ skype: mr.chrisvest, twitter: chvest ] > On 22 Jun 2015, at 10:47, Joost den Boer wrote: > > Hi, > > I'm working on a IoT app, written in Scala+Java, which will run on a > Raspberry Pi, or something simil

Re: [Neo4j] Data export (Java API) missing nodes with upgraded database

2015-06-22 Thread Chris Vest
The web console shows an approximation for the purpose of rendering those charts. The other tools are precise, so if they all agree on how much data you have, then you’re good. You can also try `match n return count(n)` as a sanity check. -- Chris Vest System Engineer, Neo Technology [ skype

Re: [Neo4j] Neo4j object cache under high load and removal of object cache in 2.3.0

2015-06-15 Thread Chris Vest
s room for more data. If the cache becomes full, adding more data means other data must be removed from the cache. I would try profiling it with Java Mission Control and Flight Recorder, and see if the heightened CPU usage correlates with an uptick in GC work, or something else. -- Chr

Re: [Neo4j] ArangoDB vs. Neo4j -- what's up? article of Jun 04, 2015

2015-06-08 Thread Chris Vest
to push the database as fast as it can go. If you are hitting this bottleneck, then 2.3 might be good news for you, assuming your storage device is fast enough. No storage device is as fast as RAM, though, so allocating more page cache than you strictly need will still be faster. -- Chris Vest

Re: [Neo4j] Java 8 and Neo4j

2015-05-22 Thread Chris Vest
Yeah, I wasn’t entirely correct here. We’ve internally supported Java 8 since 2.2.0, but the official support for Java 8 is in 2.2.2, which was released yesterday: http://neo4j.com/release-notes/neo4j-2-2-2/ <http://neo4j.com/release-notes/neo4j-2-2-2/> -- Chris Vest System Enginee

Re: [Neo4j] Java 8 and Neo4j

2015-05-17 Thread Chris Vest
Neo4j is still built against Java 7, but added official support of Java 8 in 2.2. I recommend the Oracle builds as they go through more testing and are certified. -- Chris Vest System Engineer, Neo Technology [ skype: mr.chrisvest, twitter: chvest ] > On 17 May 2015, at 00:12, Jack Jo

Re: [Neo4j] array size exceeds maximum allowed size

2015-05-12 Thread Chris Vest
The HPC heuristics will be fixed in the next 2.2.x release. -- Chris Vest System Engineer, Neo Technology [ skype: mr.chrisvest, twitter: chvest ] > On 11 May 2015, at 15:47, Clark Richey wrote: > > yes, if I change the cache to soft then I can just set the page cache and > ever

Re: [Neo4j] array size exceeds maximum allowed size

2015-05-10 Thread Chris Vest
“dbms.pagecache.memory” setting is on its own; it is not prefixed with “neo4j.neostore.nodestore.” or anything like that. -- Chris Vest System Engineer, Neo Technology [ skype: mr.chrisvest, twitter: chvest ] > On 07 May 2015, at 17:51, Clark Richey wrote: > > There is no usable stack trace: : Error crea

Re: [Neo4j] logical logs

2015-04-16 Thread Chris Vest
log files. -- Chris Vest System Engineer, Neo Technology [ skype: mr.chrisvest, twitter: chvest ] > On 16 Apr 2015, at 14:48, Clark Richey wrote: > > Hello, > I am running 2.2.1 enterprise. I changed the keep_logical_logs setting of the > DB to false (in development). However,

Re: [Neo4j] Neo4j 2.2, Accessing the JMX Bean via http

2015-04-14 Thread Chris Vest
That still works, but maybe your request isn’t authenticating right? -- Chris Vest System Engineer, Neo Technology [ skype: mr.chrisvest, twitter: chvest ] > On 14 Apr 2015, at 18:42, dav prz wrote: > > In previous versions (1.8, 1.9..) the JMX bean was accesible via: > http://lo

Re: [Neo4j] Logical Log write failed with no space left on device when there is plenty of disk space

2015-04-14 Thread Chris Vest
time you run into the problem. -- Chris Vest System Engineer, Neo Technology [ skype: mr.chrisvest, twitter: chvest ] > On 14 Apr 2015, at 16:00, polyim...@gmail.com wrote: > > Thanks Christian. > The OS is ubuntu 14.04 and file system for the neo4j storage partition is > btrfs.

Re: [Neo4j] UnderlyingStorageException: Unable to load position

2015-04-11 Thread Chris Vest
What operating system and file system are you using? “Input/output error” doesn’t say much. Try asking your OS vendor as well. -- Chris Vest System Engineer, Neo Technology [ skype: mr.chrisvest, twitter: chvest ] > On 11 Apr 2015, at 22:05, Alexander Kuprin wrote: > > Hello! >

Re: [Neo4j] where find neo4j 2.2.0 javadoc

2015-03-31 Thread Chris Vest
The link is hiding under "Other documentation” near the bottom of the http://neo4j.com/docs/ <http://neo4j.com/docs/> page. -- Chris Vest System Engineer, Neo Technology [ skype: mr.chrisvest, twitter: chvest ] > On 31 Mar 2015, at 10:18, Rita wrote: > > Hi all, > w

Re: [Neo4j] Neo4j Create Relationship Fails, GC Monitor: Application threads blocked for an additional

2015-03-20 Thread Chris Vest
difference for GC. -- Chris Vest System Engineer, Neo Technology [ skype: mr.chrisvest, twitter: chvest ] > On 20 Mar 2015, at 08:56, S C Kannan wrote: > > Hi All, > > We are Neo4j for last 2 years and currently we upgrade from 1.8.3 to > 1.9.8.Since we upgraded, we are seeing

Re: [Neo4j] Serializing an entire Neo4J embedded database, then recreating the database from the serialized objects

2015-03-13 Thread Chris Vest
The fastest way might be to just tar up the store files (after a proper shut down), if your goal is to have the database in one transportable binary blob. -- Chris Vest System Engineer, Neo Technology [ skype: mr.chrisvest, twitter: chvest ] > On 13 Mar 2015, at 04:20, Barry wrote: >

Re: [Neo4j] Can neo4j work in low memory conditions?

2015-03-08 Thread Chris Vest
at operations on sets that map easily from their tables, and Neo4j is good at graph traversals. Your use case sounds like something Neo4j should be good at. -- Chris Vest System Engineer, Neo Technology [ skype: mr.chrisvest, twitter: chvest ] > On 02 Mar 2015, at 19:53, Marcin Biegan wr

Re: [Neo4j] About relationship types

2015-03-05 Thread Chris Vest
n your data around this limitation. -- Chris Vest System Engineer, Neo Technology [ skype: mr.chrisvest, twitter: chvest ] > On 05 Mar 2015, at 21:29, Daniele El-Jaick wrote: > > Is there a max number of relationships types that I can create in a base? > I´m trying to create 100.000 r

Re: [Neo4j] NumberOfCommittedTransactions > LastCommittedTxId?

2015-03-03 Thread Chris Vest
Read-only transactions don’t get transaction ids. They don’t need them since they don’t have anything to add to the transaction log. The NumberOfCommittedTransactions is also based on instance-local counters. -- Chris Vest System Engineer, Neo Technology [ skype: mr.chrisvest, twitter: chvest

Re: [Neo4j] Import Data From Oracle to Neo4J

2015-02-10 Thread Chris Vest
we plan on addressing it in the future regardless.) -- Chris Vest System Engineer, Neo Technology [ skype: mr.chrisvest, twitter: chvest ] > On 10 Feb 2015, at 04:39, Jesse Liu wrote: > > Hi, All, > > Thanks for all the helps! > > Now I consider Ziolek's opinion:

Re: [Neo4j] Neo4j analysis

2015-02-04 Thread Chris Vest
Chris > On 04/02/2015, at 18.35, Roman Leventov wrote: > > On 4 February 2015 at 23:02, Chris Vest wrote: >> >> >> If we use official APIs, then there’s the overhead. All the pages would now >> also hold on to buffers and cleaners. If I remember correctly

Re: [Neo4j] Neo4j analysis

2015-02-04 Thread Chris Vest
-- Chris Vest System Engineer, Neo Technology [ skype: mr.chrisvest, twitter: chvest ] > On 04 Feb 2015, at 13:39, Roman Leventov wrote: > > > > On Wednesday, 4 February 2015 06:19:50 UTC+7, Chris Vest wrote: > Hi Roman, > > Nice write up. One thing I noticed i

Re: [Neo4j] Neo4j analysis

2015-02-03 Thread Chris Vest
to be a nice surprise. -- Chris Vest System Engineer, Neo Technology [ skype: mr.chrisvest, twitter: chvest ] > On 03 Feb 2015, at 17:12, Roman Leventov wrote: > > I've done some Neo4j architecture analysis: > http://key-value-stories.blogspot.com/2015/02/neo4j-

Re: [Neo4j] Cypher - find orphans

2015-01-28 Thread Chris Vest
The query will probably run faster if you leave off the `[*]` bit: MATCH (n) WHERE NOT (n)--() RETURN n; -- Chris Vest System Engineer, Neo Technology [ skype: mr.chrisvest, twitter: chvest ] > On 28 Jan 2015, at 11:15, Linus Nikander wrote: > > That was easy enough, thank you. >

Re: [Neo4j] How to commit new changes omn the repository

2015-01-27 Thread Chris Vest
Are these changes for the Neo4j repository? Because I’m not spotting any pull-request that looks like it’d be from you: https://github.com/neo4j/neo4j/pulls <https://github.com/neo4j/neo4j/pulls> If they’re changes for something else, then never mind me. -- Chris Vest System Enginee

Re: [Neo4j] read without transaction

2015-01-21 Thread Chris Vest
transactions are otherwise effectively lock-free in 2.2, when everything is in memory and you don’t have interference from any write transactions. -- Chris Vest System Engineer, Neo Technology [ skype: mr.chrisvest, twitter: chvest ] > On 21 Jan 2015, at 22:37, Clark Richey wrote: > >

Re: [Neo4j] Error in accessing graph.gb of Neo4j using Cypher JDBC

2015-01-20 Thread Chris Vest
urces/tree/gh-pages/language-guides/java/jdbc/> Here’s some more documentation on the driver: https://github.com/neo4j-contrib/neo4j-jdbc#minimum-viable-snippet <https://github.com/neo4j-contrib/neo4j-jdbc#minimum-viable-snippet> -- Chris Vest System Engineer, Neo Technology [ skype: mr.chri

Re: [Neo4j] profiling for memory

2015-01-13 Thread Chris Vest
-- Chris Vest System Engineer, Neo Technology [ skype: mr.chrisvest, twitter: chvest ] > On 13 Jan 2015, at 20:02, jerry yin wrote: > > Yes, I'm counting the loads to store files versus all the loads made by a > Neo4j traversal. And in the traversal, little object is

Re: [Neo4j] profiling for memory

2015-01-13 Thread Chris Vest
“none” cache type is different in this regard, however, because it rarely keeps objects around long enough for them to tenure. -- Chris Vest System Engineer, Neo Technology [ skype: mr.chrisvest, twitter: chvest ] > On 12 Jan 2015, at 17:15, jerry yin wrote: > > I did some instruct

Re: [Neo4j] Grab the relationships and their properties of a large-degree node is slow at the first time.

2015-01-03 Thread Chris Vest
when the BatchInserter put it there. If the behaviour is repeatable, then the best way to figure out where the time is going, is by measuring what the system is doing. -- Chris Vest System Engineer, Neo Technology [ skype: mr.chrisvest, twitter: chvest ] > On 31 Dec 2014, at 05:19, pishen t

Re: [Neo4j] Load very large CSV into Neo4j

2014-12-11 Thread Chris Vest
What does it say when you run the import command with --stacktrace ? -- Chris Vest System Engineer, Neo Technology [ skype: mr.chrisvest, twitter: chvest ] > On 11 Dec 2014, at 07:24, mohsen wrote: > > I want to load a set of large rdf triple files into Neo4j. I have already > w

Re: [Neo4j] Community EmbeddedGraphDatabase with Tinkerpop: Gradual performance hit

2014-12-07 Thread Chris Vest
My guess would be that it’s the index updates that are taking time. It’s usually the case for any database that supports secondary indexes, that they trade write performance for read performance. -- Chris Vest System Engineer, Neo Technology [ skype: mr.chrisvest, twitter: chvest ] > On

Re: [Neo4j] Neo4j 2.2.0.M01 - NoSuchMethodError

2014-12-04 Thread Chris Vest
Hi, Good catch. It’s not a planned incompatibility, so we’ll fix it before GA. I think you might be able to work around it by building your own neo4j-jdbc against 2.2.0-M01, but I’m not sure because I haven’t tried. -- Chris Vest System Engineer, Neo Technology [ skype: mr.chrisvest, twitter

Re: [Neo4j] Server an't read logs

2014-12-02 Thread Chris Vest
Those are transaction and command logs. They are binary and the database uses them for crash recovery. Humans should look in the data/log/console.log file. The data/graph.db/messages.log is sometimes useful as well. -- Chris Vest System Engineer, Neo Technology [ skype: mr.chrisvest, twitter

Re: [Neo4j] Optimizing the shortest path query in a large graph (py2neo)

2014-11-21 Thread Chris Vest
re for the operating system. If heap memory gets swapped out, then the GC pauses can get very, very long. -- Chris Vest System Engineer, Neo Technology [ skype: mr.chrisvest, twitter: chvest ] > On 20 Nov 2014, at 19:09, Erika Arnold wrote: > > tldr > > My project involves

Re: [Neo4j] Which Lucene version is bundled into Neo4j 2.1.5?

2014-11-05 Thread Chris Vest
not familiar with the details of that. -- Chris Vest System Engineer, Neo Technology [ skype: mr.chrisvest, twitter: chvest ] > On 05 Nov 2014, at 08:35, Andrii Stesin wrote: > > Is it still 3.* ? If so, what's the reason? > > Thanks and sorry for stupid questio

Re: [Neo4j] Exception in thread "main" java.lang.AbstractMethodError: org.neo4j.rest.graphdb.entity.RestNode.getLabels()Ljava/lang/Iterable;

2014-11-03 Thread Chris Vest
When ever you get an AbstractMethodError or NoClassDefFoundError, always check that all the Neo4j jars on your classpath are of the same version. -- Chris Vest System Engineer, Neo Technology [ skype: mr.chrisvest, twitter: chvest ] > On 03 Nov 2014, at 08:11, Renuka Jadhav wrote: >

Re: [Neo4j] about CYPHER 2.1.EXPERIMENTAL prefix

2014-10-16 Thread Chris Vest
when it is sufficiently consistent in making plans that are at least as good as the old planner. -- Chris Vest System Engineer, Neo Technology [ skype: mr.chrisvest, twitter: chvest ] On 16 Oct 2014, at 12:08, Alex winter wrote: > Hi. > I read that we could use CYPHER 2.1.EXPERIMENTAL p

Re: [Neo4j] Current Recommended Data Loading Tool?

2014-10-13 Thread Chris Vest
LOAD CSV should have no problem with graph structure and volume, and it's probably the easiest way to read in two small CSV files. -- Chris Vest System Engineer, Neo Technology [ skype: mr.chrisvest, twitter: chvest ] On 13 Oct 2014, at 18:41, Rodger wrote: > Dear Experts, > &g

Re: [Neo4j] should Transaction.close() be called for batch jobs?

2014-10-05 Thread Chris Vest
one. In other words, transactions can nest, which is useful for composing transactional methods into larger transactions. The sub-transactions won't be applied unless you close the top-level transaction, though. -- Chris Vest System Engineer, Neo Technology [ skype: mr.chrisvest, twitter: c

Re: [Neo4j] Need 1.8.3 linux community edition

2014-10-03 Thread Chris Vest
For the community edition you'll want this link instead: http://neo4j.com/download-thanks/?edition=community&release=1.8.3&flavour=unix -- Chris Vest System Engineer, Neo Technology [ skype: mr.chrisvest, twitter: chvest ] On 02 Oct 2014, at 16:30, Javier de la Rosa wrote: > N

Re: [Neo4j] What tools do the developers of Neo4j use?

2014-09-19 Thread Chris Vest
hrough the modules and remove the generated-sources directories from the source path of the modules for them to compile, though. -- Chris Vest System Engineer, Neo Technology [ skype: mr.chrisvest, twitter: chvest ] On 18 Sep 2014, at 08:58, Kisung Kim wrote: > Hi every one! > > I a

Re: [Neo4j] Neo4j eror while building by mvn

2014-09-19 Thread Chris Vest
to the end. -- Chris Vest System Engineer, Neo Technology [ skype: mr.chrisvest, twitter: chvest ] On 19 Sep 2014, at 13:02, Monika wrote: > Hello all, > > I am getting error while building Neo4j on Windows 8. > > [INFO] BUILD

Re: [Neo4j] Error run jar server script

2014-09-15 Thread Chris Vest
tions. Something in your environment might have broken the service locator mechanism, such that it can't find anything anymore. -- Chris Vest System Engineer, Neo Technology [ skype: mr.chrisvest, twitter: chvest ] On 15 Sep 2014, at 21:03, jer wrote: > Hi all, > > I have neo

Re: [Neo4j] store files with huge chunk of 0000

2014-09-15 Thread Chris Vest
We have no such plans. Neo4j talk to storage in terms of pages, which is sensible even on SSDs and copy-on-write file systems. We do want to reduce the space puff-up on crashes, though, but I don't know what priority that has. -- Chris Vest System Engineer, Neo Technology [ skype: mr.chri

Re: [Neo4j] store files with huge chunk of 0000

2014-09-14 Thread Chris Vest
ent transaction log, then that data won't be recovered. The database might also choose to inflate the file back to the large size the next time you create a new node or relationship. This depends on the state of its id-generator. -- Chris Vest System Engineer, Neo Technology [ skype: mr.chris

Re: [Neo4j] store files with huge chunk of 0000

2014-09-13 Thread Chris Vest
Did you shut the database down cleanly before looking at the files? The database grabs space for new records in chunks, and then truncates unused space off the end of the files on clean shut downs. -- Chris Vest System Engineer, Neo Technology [ skype: mr.chrisvest, twitter: chvest ] On 13

Re: [Neo4j] [2.1+] Possibility to lock a running database instance with Cypher or Shell

2014-09-01 Thread Chris Vest
If you have the enterprise version, then the backup tool can take a backup of the database while it is running. Then you can start a read-only instance up on the backup and that would effectively be a snapshot, though obviously you'd need enough storage space for the backup. -- Chris

  1   2   >