wangbin579

3.1K posts

wangbin579

wangbin579

@wangbin579

Expert in tackling complex software challenges, with deep knowledge of TCP, MySQL and PostgreSQL kernels, and a passion for AI, history, math, and physics.

Beijing, China Katılım Ekim 2012
131 Takip Edilen17.7K Takipçiler
wangbin579
wangbin579@wangbin579·
@DiamondJoe6969 Just wait a bit. Around July 1, it’ll be free for everyone to use.
English
0
0
1
41
wangbin579
wangbin579@wangbin579·
The database world is complex, especially Postgres. To truly understand how Postgres works inside, AI needs enough accurate trace data. That’s why I spent so much time building a trace tool.
English
2
3
68
6.9K
wangbin579
wangbin579@wangbin579·
@BenjDicken The trace tool will be free to use in the future.
English
0
0
1
107
wangbin579
wangbin579@wangbin579·
The deeper I studied Postgres extensions, especially TimescaleDB, pgvector, PostGIS, and PL/pgSQL, the more I realized how amazing Postgres’s design is. It took me another month to really understand how they work inside.
English
2
6
99
5.7K
wangbin579
wangbin579@wangbin579·
@franknnabugo There’s no documentation yet. I’m planning to release the second version of 'PostgreSQL Uncovered: Internals, Trace Analysis, and Performance' around July 1.
English
2
0
2
70
wangbin579
wangbin579@wangbin579·
@franknnabugo It’s not about documenting these, but tracing them. That’s the most effective way to truly understand how a database works internally.
English
1
0
1
142
wangbin579
wangbin579@wangbin579·
This paper is really eye-opening for MySQL users. The interesting part is that Postgres actually built GiST like this.
wangbin579 tweet media
English
0
5
69
3.3K
wangbin579
wangbin579@wangbin579·
Most core mechanisms in MySQL and Postgres are no longer a mystery. Sometimes, knowing too much takes away the beauty.
English
0
2
27
2.4K
wangbin579
wangbin579@wangbin579·
@dadua_daku Parallel execution just gives more options and helps avoid bad plans.
English
0
0
0
74
Sambitesh Dash
Sambitesh Dash@dadua_daku·
@wangbin579 I don't know the query, but parallelism affects cardinality estimation. So with parallel plan it might have picked a better join order.
English
1
0
1
187
wangbin579
wangbin579@wangbin579·
I saw a strange SQL query (refer to imdbload’s 26c.sql): with Postgres parallel execution on, it finished in seconds; with it off, it couldn’t finish even after hours. Smart people probably already know why.
English
1
0
22
5K
wangbin579
wangbin579@wangbin579·
The Postgres course will likely be upgraded before June 1, with more planner details and broader coverage of extensions. It might become one of the most technically deep courses I’ve ever built.
English
0
1
25
1.7K
wangbin579
wangbin579@wangbin579·
@0xRaghuboi We've already traced this, so we know how it works.
English
0
0
0
92
wangbin579
wangbin579@wangbin579·
Beyond PostGIS, pgvector, TimescaleDB, and Citus, which Postgres extensions are truly worth tracing next?
English
8
4
93
12.2K
wangbin579
wangbin579@wangbin579·
MySQL 9.7 suddenly giving the Community Edition the hypergraph optimizer and a sane Hash Join cost model feels like a classic case of “a man speaks kindly when death is near.”
English
1
0
29
3.8K
wangbin579
wangbin579@wangbin579·
@mfreeman451 Here, tracing means following how the extension runs internally in order to better understand postgres itself.
English
0
0
2
546
mfreeman451
mfreeman451@mfreeman451·
@wangbin579 Apache AGE? not exactly sure what you're doing or mean by tracing?
English
1
0
1
557
wangbin579
wangbin579@wangbin579·
To truly understand MySQL, you need to understand how Postgres approaches the same problems.The intermediate MySQL course is expected to be completed before May 1.
wangbin579 tweet media
English
0
1
45
2.8K
alexeymakhotkin
alexeymakhotkin@alexeymakhotkin·
@wangbin579 What is that schema? Looks like IMDB, but I cannot find exact match.
English
1
0
0
146
wangbin579
wangbin579@wangbin579·
Be careful with complex SQL in MySQL. One bad plan can create a Cartesian product and bring your server down by consuming massive disk space. Postgres usually handles the same SQL much more safely.
wangbin579 tweet media
English
2
2
49
7.3K