2015-10-24 79 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