Changes between Version 47 and Version 48 of Dev/Technical/DB
- Timestamp:
- 04/14/10 11:49:39 (3 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Dev/Technical/DB
v47 v48 62 62 63 63 == 6.1 Object Analyser == 64 This script returns a list of the n-biggest objects present in the ZODB. Output shows for each object: the className, the OID, the percentage of space that it takes and the size.64 This script returns the list of the n-biggest objects present in the ZODB (I strongly recommend to set the 'n' option because it increases a lot the performance of the script and the readability of the output) 65 65 66 66 Usage: 67 67 {{{ 68 68 #!sh 69 python objects_stats.py -f data.fs -n 100 -o output.out 69 python objects_stats.py -f data.fs -n 100 70 }}} 71 72 If you want to save the ouput list in a file results.out simply use redirection: 73 {{{ 74 #!sh 75 python objects_stats.py -f data.fs -n 100 > results.out 70 76 }}} 71 77
