{"id":15684624,"url":"https://github.com/jhawthorn/fast_sqlite","last_synced_at":"2025-05-07T17:03:49.616Z","repository":{"id":14718987,"uuid":"17439549","full_name":"jhawthorn/fast_sqlite","owner":"jhawthorn","description":"Speeds up tests using sqlite :zap:","archived":false,"fork":false,"pushed_at":"2024-10-22T20:07:03.000Z","size":6,"stargazers_count":10,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-30T21:56:05.891Z","etag":null,"topics":["ruby","sqlite"],"latest_commit_sha":null,"homepage":"","language":"Ruby","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/jhawthorn.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-03-05T12:09:22.000Z","updated_at":"2024-10-22T20:07:07.000Z","dependencies_parsed_at":"2022-09-17T21:43:44.996Z","dependency_job_id":null,"html_url":"https://github.com/jhawthorn/fast_sqlite","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jhawthorn%2Ffast_sqlite","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jhawthorn%2Ffast_sqlite/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jhawthorn%2Ffast_sqlite/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jhawthorn%2Ffast_sqlite/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jhawthorn","download_url":"https://codeload.github.com/jhawthorn/fast_sqlite/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252922248,"owners_count":21825633,"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":["ruby","sqlite"],"created_at":"2024-10-03T17:20:14.506Z","updated_at":"2025-05-07T17:03:49.549Z","avatar_url":"https://github.com/jhawthorn.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# FastSqlite\n\nMakes sqlite faster... but at what cost?\n\n(The cost is data integrity :bomb:)\n\n## K, what's it actually do?\n\nIt modifies following two sqlite settings on newly opened connections\n\n    PRAGMA synchronous = 0;\n\n\u003e If the application running SQLite crashes, the data will be safe, but the database might become corrupted if the operating system crashes or the computer loses power before that data has been written to the disk surface. On the other hand, some operations are as much as 50 or more times faster with synchronous OFF.\n\n\\- [SQLite docs](http://www.sqlite.org/pragma.html#pragma_synchronous)\n\n\n    PRAGMA journal_mode = MEMORY;\n\n\u003e The MEMORY journaling mode stores the rollback journal in volatile RAM. This saves disk I/O but at the expense of database safety and integrity. If the application using SQLite crashes in the middle of a transaction when the MEMORY journaling mode is set, then the database file will very likely go corrupt.\n\n\\- [SQLite docs](http://www.sqlite.org/pragma.html#pragma_journal_mode)\n\nThese settings are dangerous. Making this only suitable for test environments.\n\n## Installation\n\nAdd this line to your application's Gemfile:\n\n    gem 'fast_sqlite', group: :test\n\nAnd then execute:\n\n    $ bundle\n\n## Contributing\n\n1. Fork it ( http://github.com/jhawthorn/fast_sqlite/fork )\n2. Create your feature branch (`git checkout -b my-new-feature`)\n3. Commit your changes (`git commit -am 'Add some feature'`)\n4. Push to the branch (`git push origin my-new-feature`)\n5. Create new Pull Request\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjhawthorn%2Ffast_sqlite","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjhawthorn%2Ffast_sqlite","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjhawthorn%2Ffast_sqlite/lists"}