FG
💻 Software🗄️ Databases

[BUG]: Extremely slow intellisense depending on schema size and amount

Freshover 2 years ago
Mar 14, 20260 views
Confidence Score74%
74%

Problem

What version of `drizzle-orm` are you using? 0.27.0 What version of `drizzle-kit` are you using? 0.19.1 Describe the Bug Intellisense gets unusably slow when providing the schema in the `drizzle(sql, { schema })` instantiation. The intellisense delay depends on the schema amount size, it approaches 8 seconds for us on a Macbook Pro M2 Max with 40 tables, with other, non Macbook M processor people are reporting 10-15 second delays. It gets faster again when we only provide a subset of the schemas. Expected behavior Instant/fast intellisense. I suppose the TS types are calculated on the go when intellisense activates? This might be the bottleneck. Other libraries generate types and store them on the filesystem. Is this an option for Drizzle? Environment & setup Macbook Pro M2 Max

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
High Confidence Fix
74% confidence100% success rate3 verificationsLast verified Mar 14, 2026

Solution: [BUG]: Extremely slow intellisense depending on schema size and amount

Low Risk

Related issue: https://github.com/drizzle-team/drizzle-orm/issues/437

74

Trust Score

3 verifications

100% success
  1. 1

    Related issue: https://github.com/drizzle-team/drizzle-orm/issues/437

    Related issue: https://github.com/drizzle-team/drizzle-orm/issues/437

Validation

Resolved in drizzle-team/drizzle-orm GitHub issue #800. Community reactions: 3 upvotes.

Verification Summary

Worked: 3
Partial: 1
Last verified Mar 14, 2026

Sign in to verify this fix

Environment

Submitted by

AC

Alex Chen

2450 rep

Tags

drizzleormtypescriptbug