{"id":15480084,"url":"https://github.com/tyler36/ddev-dbslow","last_synced_at":"2026-01-27T02:34:21.489Z","repository":{"id":220431830,"uuid":"751181760","full_name":"tyler36/ddev-dbslow","owner":"tyler36","description":"Helper to log \"slow\" queries","archived":false,"fork":false,"pushed_at":"2025-05-27T01:01:07.000Z","size":87,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-29T01:39:31.538Z","etag":null,"topics":["database","ddev-get","debugging","mysql"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tyler36.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-02-01T04:56:32.000Z","updated_at":"2025-05-27T01:01:10.000Z","dependencies_parsed_at":null,"dependency_job_id":"c3b60146-fb97-47dd-8550-82e30866f704","html_url":"https://github.com/tyler36/ddev-dbslow","commit_stats":null,"previous_names":["tyler36/ddev-dbslow"],"tags_count":3,"template":false,"template_full_name":"ddev/ddev-addon-template","purl":"pkg:github/tyler36/ddev-dbslow","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tyler36%2Fddev-dbslow","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tyler36%2Fddev-dbslow/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tyler36%2Fddev-dbslow/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tyler36%2Fddev-dbslow/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tyler36","download_url":"https://codeload.github.com/tyler36/ddev-dbslow/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tyler36%2Fddev-dbslow/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28796977,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-27T01:07:07.743Z","status":"online","status_checked_at":"2026-01-27T02:00:07.755Z","response_time":168,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["database","ddev-get","debugging","mysql"],"created_at":"2024-10-02T04:40:30.418Z","updated_at":"2026-01-27T02:34:21.484Z","avatar_url":"https://github.com/tyler36.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![add-on registry](https://img.shields.io/badge/DDEV-Add--on_Registry-blue)](https://addons.ddev.com)\n[![tests](https://github.com/tyler36/ddev-dbslow/actions/workflows/tests.yml/badge.svg)](https://github.com/tyler36/ddev-dbslow/actions/workflows/tests.yml)\n[![last commit](https://img.shields.io/github/last-commit/tyler36/ddev-dbslow)](https://github.com/tyler36/ddev-dbslow/commits)\n[![release](https://img.shields.io/github/v/release/tyler36/ddev-dbslow)](https://github.com/tyler36/ddev-dbslow/releases/latest)\n\n# dbslow \u003c!-- omit in toc --\u003e\n\n- [What is dbslow?](#what-is-dbslow)\n- [Getting started](#getting-started)\n- [Usage](#usage)\n- [Starting and stopping](#starting-and-stopping)\n- [Viewing](#viewing)\n- [TODO](#todo)\n\n## What is dbslow?\n\nThis addon is designed to log slow queries (\u003e1 second). Slow queries degrade site performance.\nBy tracking slow queries, developer gain insight to how the database is being used and specific areas to focus for improvement.\n\nThis addon was inspired by [ChromaticHQ/ddev-dblog](https://github.com/ChromaticHQ/ddev-dblog). The main difference is\n\n- `ddev-dblog` logs _all_ queries.\n- `ddev-dbslow` logs queries slow queries (\u003e1 second)\n\nAs both addons mature, it is possible this functionality will merge into `ddev-dblog` or DDEV core.\n\n## Getting started\n\n1. Install the addon.\n\n    ```shell\n    ddev add-on get tyler36/ddev-dbslow\n    ```\n\n2. Restart DDEV.\n\n    ```shell\n    ddev restart\n    ```\n\n## Usage\n\n## Starting and stopping\n\n- `ddev dbslow on`: Start logging slow queries.\n- `ddev dbslow off`: Stop logging slow queries.\n- `ddev dbslow toggle`: Toggle the current state of the logging. Ie. OFF =\u003e ON, ON =\u003e OFF.\n\n## Viewing\n\n- `ddev dbslow view`: Display the log file.\n- `ddev dbslow tail`: Stream the log file in the terminal.\n\n## TODO\n\n- [ ] Add configuration options for settings.\n- [ ] Add tests for `ddev dbslow tail`\n- [ ] Add tests for MySQL\n- [ ] Add support for Postgres\n\n**Contributed and maintained by [@tyler36](https://github.com/tyler36)**\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftyler36%2Fddev-dbslow","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftyler36%2Fddev-dbslow","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftyler36%2Fddev-dbslow/lists"}