Is neo4j community version usable to store any valuable data ? I started small project to store data in this db and I was surprised how easy is to implement custom ORM and work with transactions. I gather data for some months, but I had unclean shutdown of my db. Some relations got corrupted and then I realized that community version is missing essential tools like online backup, restore and recover db.
I think that Neo guys are trying too hard to push toward enterprise. So anybody, would you recommend Neo db (strictly community) for business project ?
There is a tool for repairing stores that should work with community versions : https://github.com/jexp/store-utils
For your last question, I don't think Neo4j differ from other databases, if you need support then you'll need a license.
An unclean shutdown is caused by something and would have probably the same effect on enterprise version.
Is it safe to rely on strict community version of neo4j: yes as it is safe to rely on mysql community version.
Related
I am using neo4j as server solution but was thinking of also using it in other situations.
Is it, from a technical, installation, licensing perspective etc, possible to install neo4j at each users own computer for local storage of data?
I would like to incorporate the neo4j db installation as part of my own software installation process to avoid technical problems for the end user.
It will probably only be very small set of data in each database so performance is probably not an issue in this case.
It is not clear why you want every user to have their own local neo4j installation (since, for example, their local DBs will not contain the same data).
But, if you really wanted to, there is no problem (technically or legally) with installing the community edition of neo4j on multiple machines.
In this You Tube Video, about 30 minutes into it, "Neo4j Licensing: Which Edition Is Right For You" Rik Van Bruggen mention that one must contact neo4j if one want to distribute neo4j together with other software. One possible solution, according to the video, is an OEM agreement. One need to discuss the commercial terms.
He also says that it is not allowed to be done with the Community Edition
It also written at neo4j.com/licensing that
"I want to include Neo4j in software that I’m shipping. What are my options?
Neo4j offers a mature OEM program tailored to your needs. Learn more →"
I want to set up automatic online backups of Neo4J 3.x community edition. I understand that this option is available only for the enterprise editions. But is there any way I could do it for the community edition?
Do I have to stop the database and do the dumps? What if I do the dumps on the running DB?
Is there any trick I could do to back up my data?
Thanks!
Neo4J Community Edition does not allow live backup
As mentioned by #ChristopheWillemsen, that feature is available only in the Enterprise version. It is 100% impossible to do backups without bringing the database down in Community.
More information is available at the online operations manual page for backing up, as well as the notation that this is an Enterprise-only feature (note the "Enterprise Edition" tag in the chapter heading).
https://neo4j.com/docs/operations-manual/current/backup/
You need Neo4j Enterprise Edition for that. Neo4j Enterprise is actually open source as well, why not just use Neo4j Enterprise under the open source license. You won't get production support - then again you don't get that with community anyway.
I am considering Neo4J for some project. I recall reading somewhere that multi-document ACID transactions are only supported for embedded database, but not for the standalone one. Searching at the Neo4J site, I could not find any info about this. Some more information about this, or some pointers could help. Thank you.
Neo4j itself supports now transactions over the wire with 2.0
See: http://docs.neo4j.org/chunked/milestone/rest-api-transactional.html
Spring Data Neo4j does not yet and it will take a while until we get there, as it means to rewrite the core to use cypher throughout which it doesn't do now.
I need an Informix database to update some records on December 31 at 11:59; can Informix do this on a trigger, or does it have a scheduler of some sorts?
I'm an Informix noob btw.
I'm using informix 11.1 for hp-ux
If you have Informix 11.10 or later, then there is a task scheduler facility built into IDS. The search term 'scheduler' in the Knowledge Center leads you to relevant information.
If you have earlier versions of IDS, then the facility is missing and you should upgrade to get it if it is important to you to have it.
When asking questions about Informix, please provide the version of Informix (at least to the 11.50 level of detail, preferably to the 11.50.FC3 detail) and the platform where you are running it (operating system and version number - and sometimes chip type). This should be automatic when asking questions about Informix products. (And this is a general comment, not solely aimed at you.)
If you're using Server Studio you can set jobs using Sentinel.
Right now we are using PostgreSQL 8.3 (on Linux) as a database backend to our Ruby on Rails web application.
Considering that on PostgreSQL database we actively use row level blocking and PL/PGSQL, what can we employ to secure our data -- I mean tools, packages, scripts, strategies -- to successfully replicate the database and build multi-master combination?
I will appreciate master-slave suggestions as well.
For example, if I put several application servers running Apache/Ruby to achieve higher performance and at the end deploy several database servers, is there any way to build multi-master replication in PostgreSQL?
Right now we use PostgreSQL WAL mechanism to backup data to file system.
Thanks a lot.
There are a few tools for master-slave (and master-multislave) scenarios, usually trigger-based. Slony-I has already been mentioned (is stable and solid, but a bit difficult to operate). People having problems with Slony-I wrote
Londiste (by Skype team) and PyReplica. Bah, and I just spotted
Mammoth has been open-sourced
For multimaster there is Bucardo (note: it is not that polished)
or commercial offerings - for example by Continuent or CyberTec.
If you haven't already, I'd suggest a look at the High Availability, Load Balancing, and Replication chapter of the PostgreSQL manual. It gives a clear overview of the available techiques and their features.
Hm, Bucardo is really good and stable, in comparison to the others here. It is as polished as can be a Perl-based replication system, and supports master-slave as well as multi-master replication, with interesting conflict resolution concepts.
If you need simple master-slave rep I'd recommend Londiste, but for the multi-master needs, Bucardo is the only acceptable solution IMHO.
I though Postgres-R looked promising, however, its still in development.
It was supposedly stabilised and purported to be a potential for integration with the standard issue, but its yet to come to fruition.
Late answer but there is a new open source software for asynchronous master-master replication of PostgreSQL (also works for MySQL):
rubyrep
Focus is on easy setup.
Disclosure: I wrote it.
You can have a look at slony.
PGCluster looks promising - we use it in limited situations without much problems.
http://pgfoundry.org/projects/pgcluster/