Closed
Bug 722368
Opened 11 years ago
Closed 11 years ago
Report slow SQL created from dynamic strings to Telemetry
Categories
(Toolkit :: Storage, defect)
Toolkit
Storage
Tracking
()
RESOLVED
FIXED
mozilla14
People
(Reporter: vladan, Assigned: vladan)
References
Details
(Keywords: perf, Whiteboard: [Snappy:P2])
Attachments
(4 files, 4 obsolete files)
2.41 KB,
patch
|
Details | Diff | Splinter Review | |
4.65 KB,
application/x-xpinstall
|
Details | |
21.09 KB,
patch
|
taras.mozilla
:
review+
|
Details | Diff | Splinter Review |
1.01 KB,
text/plain
|
Details |
As a privacy safeguard, we are currently only reporting on the slow execution of prepared SQL statements. Consequently we are missing a lot of time-consuming SQL created from dynamic strings. We should investigate collecting metrics on such SQL and perhaps reporting only its JavaScript call stack instead of the actual SQL string.
Updated•11 years ago
|
Whiteboard: [Snappy:P2]
Assignee | ||
Updated•11 years ago
|
Assignee: nobody → vdjeric
Assignee | ||
Comment 1•11 years ago
|
||
Attachment #602230 -
Flags: review?(taras.mozilla)
Assignee | ||
Comment 2•11 years ago
|
||
Assignee | ||
Comment 3•11 years ago
|
||
Assignee | ||
Updated•11 years ago
|
Attachment #602352 -
Attachment is patch: true
Assignee | ||
Comment 4•11 years ago
|
||
Comment 5•11 years ago
|
||
Comment on attachment 602352 [details] [diff] [review] about-telemetry change s/fullSlowSQL/debugSlowSQL/. I'm still pondering rest of the stuff
Comment 6•11 years ago
|
||
Comment on attachment 602234 [details]
Sample about:telemetry output and corresponding Telemetry Ping report
I'm not sure of utility of telling addon dbs apart from non-addon dbs within the ping.
For now we should report a cumulative number like "dynamic query on x.sqlite"
We should also add a toolkit.telemetry.debugSlowSQL=false pref and gate private sql recording on that.
Comment 7•11 years ago
|
||
Comment on attachment 602230 [details] [diff] [review] Report full SQL strings locally & aggregate private stats for Telemetry, v1 r- based on irc discussion
Attachment #602230 -
Flags: review?(taras.mozilla) → review-
Assignee | ||
Comment 8•11 years ago
|
||
Attachment #602352 -
Attachment is obsolete: true
Assignee | ||
Comment 9•11 years ago
|
||
Attachment #602353 -
Attachment is obsolete: true
Assignee | ||
Comment 10•11 years ago
|
||
Attachment #602230 -
Attachment is obsolete: true
Attachment #603909 -
Flags: review?(taras.mozilla)
Assignee | ||
Comment 11•11 years ago
|
||
Attachment #602234 -
Attachment is obsolete: true
Comment 12•11 years ago
|
||
Comment on attachment 603909 [details] [diff] [review] Report full SQL strings locally & aggregate private stats for Telemetry, v2 AddonDb -> TrackedDB + fullSql.AppendPrintf(" /* addon DB %s */", dbName.BeginReading()); -- is the proper comment prefix for SQL. s/addon/untracked/
Attachment #603909 -
Flags: review?(taras.mozilla) → review+
Assignee | ||
Comment 13•11 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/b411890365e8
Depends on: 712109
Target Milestone: --- → mozilla14
Comment 14•11 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/b411890365e8
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•