Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

adds the rest of the images

Coppleb9517b6b7467
diff --git a/apps/www/_blog/2022-07-12-seen-by-in-postgresql.mdx b/apps/www/_blog/2022-07-12-seen-by-in-postgresql.mdx
index c0eff4eec9d..13f1744ccbc 100644
--- a/apps/www/_blog/2022-07-12-seen-by-in-postgresql.mdx
+++ b/apps/www/_blog/2022-07-12-seen-by-in-postgresql.mdx
@@ -28,7 +28,7 @@ Sure, this scenario isn't real, but it could be - that last part about Postgres
We've got the following simple table layout:
-![basic table layout diagram](./supabase-seen-by-basic-table-layout.png)
+![basic table layout diagram](/images/blog/seen-by/supabase-seen-by-basic-table-layout.png)
In SQL migration form:
@@ -437,7 +437,7 @@ An average of `2.15ms` versus `2.05ms` with the simpler counter is a ~4% increas
A likely requirement from the original scenario that we've completely ignored is remembering _which_ users liked a certain post to. The easiest solution here is an "associative" table like this one:
-![tables with associative table](./posts-seen-by-users-assoc-table.png)
+![tables with associative table](/images/blog/seen-by/posts-seen-by-users-assoc-table.png)
In SQL:
@@ -664,7 +664,7 @@ As is usually the case in academia and practice, we can make our problem drastic
One such reconfiguration would be storing the information as a graph:
-![graph of seen by relation](graph-seen-by.png)
+![graph of seen by relation](/images/blog/seen-by/graph-seen-by.png)
As you might imagine, finding the number of "seen-by" relations would simply be counting the number of edges out of one of the nodes!
@@ -676,7 +676,7 @@ We won't pursue it in this post but it would be a great way to model this proble
OK, so what's the answer at the end of the day? What's the best way to get to that useful v1? Here are the numbers:
-![latency graph showing simple-hstore,hll,hll,and assoc table in speed order](latency-graph.png)
+![latency graph showing simple-hstore,hll,hll,and assoc table in speed order](/images/blog/seen-by/latency-graph.png)
In tabular form:
diff --git a/apps/www/public/images/blog/seen-by/graph-seen-by.png b/apps/www/public/images/blog/seen-by/graph-seen-by.png
new file mode 100644
index 00000000000..44d4000545d
Binary files /dev/null and b/apps/www/public/images/blog/seen-by/graph-seen-by.png differ
diff --git a/apps/www/public/images/blog/seen-by/latency-graph.png b/apps/www/public/images/blog/seen-by/latency-graph.png
new file mode 100644
index 00000000000..18e4b02cad5
Binary files /dev/null and b/apps/www/public/images/blog/seen-by/latency-graph.png differ
diff --git a/apps/www/public/images/blog/seen-by/posts-seen-by-users-assoc-table.png b/apps/www/public/images/blog/seen-by/posts-seen-by-users-assoc-table.png
new file mode 100644
index 00000000000..33980b6b9d2
Binary files /dev/null and b/apps/www/public/images/blog/seen-by/posts-seen-by-users-assoc-table.png differ
diff --git a/apps/www/public/images/blog/seen-by/rest-of-owl copy.jpg b/apps/www/public/images/blog/seen-by/rest-of-owl copy.jpg
new file mode 100644
index 00000000000..0ae762d1869
Binary files /dev/null and b/apps/www/public/images/blog/seen-by/rest-of-owl copy.jpg differ
diff --git a/apps/www/public/images/blog/seen-by/supabase-seen-by-basic-table-layout.png b/apps/www/public/images/blog/seen-by/supabase-seen-by-basic-table-layout.png
new file mode 100644
index 00000000000..a9780ca83b5
Binary files /dev/null and b/apps/www/public/images/blog/seen-by/supabase-seen-by-basic-table-layout.png differ
diff --git a/apps/www/public/images/blog/seen-by/supabase-seen-by.drawio b/apps/www/public/images/blog/seen-by/supabase-seen-by.drawio
new file mode 100644
index 00000000000..5ebd75b7871
--- /dev/null
+++ b/apps/www/public/images/blog/seen-by/supabase-seen-by.drawio
@@ -0,0 +1 @@
+<mxfile host="app.diagrams.net" modified="2022-06-28T04:21:09.221Z" agent="5.0 (X11)" etag="z70VONw_BfJaB5HOsuRO" version="20.0.3" type="device"><diagram id="O2WRULxolf-tCMTBWlDf" name="Basic Table Layout">7VdLc9owEP41nkkPyfgBJBwDJOlMaSeZHNqeGGEJW0G2PPI6gfz6rmzJD0wIefTQmZ6Qvt2V5P2+1QonmCabG0Wy+LukTDi+SzdOMHN83/NGPv5oZFsho8CrgEhxapwa4J4/MwO6Bi04ZXnHEaQUwLMuGMo0ZSF0MKKUfOq6raTo7pqRiPWA+5CIPvqTU4gr9GLoNvhXxqPY7uy5xpIQ62y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