From fa5d61e7de30bf42d4d4976ef82550886e06aafa Mon Sep 17 00:00:00 2001 From: Binbin Date: Thu, 9 Nov 2023 21:42:18 +0800 Subject: [PATCH 1/3] Add some missing INFO fields about FUNCTION --- commands/info.md | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/commands/info.md b/commands/info.md index eecacc5f54..c51052b937 100644 --- a/commands/info.md +++ b/commands/info.md @@ -111,9 +111,18 @@ Here is the meaning of all fields in the **memory** section: the net memory usage (`used_memory` minus `used_memory_startup`) * `total_system_memory`: The total amount of memory that the Redis host has * `total_system_memory_human`: Human readable representation of previous value -* `used_memory_lua`: Number of bytes used by the Lua engine -* `used_memory_lua_human`: Human readable representation of previous value -* `used_memory_scripts`: Number of bytes used by cached Lua scripts +* `used_memory_lua`: Number of bytes used by the Lua engine. Deprecated in Redis 7.0, renamed to `used_memory_vm_eval` +* `used_memory_vm_eval`: Number of bytes used by the Lua engine. Added in Redis 7.0 +* `used_memory_lua_human`: Human readable representation of previous value. Deprecated in Redis 7.0 +* `used_memory_scripts_eval`: Number of bytes overhead by the eval scripts. Added in Redis 7.0 +* `number_of_cached_scripts`: The number of eval Lua scripts cached by the server. Added in Redis 7.0 +* `number_of_functions`: The number of functions. Added in Redis 7.0 +* `number_of_libraries`: The number of libraries. Added in Redis 7.0 +* `used_memory_vm_functions`: Number of bytes used by all the function engines combine. Added in Redis 7.0 +* `used_memory_vm_total`: `used_memory_vm_eval` + `used_memory_vm_functions`. Added in Redis 7.0 +* `used_memory_vm_total_human`: Human readable representation of previous value. +* `used_memory_functions`: Number of bytes overhead by all the function engines combine. Added in Redis 7.0 +* `used_memory_scripts`: `used_memory_scripts_eval` + `used_memory_functions`. Added in Redis 7.0 * `used_memory_scripts_human`: Human readable representation of previous value * `maxmemory`: The value of the `maxmemory` configuration directive * `maxmemory_human`: Human readable representation of previous value From fa5f0adb4c9ceade02e3db2837b2cdac058d79c2 Mon Sep 17 00:00:00 2001 From: Oran Agra Date: Wed, 27 Dec 2023 08:40:43 +0200 Subject: [PATCH 2/3] Update info.md --- commands/info.md | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/commands/info.md b/commands/info.md index c51052b937..a4c7fcef2b 100644 --- a/commands/info.md +++ b/commands/info.md @@ -111,18 +111,18 @@ Here is the meaning of all fields in the **memory** section: the net memory usage (`used_memory` minus `used_memory_startup`) * `total_system_memory`: The total amount of memory that the Redis host has * `total_system_memory_human`: Human readable representation of previous value -* `used_memory_lua`: Number of bytes used by the Lua engine. Deprecated in Redis 7.0, renamed to `used_memory_vm_eval` -* `used_memory_vm_eval`: Number of bytes used by the Lua engine. Added in Redis 7.0 +* `used_memory_lua`: Number of bytes used by the Lua engine for EVAL scripts. Deprecated in Redis 7.0, renamed to `used_memory_vm_eval` +* `used_memory_vm_eval`: Number of bytes used by the script VM engines for EVAL framework (not part of used_memory). Added in Redis 7.0 * `used_memory_lua_human`: Human readable representation of previous value. Deprecated in Redis 7.0 -* `used_memory_scripts_eval`: Number of bytes overhead by the eval scripts. Added in Redis 7.0 -* `number_of_cached_scripts`: The number of eval Lua scripts cached by the server. Added in Redis 7.0 +* `used_memory_scripts_eval`: Number of bytes overhead by the Eval scripts (part of used_memory). Added in Redis 7.0 +* `number_of_cached_scripts`: The number of EVAL scripts cached by the server. Added in Redis 7.0 * `number_of_functions`: The number of functions. Added in Redis 7.0 * `number_of_libraries`: The number of libraries. Added in Redis 7.0 -* `used_memory_vm_functions`: Number of bytes used by all the function engines combine. Added in Redis 7.0 -* `used_memory_vm_total`: `used_memory_vm_eval` + `used_memory_vm_functions`. Added in Redis 7.0 +* `used_memory_vm_functions`: Number of bytes used by the script VM engines for Functions framework (not part of used_memory). Added in Redis 7.0 +* `used_memory_vm_total`: `used_memory_vm_eval` + `used_memory_vm_functions` (not part of used_memory). Added in Redis 7.0 * `used_memory_vm_total_human`: Human readable representation of previous value. -* `used_memory_functions`: Number of bytes overhead by all the function engines combine. Added in Redis 7.0 -* `used_memory_scripts`: `used_memory_scripts_eval` + `used_memory_functions`. Added in Redis 7.0 +* `used_memory_functions`: Number of bytes overhead by Function scripts (part of used_memory). Added in Redis 7.0 +* `used_memory_scripts`: `used_memory_scripts_eval` + `used_memory_functions` (part of used_memory). Added in Redis 7.0 * `used_memory_scripts_human`: Human readable representation of previous value * `maxmemory`: The value of the `maxmemory` configuration directive * `maxmemory_human`: Human readable representation of previous value From 2f6802c81b57757254aa56b90352a8065220889a Mon Sep 17 00:00:00 2001 From: Binbin Date: Fri, 29 Dec 2023 10:24:12 +0800 Subject: [PATCH 3/3] update --- commands/info.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/info.md b/commands/info.md index a4c7fcef2b..0521560b74 100644 --- a/commands/info.md +++ b/commands/info.md @@ -114,7 +114,7 @@ Here is the meaning of all fields in the **memory** section: * `used_memory_lua`: Number of bytes used by the Lua engine for EVAL scripts. Deprecated in Redis 7.0, renamed to `used_memory_vm_eval` * `used_memory_vm_eval`: Number of bytes used by the script VM engines for EVAL framework (not part of used_memory). Added in Redis 7.0 * `used_memory_lua_human`: Human readable representation of previous value. Deprecated in Redis 7.0 -* `used_memory_scripts_eval`: Number of bytes overhead by the Eval scripts (part of used_memory). Added in Redis 7.0 +* `used_memory_scripts_eval`: Number of bytes overhead by the EVAL scripts (part of used_memory). Added in Redis 7.0 * `number_of_cached_scripts`: The number of EVAL scripts cached by the server. Added in Redis 7.0 * `number_of_functions`: The number of functions. Added in Redis 7.0 * `number_of_libraries`: The number of libraries. Added in Redis 7.0