About the slow speed of "call db.schema.nodetyproperties"

When there is a large amount of data, calling "call db.schema.nodetyproperties" takes a long time. Does anyone know how to deal with this problem

Just use this one:

Unfortunately call db.schema.nodetyproperties eagerly computes the schema so if the underlining dataset is big you'll get poor performances, while apoc.meta.nodeTypeProperties samples the dataset so it way faster