{"id":23864326,"url":"https://github.com/ceyhunkerti/oracle_tocsv","last_synced_at":"2026-02-14T23:31:44.898Z","repository":{"id":269837586,"uuid":"903755129","full_name":"ceyhunkerti/oracle_tocsv","owner":"ceyhunkerti","description":"oracle query to csv fast extraction utility","archived":false,"fork":false,"pushed_at":"2025-01-01T18:46:21.000Z","size":50,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-06T11:39:48.410Z","etag":null,"topics":["csv","extraction","oci","odpi-c","oracle","zig"],"latest_commit_sha":null,"homepage":"","language":"Zig","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/ceyhunkerti.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":"2024-12-15T13:37:48.000Z","updated_at":"2025-01-01T18:46:25.000Z","dependencies_parsed_at":"2025-01-01T19:36:01.551Z","dependency_job_id":null,"html_url":"https://github.com/ceyhunkerti/oracle_tocsv","commit_stats":null,"previous_names":["ceyhunkerti/oracle_extract","ceyhunkerti/oracle_tocsv"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ceyhunkerti/oracle_tocsv","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ceyhunkerti%2Foracle_tocsv","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ceyhunkerti%2Foracle_tocsv/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ceyhunkerti%2Foracle_tocsv/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ceyhunkerti%2Foracle_tocsv/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ceyhunkerti","download_url":"https://codeload.github.com/ceyhunkerti/oracle_tocsv/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ceyhunkerti%2Foracle_tocsv/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29460690,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-14T22:42:09.113Z","status":"ssl_error","status_checked_at":"2026-02-14T22:42:05.053Z","response_time":53,"last_error":"SSL_read: 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":["csv","extraction","oci","odpi-c","oracle","zig"],"created_at":"2025-01-03T08:20:48.673Z","updated_at":"2026-02-14T23:31:44.882Z","avatar_url":"https://github.com/ceyhunkerti.png","language":"Zig","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Oracle to CSV Extraction Utility\n\n- Extracts data from an oracle query and outputs to csv.\n- ~3.7x faster than a plugin based JDBC implementation. (with same parameters.)\n\n## Build from source\n\nYou may need to setup instant client paths if you don't have it already.\n\n- Download oracle instant client from [here](https://www.oracle.com/database/technologies/instant-client/downloads.html)\n- Extract it to a path and set the `LD_LIBRARY_PATH`.\n```sh\nexport LD_LIBRARY_PATH=/path/to/instantclient_[version]\n```\n\n- Install [zig](https://ziglang.org).\n\n- You may need to install `libaio` required by oracle client.\n```sh\nsudo apt install libaio1\n```\n\n- todo: implement this in Makefile and remove Justfile.\n- Download ODPI-C and place the extracted resources to `project-root/lib/odpi`\n\n\n- Build the binary.\n```sh\nzig build -Doptimize=ReleaseFast\n```\n\n- See the binary `ox` at `zig-out/bin/`.\n\n## Running\n\n```sh\nzig-out/bin/ox run \\\n    # change below to actual connection string.\n    --connection-string \"localhost:1521/ORCLCDB\" \\\n    --username oracle_username \\\n    # optional (auth mode if you need SYSDBA)\n    --auth-mode SYSDBA \\\n    --password oracle_password \\\n    # You can use multi line strings see examples folder.\n    --sql \"SELECT * FROM my_schema.my_table_name\" \\\n    # output-file can be an absolute path.\n    --output-file \"output.csv\" \\\n    --fetch-size 10000\n```\n\n\n# todo\n- Documentation\n- Add benchmark results\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fceyhunkerti%2Foracle_tocsv","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fceyhunkerti%2Foracle_tocsv","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fceyhunkerti%2Foracle_tocsv/lists"}