# DBS
# Flag
DBS(Data Base System,数据库系统)包括:DB(数据库)和DBMS(database management system,数据库管理系统) ,Structured Query Language(SQL)
- https://github.com/SPLware/esProc (opens new window)
- 数据库大全 https://github.com/cmu-db/dbdb.io (opens new window)
- 基准测试 https://github.com/ClickHouse/ClickBench (opens new window)
- https://github.com/zilliztech/VectorDBBench (opens new window)
- https://github.com/PlaytikaOSS/testcontainers-spring-boot (opens new window)
- https://github.com/pingcap/awesome-database-learning (opens new window)
- https://github.com/dunwu/db-tutorial (opens new window)
- https://docs.aws.amazon.com/zh_cn/redshift/latest/dg/cm_chap_SQLCommandRef.html (opens new window)
- https://www.alibabacloud.com/help/zh/analyticdb-for-mysql/latest/sql-manual (opens new window)
- https://github.com/prisma/dataguide (opens new window)
- https://github.com/digoal/blog (opens new window)
- https://ivanzz1001.github.io/records/archives (opens new window)
- 自学SQL网 http://xuesql.cn (opens new window)
- 克隆Sqlite学习 https://github.com/cstack/db_tutorial (opens new window)
- 数据库压测 https://github.com/akopytov/sysbench (opens new window)
- https://github.com/stcarrez/sql-benchmark (opens new window)
- 优化和改写 https://github.com/XiaoMi/soar (opens new window)
- https://www.1keydata.com/cn/sql (opens new window)
- https://www.twle.cn/l/yufei/sql/sql-basic-index.html (opens new window)
- https://www.begtut.com/sql/sql-ref-keywords.html (opens new window)
- https://wizardforcel.gitbooks.io/w3school-sql (opens new window)
- 键值存储引擎教程 https://github.com/skyzh/mini-lsm (opens new window)
- HiveSQL教程 https://www.gairuo.com/p/hive-sql-tutorial (opens new window)
- 加密 https://github.com/hashicorp/vault (opens new window)
- 通用SQL解析 https://www.sqlparser.com (opens new window)
- https://github.com/search?p=9&q=data+to+sql (opens new window)
- https://github.com/search?q=generate+sql (opens new window)
- https://github.com/search?q=sqlparser (opens new window)
- https://github.com/search?q=sql+visitor (opens new window)
- https://github.com/topics/sql-statement (opens new window)
- 信创SQL转换 https://github.com/CongKeCK/sql-convert (opens new window)
- 什么是实体化视图? (opens new window)
- ETL工具 https://github.com/joeybling/webkettle (opens new window)
- 云数据平台 https://github.com/sutoiku/puffin (opens new window)
- 数据库资源 https://github.com/huachaohuang/awesome-dbdev (opens new window)
- 数据库月报 https://github.com/tangwz/db-monthly (opens new window)
- 数据管理 https://github.com/edurtio/datacap (opens new window)
- 多维表格 https://github.com/apitable/apitable (opens new window)
- SQL查询 https://github.com/bvisness/sqljam (opens new window)
- SQL转接口 https://github.com/freakchick/dbapi (opens new window)
- 数据库工具 https://wisser.github.io/Jailer/data-browsing.html (opens new window)
- Navicat破解 https://www.wxy97.com/archives/10 (opens new window)
- 数据库优化 https://developer.aliyun.com/article/945903 (opens new window)
- 自建数据库 https://cstack.github.io/db_tutorial (opens new window)
- 数据库基准 https://benchmark.clickhouse.com (opens new window)
- 数据API https://github.com/roapi/roapi (opens new window)
- 数据目录 https://github.com/opendatadiscovery/odd-platform (opens new window)
- 数据库治理 https://www.sqlchat.ai (opens new window)
- GPU数据库 https://github.com/sirius-db/sirius (opens new window)
- 数据查询工具 https://github.com/multiprocessio (opens new window)
- 数据仓库 https://github.com/teradata (opens new window)
- 分布式KV https://github.com/lockval (opens new window)
- SQL审核平台 https://github.com/actiontech (opens new window)
- 查询优化器 https://github.com/cmu-db/optd (opens new window)
备份/迁移/复制/同步/导入导出
(EXTRACT,TRANSFORMATION,LOAD) ETL:Talend (opens new window)、Kettle、Informatica、Inaplex Inaport、Hevo、Xplenty、Skyvia、DBConvert Studio、Sprinkle
- https://github.com/topics/etl (opens new window)
- https://github.com/topics/etl-pipeline (opens new window)
- https://github.com/topics/etl-framework (opens new window)
- https://github.com/topics/redshift (opens new window)
- https://github.com/topics/binlog (opens new window)
- https://github.com/topics/flashback (opens new window)
- 迁移 https://github.com/topics/migrations (opens new window)
- https://github.com/topics/migration (opens new window)
- https://github.com/topics/db2 (opens new window)
- https://github.com/topics/database-migrations (opens new window)
- https://github.com/topics/data-migration (opens new window)
- 复制 https://gitee.com/dromara/dbswitch (opens new window)
- https://github.com/osalvador/ReplicaDB (opens new window)
- 同步数据 https://github.com/86dbs/dbsyncer (opens new window)
- https://github.com/JumpMind/symmetric-ds (opens new window)
- https://github.com/viant/dbsync (opens new window)
- https://github.com/pentaho/pentaho-kettle (opens new window)
- https://github.com/sqlpipe/sqlpipe (opens new window)
- https://github.com/apache/nifi (opens new window)
- https://github.com/amacneil/dbmate (opens new window)
- https://github.com/rust-db/refinery (opens new window)
- https://github.com/pressly/goose (opens new window)
- https://github.com/rubenv/sql-migrate (opens new window)
- https://github.com/Qovery/replibyte (opens new window)
- https://github.com/alibaba/DataX (opens new window)
- https://github.com/alibaba/otter (opens new window)
- https://github.com/redpanda-data/connect (opens new window)
- https://github.com/DTStack/chunjun (opens new window)
- https://github.com/singer-io (opens new window)
- https://github.com/wgzhao/Addax (opens new window)
- https://github.com/airbytehq/airbyte (opens new window)
- https://github.com/apache/flink-cdc (opens new window)
- https://github.com/tapdata/tapdata (opens new window)
- 版本管理 https://github.com/flyway/flyway (opens new window)
- https://github.com/liquibase (opens new window)
- https://github.com/DBDiff/DBDiff (opens new window)
- https://github.com/sqitchers/sqitch (opens new window)
- https://github.com/ariga/atlas (opens new window)
- https://github.com/CourseOrchestra/celesta (opens new window)
- https://github.com/planetscale (opens new window)
- https://github.com/lecaillon/Evolve (opens new window)
- https://github.com/rdagumampan/yuniql (opens new window)
- https://github.com/golang-migrate/migrate (opens new window)
- https://github.com/compose/transporter (opens new window)
- https://github.com/gobackup/gobackup (opens new window)
- https://github.com/estuary/flow (opens new window)
- https://github.com/ibmdb (opens new window)
- https://github.com/cakephp/phinx (opens new window)
- https://www.sqlines.com (opens new window)
- https://gitee.com/sxfad/porter (opens new window)
- DbVisualizer https://www.dbvis.com (opens new window)
- PostgreSQL迁移 https://github.com/jackc/tern (opens new window)
- https://github.com/EnterpriseDB/barman (opens new window)
- https://github.com/sbdchd/squawk (opens new window)
- https://github.com/pgbackrest/pgbackrest (opens new window)
- https://github.com/dimitri/pgcopydb (opens new window)
- https://github.com/DTStack/flinkx (opens new window)
- https://gitee.com/ghi/dbsyncer (opens new window)
- https://github.com/jeessy2/backup-x (opens new window)
- https://github.com/jeessy2/backup-db (opens new window)
- https://github.com/database-mesh (opens new window)
- https://github.com/eduardolat/pgbackweb (opens new window)
- https://github.com/Hornetlabs/synchdb (opens new window)
- https://github.com/dimitri/pgloader (opens new window)
- https://github.com/darold/ora2pg (opens new window)
- https://sourceforge.net/projects/ora2pg (opens new window)
- https://github.com/vibhorkum/pg_background (opens new window)
- 兼容性函数 https://github.com/orafce/orafce (opens new window)
- https://github.com/zaops/or2pg-admin (opens new window)
- https://github.com/Guy-Incognito/ora2pg (opens new window)
- https://github.com/RiprLutuk/copy-table-oracle-to-postgresql (opens new window)
- https://github.com/romkoval/py-ora2pg (opens new window)
- https://gitlab.com/ongresinc (opens new window)
- https://github.com/ongres (opens new window)
- https://hub.docker.com/r/riprlutuk/ora2pg
- https://github.com/cybertec-postgresql/ora_migrator (opens new window)
- https://github.com/semay-cli/sql-migration (opens new window)
- https://github.com/the4thdoctor/pg_chameleon (opens new window)
- https://github.com/dalibo/sqlserver2pgsql (opens new window)
- https://github.com/stripe/pg-schema-diff (opens new window)
- https://github.com/m1h1r-a/ddl-migration-conversion (opens new window)
- https://github.com/kurtbuilds/sql (opens new window)
- https://sqlbackupandftp.com/download (opens new window)
- https://dbconvert.com/download (opens new window)
- https://github.com/ucarGroup/DataLink (opens new window)
- 数据库监控 https://github.com/debezium/debezium (opens new window)
- https://github.com/percona/pmm (opens new window)
- 数据库子集 https://github.com/wisser/jailer (opens new window)
- 数据同步 https://github.com/jumpmind/symmetric-ds (opens new window)
- 数据库部署 https://github.com/goldmansachs/obevo (opens new window)
- 数据对比 https://github.com/datafold/data-diff (opens new window)
- 数据对比 https://github.com/zhugezifang/datacompare (opens new window)
- 数据库同步 https://github.com/vlcn-io/cr-sqlite (opens new window)
- 数据库迁移 https://www.sqlines.com/mysql-to-postgresql (opens new window)
数据库分类
- 关系型数据库(SQL)
- 非关系型数据库(NoSQL):键值、列存储、图形、文档、搜索引擎
- 网状数据库
- 层次数据库
- 新型数据库(NewSQL):关系型数据库与NoSQL的结合 The bridge between SQL and NoSQL (opens new window)
- 分布式数据库
- 国产数据库 https://www.modb.pro/db/24797 (opens new window)
- 数据库目录 https://dbdb.io/browse?country=CN (opens new window)
- 数据库排名 https://db-engines.com (opens new window)
- 时序数据库 https://github.com/questdb (opens new window)
NoSQL
- 1970: NoSQL = We have no SQL
- 1980: NoSQL = Know SQL
- 2000: NoSQL = No SQL!
- 2005: NoSQL = Not only SQL
- 2013: NoSQL = No, SQL!
- NoSQL 是什么? https://www.mongodb.com/zh-cn/nosql-explained (opens new window)
- KV存储 https://github.com/dineshgowda24/bitcask-rb (opens new window)
- 数据库文档 https://github.com/awsdocs/amazon-dynamodb-developer-guide (opens new window)
- 嵌入式数据库 https://github.com/jankotek/mapdb (opens new window)
- 内存数据库 https://github.com/rustixir/darkbird (opens new window)
- KV数据库 https://github.com/chenjiandongx/grogudb (opens new window)
- 大数据库 https://github.com/apache/asterixdb (opens new window)
- 键值存储 https://github.com/paypal/junodb (opens new window)
- 数据库 https://github.com/isar/isar (opens new window)
- LSM数据库 https://developer.aliyun.com/article/784800 (opens new window)
- 嵌入式数据库 https://github.com/mbdavid/litedb (opens new window)
# 其他数据库
- https://github.com/polardb (opens new window)
- https://db-engines.com/en/ranking (opens new window)
- https://github.com/wbtlb (opens new window)
- 图数据库 (opens new window)
- https://github.com/SQream (opens new window)
- https://github.com/exasol (opens new window)
- https://github.com/Teradata (opens new window)
- https://github.com/cloudera (opens new window)
- https://github.com/ActianCorp (opens new window)
- https://github.com/cubrid (opens new window)
- https://github.com/MonetDB/MonetDB (opens new window)
- https://github.com/baidu/BaikalDB (opens new window)
- https://github.com/stoneatom/stonedb (opens new window)
- https://github.com/snowflakedb (opens new window)
- https://github.com/edgedb (opens new window)
- https://github.com/rayon-rs/rayon (opens new window)
- https://github.com/tonbo-io/tonbo (opens new window)
# NewSQL数据库
- https://github.com/pingcap/tidb (opens new window)
- https://github.com/pingcap/tikv (opens new window)
- https://github.com/tikv/tikv (opens new window)
- https://github.com/yugabyte/yugabyte-db (opens new window)
- https://github.com/cockroachdb (opens new window)
- https://github.com/dolthub/dolt (opens new window)
- https://github.com/crate/crate (opens new window)
- https://github.com/StarRocks/starrocks (opens new window)
- https://github.com/datafuselabs/databend (opens new window)
# NoSQL-文档数据库
- https://github.com/rethinkdb (opens new window)
- https://github.com/apache/couchdb (opens new window)
- https://github.com/arangodb/arangodb (opens new window)
- https://github.com/realm/realm-core (opens new window) (嵌入式/独立部署)
- https://github.com/nitrite/nitrite-java (opens new window) (嵌入式 - Java)
# NoSQL-键值存储(Key-Value Store)
- https://github.com/valkey-io/valkey (opens new window)
- https://github.com/memcached/memcached (opens new window)
- https://github.com/Snapchat/KeyDB (opens new window) (嵌入式 - C++)
- https://github.com/OpenAtomFoundation/pika (opens new window)
- https://github.com/distributedio/titan (opens new window)
- https://github.com/ledisdb (opens new window)
- https://github.com/reborndb (opens new window)
- https://github.com/Softmotions/iowow (opens new window)
- https://github.com/facebook/rocksdb (opens new window) (嵌入式 - C++)
- https://github.com/KvrocksLabs/kvrocks (opens new window)
- https://github.com/apache/incubator-kvrocks (opens new window)
- https://github.com/RocksCloud/rocksredis (opens new window)
- https://github.com/flower-corp/rosedb (opens new window) (嵌入式 - Go)
- https://github.com/roseduan/rosedb (opens new window) (嵌入式 - Go)
- https://github.com/couchbase/moss (opens new window) (嵌入式 - Go)
- https://github.com/peterbourgon/diskv (opens new window) (嵌入式 - Go)
- https://github.com/google/leveldb (opens new window) (嵌入式 - C++)
- https://github.com/pmqs/BerkeleyDB (opens new window) (嵌入式 - C)
- https://github.com/erthink/libmdbx (opens new window) (嵌入式 - C)
- https://github.com/cberner/redb (opens new window) (嵌入式 - Rust)
- https://github.com/nalgeon/redka (opens new window) (兼容Redis API)
- https://codeberg.org/redict/redict (opens new window) (嵌入式 - Rust)
- https://github.com/photondb/photondb (opens new window) (嵌入式 - Rust)
- https://github.com/tikv/agatedb (opens new window) (嵌入式 - Rust)
- https://github.com/komora-io/marble (opens new window) (嵌入式 - Rust)
- https://gitlab.com/tglman/persy (opens new window) (嵌入式 - Rust)
- https://nest.pijul.com/pijul/sanakirja (opens new window) (嵌入式 - Rust)
- https://github.com/rustbase/dustdata (opens new window) (嵌入式 - Rust)
- https://github.com/seladb/pickledb-rs (opens new window) (嵌入式 - Rust)
- https://github.com/dragonflydb (opens new window)
- https://github.com/microsoft/garnet (opens new window)
- https://github.com/cockroachdb/pebble (opens new window) (嵌入式 - Go)
- https://github.com/dgraph-io/badger (opens new window) (嵌入式 - Go)
- https://github.com/hashicorp/go-memdb (opens new window) (嵌入式 - Go)
- https://github.com/tidwall/buntdb (opens new window) (嵌入式 - Go)
# NoSQL-列式数据库(Columnar/Wide-Column)
- https://github.com/apache/cassandra (opens new window)
- https://github.com/scylladb/scylla (opens new window)
- https://github.com/apache/hbase (opens new window)
- https://github.com/ClickHouse/ClickHouse (opens new window)
- https://github.com/apache/kudu (opens new window)
- https://github.com/apache/kylin (opens new window)
- https://github.com/apache/druid (opens new window)
- https://github.com/griddb/griddb (opens new window)
- https://github.com/infinispan/infinispan (opens new window) (可嵌入Java)
# NoSQL-图数据库(Graph Database)
- https://github.com/neo4j/neo4j (opens new window)
- https://github.com/JanusGraph/janusgraph (opens new window)
- https://github.com/apache/incubator-hugegraph (opens new window)
- https://github.com/vesoft-inc/nebula (opens new window)
- https://github.com/orientechnologies/orientdb (opens new window)
- https://github.com/cayleygraph/cayley (opens new window)
- https://github.com/CodyKochmann/graphdb (opens new window)
- https://objectivity.com/infinitegraph (opens new window)
- https://allegrograph.com (opens new window)
# 时间序列数据库(Time-Series Database)
- https://github.com/influxdata/influxdb (opens new window)
- https://github.com/VictoriaMetrics/VictoriaMetrics (opens new window)
- https://github.com/thanos-io/thanos (opens new window)
- https://github.com/cortexproject/cortex (opens new window)
- https://github.com/OpenTSDB/opentsdb (opens new window)
- https://github.com/timescale/timescaledb (opens new window)
- https://github.com/questdb/questdb (opens new window)
- https://github.com/taosdata/TDengine (opens new window)
- https://github.com/apache/iotdb (opens new window)
- https://github.com/CeresDB/ceresdb (opens new window)
- https://github.com/openGemini/openGemini (opens new window)
# 向量数据库(Vector Database)
- https://github.com/facebookresearch/faiss (opens new window) (嵌入式/库 - C++/Python)
- https://github.com/chroma-core/chroma (opens new window)
- https://github.com/milvus-io/milvus (opens new window)
- https://github.com/weaviate/weaviate (opens new window)
- https://github.com/qdrant/qdrant (opens new window)
- https://github.com/vespa-engine/vespa (opens new window)
- https://github.com/vdaas/vald (opens new window)
- https://github.com/pgvector/pgvector (opens new window) (PostgreSQL扩展)
- https://github.com/towhee-io (opens new window)
- https://github.com/pinecone-io (opens new window)
- https://github.com/ruvnet/ruvector (opens new window)
- https://github.com/lancedb/lancedb (opens new window)
- https://github.com/objectbox/objectbox-java (opens new window) (Java)
# 内存数据库(In-Memory Database)
# 分布式数据库/存储系统
- https://github.com/apache/ignite (opens new window)
- https://github.com/dremio (opens new window)
- https://github.com/machbase (opens new window)
- https://github.com/Xeograph (opens new window)
- https://github.com/forcedotcom (opens new window)
- https://github.com/tidb-incubator (opens new window)
- https://github.com/ydb-platform/ydb (opens new window)
- https://github.com/matrixorigin/matrixone (opens new window)
- https://github.com/particuleio (opens new window)
- https://github.com/etcd-io/etcd (opens new window)
- https://github.com/basho/riak (opens new window)
- https://github.com/placeholderkv/placeholderkv (opens new window)
- https://github.com/datenlord/Xline (opens new window)
- https://github.com/freenet/locutus (opens new window)
- https://github.com/engula/engula (opens new window)
- https://github.com/apple/foundationdb (opens new window)
- https://github.com/tidb-incubator/tidis (opens new window)
- https://github.com/zhihu/zetta (opens new window)
- https://github.com/oceanbase/oceanbase (opens new window)
- https://github.com/Tencent/paxosstore (opens new window)
- https://gitee.com/mirrors/EdgeFS (opens new window)
- https://github.com/codenotary/immudb (opens new window)
- https://github.com/surrealdb/surrealdb (opens new window)
- https://github.com/bridgedb/BridgeDb (opens new window)
- https://github.com/mit-pdos/noria (opens new window)
- https://github.com/risingwavelabs/risingwave (opens new window)
- https://github.com/risinglightdb/risinglight (opens new window)
- https://github.com/apache/incubator-paimon (opens new window)
- https://github.com/pola-rs/polars (opens new window)
- https://github.com/topics/spark (opens new window)
- https://github.com/facebookincubator/velox (opens new window)
- https://github.com/tigerbeetle/tigerbeetle (opens new window)
# 搜索引擎/分析系统
- https://github.com/elastic/elasticsearch (opens new window)
- https://github.com/apache/solr (opens new window)
- https://github.com/apache/kafka (opens new window)
- https://github.com/apache/atlas (opens new window)
- https://github.com/MarquezProject/marquez (opens new window)
- https://github.com/yyun543/minidb (opens new window)
# 其他特殊用途数据库/存储
- https://github.com/etcd-io/bbolt (opens new window) (嵌入式 - Go)
- https://github.com/jnwatson/py-lmdb (opens new window) (嵌入式 - Python/C)
- https://github.com/sirixdb (opens new window) (XML/JSON版本化存储)
- https://github.com/Softmotions/ejdb (opens new window)
- https://github.com/hivedb/hive (opens new window) (Flutter嵌入式 - Dart)
- https://gitlab.com/cznic/ql (opens new window) (嵌入式 - Go)
- https://github.com/TrinityCore/TrinityCore (opens new window) (游戏服务器数据库)
- https://github.com/sones/sones (opens new window) (图数据库)
- https://github.com/zopefoundation/ZODB (opens new window) (Python对象数据库)
- 缓存框架 https://github.com/twitter/pelikan (opens new window)
- 数据基建 https://github.com/oldmoe/litestack (opens new window)
- 实时数据 https://github.com/drifting-in-space/driftdb (opens new window)
- XML数据库 https://github.com/basexdb/basex (opens new window)
- KV存储 https://github.com/avinassh/go-caskdb (opens new window)
- 时序数据库 https://github.com/cnosdb/cnosdb (opens new window)
- 大数据平台 https://github.com/ytsaurus/ytsaurus (opens new window)
- 时序数据库 https://github.com/ceresdb/ceresdb (opens new window)
- 图数据库 https://github.com/memgraph/memgraph (opens new window)
- 时序数据库 https://github.com/citrusvanilla/tinyflux (opens new window)
- 时序数据库 https://github.com/kevinlawler/kerf1 (opens new window)
- 数据湖表 https://github.com/apache/iceberg (opens new window)
- 键值存储 https://github.com/timmikeladze/gist-database (opens new window)
- KV数据库 https://github.com/topling/toplingdb (opens new window)
- sqlite版本 https://github.com/sudeep9/mojo (opens new window)
- 地理数据库 https://github.com/clarisma/geodesk (opens new window)
- 关系数据库 https://github.com/rayokota/kareldb (opens new window)
- 图数据库 https://github.com/cozodb/cozo (opens new window)
- 分布式KV https://github.com/buraksezer/olric (opens new window)
- ClickHouse https://developer.aliyun.com/article/765184 (opens new window)
- 键值数据库 https://github.com/arriqaaq/flashdb (opens new window)
- BerkeleyDB https://pybsddb.sourceforge.net/bsddb3.html (opens new window)
- BerkeleyDB https://docs.jcea.es/berkeleydb (opens new window)
- KV数据库 https://github.com/surrealdb/echodb (opens new window)
- 数据仓库 https://github.com/byconity/byconity (opens new window)
- 数据库基准 https://github.com/pola-rs/tpch (opens new window)
- 时序数据库 https://akumuli.org/akumuli/2017/04/29/nbplustree (opens new window)
- 实时数据库 https://github.com/instantdb/instant (opens new window)
- 时序数据库 https://github.com/victoriametrics/victoriametrics (opens new window)
- ClickHouse https://nyan.im/p/clickhouse-cloud (opens new window)
- ClickHouse https://www.cnblogs.com/traditional/p/15218743.html (opens new window)
- 时序数据库 https://github.com/taosdata/tdengine (opens new window)
- Java数据库 https://github.com/lealone (opens new window)
- 时序数据库 https://github.com/puzpuzpuz (opens new window)
- 火鸟数据库 https://github.com/firebirdsql (opens new window)
- 数据查询引擎 https://github.com/datafusion-contrib (opens new window)
- 时序数据库 https://github.com/greptimeteam (opens new window)
- 数据存储 https://github.com/schemafreesql (opens new window)
- 自研数据库 https://github.com/donnie4w (opens new window)
- 向量数据库 https://maeiee-garden.vercel.app/000.wiki/What%20is%20a%20Vector%20Database%EF%BC%9F (opens new window)
- Go关系数据库 https://Sahilb315/AtomixDB (opens new window)
# Redis
- https://github.com/huangz1990 (opens new window)
- https://github.com/antirez/redis-doc (opens new window)
- https://github.com/guodongxiaren/redis-wiki (opens new window)
- https://github.com/yu-linfeng/redis5.x_tutorial (opens new window)
- redis常用特性 https://github.com/LxyTe/redis (opens new window)
- https://github.com/Ctzzhang/Ctzzhang.github.io (opens new window)
- Redlock安全吗? (opens new window)
- Java https://github.com/redisson (opens new window)
- https://github.com/RedisJSON (opens new window)
- https://github.com/lettuce-io/lettuce-core (opens new window)
- Go https://github.com/gomodule/redigo (opens new window)
- C# https://github.com/StackExchange/StackExchange.Redis (opens new window)
- https://github.com/imperugo/StackExchange.Redis.Extensions (opens new window)
- 缓存管理 https://github.com/qishibo/anotherredisdesktopmanager (opens new window)
- 缓存监控 https://github.com/hcymysql/redis_monitor (opens new window)
- 集群方案 https://github.com/codislabs/codis (opens new window)
- 哨兵支持 https://github.com/fzambia/go-sentinel (opens new window)
- 源码注释 https://github.com/cn-annotation-team/redis7.0-chinese-annotated (opens new window)
- 源码注释 https://github.com/huangz19901/redis-3.0-annotated (opens new window)
- 概率数据结构 https://github.com/redisbloom/redisbloom (opens new window)
- Redis兼容 https://github.com/kvrockslabs/kvrocks (opens new window)
- Redis替代 https://github.com/ideawu/ssdb (opens new window)
- Redis兼容 https://github.com/bitleak/kvrocks (opens new window)
- Redis兼容 https://github.com/snapchat/keydb (opens new window)
- Redis客户端 https://github.com/dromara/redisfront (opens new window)
- Redis原理 https://architecturenotes.co/redis (opens new window)
- Redis字典 https://segmentfault.com/a/1190000042343233 (opens new window)
- Redis消息队列 https://developer.aliyun.com/article/883212 (opens new window)
- Redis跳跃表 https://cloud.tencent.com/developer/article/1350965 (opens new window)
- Redis发布订阅 https://segmentfault.com/a/1190000043314867 (opens new window)
- Redis限流 https://developer.aliyun.com/article/1158718 (opens new window)
- Redis分布式锁 https://developer.aliyun.com/article/1171320 (opens new window)
- 缓存使用 https://lvqiushi.github.io/2021/12/03/缓存进阶使用指南 (opens new window)
- Redis客户端 https://github.com/rueian/rueidis (opens new window)
- 内存数据库 https://github.com/dragonflydb/dragonfly (opens new window)
- Redis淘汰 https://mp.weixin.qq.com/s/QhWL_zhAs1CmZKCKHOHRaQ (opens new window)
- Redis协议 https://mp.weixin.qq.com/s/W5kOLxeJCIHjnWbIHc1Pzw (opens new window)
- 搜索引擎 https://github.com/redisearch/redisearch (opens new window)
- KV数据库 https://github.com/openatomfoundation/pikiwidb (opens new window)
- Redis兼容 https://github.com/openatomfoundation/pika (opens new window)
- Redis分支 https://github.com/johnsully/keydb (opens new window)
- Redis兼容 https://github.com/dicedb/dice (opens new window)
- Redis数据库 https://github.com/redislabs (opens new window)
- Redis部署模式 https://m.toutiao.com/article/7194411507663815172 (opens new window)
- Redis哨兵监控 https://juejin.cn/post/7118303073868447781 (opens new window)
- HyperLogLog计数 https://juejin.cn/post/6844903785744056333 (opens new window)
- Redis架构演化 https://weibo.com/ttarticle/x/m/show/id/2309404796118843392788 (opens new window)
- 定长队列 https://my.oschina.net/vivotech/blog/5562479 (opens new window)
- Redis查看器 https://gitee.com/onefineday/redisviewer (opens new window)
- 分布式锁 https://wendajiang.github.io/redis-distribute-lock (opens new window)
- Redis客户端 https://github.com/RedisInsight/RedisInsight (opens new window)
存储方式
- 适合用 String 存储的情况:
- 每次需要访问大量的字段
- 存储的结构具有多层嵌套的时候
- 适合用 Hash 存储的情况:
- 在大多数情况中只需要访问少量字段
- 自己始终知道哪些字段可用,防止使用 mget 时获取不到想要的数据
- 存储引擎 https://github.com/acl-dev/wiredtiger (opens new window)
- LSM树 https://newsletter.systemdesigncodex.com/p/an-intro-to-lsm-trees (opens new window)
- 存储引擎 https://github.com/LeeBohyun/ZLeanStore (opens new window)
- LSM存储 https://skyzh.github.io/mini-lsm/00-preface.html (opens new window)
- 分布式存储 https://github.com/ceph (opens new window)
安装
wget https://download.redis.io/redis-stable.tar.gz
tar -zvf redis-stable.tar.gz
cd redis-stable
make
make install
cp redis.conf /etc/redis.conf
vi /etc/redis.conf
输入
/daemon按A 或i 把daemonize no改成daemonize yes允许任意IP访问:输入/NETWORK搜索,替换bind 127.0.0.1为bind 0.0.0.0设置访问密码:输入/SECURITY搜索,取消注释requirepass foobared修改protected-mode yes(保护模式,需配置设置访问密码) 为protected-mode no
# 启动
redis-server /etc/redis.conf
ps -ef | grep redis
# 连接redis
redis-cli -p 端口 -a 密码
# 配置设置密码,不会修改配置文件
config set requirepass 密码
# 单实例关闭redis
redis-cli shutdown
# 多实例关闭,指定端口关闭redis
redis-cli -p 6379 shutdown
# MongoDB
- https://github.com/mongodb (opens new window)
- https://github.com/FerretDB/FerretDB (opens new window)
MySQL →