Patches
Search the entire project
This project's trackers
This project's forums
This project's releases
This project's news
Project
People
Skill
Advanced search
Log In
|
New Account
Home
My Page
Projects
Code Snippets
Project Openings
pgFouine
Summary
Activity
Forums
Tracker
News
SCM
Files
[#1011132] -onlypattern feature
View Trackers
|
Patches
|
Download .csv
|
Monitor
Date:
2011-12-09 14:43
Priority:
3
State:
Open
Submitted by:
Guillaume Luchet (
gluchet
)
Assigned to:
Nobody (None)
Category:
Group:
Resolution:
None
Summary:
-onlypattern feature
Detailed description
I've just added the -onlypattern option allowing to ignore all queries but thoses matching a pattern.
I frequently need stats on only some defined queries, so I add at the beginning of the query something like "/* KEYWORD */ SELECT blah..."
After this I can run pgfouine to get only report on those queries
./pgfouine.php -file /var/log/syslog -onlypattern "/^\/\* KEYWORD/" > output.html
Followup
No Followups Have Been Posted
Attached Files:
Attachments:
pgfouine_add_onlypattern.patch
Changes:
Field
Old Value
Date
By
File Added
708: pgfouine_add_onlypattern.patch
2011-12-09 14:43
gluchet