2015-10-24 78 views

回答

3

有一些配置选项可以记录查询慢于阈值,例如,

dbms.querylog.enabled=true 
dbms.querylog.filename=data/log/queries.log 
dbms.querylog.max_archives=10 
dbms.querylog.threshold=0 

如果将阈值设置为0,则会记录每个查询。结帐参考手册中的部分:http://neo4j.com/docs/stable/configuration-settings.html