Redis learning notes
NoSQL getting started overview
MySQL database application history
The beautiful era of stand-alone MySQL
In the 1990s, the number of visits to a website was generally small, which could be easily handled with a single database. At that time, there were more static pages and less dynamic interactive websites.
DAL: abbreviation of databa ...
Posted by nrerup on Mon, 07 Mar 2022 23:52:20 +0100
05Redis -- transaction, optimistic lock, Jedis
catalogue
Normal execution of transactions
Abandon transaction
Compiled exception
Runtime exception (I/O)
Monitor} Watch (frequently asked in interview)
redis monitoring test
Normal execution succeeded!
Test multithreading to modify the value. Using watch can be used as redis optimistic lock operation
Jedis
Test:
1. Import cor ...
Posted by serg4444 on Sat, 05 Mar 2022 01:35:00 +0100
Middleware learning notes - Introduction to Redis
1. Redis (CACHE)
1.1 Nosql
1.1.1 general
Single machine mysql era:
In the 1990s, the number of visits to a basic website will not be too large, and a single database is enough!
More use of static web pages html
Website bottleneck:
The amount of data is too large for one machineThe index of data can't fit into the memory of a machineToo m ...
Posted by rakennedy75 on Sun, 27 Feb 2022 09:33:32 +0100
[tcallusdb knowledge base] restfulapi2 0 for generic table - [Pb] Introduction to batchinsertrecords
brief introduction
To add data in batch in PB table, you can specify the insertion method. Batch insertion interface is a non atomic interface, which allows partial success and partial failure. The user needs to judge the number of successful records or failed records according to the return value.
POST http://{Tcaplus_REST_URL}
Request syn ...
Posted by gnawz on Mon, 21 Feb 2022 03:49:17 +0100
Introduction to ElasticSearch
1, Download and install ElaticSearch
1. ElaticSearch download address
https://www.elastic.co/cn/downloads/elasticsearch
2. Installation method of windows version
Unzip for immediate use. The directory structure after unzip is as follows:
3. Start ElasticSearch
Enter the bin directory and click elastic search Bat file
4. Solve cr ...
Posted by mrvanjohnson on Thu, 17 Feb 2022 19:50:35 +0100
[tcallusdb knowledge base] restful API For generic table - [PB] ReplaceRecord introduce
[tcallusdb knowledge base] restfulapi2 0 for generic table - [Pb] replacerecord2 0 Introductionbrief introductionAdd a new record or replace the old one with a new one. If the record already exists, update it; If the record does not exist, insert a new record.POST http://{Tcaplus_REST_URL}Request syntaxHttp request#Tencent cloud console RESTful ...
Posted by jkohns on Fri, 11 Feb 2022 23:49:16 +0100
[tcallusdb knowledge base] restful API For list table - [PB] [PB] ListDeleteRecord introduce
[tcallusdb knowledge base] restfulapi2 0 for list table - [Pb] listdeleterecord2 0 Introductionbrief introductionDelete the record of the specified subscript under the corresponding Key in the List PB table.Index: Specifies the subscript of the record to delete.POST http://{Tcaplus_REST_URL}Request syntaxHttp request#Tencent cloud console RESTf ...
Posted by php_joe on Fri, 11 Feb 2022 19:13:04 +0100
[tcallusdb knowledge base] restful API For generic table - [PB] ReplaceRecord introduce
[tcallusdb knowledge base] restfulapi2 0 for generic table - [Pb] fieldgetrecord2 0 Introductionbrief introductionQuery the corresponding record, get the specified field and return. Compared with the specified fields returned by GetRecord (Select parameter), the difference is that FieldGetRecord filters on the server and the network traffic is ...
Posted by mgrphp on Fri, 11 Feb 2022 15:45:52 +0100
[tcallusdb knowledge base] restful API For list table - [PB] [PB] ListBatchGetRecord introduction
[tcallusdb knowledge base] restfulapi2 0 for list table - [PB] [PB] ListBatchGetRecord introductionbrief introductionBatch query the records under the specified Key in the List PB table.Index: Specifies the subscript of the record to return.POST http://{Tcaplus_REST_URL}Request syntaxHttp request#Tencent cloud console RESTful Endpoint, ip:80, p ...
Posted by asy1mpo on Fri, 11 Feb 2022 03:07:20 +0100
[tcallusdb knowledge base] restful API For list table - [PB] [PB] ListBatchGetRecord introduction
[tcallusdb knowledge base] restfulapi2 0 for list table - [Pb] listgetallrecords2 0 Introductionbrief introductionQuery all records under the corresponding Key in the List PB table, and Limit the number of records returned each time through Limit and Offset.Limit: limit the number of records returned. If the limit is - 1, all records will be re ...
Posted by sharugan on Thu, 10 Feb 2022 20:30:14 +0100