{"id":14969085,"url":"https://github.com/rhedgpeth/skysql_htap_demo","last_synced_at":"2026-02-18T05:01:51.030Z","repository":{"id":74730057,"uuid":"251418009","full_name":"rhedgpeth/skysql_htap_demo","owner":"rhedgpeth","description":"Create a schema and load data into MariaDB HTAP.","archived":false,"fork":false,"pushed_at":"2020-03-31T00:15:34.000Z","size":8034,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-10-11T08:19:17.586Z","etag":null,"topics":["bash","bash-script","htap","hybrid-database","mariadb","mariadb-columnstore","mariadb-database","mariadb-htap","mariadb-innodb","mariadb-server","mariadb-skysql","sql"],"latest_commit_sha":null,"homepage":"https://mariadb.com/products/skysql/get-started/","language":"Shell","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/rhedgpeth.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":"2020-03-30T20:15:03.000Z","updated_at":"2020-04-01T13:08:01.000Z","dependencies_parsed_at":null,"dependency_job_id":"b5cbe4c5-e13e-482e-bdb3-cd37ed1c58e1","html_url":"https://github.com/rhedgpeth/skysql_htap_demo","commit_stats":{"total_commits":5,"total_committers":2,"mean_commits":2.5,"dds":"0.19999999999999996","last_synced_commit":"d582481acf3468a0214fa1de57c6b2d139f4b17b"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/rhedgpeth/skysql_htap_demo","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rhedgpeth%2Fskysql_htap_demo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rhedgpeth%2Fskysql_htap_demo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rhedgpeth%2Fskysql_htap_demo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rhedgpeth%2Fskysql_htap_demo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rhedgpeth","download_url":"https://codeload.github.com/rhedgpeth/skysql_htap_demo/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rhedgpeth%2Fskysql_htap_demo/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29569853,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-18T04:18:28.490Z","status":"ssl_error","status_checked_at":"2026-02-18T04:13:49.018Z","response_time":162,"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":["bash","bash-script","htap","hybrid-database","mariadb","mariadb-columnstore","mariadb-database","mariadb-htap","mariadb-innodb","mariadb-server","mariadb-skysql","sql"],"created_at":"2024-09-24T13:41:06.482Z","updated_at":"2026-02-18T05:01:51.013Z","avatar_url":"https://github.com/rhedgpeth.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# [MariaDB](http://www.mariadb.com) SkySQL Demo Data\n\nThe purpose of this repository is to supply the schema and data to be used with a MariaDB [Hybrid Transactional/Analytical Processing (HTAP)](https://mariadb.com/docs/solutions/htap/) database instance. \n\nThis data can be used within a local MariaDB HTAP instance or one hosted in [MariaDB SkySQL](https://mariadb.com/products/skysql/docs/). \n\n## Instructions:\n\nGo through the following steps to create the schema, load data, and set up replication for your MariaDB HTAP instance.\n\n1. Clone this repository.\n\n```\n$ git clone https://github.com/rhedgpeth/skysql_htap_demo.git\n```\n\n2. Execute the following command with your database instance information.\n\n```\n$ ./create_and_load.sh \u003chost_address\u003e \u003cport_number\u003e \u003cuser\u003e \u003cpassword\u003e\n```\n\nfor example\n\n```\n./create_and_load.sh sky0001355.mdb0001390.db.skysql.net 5001 DB00009999 *******\n```\n\n3.) Execute the following command on your MariaDB SkySQL database instance to set up replication.\n\n```\nSELECT SET_HTAP_REPLICATION('flights','travel','travel_history');\n```\n\nThat's it! The following will be created, loaded, and configured to replicate (travel.flights -\u003e travel_history.flights).\n\n- [travel](schema/idb_schema.sql#L1) (database)\n    - [airlines](schema/idb_schema.sql#L5) (InnoDB table): 17 rows\n    - [airports](schema/idb_schema.sql#L11) (InnoDB table): 342 rows\n    - [flights](schema/idb_schema.sql#L21) (InnoDB table): 0 rows\n- [travel_history](schema/cs_schema.sql#L1) (database)\n    - [flights](schema/cs_schema.sql#L5) (ColumnStore table): 679996 rows\n\n\n## More resources\n\n- [Sign up for MariaDB SkySQL](https://mariadb.com/products/skysql/get-started/)\n- [MariaDB SkySQL Documentation](https://mariadb.com/products/skysql/docs/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frhedgpeth%2Fskysql_htap_demo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frhedgpeth%2Fskysql_htap_demo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frhedgpeth%2Fskysql_htap_demo/lists"}