All Projects → michaldoda → sql-to-redis

michaldoda / sql-to-redis

Licence: other
🔄 Simple tool for ETL. From SQL to Redis.

Programming Languages

java
68154 projects - #9 most used programming language
CSS
56736 projects

Projects that are alternatives of or similar to sql-to-redis

blockchain-etl-streaming
Streaming Ethereum and Bitcoin blockchain data to Google Pub/Sub or Postgres in Kubernetes
Stars: ✭ 57 (+216.67%)
Mutual labels:  etl
mq-java-exporter
Exporter for IBM MQ metrics https://prometheus.io/
Stars: ✭ 19 (+5.56%)
Mutual labels:  exporter
covid-19
Data ETL & Analysis on the global and Mexican datasets of the COVID-19 pandemic.
Stars: ✭ 14 (-22.22%)
Mutual labels:  etl
couchbase exporter
Export metrics from Couchbase Server for Prometheus consumption
Stars: ✭ 32 (+77.78%)
Mutual labels:  exporter
uptasticsearch
An Elasticsearch client tailored to data science workflows.
Stars: ✭ 47 (+161.11%)
Mutual labels:  etl
python mozetl
ETL jobs for Firefox Telemetry
Stars: ✭ 25 (+38.89%)
Mutual labels:  etl
nvidia smi exporter
nvidia-smi exporter for Prometheus
Stars: ✭ 66 (+266.67%)
Mutual labels:  exporter
hamilton
A scalable general purpose micro-framework for defining dataflows. You can use it to create dataframes, numpy matrices, python objects, ML models, etc.
Stars: ✭ 612 (+3300%)
Mutual labels:  etl
jmx exporter-cloudera-hadoop
Prometheus jmx_exporter configurations for Cloudera Hadoop
Stars: ✭ 33 (+83.33%)
Mutual labels:  exporter
OpenKettleWebUI
一款基于kettle的数据处理web调度控制平台,支持文档资源库和数据库资源库,通过web平台控制kettle数据转换,可作为中间件集成到现有系统中
Stars: ✭ 138 (+666.67%)
Mutual labels:  etl
greenplum exporter
Greenplum(v5,v6) exporter for Prometheus
Stars: ✭ 48 (+166.67%)
Mutual labels:  exporter
django-calaccess-raw-data
A Django app to download, extract and load campaign finance and lobbying activity data from the California Secretary of State's CAL-ACCESS database
Stars: ✭ 61 (+238.89%)
Mutual labels:  etl
io scene pbrt
Exporter for blender that exports the scene into pbrt's ascii file format.
Stars: ✭ 42 (+133.33%)
Mutual labels:  exporter
sync-engine-example
Synchronization Algorithm Exploration: Techniques to synchronize a SQL database with external destinations.
Stars: ✭ 17 (-5.56%)
Mutual labels:  etl
nasdaq-symbols
ETL for the NASDAQ symbol file
Stars: ✭ 13 (-27.78%)
Mutual labels:  etl
starlake
Starlake is a Spark Based On Premise and Cloud ELT/ETL Framework for Batch & Stream Processing
Stars: ✭ 16 (-11.11%)
Mutual labels:  etl
CVparser
CVparser is software for parsing or extracting data out of CV/resumes.
Stars: ✭ 28 (+55.56%)
Mutual labels:  etl
treeio
🌱 Base Classes and Functions for Phylogenetic Tree Input and Output
Stars: ✭ 70 (+288.89%)
Mutual labels:  exporter
DQCS
数据质量控制系统
Stars: ✭ 34 (+88.89%)
Mutual labels:  etl
csvplus
csvplus extends the standard Go encoding/csv package with fluent interface, lazy stream operations, indices and joins.
Stars: ✭ 67 (+272.22%)
Mutual labels:  etl

sql-to-redis

Very simple Java app. My first usage of JavaFx. Created for my tests and development reasons. Sql-to-redis can be used to export and transform data from SQL tables to Redis key-value.

picture

How to run:

  1. (optional) Get the latest JRE from Oracle website.
  2. (optional) If you are using OpenJDK (instead of OracleJDK) you probably have to install javafx packages (they are not included by default in OpenJDK), for Debian/Ubuntu this should help:
aptitude install openjfx
  1. Get latest sql-to-redis JAR file from releases
  2. Just check Java version (should be "1.8.0_112" or greater):
user@localhost:~$ java -version 
  1. Go to downloaded JAR file and run command:
java -jar sql-to-redis.jar
  1. JDBC for:
  • MYSQL: jdbc:mysql://HOST:PORT/DBNAME

  • PostgreSQL: jdbc:postgresql://HOST:PORT/DBNAME

DB support:

SQL databases Support
PostgreSQL Yes
MySQL Yes
Oracle Not yet
SQL Server Not yet

Details:

  • all queries run using Connection/ResultSets classes
  • fetchSize of Statement is hardcoded and it is set to 40,000 rows (import 7 milion rows takes few minutes, but if you have bigger tables you can decrease this value)
  • all connections to sql use Connection class from DriverManager
  • all imports are run as background task , threads

How to use:

  • prepare connection string and setup sql/redis hosts,
  • choose table to import,
  • modify (if you want) JSON schema
  • choose redis key name (default value is table name)
  • choose redis suffix (value should be unique if not then you will override previouse keys, you can choose column value - so your SQL PK can be saved, default value is autoincrement id from loop)
  • in JSON schema, all $$words$$ are variables, they will be replaced on the fly with row values

Thanks for drivers/dbs to:

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].