Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.
10-17-2018 08:14 AM
So I received a dated schema that used to work well at the beginning but it's experimenting some scaling issues.
Among of them, the space used by the indexes is catching my attention so I would like to know if they are being used, how many times, etc.
Other that explaining/profiling queries, is there anything else I could use to have this kind of information?
Thanks! 🙂
10-17-2018 10:47 AM
Try CALL dbms.listQueries()
-- it returns a field indexes which gives you info on indexes used by the query. This is going to tend to be good for long running processor intensive queries. If the query is super short/fast, it'll be done before you have a chance to catch it with this method.
You can also list transactions with this second link. No direct index usage information. Others may be able to comment about the affect between page hits / page faults and index usage (there may be a connection I'm not sure)
All the sessions of the conference are now available online