Python operation database cases mysql, redis, mongodb, neo4j

Article directory Preface 1. Installation of python library MySQL Redis MongoDB Neo4j MySQL case pymysql case mysql-connector-python case Redis case Mongodb case Case number one Case 2 Neo4j case Case number one Case 2 Summarize Foreword With the rapid development of data science and big data technology, database management has become an indispensable skill. Python, […]

How to use docker to create multiple database containers: mysql, redis, mongodb, neo4j

Article directory Preface mysql Pull image Run container redis Pull image Run container mongodb Pull image Run container neo4j Pull image Run container docker-compose General configuration Use .env files for environment variable configuration .env file case docker-compose.yml file case Bug description Summarize Foreword In the world of software development, the database is an indispensable part, […]

Operating neo4j through python

Create nodes and relationships in neo4j Create node Create movie node For example: Create a Movie node with three attributes {title: The Matrix’, released: 1999, tagline: Welcome to the Real World’} CREATE (TheMatrix:Movie {<!– –>title:’The Matrix’, released:1999, tagline:’Welcome to the Real World’}) Create character nodes For example: Create a Person node with two attributes: {name: […]

Cypher query operation based on neo4j

Cypher query operation based on neo4j 1. Introduction to Cypher Cypher is a graph query language proposed by Neo4j. It is a declarative graph database query language. It has streamlined syntax and powerful expressiveness, and can query and update graph data accurately and efficiently. It is a SQL-inspired language for describing visual patterns in graphs […]

Writing neo4j configuration file

#********************************************** ********************* # Neo4j configuration # # For more details and a complete list of settings, please see # https://neo4j.com/docs/operations-manual/current/reference/configuration-settings/ #************************************************ **************** # The name of the database to mount #dbms.active_database=graph.db # Paths of directories in the installation. #dbms.directories.data=data #dbms.directories.plugins=plugins #dbms.directories.certificates=certificates #dbms.directories.logs=logs #dbms.directories.lib=lib #dbms.directories.run=run # This setting constrains all `LOAD CSV` import files to be […]

Java initializes large amounts of data into Neo4j (1)

Background: Our project is deploying a graph database for the first time, which requires us to initialize existing business data and relationships into Neo4j as soon as they go online. The amount of data in the development environment has reached millions. The amount of generated environment data is larger. When I first started developing, since […]

Neo4j database operation performance optimization (Java)

When the sky is healthy, a gentleman strives to constantly strive for self-improvement; when the terrain is turbulent, a gentleman carries things with great virtue. Everyone is lazy, but continuous learning is the foundation of a good life. Let’s encourage each other! The articles are all for learning and organizing notes, mainly for sharing records. […]

The whole process from installation to practice of knowledge graph Neo4j

Foreword: Hello everyone, my name is Dream. In this actual combat, we will complete the entire process of knowledge graph Neo4j installation to practice and explore the relationships and attributes. Knowledge graph is a data structure stored in the form of triples, consisting of entities, relationships and attributes. It can help us better understand and […]

Neo4j implements table field level blood relationship

Requirement background All upstream and downstream blood relationships of the current table fields need to be displayed on the front-end page for further data diagnosis and management. The general effect diagram is as follows: First of all, here is an explanation of what table field blood relationship is, SQL example: CREATE TABLE IF NOT EXISTS […]