Skip to content

Commit 5c77b92

Browse files
committed
Update file 0010_flamegraphs_for_postgres.md
1 parent 11376d1 commit 5c77b92

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

0010_flamegraphs_for_postgres.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ perf top
8181
– and observe what's happening with the system as a whole. Note that many functions will appear in unreadable form such as `0x00000000001d6d88` – memory addresses of some functions which names cannot be resolved:
8282

8383
<a href="./files/0010_perf_top_wo_debug_symbols.png">
84-
<img src="./files/0010_perf_top_wo_debug_symbols.png" width="600"/>
84+
<img src="./files/0010_perf_top_wo_debug_symbols.png" width="700"/>
8585
</a>
8686

8787
This is because we don't have debug symbols for Postgres yet. Let's fix it.
@@ -107,7 +107,7 @@ Once packages with debug symbols are installed, it is important not to forget to
107107
Now `perf top` is going to look much better – all the Postgres-related lines have function names:
108108

109109
<a href="./files/0010_perf_top_w_debug_symbols.png">
110-
<img src="./files/0010_perf_top_w_debug_symbols.png" width="600"/>
110+
<img src="./files/0010_perf_top_w_debug_symbols.png" width="700"/>
111111
</a>
112112

113113
## Step 3: Get FlameGraph tooling
@@ -159,7 +159,7 @@ That's it. Now you need to copy `profile.svg` to your machine and open it in, fo
159159
Here is the result for our process running an infinite EXPLAIN loop:
160160

161161
<a href="./files/0010_flamegraph.png">
162-
<img src="./files/0010_flamegraph.png" width="600"/>
162+
<img src="./files/0010_flamegraph.png" width="700"/>
163163
</a>
164164

165165
It's very interesting that ~35% of CPU time is spent to analyzing if `Merge Join` is worth using, while eventually the planner picks a `Nested Loop`:

0 commit comments

Comments
 (0)