{"id":16481493,"url":"https://github.com/claudioessilva/tsqlperformancetuning","last_synced_at":"2025-02-28T18:18:41.985Z","repository":{"id":194340720,"uuid":"683006232","full_name":"ClaudioESSilva/TSQLPerformanceTuning","owner":"ClaudioESSilva","description":"Try to track down why your query is slow and get suggestions to fix it","archived":false,"fork":false,"pushed_at":"2024-09-21T14:40:23.000Z","size":102,"stargazers_count":11,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-01-11T10:35:41.434Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ClaudioESSilva.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","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},"funding":{"github":"ClaudioESSilva"}},"created_at":"2023-08-25T11:24:58.000Z","updated_at":"2024-10-07T08:02:12.000Z","dependencies_parsed_at":null,"dependency_job_id":"cd1bc234-4ac1-4c06-85e8-73ac5e412257","html_url":"https://github.com/ClaudioESSilva/TSQLPerformanceTuning","commit_stats":null,"previous_names":["claudioessilva/tsqlperformancetuning"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ClaudioESSilva%2FTSQLPerformanceTuning","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ClaudioESSilva%2FTSQLPerformanceTuning/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ClaudioESSilva%2FTSQLPerformanceTuning/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ClaudioESSilva%2FTSQLPerformanceTuning/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ClaudioESSilva","download_url":"https://codeload.github.com/ClaudioESSilva/TSQLPerformanceTuning/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241198806,"owners_count":19926518,"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-11T13:07:40.659Z","updated_at":"2025-02-28T18:18:41.963Z","avatar_url":"https://github.com/ClaudioESSilva.png","language":null,"funding_links":["https://github.com/sponsors/ClaudioESSilva"],"categories":[],"sub_categories":[],"readme":"# T-SQL Performance Tuning\n\nTry to find out why a query is slow and get suggestions to fix it.\n\n## Flowcharts\n\nIn the [Flowcharts](./Flowcharts) directory you will find some \"decision trees\" built with mermaid. \nThese flowcharts are meant to help you find a reason why your SQL Server query may have performance issues and suggest some ideas to fix it.\n\nMainly the suggestions will be around code re-write. \n\n## DISCLAIMER - Please read it: \nThe suggestions made can be anywhere between, a harmless code change, to turning some \"switch\" on (for example: database scoped configurations). \nKeep in mind these can have other impacts.\n\nBe sure you test these in a proper environment with a proper workload (when applicable) before you push these changes to production!\n\nThis isn't a silver bullet neither an exhaustive list of the existing options.  \nThere are many variables and combinations that will make cause different results.  \n\nThat said, these are high-level flowcharts that will try to guide you and may or not lead you to the possible cause and/or solution.\n\nHopefully, it will give you more ideas about where to look.\n\n## Contributing\nHave you found something missing? I'm sure you will find it!\nPlease open an \"Issue\" and let me know what you found, maybe a typo, maybe a missing example that you see every day and you would like to see unfold here.\n\nNOTE: As of now, I'm not accepting PR (pull requests), as I'm not yet fixed to this way of visualizing the charts but, \"Issues\" are open and welcomed.\n\n## Future plans\n- Adding some demos\n- Work on an \"automatic\" query analyzer to check if it's feasible for some scenarios\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fclaudioessilva%2Ftsqlperformancetuning","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fclaudioessilva%2Ftsqlperformancetuning","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fclaudioessilva%2Ftsqlperformancetuning/lists"}