The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
Finalizing assets
Copple25ec75fb9bce
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.mdxindex 916dc3ad4cf..0c2f570de9e 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@@ -2,8 +2,8 @@title: Implementing "seen by" functionality with Postgresdescription: Different approaches for tracking visitor counts with PostgreSQL.author: vados-image: 2022-june/thumb.png-thumb: 2022-june/thumb.png+image: seen-by/seen-by-postgresql-thumb.png+thumb: seen-by/seen-by-postgresql-thumb.pngtags:- postgresqldate: '2022-07-06'@@ -28,7 +28,7 @@ Sure, this scenario isn't real, but it could be - that last part about PostgresWe've got the following simple table layout:-+In SQL migration form:@@ -437,7 +437,7 @@ An average of `2.15ms` versus `2.05ms` with the simpler counter is a ~4% increasA 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:-+In SQL:@@ -532,7 +532,7 @@ Average is coming in at `2.50ms` which is 16% slower than simple-hstore and 21%### Try #4: Getting a bit more serious: bringing out the HyperLogLog-+We'll just draw [the rest of the owl][kym-rest-of-owl] now.diff --git a/apps/www/public/images/blog/seen-by/dbdiagram.png b/apps/www/public/images/blog/seen-by/dbdiagram.pngdeleted file mode 100644index 3a540180d3c..00000000000Binary files a/apps/www/public/images/blog/seen-by/dbdiagram.png and /dev/null differdiff --git a/apps/www/public/images/blog/seen-by/dbdiagram_advanced.png b/apps/www/public/images/blog/seen-by/dbdiagram_advanced.pngdeleted file mode 100644index 119f52cb119..00000000000Binary files a/apps/www/public/images/blog/seen-by/dbdiagram_advanced.png and /dev/null differdiff --git a/apps/www/public/images/blog/seen-by/graph-seen-by.png b/apps/www/public/images/blog/seen-by/graph-seen-by.pngdeleted file mode 100644index 44d4000545d..00000000000Binary files a/apps/www/public/images/blog/seen-by/graph-seen-by.png and /dev/null differdiff --git a/apps/www/public/images/blog/seen-by/graph-seen-edges.png b/apps/www/public/images/blog/seen-by/graph-seen-edges.pngindex b1ed1b6d538..5119756683d 100644Binary files a/apps/www/public/images/blog/seen-by/graph-seen-edges.png and b/apps/www/public/images/blog/seen-by/graph-seen-edges.png differdiff --git a/apps/www/public/images/blog/seen-by/latency-graph.png b/apps/www/public/images/blog/seen-by/latency-graph.pngdeleted file mode 100644index 18e4b02cad5..00000000000Binary files a/apps/www/public/images/blog/seen-by/latency-graph.png and /dev/null differdiff --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.pngdeleted file mode 100644index 33980b6b9d2..00000000000Binary files a/apps/www/public/images/blog/seen-by/posts-seen-by-users-assoc-table.png and /dev/null differdiff --git a/apps/www/public/images/blog/seen-by/rest-of-owl.jpg b/apps/www/public/images/blog/seen-by/rest-of-owl.jpgdeleted file mode 100644index 0ae762d1869..00000000000Binary files a/apps/www/public/images/blog/seen-by/rest-of-owl.jpg and /dev/null differdiff --git a/apps/www/public/images/blog/seen-by/rest-of-owl.png b/apps/www/public/images/blog/seen-by/rest-of-owl.pngnew file mode 100644index 00000000000..f0cd8a94d42Binary files /dev/null and b/apps/www/public/images/blog/seen-by/rest-of-owl.png differdiff --git a/apps/www/public/images/blog/seen-by/seen-by-chart.png b/apps/www/public/images/blog/seen-by/seen-by-chart.pngindex f391913f0de..ad5149939d9 100644Binary files a/apps/www/public/images/blog/seen-by/seen-by-chart.png and b/apps/www/public/images/blog/seen-by/seen-by-chart.png differdiff --git a/apps/www/public/images/blog/seen-by/seen-by-postgresql-thumb.png b/apps/www/public/images/blog/seen-by/seen-by-postgresql-thumb.pngnew file mode 100644index 00000000000..f9bf33f5e01Binary files /dev/null and b/apps/www/public/images/blog/seen-by/seen-by-postgresql-thumb.png differdiff --git a/apps/www/public/images/blog/seen-by/seen-by-postgresql-uml-1.png b/apps/www/public/images/blog/seen-by/seen-by-postgresql-uml-1.pngnew file mode 100644index 00000000000..320defc7deeBinary files /dev/null and b/apps/www/public/images/blog/seen-by/seen-by-postgresql-uml-1.png differdiff --git a/apps/www/public/images/blog/seen-by/seen-by-postgresql-uml-2.png b/apps/www/public/images/blog/seen-by/seen-by-postgresql-uml-2.pngnew file mode 100644index 00000000000..aba1f89f70dBinary files /dev/null and b/apps/www/public/images/blog/seen-by/seen-by-postgresql-uml-2.png differdiff --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.pngdeleted file mode 100644index a9780ca83b5..00000000000Binary files a/apps/www/public/images/blog/seen-by/supabase-seen-by-basic-table-layout.png and /dev/null differdiff --git a/apps/www/public/images/blog/seen-by/supabase-seen-by.drawio b/apps/www/public/images/blog/seen-by/supabase-seen-by.drawiodeleted file mode 100644index 5ebd75b7871..00000000000--- a/apps/www/public/images/blog/seen-by/supabase-seen-by.drawio+++ /dev/null@@ -1 +0,0 @@-<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+5CIPvqTU4gr9GLoNvhXxqPY7uy5xpIQ62yAPCZUPrWg4MoJpkpKqEbJZsqETp7NSxV3/YK1PphiKRwTcH4Xelc3P0gGIrxbP1yHD/O7U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