mirror of https://gitee.com/bigwinds/arangodb
updated README.md
This commit is contained in:
parent
8f0991e18e
commit
3510a0b000
|
@ -37,8 +37,8 @@ arangodump --server.database _system --server.username myuser --server.password
|
|||
The dumps produced by `arangodump` can now be imported into ArangoDB 3.0 using
|
||||
the 3.0 version of `arangodump`:
|
||||
|
||||
# in 3.0
|
||||
```
|
||||
# in 3.0
|
||||
arangorestore --server.database _system --input-directory dump-system
|
||||
arangorestore --server.database mydb --input-directory dump-mydb
|
||||
...
|
||||
|
@ -109,3 +109,16 @@ require("@arangodb/users").remove("myuser");
|
|||
require("@arangodb/users").all();
|
||||
```
|
||||
|
||||
!SECTION Foxx applications
|
||||
|
||||
The dump/restore procedure described above will not export and re-import Foxx applications.
|
||||
In order to move these from 2.8 to 3.0, Foxx applications should be exported as zip files
|
||||
via the 2.8 web interface.
|
||||
|
||||
The zip files can then be uploaded in the "Services" section in the ArangoDB 3.0 web interface.
|
||||
Applications may need to be adjusted manually to run in 3.0. Please consult the
|
||||
[migration guide for Foxx apps](../../Foxx/Migrating2x.md).
|
||||
|
||||
An alternative way of moving Foxx apps into 3.0 is to copy the source directory of a 2.8 Foxx
|
||||
application manually into the 3.0 Foxx apps directory for the target database (which is normally
|
||||
`/var/lib/arangodb3-apps/_db/<dbname>/` but the exact location is platform-specific).
|
||||
|
|
|
@ -283,12 +283,6 @@ The operations for storing and retrieving cluster state information are now much
|
|||
expensive from an ArangoDB cluster node perspective, which in turn allows for faster
|
||||
cluster operations that need to fetch or update the overall cluster state.
|
||||
|
||||
TODO
|
||||
|
||||
!SECTION Synchronous replication
|
||||
|
||||
TODO
|
||||
|
||||
!SECTION `_from` and `_to` attributes of edges are updatable and usable in indexes
|
||||
|
||||
In ArangoDB prior to 3.0 the attributes `_from` and `_to` of edges were treated
|
||||
|
|
39
README.md
39
README.md
|
@ -11,6 +11,7 @@ ArangoDB
|
|||
2.6: [](http://travis-ci.org/arangodb/arangodb)
|
||||
2.7: [](http://travis-ci.org/arangodb/arangodb)
|
||||
2.8: [](http://travis-ci.org/arangodb/arangodb)
|
||||
3.0: [](http://travis-ci.org/arangodb/arangodb)
|
||||
|
||||
Master: [](http://travis-ci.org/arangodb/arangodb)
|
||||
|
||||
|
@ -60,36 +61,34 @@ Other features of ArangoDB include:
|
|||
* **Replication** and **Sharding**: set up the database in a master-slave configuration or spread bigger datasets across multiple servers
|
||||
* It is **open source** (Apache License 2.0)
|
||||
|
||||
For more in-depth information read the [design goals of ArangoDB](http://www.arangodb.com/2012/03/07/avocadodbs-design-objectives)
|
||||
For more in-depth information read the [design goals of ArangoDB](https://www.arangodb.com/2012/03/07/avocadodbs-design-objectives)
|
||||
|
||||
|
||||
Latest Release - ArangoDB 2.8
|
||||
-----------------
|
||||
Latest Release - ArangoDB 3.0
|
||||
-----------------------------
|
||||
|
||||
The [What's new in ArangoDB 2.8](https://docs.arangodb.com/NewFeatures/NewFeatures28.html) can be found in the documentation.
|
||||
The [What's new in ArangoDB 3.0](https://docs.arangodb.com/3.0/Manual/ReleaseNotes/NewFeatures30.html) can be found in the documentation.
|
||||
|
||||
**AQL Graph Traversals / Pattern Matching**: AQL offers a new feature to traverse over a graph without writing JavaScript functions but with all the other features you know from AQL. For this purpose, a special version of `FOR variable-name IN expression` has been introduced.
|
||||
|
||||
The added **Array Indexes** are a major improvement to ArangoDB that you will love and never want to miss again. Hash indexes and skiplist indexes can now be defined for array values as well, so it’s freaking fast to access documents by individual array values.
|
||||
|
||||
Additional, there is a cool new **aggregation feature** that was added after the beta releases. AQL introduces the keyword `AGGREGATE` for use in `AQL COLLECT` statements. Using `AGGREGATE` allows more efficient aggregation (incrementally while building the groups) than previous versions of AQL, which built group aggregates afterwards from the total of all group values
|
||||
|
||||
**Optimizer improvements**: The AQL query optimizer can now use indexes if multiple filter conditions on attributes of the same collection are combined with logical ORs, and if the usage of indexes would completely cover these conditions.
|
||||
|
||||
ArangoDB 2.8 now has an automatic **deadlock detection** for transactions. A deadlock is a situation in which two or more concurrent operations (user transactions or AQL queries) try to access the same resources (collections, documents) and need to wait for the others to finish, but none of them can make any progress.
|
||||
|
||||
|
||||
**Foxx Improvements**
|
||||
|
||||
The module resolution used by `require` now behaves more like in node.js. The `org/arangodb/request` module now returns response bodies for error responses by default. The old behavior of not returning bodies for error responses can be re-enabled by explicitly setting the option `returnBodyOnError` to `false`.
|
||||
Key features of the 3.0 release are:
|
||||
|
||||
- use of VelocyPack as internal storage format
|
||||
- AQL improvements
|
||||
- much better cluster state management
|
||||
- Synchronous replication (master/master)
|
||||
- unified APIs for CRUD operations
|
||||
- persistent indexes
|
||||
- upgraded version of V8
|
||||
- new web admin interface
|
||||
- Foxx improvements
|
||||
- Logging improvements
|
||||
- improved documentation
|
||||
|
||||
More Information
|
||||
----------------
|
||||
|
||||
Please check the [Installation Manual](https://docs.arangodb.com/Installing/) for installation and compilation instructions.
|
||||
Please check the [Installation Manual](https://docs.arangodb.com/3.0/Manual/GettingStarted/Installing/) for installation and compilation instructions.
|
||||
|
||||
The [User Manual](https://docs.arangodb.com/FirstSteps/) has an introductory chapter showing the basic operations of ArangoDB.
|
||||
The [User Manual](https://docs.arangodb.com/devel/Manual/GettingStarted/) has an introductory chapter showing the basic operations of ArangoDB.
|
||||
|
||||
|
||||
Stay in Contact
|
||||
|
|
Loading…
Reference in New Issue