Common cache services

mongodb

1, cd /home/mongodb/bin
2, ./mongo
3, use test
4, show collections Show all caches

View xxxx cache records
5, db.xxxx.count()
clear xxxx cache
6, db.xxxx .remove({})
query cache
7, db.xxxx.find()

aerospike 
aql -p 3050
show sets
SHOW NAMESPACES
stat system
select * from test.bin_name_mapper

select * from test.xxxxxx

DELETE FROM test.xxxxx where PK = '2b2c718c -8153-4ae5-80b4-19f19edcb3e7-1-qs88k'
DELETE FROM test.demo WHERE PK = 'key1'

INSERT INTO test.testset (PK, a,b) VALUES('key1', 'value1', 'value2')
INSERT INTO test.testset (PK, a,b) VALUES('key1-1-2-3-4-5-6-7-8', 'value1', 'value2')
select * from test.testset

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=326751387&siteId=291194637