graph - Neo4j for an Image database - performance considerations -
i'm looking @ building image database consists of nodes uuid field , other image properties such exif data. i'll search image nodes via uuid field have index.
match (img:image {id: "ea191df3-f5e5-4a29-ae93-f850866f90d1"}) return img;
are there performance disadvantages doing in neo4j?
assuming create uniqueness constraint via create constraint on (image:image) assert image.id unique
, proposing makes perfect sense. such constraint not enforces id
uniqueness, creates id
index automatically.
there cost updating index every time add image
(or change image id
), unless have many more updates searches, savings when searching image should far exceed cost.
Comments
Post a Comment