2017 © Pedro Peláez
 

library redis-memory-analysis

image

hhxsv5/redis-memory-analysis

  • Sunday, February 25, 2018
  • by hhxsv5
  • Repository
  • 1 Watchers
  • 10 Stars
  • 1,908 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 9 Versions
  • 4 % Grown

The README.md

Redis memory analysis

🔎 Analyzing memory of redis is to find the keys(prefix) which used a lot of memory, export the analysis result into csv file., (*1)

Requirements

  • PHP 5.4 or later
  • ext-redis >=2.2.8
  • predis/predis ~1.1.0

Installation via Composer(packagist)

composer require "hhxsv5/redis-memory-analysis:~1.0" -vvv

Usage

Run demo

include '../vendor/autoload.php';

use Hhxsv5\RMA\AnalyzeRedis;

$analyze = new AnalyzeRedis('127.0.0.1', 6379, '123456');

//Scan the keys which can be split by '#' ':'
//special pattern characters need to escape by '\'
$analyze->start(['#', ':']);

//Find the csv file in default target folder: ./reports
//CSV file name format: redis-analysis-{host}-{port}-{db}.csv
//The keys order by count desc
$analyze->saveReport();

CSV, (*2)

License

MIT, (*3)

The Versions

25/02 2018

dev-master

9999999-dev https://github.com/hhxsv5/redis-memory-analysis

  Sources   Download

MIT

The Requires

 

by Xie Biao

redis analysis memory usage redis-memory-analysis export-csvfile occupancy

22/01 2018

v1.0.7

1.0.7.0 https://github.com/hhxsv5/redis-memory-analysis

Analyzing memory of redis is to find the keys(prefix) which used a lot of memory, export the analysis result into csv file.

  Sources   Download

MIT

The Requires

 

by Xie Biao

redis analysis memory usage export-csvfile occupancy

22/01 2018

v1.0.6

1.0.6.0 https://github.com/hhxsv5/redis-memory-analysis

Analyzing memory of redis is to find the keys(prefix) which used a lot of memory, export the analysis result into csv file.

  Sources   Download

MIT

The Requires

 

by Xie Biao

redis analysis memory usage export-csvfile occupancy

15/01 2018

v1.0.5

1.0.5.0 https://github.com/hhxsv5/redis-memory-analysis

Analyzing memory of redis is to find the keys(prefix) which used a lot of memory, export the analysis result into csv file.

  Sources   Download

MIT

The Requires

 

by Xie Biao

redis analysis memory usage export-csvfile occupancy

29/11 2017

v1.0.4

1.0.4.0 https://github.com/hhxsv5/redis-memory-analysis

Analyzing memory of redis is to find the keys(prefix) which used a lot of memory, export the analysis result into csv file.

  Sources   Download

MIT

The Requires

 

by Xie Biao

redis analysis memory usage redis-memory-analysis

14/11 2017

v1.0.3

1.0.3.0 https://github.com/hhxsv5/redis-memory-analysis

Analyzing memory of redis is to find the keys(prefix) which used a lot of memory, export the analysis result into csv file.

  Sources   Download

MIT

The Requires

 

by Xie Biao

redis analysis memory usage redis-memory-analysis

14/11 2017

v1.0.2

1.0.2.0 https://github.com/hhxsv5/redis-memory-analysis

Analyzing memory of redis is to find the keys(prefix) which used a lot of memory, export the analysis result into csv file.

  Sources   Download

MIT

The Requires

 

by Xie Biao

redis analysis memory usage redis-memory-analysis

13/11 2017

v1.0.1

1.0.1.0 https://github.com/hhxsv5/redis-memory-analysis

Analyzing memory of redis is to find the keys(prefix) which used a lot of memory, export the analysis result into csv file.

  Sources   Download

MIT

The Requires

 

by Xie Biao

redis analysis memory usage redis-memory-analysis

13/11 2017

v1.0.0

1.0.0.0 https://github.com/hhxsv5/redis-memory-analysis

.

  Sources   Download

MIT

The Requires

 

by Xie Biao

redis analysis memory usage redis-memory-analysis