{"id":16736658,"url":"https://github.com/papakvy/sql_doctor","last_synced_at":"2025-10-04T03:04:42.313Z","repository":{"id":249777908,"uuid":"722393089","full_name":"papakvy/sql_doctor","owner":"papakvy","description":null,"archived":false,"fork":false,"pushed_at":"2025-03-24T11:07:40.000Z","size":26,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-24T11:40:48.999Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/papakvy.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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,"zenodo":null}},"created_at":"2023-11-23T03:41:32.000Z","updated_at":"2024-12-24T08:01:52.000Z","dependencies_parsed_at":"2024-07-23T09:45:57.860Z","dependency_job_id":"22ff2781-2c66-4f3f-bba4-36b083536d85","html_url":"https://github.com/papakvy/sql_doctor","commit_stats":null,"previous_names":["papakvy/sql_doctor"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/papakvy/sql_doctor","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/papakvy%2Fsql_doctor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/papakvy%2Fsql_doctor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/papakvy%2Fsql_doctor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/papakvy%2Fsql_doctor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/papakvy","download_url":"https://codeload.github.com/papakvy/sql_doctor/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/papakvy%2Fsql_doctor/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262239688,"owners_count":23280380,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":[],"created_at":"2024-10-13T00:23:09.339Z","updated_at":"2025-10-04T03:04:37.262Z","avatar_url":"https://github.com/papakvy.png","language":"Shell","readme":"# SQL Doctor\n\n## Pre-requirements\n\n- `shc` package must be installed on your system\n\n## Installation Instructions\n\n### 1. Install\n\n```bash\n[sudo] make install\n```\n\nThen, follow the messages during installation!\n\n### 2. Verify\n\n```bash\nsql_doctor -v\n\n# sql_doctor 1.0.3 (2024-12-24 🎄)\n```\n\n### 3. Usage\n\n  - Default value: `--execution-time = 1000`, `--total-results-peak = 200` and `--multiple-pattern = n`\n```bash\nsql_doctor /path/to/log/file.log\n```\n\n- Choose your desired values for `--execution-time` and `--total-results-peak`.\n```bash\nsql_doctor -e 5000 -p 100 /path/to/log/file.log\n\n# Explain\n  - Get all SQLs in the `/path/to/log/file.log` with  `--execution-time \u003e= 5000 miliseconds`\n  - Results must be \"\u003c=100\" records\n```\n\n### 4. Uninstall\n\n```bash\n[sudo] make uninstall\n```\n\n### 5. Contributing\n\n  - Fork it ( https://github.com/papakvy/sql_doctor/fork )\n  - Create your feature branch (`git checkout -b my-new-feature`)\n  - Commit your changes (`git commit -am 'Add some feature'`)\n  - Push to the branch (`git push origin my-new-feature`)\n  - Create a new Pull Request\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpapakvy%2Fsql_doctor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpapakvy%2Fsql_doctor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpapakvy%2Fsql_doctor/lists"}