Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -442,11 +442,13 @@ Today we’re publishing the Prisma Next repo so you can follow the work as it h
If you want to stay close to the work, **star + watch** the repo.

<Button
asChild
variant="ppg"
href="https://github.com/prisma/prisma-next"
className="no-underline hover:no-underline w-1/3 mx-auto"
>
Star and watch the repository
<a href="https://github.com/prisma/prisma-next">
Star and watch the repository
</a>
</Button>

If you want to build alongside us, join `#prisma-next` on [Discord](http://pris.ly/discord?utm_campaign=prisma-next).
Original file line number Diff line number Diff line change
Expand Up @@ -96,10 +96,14 @@ Open up the new project and head to the README for information on how to start e
If you are curious about all of the options available via the CLI, head over to the [`try-prisma` repository](https://github.com/prisma/try-prisma) and check out the README.

<Button
asChild
variant="ppg"
href="https://github.com/prisma/try-prisma"
className="no-underline hover:no-underline w-fit mx-auto px-4"
>Head over to the try-prisma repository</Button>
>
<a href="https://github.com/prisma/try-prisma">
Head over to the try-prisma repository
</a>
</Button>

If you run into any issues, feel free to leave an issue in the repository's [issues](https://github.com/prisma/try-prisma/issues) tab.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -756,8 +756,7 @@ All native geometry filters (`near`, `within`, `intersects`) are optimized to us

:::warning PostgreSQL 16 users with large datasets

If you're using **PostgreSQL 16** with datasets containing thousands of records, you may encounter slow spatial queries (3-5 seconds instead of < 100ms) due to a query planner bug that was fixed in PostgreSQL 17+.

If you're using **PostgreSQL 16** with datasets containing thousands of records, you may encounter slow spatial queries (3-5 seconds instead of `<100ms`) due to a query planner bug that was fixed in PostgreSQL 17+.
**Symptom:** Queries with `near`, `within`, or `intersects` are unexpectedly slow despite having GIST indexes.

**Cause:** PostgreSQL 16 underestimates the number of rows returned by spatial Common Table Expressions (CTEs), causing it to choose Nested Loop joins instead of Hash Joins. This results in thousands of unnecessary loop iterations.
Expand Down
53 changes: 28 additions & 25 deletions apps/docs/cspell.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@
"Baselining",
"behaviour",
"betterauth",
"BIGSERIAL",
"bigserial",
"BIGSERIAL",
"bindefault",
"biograpy",
"blobshape",
Expand All @@ -39,8 +39,8 @@
"bytea",
"BYTEA",
"Candycane",
"Cerbos",
"cerbos",
"Cerbos",
"citext",
"Citext",
"cloudflare",
Expand All @@ -59,8 +59,8 @@
"datetimeoffset",
"dbgenerated",
"dblink",
"DBML",
"dbml",
"DBML",
"dbname",
"distancesphere",
"Distroless",
Expand All @@ -70,14 +70,14 @@
"dotenvx",
"Dreamies",
"earthdistance",
"Ecommerce",
"ecommerce",
"Ecommerce",
"edouardb",
"Elysia",
"epsg",
"elysia",
"Elysia",
"Emelie",
"Enya",
"epsg",
"everytime",
"extralight",
"favorited",
Expand All @@ -92,11 +92,11 @@
"Fumadocs",
"fuzzystrmatch",
"Galera",
"geoexample",
"geofencing",
"Geofencing",
"geoexample",
"Glassmorphism",
"glassmorphism",
"Glassmorphism",
"gofmt",
"Graphile",
"Haines",
Expand All @@ -119,8 +119,8 @@
"jaegertracing",
"janedoe",
"johndoe",
"Koyeb",
"koyeb",
"Koyeb",
"kysely",
"Kysely",
"lastname",
Expand All @@ -133,8 +133,8 @@
"libsql",
"LIBSQL",
"libz",
"Linktree",
"linktree",
"Linktree",
"llms",
"localdb",
"LONGBLOB",
Expand Down Expand Up @@ -174,15 +174,15 @@
"nvarchar",
"NVARCHAR",
"nzpppscrldfwlzfalbrf",
"Ollama",
"ollama",
"Ollama",
"onrender",
"orms",
"ossp",
"OSGB",
"ossp",
"Overfetching",
"Pacman",
"packagemanager",
"Pacman",
"pageinspect",
"permitio",
"pgbouncer",
Expand All @@ -208,8 +208,8 @@
"postgresql",
"PostgreSQL",
"Postico",
"Prisma",
"prisma",
"Prisma",
"prismabox",
"Prismabox",
"Prismas",
Expand Down Expand Up @@ -242,53 +242,54 @@
"schemaname",
"secondtolastproduct",
"serverful",
"Sevalla",
"sevalla",
"Sevalla",
"shopt",
"Silverlake",
"slonik",
"smalldatetime",
"smallmoney",
"smallserial",
"SMALLSERIAL",
"Solidstart",
"solidstart",
"Solidstart",
"Sonali",
"Sorcha",
"specialised",
"SPGIST",
"sqlcommenter",
"SRID",
"srid",
"SRID",
"sslaccept",
"sslcert",
"sslidentity",
"sslinfo",
"sslmode",
"sslpassword",
"Stammerjohann",
"Sunsetting",
"Streamdal",
"streamdal",
"Streamdal",
"Subtacts",
"Supabase",
"Sunsetting",
"supabase",
"Supabase",
"Supavisor",
"Superblog",
"Svetlana",
"tablefunc",
"tablename",
"tablenames",
"Tabnine",
"tabnine",
"Tabnine",
"timestamptz",
"Timestamptz",
"TIMESTAMPTZ",
"timetz",
"Timetz",
"TIMETZ",
"timetz",
"TINYBLOB",
"TINYINT",
"tinyint",
"TINYINT",
"TINYTEXT",
"traceparent",
"Treatos",
Expand All @@ -308,8 +309,8 @@
"typegraphql",
"unaccent",
"unexecutable",
"unikernels",
"unikernel",
"unikernels",
"unindexed",
"unixepoch",
"uploadthing",
Expand Down Expand Up @@ -344,6 +345,8 @@
"pattern": "/videoId=\"[A-Za-z0-9_-]{6,}\"/g"
}
],
"ignoreRegExpList": ["mdxVideoIdAttribute"],
"ignoreRegExpList": [
"mdxVideoIdAttribute"
],
"ignorePaths": []
}
Loading
Loading