{"id":20461096,"url":"https://github.com/punit-naik/sql-batcher","last_synced_at":"2026-05-27T20:32:14.995Z","repository":{"id":62234925,"uuid":"558811736","full_name":"punit-naik/sql-batcher","owner":"punit-naik","description":"A Clojure library designed to run large sql updates/deletes in batches","archived":false,"fork":false,"pushed_at":"2023-03-09T11:56:33.000Z","size":89,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-09-21T05:32:34.192Z","etag":null,"topics":["batch","clojure","delete","sql","update"],"latest_commit_sha":null,"homepage":"","language":"Clojure","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/punit-naik.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":"2022-10-28T10:57:28.000Z","updated_at":"2022-10-28T19:28:48.000Z","dependencies_parsed_at":"2024-11-15T12:36:32.087Z","dependency_job_id":null,"html_url":"https://github.com/punit-naik/sql-batcher","commit_stats":{"total_commits":25,"total_committers":1,"mean_commits":25.0,"dds":0.0,"last_synced_commit":"f944b9a50518117e9efbeea0f323da54a65058ea"},"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/punit-naik/sql-batcher","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/punit-naik%2Fsql-batcher","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/punit-naik%2Fsql-batcher/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/punit-naik%2Fsql-batcher/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/punit-naik%2Fsql-batcher/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/punit-naik","download_url":"https://codeload.github.com/punit-naik/sql-batcher/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/punit-naik%2Fsql-batcher/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33583394,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-05-27T02:00:06.184Z","response_time":53,"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":["batch","clojure","delete","sql","update"],"created_at":"2024-11-15T12:23:29.585Z","updated_at":"2026-05-27T20:32:14.979Z","avatar_url":"https://github.com/punit-naik.png","language":"Clojure","funding_links":[],"categories":[],"sub_categories":[],"readme":"# sql-batcher\n\nA Clojure library designed to run large sql updates/deletes in batches\n[![CircleCI](https://circleci.com/gh/punit-naik/sql-batcher/tree/master.svg?style=svg)](https://circleci.com/gh/punit-naik/sql-batcher/tree/master)\n[![Clojars Project](https://img.shields.io/clojars/v/org.clojars.punit-naik/sql-batcher.svg)](https://clojars.org/org.clojars.punit-naik/sql-batcher)\n\n## Rationale\n\nIf an update/delete query is doing a large table scan and spanning a large number of rows, that table could be blocked for a potentially very long time. To avoid this, we run our update/delete queries in batches of relatively small sizes, based on the primary key(s) of the table to on which the updates/deletes are supposed to run. More info in this article - http://mysql.rjweb.org/doc.php/deletebig\n\n\n## Usage\n\n### Test\n\n```\nlein test\n```\n\n### Code Coverage\n\n[Code Coverage Report](https://punit-naik.github.io/sql-batcher/coverage)\n\n## License\n\nCopyright © 2022 [Punit Naik](https://github.com/punit-naik)\n\nThis program and the accompanying materials are made available under the\nterms of the Eclipse Public License 2.0 which is available at\nhttp://www.eclipse.org/legal/epl-2.0.\n\nThis Source Code may also be made available under the following Secondary\nLicenses when the conditions for such availability set forth in the Eclipse\nPublic License, v. 2.0 are satisfied: GNU General Public License as published by\nthe Free Software Foundation, either version 2 of the License, or (at your\noption) any later version, with the GNU Classpath Exception which is available\nat https://www.gnu.org/software/classpath/license.html.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpunit-naik%2Fsql-batcher","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpunit-naik%2Fsql-batcher","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpunit-naik%2Fsql-batcher/lists"}