RowKey design principles of HBase, including cases (all)
####ForewordThe rows of the RowKey of HBase are sorted by row keys in dictionary order. This design optimizes scanning and allows the storage of related rows or adjacent rows that will be read together. However, poorly designed row keys are a common cause of hotspotting. When a large amount of client traffic is directed to one or more nodes in ...
Added by dstar101 on Tue, 01 Mar 2022 10:24:29 +0200
MongoDB entry practice - Installation
This article mainly introduces the installation of MongoDB and the software versions used: MongoDB 5.0.5 and Centos 7.6.
1. Stand alone installation
1.1. Download and unzip MongoDB
Download address: https://www.mongodb.com/try/download/community
Decompression: tar zxvf mongodb Linux x86_ 64-rhel70-5.0.5. tgz
1.2. Create data and log direct ...
Added by Jamesm on Sat, 26 Feb 2022 08:55:06 +0200
Database: redis
1, Introduction to Redis
NoSQL (Not Only SQL), which means Not Only SQL, but also non relational database.
with the development of internet web2 With the rise of web2.0 website, the traditional relational database is dealing with web2.0 0 websites, especially the super large-scale and highly concurrent SNS type web2 0 ...
Added by witty on Fri, 25 Feb 2022 04:21:39 +0200
[tcallusdb knowledge base] restfulapi2 0 for generic table - [Pb] Introduction to batchdeleterecords
brief introduction
Delete data in batch according to table primary key
POST http://{Tcaplus_REST_URL}
Request syntax
Http request
#Tencent cloud console RESTful Endpoint, ip:80, port: 80 by default
http://172.17.0.22
#Tcallusdb local docker RESTful Endpoint, ip:31001, port default 31001
http://9.135.8.93:31001
Http head
nameRequiredRes ...
Added by Flame000 on Mon, 21 Feb 2022 04:36:53 +0200
[tcallusdb knowledge base] restfulapi2 0 for generic table - [Pb] partkeygetrecord2 0 Introduction
brief introduction
Obtain relevant records according to the primary key index, which is defined in the table definition proto file. The primary key index is an index designed based on the primary key field. The interface also supports the return of filter fields. Specify the field name to be returned through the Select parameter; The number of ...
Added by rosegarden on Mon, 21 Feb 2022 04:35:16 +0200
Redis learning notes
Redis
The REmote DIctionary Server(Redis) is a key value storage system written by Salvatore Sanfilippo.
Redis is an open source log and key value database written in ANSI C language, complying with BSD protocol, supporting network, memory based and persistent, and provides API s in multiple languages.
It is often called a data structure ...
Added by Paulus Magnus on Sun, 20 Feb 2022 03:18:24 +0200
The deployment of non relational database Redis, the use of Redis basic commands, Redis master-slave replication, read-write separation, and the persistence of Redis database
Architecture diagram
Install Redis service
wget http://download.redis.io/releases/redis-2.8.6.tar.gz
tar -xvf redis-2.8.6.tar.gz
cd redis-2.8.6
make
mkdir /usr/local/redis/etc
cp redis.conf /usr/local/redis/etc/
ps: make error resolvent: Execute the command make MALLOC=libc
Modify the profile to start the service
vim /usr/local/re ...
Added by StormTheGates on Sat, 19 Feb 2022 07:53:43 +0200
Redis learning notes
catalogue
1. Know Redis
What can Redis do?
characteristic
2. Basic knowledge
Redis is single threaded
Why is Redis single thread so fast?
3. Redis five data types
1,String
2,List
3,Set
4,Hash
5,Zset
4. Redis has three special data types
1,geospatial
2,hyperloglog
3,Bitmaps
5. Redis transaction
6. Redis implements optimistic ...
Added by Boz on Thu, 17 Feb 2022 16:03:52 +0200
Crazy God said Redis notes
Nosql overview
Why use Nosql
Stand alone MySQL Era In the 1990s, the number of visits to a website was generally not too large, and a single database was sufficient. However, with the increase of users, the following problems occurred:
The amount of data is too large for one machineThe index of data (B+ tree) can't fit into a machine's m ...
Added by chevys on Sat, 12 Feb 2022 11:43:15 +0200
[tcallusdb knowledge base] restful API For generic table - [PB] FieldGetRecord introduction
[tcallusdb knowledge base] restfulapi2 0 for generic table - [PB] FieldGetRecord introductionbrief introductionThe corresponding field selected in the auto increment record only works on numeric type fields. It is often used in scenes such as players' experience value increase and level increase to avoid checking and updating first and reduce n ...
Added by frikus on Fri, 11 Feb 2022 17:14:30 +0200