mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00:00
curtesty of toonarmy :) (shows cached sql queries to determine useless sql caches)
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9313 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
e5f0824e4b
commit
afb5f07213
1 changed files with 2 additions and 0 deletions
2
phpBB/develop/collect_cache_stats.sh
Executable file
2
phpBB/develop/collect_cache_stats.sh
Executable file
|
@ -0,0 +1,2 @@
|
||||||
|
#!/bin/sh
|
||||||
|
cat sql_*.php | grep '/* SELECT' | sed 's,/\* ,,;s, \*/,,' | sort > _cache.txt
|
Loading…
Add table
Reference in a new issue