postgres-patterns
Sorgu optimizasyonu, şema tasarımı, indeksleme ve güvenlik için PostgreSQL veritabanı kalıpları. Supabase en iyi uygulamalarına dayanır.
Original · translation is not supported for this source languageTarget: Databases. Automatically collected · unverified.
Excerpt from the author’s documentation
Extracted from a fixed version of SKILL.md in its original language. This is the author’s documentation; installation, compatibility and runtime results have not been verified by this site.
Read the original text
Topics in the source
- PostgreSQL Kalıpları
- Ne Zaman Aktifleştirmeli
- Hızlı Referans
- İndeks Hile Sayfası
- Veri Tipi Hızlı Referans
- Yaygın Kalıplar
- Anti-Kalıp Tespiti
- Yapılandırma Şablonu
PostgreSQL en iyi uygulamaları için hızlı referans. Detaylı kılavuz için database-reviewer agent'ını kullanın. SQL sorguları veya migration'lar yazarken Veritabanı şemaları tasarlarken Yavaş sorguları troubleshoot ederken Row Level Security uygularken Connection pooling kurarken | Sorgu Kalıbı | İndeks Tipi | Örnek | |--------------|------------|---------| | WHERE col = value | B-tree (varsayılan) | CREATE INDEX idx ON t (col) | | WHERE col > value | B-tree | CREATE INDEX idx ON t (col) | | WHERE a = x AND b > y | Composite | CREATE INDEX idx ON t (a, b) | | WHERE jsonb @> '{}' | GIN | CREATE INDEX idx ON t USING gin (col) | | WHERE tsv @@ query | GIN | CREATE INDEX idx ON t USING gin (col) | | Zaman serisi aralıkları | BRIN | CREATE INDEX idx ON t USING brin (col) | | Kullanım Senaryosu | Doğru Tip | Kaçın | |----------|-------------|-------| | ID'ler | bigint | int, rastgele UUID | | String'ler | text | varchar(255) | | Timestamp'ler | timestamptz | timestamp | | Para | numeric(10,2) | float | | Flag'ler | boolean | varchar, int | Composite İndeks Sırası: Covering İndeks: Partial İndeks: RLS Policy (Optimize Edilmiş): UPSERT: Cursor Sayfalama: Kuyruk İşleme: Agent: database-revie
This is an excerpt. Refer to the complete source and its current requirements.
- Source repository
- affaan-m/ECC
- Source file
- docs/tr/skills/postgres-patterns/SKILL.md
- Fixed revision
- d2ef2680594f9a17526a6e1a2e18b3d242c5d17b
Sources and evidence
This record was collected automatically. Its documentation, suitability and runtime behavior have not been manually verified.
Author: affaan-m/ECC · original repository metadata. Documentation review: Not reviewed. Last source check: 2026-11-09T14:01:50.022Z.
Categories are inferred from names, descriptions and paths. They do not establish compatibility.
License and attribution
MIT. Third-party content and copyright remain with their authors. Refer to the original license and terms.
Original license ↗Synchronization, copying and user-reported success do not mark a resource as runtime-tested.
Limitations and notes
- Collecting metadata does not mean this site has installed, adapted, runtime-tested or security-reviewed the resource.