The Neo4j Manual v1.8.M07

License: Creative Commons 3.0

2012-08-08 12:47:58


Table of Contents

Preface
I. Introduction
1. Neo4j Highlights
2. Graph Database Concepts
3. The Neo4j Graph Database
II. Tutorials
4. Using Neo4j embedded in Java applications
5. Neo4j Remote Client Libraries
6. The Traversal Framework
7. Data Modeling Examples
8. Languages
9. Using Neo4j embedded in Python applications
10. Extending the Neo4j Server
III. Reference
11. Capabilities
12. Transaction Management
13. Data Import
14. Indexing
15. Cypher Query Language
16. Graph Algorithms
17. Neo4j Server
18. REST API
19. Python embedded bindings
IV. Operations
20. Installation & Deployment
21. Configuration & Performance
22. High Availability
23. Backup
24. Security
25. Monitoring
V. Tools
26. Web Administration
27. Neo4j Shell
VI. Community
28. Community Support
29. Contributing to Neo4j
A. Manpages
neo4j — Neo4j Server control and management
neo4j-shell — a command-line tool for exploring and manipulating a graph database
neo4j-backup — Neo4j Backup Tool
neo4j-coordinator — Neo4j Coordinator for High-Availability clusters
neo4j-coordinator-shell — Neo4j Coordinator Shell interactive interface
B. Questions & Answers

List of Figures

2.1. RDBMS
2.2. Graph Database as RDBMS
2.3. Key-Value Store
2.4. Graph Database as Key-Value Store
2.5. Document Store
2.6. Graph Database as Document Store
4.1. Hello World Graph
4.2. Node space view of users
4.3. Matrix node space view
4.4. Descendants Example Graph
4.5. Social network data model
6.1. Traversal Example Graph
14.1. Movie and Actor Graph
15.1. Example Graph
18.1. Final Graph
18.2. Final Graph
18.3. Final Graph
18.4. Final Graph
18.5. Final Graph
18.6. Final Graph
18.7. Final Graph
18.8. Final Graph
18.9. Final Graph
18.10. Final Graph
18.11. Final Graph
18.12. Final Graph
18.13. Final Graph
18.14. Final Graph
18.15. Final Graph
18.16. Starting Graph
18.17. Final Graph
18.18. Starting Graph
18.19. Final Graph
18.20. Final Graph
18.21. Starting Graph
18.22. Final Graph
18.23. Final Graph
18.24. Starting Graph
18.25. Final Graph
18.26. Final Graph
18.27. Final Graph
18.28. Final Graph
18.29. Final Graph
18.30. Final Graph
18.31. Final Graph
18.32. Final Graph
18.33. Final Graph
18.34. Final Graph
18.35. Final Graph
18.36. Final Graph
18.37. Final Graph
18.38. Starting Graph
18.39. Final Graph
18.40. Final Graph
18.41. Final Graph
18.42. Starting Graph
18.43. Final Graph
18.44. Final Graph
18.45. Final Graph
18.46. Final Graph
18.47. Final Graph
18.48. Final Graph
18.49. Final Graph
18.50. Final Graph
18.51. Final Graph
18.52. Final Graph
18.53. Final Graph
18.54. Final Graph
18.55. Final Graph
18.56. Final Graph
18.57. Final Graph
18.58. Final Graph
18.59. Final Graph
18.60. Final Graph
18.61. Final Graph
18.62. Final Graph
18.63. Final Graph
18.64. Final Graph
18.65. Final Graph
18.66. Final Graph
18.67. Final Graph
18.68. Final Graph
18.69. Final Graph
18.70. Final Graph
18.71. Final Graph
18.72. Final Graph
18.73. Final Graph
18.74. Final Graph
18.75. Final Graph
18.76. Final Graph
18.77. Final Graph
18.78. Final Graph
18.79. Final Graph
18.80. Final Graph
18.81. Final Graph
18.82. Final Graph
18.83. Final Graph
18.84. Final Graph
18.85. Final Graph
18.86. Final Graph
18.87. Final Graph
18.88. Final Graph
18.89. Final Graph
18.90. Final Graph
18.91. Final Graph
18.92. Final Graph
18.93. Final Graph
18.94. Final Graph
18.95. Final Graph
18.96. Final Graph
18.97. Final Graph
18.98. Final Graph
18.99. Starting Graph
18.100. Final Graph
18.101. Starting Graph
18.102. Final Graph
18.103. Final Graph
22.1. Typical setup when running multiple Neo4j instances in HA mode
25.1. Connecting JConsole to the Neo4j Java process
25.2. Neo4j MBeans View
26.1. Web Administration Dashboard
26.2. Entity charting
26.3. Status indicator panels
26.4. Browsing and manipulating data
26.5. Editing properties
26.6. Traverse data with Gremlin
26.7. Query data with Cypher
26.8. Interact over HTTP
26.9. JMX Attributes
27.1. Shell Matrix Example
29.1. Hello World Graph

List of Tables

3.1. Using relationship direction and type
3.2. Property value types
5.1. Neo4j REST clients contributed by the community.
8.1. Neo4j embedded drivers contributed by the community.
14.1. Lucene indexing configuration parameters
17.1. neo4j-wrapper.conf JVM tuning properties
20.1. Neo4j deployment options
20.2. Neo4j editions
20.3. Upgrade process for Neo4j version
21.1. Allow store upgrade
21.2. Array block size
21.3. Backup slave
21.4. Cache type
21.5. Cypher parser version
21.6. Dump configuration
21.7. Forced kernel id
21.8. Gc monitor threshold
21.9. Gc monitor wait time
21.10. Gcr cache min log interval
21.11. Grab file lock
21.12. Intercept committing transactions
21.13. Intercept deserialized transactions
21.14. Keep logical logs
21.15. Logging.threshold for rotation
21.16. Logical log
21.17. Lucene searcher cache size
21.18. Neo store
21.19. Neostore.nodestore.db.mapped memory
21.20. Neostore.propertystore.db.arrays.mapped memory
21.21. Neostore.propertystore.db.index.keys.mapped memory
21.22. Neostore.propertystore.db.index.mapped memory
21.23. Neostore.propertystore.db.mapped memory
21.24. Neostore.propertystore.db.strings.mapped memory
21.25. Neostore.relationshipstore.db.mapped memory
21.26. Node auto indexing
21.27. Node cache array fraction
21.28. Node cache size
21.29. Node keys indexable
21.30. Read only database
21.31. Rebuild idgenerators fast
21.32. Relationship auto indexing
21.33. Relationship cache array fraction
21.34. Relationship cache size
21.35. Relationship keys indexable
21.36. Remote logging enabled
21.37. Remote logging host
21.38. Remote logging port
21.39. Store dir
21.40. String block size
21.41. Tx manager impl
21.42. Use memory mapped buffers
21.43. Guidelines for heap size
21.44. Character count limits
22.1. HighlyAvailableGraphDatabase configuration parameters
25.1. MBeans exposed by Neo4j
25.2. MBean Branched Store (org.neo4j.management.BranchedStore) Attributes
25.3. MBean Cache/NodeCache (org.neo4j.management.Cache) Attributes
25.4. MBean Cache/NodeCache (org.neo4j.management.Cache) Operations
25.5. MBean Cache/RelationshipCache (org.neo4j.management.Cache) Attributes
25.6. MBean Cache/RelationshipCache (org.neo4j.management.Cache) Operations
25.7. MBean Configuration (org.neo4j.jmx.impl.ConfigurationBean) Attributes
25.8. MBean Configuration (org.neo4j.jmx.impl.ConfigurationBean) Operations
25.9. MBean Diagnostics (org.neo4j.management.Diagnostics) Attributes
25.10. MBean Diagnostics (org.neo4j.management.Diagnostics) Operations
25.11. MBean High Availability (org.neo4j.management.HighAvailability) Attributes
25.12. MBean High Availability (org.neo4j.management.HighAvailability) Operations
25.13. MBean Kernel (org.neo4j.jmx.Kernel) Attributes
25.14. MBean Locking (org.neo4j.management.LockManager) Attributes
25.15. MBean Locking (org.neo4j.management.LockManager) Operations
25.16. MBean Memory Mapping (org.neo4j.management.MemoryMapping) Attributes
25.17. MBean Primitive count (org.neo4j.jmx.Primitives) Attributes
25.18. MBean Store file sizes (org.neo4j.management.StoreFile) Attributes
25.19. MBean Transactions (org.neo4j.management.TransactionManager) Attributes
25.20. MBean XA Resources (org.neo4j.management.XaManager) Attributes