Results of 1 - 10 of about 12 for slots (0.002 sec.)
- Status of cache 12133
- « Yac::__get Yac::set » PHP Manual Yac Status of cache 検索 Yac::info (PECL yac >= 1.0.0) Yac::info — Status of cache 説明 public function Yac::info (): array Get status of cache system パラメータ この関数にはパラメータはありません。 戻り値
... an array with the following keys: memory_size Total shared memory in use, in bytes: the slot table plus the value blocks. slots_memory_size Memory reserved for the hash slot table, in bytes. values_memory_size Memory reserved for the stored values, i ... gment and wrapped around to its beginning. start_time The Unix timestamp at which the shared memory cache was initialized. slots_size Total number of hash slots. slots_used Number of hash slots currently occupied. 例 例1 Yac::info() example <?php $yac ... "bar" ); print_r ( $yac -> info ()); ?> 上の例の出力は、 たとえば以下のようになります。 Array ( [memory_size] => 75497472 [slots_memory_size] => 8388608 [values_memory_size] => 67108864 [segment_size] => 4194304 [segment_num] => 16 [miss] => 0 [hits] ...
-
https://man.mtool.work/php/8.3/yac.info.html
- Status of cache 12133
- « Yac::__get Yac::set » PHP Manual Yac Status of cache 検索 Yac::info (PECL yac >= 1.0.0) Yac::info — Status of cache 説明 public function Yac::info (): array Get status of cache system パラメータ この関数にはパラメータはありません。 戻り値
... an array with the following keys: memory_size Total shared memory in use, in bytes: the slot table plus the value blocks. slots_memory_size Memory reserved for the hash slot table, in bytes. values_memory_size Memory reserved for the stored values, i ... gment and wrapped around to its beginning. start_time The Unix timestamp at which the shared memory cache was initialized. slots_size Total number of hash slots. slots_used Number of hash slots currently occupied. 例 例1 Yac::info() example <?php $yac ... "bar" ); print_r ( $yac -> info ()); ?> 上の例の出力は、 たとえば以下のようになります。 Array ( [memory_size] => 75497472 [slots_memory_size] => 8388608 [values_memory_size] => 67108864 [segment_size] => 4194304 [segment_num] => 16 [miss] => 0 [hits] ...
-
https://man.mtool.work/php/8.3/yac.info.html
- Memory Management 10294
- « リソース型 定義済み定数 » PHP Manual Yac Memory Management 検索 Memory Management Yac keeps its data in two independent shared-memory pools, configured with yac.keys_memory_size and yac.values_memory_size . They fill up and free up in dif
... t like any other entry, but consume no space in the value pool, so leave them out of the second calculation. The key pool (slots) yac.keys_memory_size holds a fixed-size table of slots — the default of 8M gives around 65,536 slots. Each stored key occ ... upies exactly one slot, so this pool caps the number of entries that can exist at once; unlike the value pool, slots are never individually freed. An expired slot — one past its TTL, or the tombstone left by Yac::delete() — is recycled for ... free when a new key needs it. Only when all four candidate slots of a probe path hold live entries is one of them evicted to make room — one kick (the kicks counter of Yac::info() ). The ...
-
https://man.mtool.work/php/8.3/yac.memory-management.html
- Memory Management 10241
- « リソース型 定義済み定数 » PHP Manual Yac Memory Management 検索 Memory Management Yac keeps its data in two independent shared-memory pools, configured with yac.keys_memory_size and yac.values_memory_size . They fill up and free up in dif
... t like any other entry, but consume no space in the value pool, so leave them out of the second calculation. The key pool (slots) yac.keys_memory_size holds a fixed-size table of slots — the default of 8M gives around 65,536 slots. Each stored key occ ... upies exactly one slot, so this pool caps the number of entries that can exist at once; unlike the value pool, slots are never individually freed. An expired slot — one past its TTL, or the tombstone left by Yac::delete() — is recycled for ... free when a new key needs it. Only when all four candidate slots of a probe path hold live entries is one of them evicted to make room — one kick (the kicks counter of Yac::info() ). The ...
-
https://man.mtool.work/php/8.3/yac.memory-management.html
- Remove items from cache 7959
- « Yac::__construct Yac::dump » PHP Manual Yac Remove items from cache 検索 Yac::delete (PECL yac >= 1.0.0) Yac::delete — Remove items from cache 説明 public function Yac::delete ( string | array $key , int $delay = 0 ): bool Removes one or
... mplemented by marking the entry expired rather than clearing its slot: the entry immediately stops being readable, but the slot stays occupied until the same key is stored again or a later write reclaims the slot. As a result, the used-slot count repo ... written yet var_dump ( $yac -> delete ( "never" )); // bool(false): was never stored // a deletion does not free the slot: slots_used does not drop, and // the expired entry still shows up in the dump var_dump ( $yac -> info ()[ "slots_used" ]); // in ...
-
https://man.mtool.work/php/8.3/yac.delete.html
- APCu のデータから、キャッシュされた情報を取得する 7959
- « apcu_add apcu_cas » PHP Manual APCu 関数 APCu のデータから、キャッシュされた情報を取得する 検索 apcu_cache_info (PECL apcu >= 4.0.0) apcu_cache_info — APCu のデータから、キャッシュされた情報を取得する 説明 function apcu_cache_info ( bool
... pcu_cache_info() の例 <?php print_r ( apcu_cache_info ()); ?> 上の例の出力は、 たとえば以下のようになります。 Array ( [num_slots] => 2000 [ttl] => 0 [num_hits] => 9 [num_misses] => 3 [start_time] => 1123958803 [cache_list] => Array ( [0] => Array ( [f ... nfo limited time APCUIterator メタデータ type hits 総数 エントリ 個々 統計情報 収集 最適化 有用 一般的 履歴 filehits print slots misses start ...
-
https://man.mtool.work/php/8.3/function.apcu-cache-info.html
- Remove items from cache 7959
- « Yac::__construct Yac::dump » PHP Manual Yac Remove items from cache 検索 Yac::delete (PECL yac >= 1.0.0) Yac::delete — Remove items from cache 説明 public function Yac::delete ( string | array $key , int $delay = 0 ): bool Removes one or
... mplemented by marking the entry expired rather than clearing its slot: the entry immediately stops being readable, but the slot stays occupied until the same key is stored again or a later write reclaims the slot. As a result, the used-slot count repo ... written yet var_dump ( $yac -> delete ( "never" )); // bool(false): was never stored // a deletion does not free the slot: slots_used does not drop, and // the expired entry still shows up in the dump var_dump ( $yac -> info ()[ "slots_used" ]); // in ...
-
https://man.mtool.work/php/8.3/yac.delete.html
- 実行時設定 7517
- « インストール手順 リソース型 » PHP Manual インストール/設定 実行時設定 検索 実行時設定 php.ini の設定により動作が変化します。 Yac 設定オプション 名前 デフォルト 変更可能 変更履歴 yac.compress_threshold 4K INI_SYSTEM yac.debug 0 INI_ALL yac
... ten ("recycled"). Their reads then degrade to misses, detected by an integrity guard. Enlarge this if recycles climb while slots still have room, or enable yac.compress_threshold to shrink large payloads. See Memory Management . yac.serializer string ...
-
https://man.mtool.work/php/8.3/yac.configuration.html
- 実行時設定 7517
- « インストール手順 リソース型 » PHP Manual インストール/設定 実行時設定 検索 実行時設定 php.ini の設定により動作が変化します。 Yac 設定オプション 名前 デフォルト 変更可能 変更履歴 yac.compress_threshold 4K INI_SYSTEM yac.debug 0 INI_ALL yac
... ten ("recycled"). Their reads then degrade to misses, detected by an integrity guard. Enlarge this if recycles climb while slots still have room, or enable yac.compress_threshold to shrink large payloads. See Memory Management . yac.serializer string ...
-
https://man.mtool.work/php/8.3/yac.configuration.html
- APCu のデータから、キャッシュされた情報を取得する 7464
- « apcu_add apcu_cas » PHP Manual APCu 関数 APCu のデータから、キャッシュされた情報を取得する 検索 apcu_cache_info (PECL apcu >= 4.0.0) apcu_cache_info — APCu のデータから、キャッシュされた情報を取得する 説明 function apcu_cache_info ( bool
... pcu_cache_info() の例 <?php print_r ( apcu_cache_info ()); ?> 上の例の出力は、 たとえば以下のようになります。 Array ( [num_slots] => 2000 [ttl] => 0 [num_hits] => 9 [num_misses] => 3 [start_time] => 1123958803 [cache_list] => Array ( [0] => Array ( [f ...
-
https://man.mtool.work/php/8.3/function.apcu-cache-info.html