Skip to content

Very slow for larger collections #70

@schickling

Description

@schickling

UI freezes / is unresponsive: https://www.loom.com/share/957ae7efad2047cd920f2f537d3bf4c2

Repro:

DB backup: postgres.gz

Prisma schema:

datasource db {
  provider = "postgresql"
  url      = "postgresql://USERNAME@127.0.0.1:3306/postgres?schema=public"
}

model User {
  id    String  @default(cuid()) @id @unique
  email String  @unique
  name  String?
  posts Post[]
}

model Post {
  id        String   @default(cuid()) @id @unique
  createdAt DateTime @default(now())
  updatedAt DateTime @updatedAt
  published Boolean
  title     String
  content   String?
  author    User?
}

Metadata

Metadata

Assignees

Labels

bug/2-confirmedBug has been reproduced and confirmed.kind/bugA reported bug.

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions