Hello, we are on neo4j 3.5 and use apoc.meta.schema() to get labels and their properties to build dynamic queries. The apoc.meta.schema() is called once on start up and the labels are cached.
But as the number of nodes increase, the loading time of apoc.meta.schema exponentially increase. On some customer databases, it takes >10 mins. Labels:220, Edges, 346, Properties:881, Nodes:97M, Relationships:4B. apoc.meta.schema samples the database to get the schema. Is there a way to make the call return only labels and their properties and ignore relationships? Any other method that can be used? nodeTypeProperties is better but slow. Any suggestion?
Thank you.