{"id":23064324,"url":"https://github.com/hiejulia/sql-tuning","last_synced_at":"2026-05-02T19:33:45.671Z","repository":{"id":104757432,"uuid":"127509736","full_name":"hiejulia/sql-tuning","owner":"hiejulia","description":"Database and JVM tuning techniques.","archived":false,"fork":false,"pushed_at":"2025-02-11T17:01:36.000Z","size":13,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-03T08:17:41.102Z","etag":null,"topics":["mysql","performance-tuning","postresql","sql-tuning"],"latest_commit_sha":null,"homepage":"","language":"Java","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/hiejulia.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}},"created_at":"2018-03-31T07:30:47.000Z","updated_at":"2025-02-11T17:01:39.000Z","dependencies_parsed_at":"2023-03-26T17:04:10.059Z","dependency_job_id":null,"html_url":"https://github.com/hiejulia/sql-tuning","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/hiejulia/sql-tuning","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hiejulia%2Fsql-tuning","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hiejulia%2Fsql-tuning/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hiejulia%2Fsql-tuning/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hiejulia%2Fsql-tuning/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hiejulia","download_url":"https://codeload.github.com/hiejulia/sql-tuning/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hiejulia%2Fsql-tuning/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32547647,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-02T19:18:06.202Z","status":"ssl_error","status_checked_at":"2026-05-02T19:16:21.335Z","response_time":132,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["mysql","performance-tuning","postresql","sql-tuning"],"created_at":"2024-12-16T04:17:44.583Z","updated_at":"2026-05-02T19:33:45.654Z","avatar_url":"https://github.com/hiejulia.png","language":"Java","funding_links":["https://www.buymeacoffee.com/hientech"],"categories":[],"sub_categories":[],"readme":"\u003ca href=\"https://www.buymeacoffee.com/hientech\" target=\"_blank\"\u003e\u003cimg src=\"https://img.shields.io/badge/-buy_me_a%C2%A0coffee-gray?logo=buy-me-a-coffee\" alt=\"Buy Me A Coffee\"\u003e\u003c/a\u003e\n  \u003cbr\u003e\n# sql-tuning\nPerformance tuning for the serverside \n+ Database \n+ \n\n\n\n### Stack \n+ PostgreSQL\n+ Spring Boot \n\n\n\n### SQL tuning with Postgresql \n+ Database index:\n    + Measure query and index block statistics \n    + Index lookup \n    + Compare index scans and sequential scans\n    + Clustering against index\n    + Concurrent index \n    + Combined index \n    + Partial index \n    + Finding unused index \n    + Forcing a query to use index \n    + Detecting missing index \n    \n+ Query optimization \n    + Timing overhead \n    + Hot and code cache\n    + Clear the cache \n    + Query plan node structure \n    + Generate `explain` plan \n    + Computing basic cost \n    + Run sequential scans\n    + Run bitmap heap and index scan \n    + Aggregate and hash aggregate \n    + Grouping\n    + Work with set operation\n    + Run a CTE scan \n    + Nesting loops \n    + Working with merge and hash join \n    + Working on semi and anti joins \n\n+ Database monitoring and performance\n    + Check active session  \n    + Find blocked session \n    + Deal with deadlocks \n    + Table access statistics\n    + Routine reindexing \n    + Log slow statements\n    + Disk usage\n    + Page corruption\n    + Planner statistics\n    + Tuning with background writer statistics\n    + Postgresql : catalog views, views, extensions to monitor \n\n+ 3rd party replication management utilities \n    + Set up Barman \n    + Back up and recovery using Barman \n    + Set up omniPITR\n    + WAL management \n    + Set up Repmgr to create Replica \n    + Set up Walctl to create replica \n    \n+ High availability and replication \n    + Set up hot streaming replication / master-slave streaming replication \n    + Replication using some other tools \n\n+ Connection pooling and database partitioning\n    + install pgpool \n    \n    \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhiejulia%2Fsql-tuning","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhiejulia%2Fsql-tuning","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhiejulia%2Fsql-tuning/lists"}