← CodeClarityLab Home
Browse by Category
+ added · updated 7d
🤖 AI Guestbook — #database educational data only
| |
Last 30 days
9 pings — 2026-04-16 T 17 pings — 2026-04-17 F 18 pings — 2026-04-18 S 41 pings — 2026-04-19 S 19 pings — 2026-04-20 M 12 pings — 2026-04-21 T 24 pings — 2026-04-22 W 44 pings — 2026-04-23 T 53 pings — 2026-04-24 F 87 pings — 2026-04-25 S 15 pings — 2026-04-26 S 8 pings — 2026-04-27 M 14 pings — 2026-04-28 T 21 pings — 2026-04-29 W 59 pings — 2026-04-30 T 73 pings — 2026-05-01 F 58 pings — 2026-05-02 S 33 pings — 2026-05-03 S 21 pings — 2026-05-04 M 20 pings — 2026-05-05 T 19 pings — 2026-05-06 W 78 pings — 2026-05-07 T 53 pings — 2026-05-08 F 137 pings — 2026-05-09 S 32 pings — 2026-05-10 S 12 pings — 2026-05-11 M 14 pings — 2026-05-12 T 37 pings — 2026-05-13 W 29 pings — Yesterday T 15 pings — Today F
ChatGPT 2
ChatGPT 6Perplexity 4Google 1Amazonbot 1
Amazonbot 816Perplexity 780Google 452Unknown AI 268ChatGPT 247Ahrefs 243Claude 111SEMrush 100Meta AI 73Majestic 34Bing 21Qwen 5DuckDuckGo 1
crawler 2.9k crawler_json 158 pre-tracking 63
Tag total3.2k pings Terms pinged122 / 122 Distinct agents12
Level All Beginner Intermediate Advanced Tag: database
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
Deadlock
A deadlock occurs when two or more processes each hold a resource the other needs — both wait forever. Prevention requires consistent lock ordering or timeouts.
2mo ago concurrency intermediate
OLAP vs OLTP
OLTP (Online Transaction Processing) optimises for many small, fast read/write operations — your main application database. OLAP (Online Analytical Processing) optimises for few, large analytical queries scanning millions of rows — your reporting and analytics database.
2mo ago database intermediate
Optimistic Locking
Optimistic locking detects conflicts at commit time using a version number — no locks held during the transaction, high throughput for low-contention scenarios.
2mo ago concurrency intermediate
ORM — Object-Relational Mapper PHP 7.0+
A library that maps database rows to PHP objects and vice versa — handling SQL generation, relationships, and lazy loading, at the cost of hiding query behaviour that can cause N+1 problems if used carelessly.
2mo ago database beginner
Pessimistic Locking
Pessimistic locking acquires an exclusive lock immediately on read — preventing any concurrent modification. Right for high-contention scenarios but reduces throughput.
2mo ago concurrency intermediate
Query Optimisation
The process of rewriting SQL queries and database structures to reduce execution time — using EXPLAIN to identify full table scans, adding targeted indexes, rewriting JOINs, and eliminating N+1 patterns.
2mo ago database intermediate
SQLite in Production PHP 5.1+
SQLite is a serverless, file-based SQL database that is appropriate for production use in single-server applications, edge deployments, and embedded systems — with specific limitations around concurrent writes that make it unsuitable for multi-server setups.
2mo ago database intermediate
PDO Introduction — Replacing mysql_* with Prepared Statements PHP 5.1+
PDO (PHP Data Objects), introduced in PHP 5.1, provided a unified database abstraction layer with named parameters and prepared statements — finally making SQL injection prevention structurally reliable.
2mo ago php beginner
Active Record Pattern PHP 5.0+
A design pattern where a database row is wrapped in an object that includes both the data and the persistence logic — the object knows how to save, update, and delete itself.
2mo ago quality intermediate
B-Trees & B+ Trees
Self-balancing tree structures used in database indexes — each node holds multiple keys, keeping the tree shallow and minimising disk I/O for range queries.
2mo ago data_structures advanced
Column-Level Encryption PHP 7.1+
Encrypting sensitive database columns (SSN, credit card, medical data) — application holds the key; database never sees plaintext; breach exposes only ciphertext.
2mo ago database advanced
Diagram: Database Replication Database Replication PHP 5.0+
Copying data from one database server to replicas — synchronous replication guarantees zero data loss, asynchronous is faster but risks losing recent writes on failure.
2mo ago database intermediate
Database Seeding & Fixture Management PHP 5.0+
Populating databases with consistent, reproducible test and development data — using factories, seeders, and fixtures to create realistic scenarios without manual data entry.
2mo ago general intermediate
Diagram: Database Triggers Database Triggers PHP 5.0+
Stored procedures that fire automatically on INSERT, UPDATE, or DELETE — useful for audit logs and enforcing constraints, but dangerous when they become hidden business logic.
2mo ago database intermediate
Document Stores PHP 7.0+
Databases that store semi-structured documents (JSON/BSON) — MongoDB, CouchDB — flexible schema, nested data, and horizontal scaling at the cost of no joins and eventual consistency.
2mo ago database intermediate
DSN Security & Connection String Secrets PHP 5.0+
Database credentials in connection strings must never be hardcoded — use environment variables or secrets managers, least-privilege users, and never log DSNs.
2mo ago database intermediate
Diagram: Eventual Consistency in Databases Eventual Consistency in Databases
A consistency model where replicas are not immediately synchronised — all nodes will converge to the same state given no new writes, trading consistency for availability and partition tolerance.
2mo ago database advanced
Graph Databases
Databases where relationships are first-class citizens — Neo4j, Amazon Neptune — optimised for traversing complex networks of connected entities that are expensive in relational databases.
2mo ago database advanced
Managed Databases
Cloud-hosted database services where the provider manages patching, backups, failover, and scaling — RDS (AWS), Cloud SQL (GCP), Azure Database — trading control for operational simplicity.
2mo ago cloud intermediate
Polyglot Persistence
Using multiple different database technologies in a single application — each chosen for what it does best rather than forcing all data into one general-purpose store.
2mo ago general advanced
✓ schema.org compliant