
Remark : Redis command 명령어를 알아보자
메모리 모두 삭제 : flushall
1 2 3 4 |
127.0.0.1:6379> flushall OK |
사용 메모리 확인 : info Memory
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 |
127.0.0.1:6379> info Memory # Memory used_memory:1433072 used_memory_human:1.37M used_memory_rss:7208960 used_memory_rss_human:6.88M used_memory_peak:1489088 used_memory_peak_human:1.42M used_memory_peak_perc:96.24% used_memory_overhead:951520 used_memory_startup:864912 used_memory_dataset:481552 used_memory_dataset_perc:84.76% allocator_allocated:1548096 allocator_active:1880064 allocator_resident:8646656 total_system_memory:134906769408 total_system_memory_human:125.64G used_memory_lua:31744 used_memory_vm_eval:31744 used_memory_lua_human:31.00K used_memory_scripts_eval:0 number_of_cached_scripts:0 number_of_functions:0 number_of_libraries:0 used_memory_vm_functions:32768 used_memory_vm_total:64512 used_memory_vm_total_human:63.00K used_memory_functions:184 used_memory_scripts:184 used_memory_scripts_human:184B maxmemory:0 maxmemory_human:0B maxmemory_policy:noeviction allocator_frag_ratio:1.21 allocator_frag_bytes:331968 allocator_rss_ratio:4.60 allocator_rss_bytes:6766592 rss_overhead_ratio:0.83 rss_overhead_bytes:-1437696 mem_fragmentation_ratio:5.10 mem_fragmentation_bytes:5796560 mem_not_counted_for_evict:0 mem_replication_backlog:0 mem_total_replication_buffers:0 mem_clients_slaves:0 mem_clients_normal:1800 mem_cluster_links:0 mem_aof_buffer:0 mem_allocator:jemalloc-5.2.1 active_defrag_running:0 lazyfree_pending_objects:0 lazyfreed_objects:0 |