Skip to content

8 articles

#Database

Every article tagged Database, newest first. Search all articles

  • A hand weighing two storage units: a tall cabinet of identical card drawers and a custom shelf with fitted, colour-coded compartments.Development

    8 min read

    WordPress custom tables vs custom post types for plugin data

    For a WordPress custom table vs custom post type decision, use a custom post type when your data behaves like editable WordPress content. Use a custom table when the data is high-volume, query-heavy, or needs typed columns and indexes that match your plugin's access patterns.

    • WordPress
    • Plugins
    • Database
    Read article
  • A brass robotic arm working through a wall of pigeonholes stacked with task envelopes, a large calendar wheel turning overhead.Performance

    7 min read

    WooCommerce Action Scheduler: clear a backlog and keep it healthy

    A WooCommerce Action Scheduler backlog means scheduled background work is arriving faster than it is being processed, or processing has stopped. Start by grouping pending and failed actions by hook, fix the hook or cron problem, then drain the queue with WP-CLI instead of deleting unknown jobs.

    • WooCommerce
    • WP-CLI
    • Performance
    Read article
  • Small robotic carts carry order folders over a bridge from overflowing old filing cabinets into a bright, neatly indexed vault.Performance

    7 min read

    WooCommerce HPOS: migrate to High-Performance Order Storage safely

    WooCommerce HPOS moves core order data out of WordPress post storage into dedicated WooCommerce tables. Migrate safely by checking extension compatibility, synchronizing both data stores, verifying them, switching HPOS to authoritative, then testing every order workflow before you disable synchronization.

    • WooCommerce
    • Database
    • Performance
    Read article
  • Every spillway of a dam opens at once and a glowing flood rushes toward a small mill below, while a lever on the dam waits to stagger the gates.Performance

    6 min read

    Why a cache purge can overload WordPress and how to stop it

    A WordPress cache stampede happens when many requests lose the same cached data at once and all try to rebuild it. The fix is to limit rebuilds with a shared lock, keep stale data available during refresh, and spread expiries so misses do not arrive as one burst.

    • WordPress
    • Caching
    • Performance
    Read article
  • Miniature builders add a new room to a lit, lived-in model house on scaffolding, the extension glowing on the blueprint below.Development

    5 min read

    WordPress plugin database migrations with dbDelta, done safely

    WordPress plugin database migrations should compare a stored schema version with the version your plugin expects, then run only the missing steps. Use dbDelta() for table creation and supported schema changes, and use explicit, guarded migrations for destructive or unsupported changes.

    • WordPress
    • Plugins
    • Database
    Read article
  • A robot librarian scans endless shelves book by book while a glowing card-index drawer sits unused beside a plan of the faster path.Performance

    8 min read

    How to find and fix slow WordPress database queries

    WordPress slow database queries are usually found by measuring the actual SQL, its execution time, and how often it runs before changing indexes or code.

    • WordPress
    • Database
    • MySQL
    Read article
  • A cockpit dashboard of dim, sluggish gauges; a flashlight behind the open panel finds a knot of tangled cables dragging them down.Performance

    8 min read

    How to fix a slow WordPress admin dashboard without guesswork

    To fix slow WordPress admin screens safely, time one repeatable request, profile the work inside that request, then change one cause at a time. Query Monitor, browser Network data, WP-CLI, and the database can show whether the delay comes from SQL, AJAX, scheduled jobs, remote HTTP calls, or memory pressure.

    • WordPress
    • wp-admin
    • Query Monitor
    Read article
  • A fast robotic arm grabs ready answer cards from a red-glowing memory shelf while the heavy database vault door stays shut.Performance

    8 min read

    WordPress Redis object cache: setup and measurement

    A WordPress Redis object cache keeps WordPress object-cache data available across requests, so PHP can reuse cached query results and other objects instead of rebuilding them each time.

    • WordPress
    • Redis
    • Object Cache
    Read article