SlideShare a Scribd company logo
Innovate. Share. Connect.
Boston June 10-11
What's new in Neo4j 2.0What's new in Neo4j 2.0
Andreas Kollegger, Neo TechnologyAndreas Kollegger, Neo Technology
@akollegger@akollegger
Neo4j 2.0
★ 3 questions: Why? What?
How?
★ with just One answer
Why 2.0?
Why 2.0?
• Neo4j 1.10 could be an AM radio station
• Wanted to seem web-savvy before it goes to 3.0
• We were in the mood to break some things
• Really, it's because of a shift in focus
(0.x) --> (1.x) --> (2.x)
• 0.x was about embedded java
• 1.x introduced the server and REST
• 2.x ease of use, big data, cloud
which means a focus on...
This guy
Focus on Cypher
• Cypher, a carefully crafted language for working with
graphs
• Declarative, friendly, easy to read and write
• One language, used everywhere
• REST for management, Java for plugins,
What is new in 2.0?
There will be
some sad Danes
some sad Danes
"Once you label me,
you negate me.”
- Søren Kierkegaard
• Simply: a label identifies a set of nodes
• Nodes can have multiple labels
• Find nodes by label
• Constrain properties and values
• (lightweight schema)
• A simple idea, with powerful applications
Introducing Node Labels
Find friends who like cheese
MATCH (max:People)-[:FRIENDS]->(cheesy: People),
(cheesy)-[:LIKE]->(cheese:Things)
WHERE max.name = "Max De Marzi"
AND cheese.name = "Cheese"
RETURN cheesy;
Schema Indexing
• Indexes for labels, based on a property
• Simple lookups for now
• Unique indexing coming soon
• Full-text, other special indexes in planning
CREATE INDEX ON :People(name)
MERGE operation
• a combination of MATCH + CREATE
• replaces CREATE UNIQUE
• attempts to MATCH, with specified properties and labels
• if match fails, new graph data is created
• optional sub-clauses for handling ON CREATE, and ON
MATCH
MERGE (charlie { name:'Charlie Sheen', age:10 })
RETURN charlie
• begin, commit, or rollback a transaction
• transaction as RESTful resource
• issue multiple statements per request
• multiple requests per transaction
• compact response format
Transactional Cypher
Anything else?
• Performance improvements
• Breaking changes to some APIs (read CHANGES.txt)
• Migration of "legacy" indexes (stop STARTing)
• Mandatory transactions for all DB interactions
• Improving installers (in progress)
• Changing everything to be "all Cypher, all the time"
How to use labels?
Label - to identify
name: Ford Prefect
NINO: 122-762-9255
HIKE: 415-484-6364
UKUK
H2G2H2G2
Label - to identify
UKUK
H2G2H2G2
MATCH (ford:H2G2) WHERE ford.HIKE = '415-484-6364' RETURN ford
Label - to avoid confusion
name: Ford Prefect name: Ford Prefect
AlienAlien CarCar
MATCH (ford:Alien) WHERE ford.name = 'Ford Prefect' RETURN ford
Label - special nodes
• replace built-in reference node,
with domain specific reference nodes
4242
AnswerAnswer
Labels - rules of thumb
• Use a label to make queries easier to read & write
• And to improve performance through indexing
• Start with anything you might've put in a legacy index
• Use lightly, as few labels as needed
Is that it for 2.0?
Well, there is this...
What's New in Neo4j 2.0 - Andreas Kollegger @ GraphConnect Boston + Chicago 2013
What's New in Neo4j 2.0 - Andreas Kollegger @ GraphConnect Boston + Chicago 2013
What's New in Neo4j 2.0 - Andreas Kollegger @ GraphConnect Boston + Chicago 2013
What is new in 2.0?
• It's all about Cypher, starting with
• Labels, the first significant change in over 12 years
• Mix in schema indexing
• Then transactional REST, new clauses, functions
• A fresh Web UI that is Cypher-focused
Thanks :)
Any questions?
Any questions?
Any questions?
@akollegger to keep in touch

More Related Content

PPTX
Build a Deep Learning App with Tensorflow & Redis by Jayesh Ahire and Sherin ...
Redis Labs
 
PPTX
Rise of the Machines: PHP and IoT - php[world] 2016
Colin O'Dell
 
PDF
Data 2.0
Max De Marzi
 
PPT
Cypher
Max De Marzi
 
PDF
Webinar: What's new in Neo4j 2.0
Neo4j
 
PDF
Walkthrough Neo4j 1.9 & 2.0
Neo4j
 
PPTX
EDB's Migration Portal - Migrate from Oracle to Postgres
EDB
 
PPTX
Oracle database 12c_and_DevOps
Maria Colgan
 
Build a Deep Learning App with Tensorflow & Redis by Jayesh Ahire and Sherin ...
Redis Labs
 
Rise of the Machines: PHP and IoT - php[world] 2016
Colin O'Dell
 
Data 2.0
Max De Marzi
 
Cypher
Max De Marzi
 
Webinar: What's new in Neo4j 2.0
Neo4j
 
Walkthrough Neo4j 1.9 & 2.0
Neo4j
 
EDB's Migration Portal - Migrate from Oracle to Postgres
EDB
 
Oracle database 12c_and_DevOps
Maria Colgan
 

Similar to What's New in Neo4j 2.0 - Andreas Kollegger @ GraphConnect Boston + Chicago 2013 (20)

PDF
MySQL 5.6 - Operations and Diagnostics Improvements
Morgan Tocker
 
PPTX
Oracle Migration to Postgres in the Cloud
EDB
 
PPTX
SkyBase - a Devops Platform for Hybrid Cloud
Vlad Kuusk
 
PPTX
DevOps Columbus Meetup Kickoff - Infrastructure as Code
Michael Ducy
 
PPTX
BDD & Beyond: The Past, Present, & Future of Test Automation
Ford Prior
 
PPTX
Oracle Goldengate Architecture & Setup.pptx
AmirShahirRoslan
 
PDF
What's New in Apache Hive 3.0?
DataWorks Summit
 
PDF
What's New in Apache Hive 3.0 - Tokyo
DataWorks Summit
 
PPTX
05 integrate redis
Erhwen Kuo
 
PPTX
Oracle SQL Developer version 4.0 New Features Overview
Jeff Smith
 
PPTX
Virtualization and Containers
Kellyn Pot'Vin-Gorman
 
PDF
026 Neo4j Data Loading (ETL_ELT) Best Practices - NODES2022 AMERICAS Advanced...
Neo4j
 
PDF
Postgres NoSQL - Delivering Apps Faster
EDB
 
PPTX
PL/SQL All the Things in Oracle SQL Developer
Jeff Smith
 
PDF
MySQL 5.7: Core Server Changes
Morgan Tocker
 
PDF
Ultime Novità di Prodotto Neo4j
Neo4j
 
PPTX
What's New in Oracle SQL Developer for 2018
Jeff Smith
 
PDF
NoSQL on ACID - Meet Unstructured Postgres
EDB
 
PDF
High Performance Enterprise Data Processing with Apache Spark with Sandeep Va...
Spark Summit
 
PDF
Cincom Smalltalk: Present, Future & Smalltalk Advocacy
ESUG
 
MySQL 5.6 - Operations and Diagnostics Improvements
Morgan Tocker
 
Oracle Migration to Postgres in the Cloud
EDB
 
SkyBase - a Devops Platform for Hybrid Cloud
Vlad Kuusk
 
DevOps Columbus Meetup Kickoff - Infrastructure as Code
Michael Ducy
 
BDD & Beyond: The Past, Present, & Future of Test Automation
Ford Prior
 
Oracle Goldengate Architecture & Setup.pptx
AmirShahirRoslan
 
What's New in Apache Hive 3.0?
DataWorks Summit
 
What's New in Apache Hive 3.0 - Tokyo
DataWorks Summit
 
05 integrate redis
Erhwen Kuo
 
Oracle SQL Developer version 4.0 New Features Overview
Jeff Smith
 
Virtualization and Containers
Kellyn Pot'Vin-Gorman
 
026 Neo4j Data Loading (ETL_ELT) Best Practices - NODES2022 AMERICAS Advanced...
Neo4j
 
Postgres NoSQL - Delivering Apps Faster
EDB
 
PL/SQL All the Things in Oracle SQL Developer
Jeff Smith
 
MySQL 5.7: Core Server Changes
Morgan Tocker
 
Ultime Novità di Prodotto Neo4j
Neo4j
 
What's New in Oracle SQL Developer for 2018
Jeff Smith
 
NoSQL on ACID - Meet Unstructured Postgres
EDB
 
High Performance Enterprise Data Processing with Apache Spark with Sandeep Va...
Spark Summit
 
Cincom Smalltalk: Present, Future & Smalltalk Advocacy
ESUG
 
Ad

More from Neo4j (20)

PDF
MASTERDECK GRAPHSUMMIT SYDNEY (Public).pdf
Neo4j
 
PDF
Jin Foo - Prospa GraphSummit Sydney Presentation.pdf
Neo4j
 
PDF
GraphSummit Singapore Master Deck - May 20, 2025
Neo4j
 
PPTX
Graphs & GraphRAG - Essential Ingredients for GenAI
Neo4j
 
PPTX
Neo4j Knowledge for Customer Experience.pptx
Neo4j
 
PPTX
GraphTalk New Zealand - The Art of The Possible.pptx
Neo4j
 
PDF
Neo4j: The Art of the Possible with Graph
Neo4j
 
PDF
Smarter Knowledge Graphs For Public Sector
Neo4j
 
PDF
GraphRAG and Knowledge Graphs Exploring AI's Future
Neo4j
 
PDF
Matinée GenAI & GraphRAG Paris - Décembre 24
Neo4j
 
PDF
ANZ Presentation: GraphSummit Melbourne 2024
Neo4j
 
PDF
Google Cloud Presentation GraphSummit Melbourne 2024: Building Generative AI ...
Neo4j
 
PDF
Telstra Presentation GraphSummit Melbourne: Optimising Business Outcomes with...
Neo4j
 
PDF
Hands-On GraphRAG Workshop: GraphSummit Melbourne 2024
Neo4j
 
PDF
Démonstration Digital Twin Building Wire Management
Neo4j
 
PDF
Swiss Life - Les graphes au service de la détection de fraude dans le domaine...
Neo4j
 
PDF
Démonstration Supply Chain - GraphTalk Paris
Neo4j
 
PDF
The Art of Possible - GraphTalk Paris Opening Session
Neo4j
 
PPTX
How Siemens bolstered supply chain resilience with graph-powered AI insights ...
Neo4j
 
PDF
Knowledge Graphs for AI-Ready Data and Enterprise Deployment - Gartner IT Sym...
Neo4j
 
MASTERDECK GRAPHSUMMIT SYDNEY (Public).pdf
Neo4j
 
Jin Foo - Prospa GraphSummit Sydney Presentation.pdf
Neo4j
 
GraphSummit Singapore Master Deck - May 20, 2025
Neo4j
 
Graphs & GraphRAG - Essential Ingredients for GenAI
Neo4j
 
Neo4j Knowledge for Customer Experience.pptx
Neo4j
 
GraphTalk New Zealand - The Art of The Possible.pptx
Neo4j
 
Neo4j: The Art of the Possible with Graph
Neo4j
 
Smarter Knowledge Graphs For Public Sector
Neo4j
 
GraphRAG and Knowledge Graphs Exploring AI's Future
Neo4j
 
Matinée GenAI & GraphRAG Paris - Décembre 24
Neo4j
 
ANZ Presentation: GraphSummit Melbourne 2024
Neo4j
 
Google Cloud Presentation GraphSummit Melbourne 2024: Building Generative AI ...
Neo4j
 
Telstra Presentation GraphSummit Melbourne: Optimising Business Outcomes with...
Neo4j
 
Hands-On GraphRAG Workshop: GraphSummit Melbourne 2024
Neo4j
 
Démonstration Digital Twin Building Wire Management
Neo4j
 
Swiss Life - Les graphes au service de la détection de fraude dans le domaine...
Neo4j
 
Démonstration Supply Chain - GraphTalk Paris
Neo4j
 
The Art of Possible - GraphTalk Paris Opening Session
Neo4j
 
How Siemens bolstered supply chain resilience with graph-powered AI insights ...
Neo4j
 
Knowledge Graphs for AI-Ready Data and Enterprise Deployment - Gartner IT Sym...
Neo4j
 
Ad

Recently uploaded (20)

PDF
Security features in Dell, HP, and Lenovo PC systems: A research-based compar...
Principled Technologies
 
PDF
NewMind AI Weekly Chronicles - July'25 - Week IV
NewMind AI
 
PDF
Structs to JSON: How Go Powers REST APIs
Emily Achieng
 
PDF
CIFDAQ's Market Wrap : Bears Back in Control?
CIFDAQ
 
PDF
Brief History of Internet - Early Days of Internet
sutharharshit158
 
PDF
AI Unleashed - Shaping the Future -Starting Today - AIOUG Yatra 2025 - For Co...
Sandesh Rao
 
PDF
Software Development Methodologies in 2025
KodekX
 
PDF
Automating ArcGIS Content Discovery with FME: A Real World Use Case
Safe Software
 
PDF
Google I/O Extended 2025 Baku - all ppts
HusseinMalikMammadli
 
PDF
Using Anchore and DefectDojo to Stand Up Your DevSecOps Function
Anchore
 
PDF
OFFOFFBOX™ – A New Era for African Film | Startup Presentation
ambaicciwalkerbrian
 
PPTX
Simple and concise overview about Quantum computing..pptx
mughal641
 
PDF
The Future of Mobile Is Context-Aware—Are You Ready?
iProgrammer Solutions Private Limited
 
PPTX
Dev Dives: Automate, test, and deploy in one place—with Unified Developer Exp...
AndreeaTom
 
PDF
How ETL Control Logic Keeps Your Pipelines Safe and Reliable.pdf
Stryv Solutions Pvt. Ltd.
 
PDF
How Open Source Changed My Career by abdelrahman ismail
a0m0rajab1
 
PDF
Research-Fundamentals-and-Topic-Development.pdf
ayesha butalia
 
PDF
Peak of Data & AI Encore - Real-Time Insights & Scalable Editing with ArcGIS
Safe Software
 
PDF
Orbitly Pitch Deck|A Mission-Driven Platform for Side Project Collaboration (...
zz41354899
 
PDF
SparkLabs Primer on Artificial Intelligence 2025
SparkLabs Group
 
Security features in Dell, HP, and Lenovo PC systems: A research-based compar...
Principled Technologies
 
NewMind AI Weekly Chronicles - July'25 - Week IV
NewMind AI
 
Structs to JSON: How Go Powers REST APIs
Emily Achieng
 
CIFDAQ's Market Wrap : Bears Back in Control?
CIFDAQ
 
Brief History of Internet - Early Days of Internet
sutharharshit158
 
AI Unleashed - Shaping the Future -Starting Today - AIOUG Yatra 2025 - For Co...
Sandesh Rao
 
Software Development Methodologies in 2025
KodekX
 
Automating ArcGIS Content Discovery with FME: A Real World Use Case
Safe Software
 
Google I/O Extended 2025 Baku - all ppts
HusseinMalikMammadli
 
Using Anchore and DefectDojo to Stand Up Your DevSecOps Function
Anchore
 
OFFOFFBOX™ – A New Era for African Film | Startup Presentation
ambaicciwalkerbrian
 
Simple and concise overview about Quantum computing..pptx
mughal641
 
The Future of Mobile Is Context-Aware—Are You Ready?
iProgrammer Solutions Private Limited
 
Dev Dives: Automate, test, and deploy in one place—with Unified Developer Exp...
AndreeaTom
 
How ETL Control Logic Keeps Your Pipelines Safe and Reliable.pdf
Stryv Solutions Pvt. Ltd.
 
How Open Source Changed My Career by abdelrahman ismail
a0m0rajab1
 
Research-Fundamentals-and-Topic-Development.pdf
ayesha butalia
 
Peak of Data & AI Encore - Real-Time Insights & Scalable Editing with ArcGIS
Safe Software
 
Orbitly Pitch Deck|A Mission-Driven Platform for Side Project Collaboration (...
zz41354899
 
SparkLabs Primer on Artificial Intelligence 2025
SparkLabs Group
 

What's New in Neo4j 2.0 - Andreas Kollegger @ GraphConnect Boston + Chicago 2013

  • 1. Innovate. Share. Connect. Boston June 10-11 What's new in Neo4j 2.0What's new in Neo4j 2.0 Andreas Kollegger, Neo TechnologyAndreas Kollegger, Neo Technology @akollegger@akollegger
  • 2. Neo4j 2.0 ★ 3 questions: Why? What? How? ★ with just One answer
  • 4. Why 2.0? • Neo4j 1.10 could be an AM radio station • Wanted to seem web-savvy before it goes to 3.0 • We were in the mood to break some things • Really, it's because of a shift in focus
  • 5. (0.x) --> (1.x) --> (2.x) • 0.x was about embedded java • 1.x introduced the server and REST • 2.x ease of use, big data, cloud which means a focus on...
  • 7. Focus on Cypher • Cypher, a carefully crafted language for working with graphs • Declarative, friendly, easy to read and write • One language, used everywhere • REST for management, Java for plugins,
  • 8. What is new in 2.0?
  • 9. There will be some sad Danes some sad Danes "Once you label me, you negate me.” - Søren Kierkegaard
  • 10. • Simply: a label identifies a set of nodes • Nodes can have multiple labels • Find nodes by label • Constrain properties and values • (lightweight schema) • A simple idea, with powerful applications Introducing Node Labels
  • 11. Find friends who like cheese MATCH (max:People)-[:FRIENDS]->(cheesy: People), (cheesy)-[:LIKE]->(cheese:Things) WHERE max.name = "Max De Marzi" AND cheese.name = "Cheese" RETURN cheesy;
  • 12. Schema Indexing • Indexes for labels, based on a property • Simple lookups for now • Unique indexing coming soon • Full-text, other special indexes in planning CREATE INDEX ON :People(name)
  • 13. MERGE operation • a combination of MATCH + CREATE • replaces CREATE UNIQUE • attempts to MATCH, with specified properties and labels • if match fails, new graph data is created • optional sub-clauses for handling ON CREATE, and ON MATCH MERGE (charlie { name:'Charlie Sheen', age:10 }) RETURN charlie
  • 14. • begin, commit, or rollback a transaction • transaction as RESTful resource • issue multiple statements per request • multiple requests per transaction • compact response format Transactional Cypher
  • 15. Anything else? • Performance improvements • Breaking changes to some APIs (read CHANGES.txt) • Migration of "legacy" indexes (stop STARTing) • Mandatory transactions for all DB interactions • Improving installers (in progress) • Changing everything to be "all Cypher, all the time"
  • 16. How to use labels?
  • 17. Label - to identify name: Ford Prefect NINO: 122-762-9255 HIKE: 415-484-6364 UKUK H2G2H2G2
  • 18. Label - to identify UKUK H2G2H2G2 MATCH (ford:H2G2) WHERE ford.HIKE = '415-484-6364' RETURN ford
  • 19. Label - to avoid confusion name: Ford Prefect name: Ford Prefect AlienAlien CarCar MATCH (ford:Alien) WHERE ford.name = 'Ford Prefect' RETURN ford
  • 20. Label - special nodes • replace built-in reference node, with domain specific reference nodes 4242 AnswerAnswer
  • 21. Labels - rules of thumb • Use a label to make queries easier to read & write • And to improve performance through indexing • Start with anything you might've put in a legacy index • Use lightly, as few labels as needed
  • 22. Is that it for 2.0?
  • 23. Well, there is this...
  • 27. What is new in 2.0? • It's all about Cypher, starting with • Labels, the first significant change in over 12 years • Mix in schema indexing • Then transactional REST, new clauses, functions • A fresh Web UI that is Cypher-focused
  • 28. Thanks :) Any questions? Any questions? Any questions? @akollegger to keep in touch