This directory contains a collection of utilities for managing ZODB
databases. Some are more useful than others. If you install ZODB
using distutils ("python setup.py install"), a few of these will be installed.
Unless otherwise noted, these scripts are invoked with the name of the
Data.fs file as their only argument. Example: checkbtrees.py data.fs.
analyze.py -- a transaction analyzer for FileStorage
Reports on the data in a FileStorage. The report is organized by
class. It shows total data, as well as separate reports for current
and historical revisions of objects.
checkbtrees.py -- checks BTrees in a FileStorage for corruption
Attempts to find all the BTrees contained in a Data.fs, calls their
_check() methods, and runs them through BTrees.check.check().
fsdump.py -- summarize FileStorage contents, one line per revision
Prints a report of FileStorage contents, with one line for each
transaction and one line for each data record in that transaction.
Includes time stamps, file positions, and class names.
fsoids.py -- trace all uses of specified oids in a FileStorage
For heavy debugging.
A set of oids is specified by text file listing and/or command line.
A report is generated showing all uses of these oids in the database:
all new-revision creation/modifications, all references from all
revisions of other objects, and all creation undos.
fstest.py -- simple consistency checker for FileStorage
usage: fstest.py [-v] data.fs
The fstest tool will scan all the data in a FileStorage and report an
error if it finds any corrupt transaction data. The tool will print a
message when the first error is detected an exit.
The tool accepts one or more -v arguments. If a single -v is used, it
will print a line of text for each transaction record it encounters.
If two -v arguments are used, it will also print a line of text for
each object. The objects for a transaction will be printed before the
transaction itself.
Note: It does not check the consistency of the object pickles. It is
possible for the damage to occur only in the part of the file that
stores object pickles. Those errors will go undetected.
space.py -- report space used by objects in a FileStorage
usage: space.py [-v] data.fs
This ignores revisions and versions.
netspace.py -- hackish attempt to report on size of objects
usage: netspace.py [-P | -v] data.fs
-P: do a pack first
-v: print info for all objects, even if a traversal path isn't found
Traverses objects from the database root and attempts to calculate
size of object, including all reachable subobjects.
repozo.py -- incremental backup utility for FileStorage
Run the script with the -h option to see usage details.
timeout.py -- script to test transaction timeout
usage: timeout.py address delay [storage-name]
This script connects to a storage, begins a transaction, calls store()
and tpc_vote(), and then sleeps forever. This should trigger the
transaction timeout feature of the server.
zodbload.py -- exercise ZODB under a heavy synthesized Zope-like load
See the module docstring for details. Note that this script requires
Zope. New in ZODB3 3.1.4.
fsrefs.py -- check FileStorage for dangling references
fstail.py -- display the most recent transactions in a FileStorage
usage: fstail.py [-n nxtn] data.fs
The most recent ntxn transactions are displayed, to stdout.
Optional argument -n specifies ntxn, and defaults to 10.
migrate.py -- do a storage migration and gather statistics
See the module docstring for details.
没有合适的资源?快使用搜索试试~ 我知道了~
温馨提示
资源分类:Python库 所属语言:Python 资源全名:ZODB-5.0.0a2.tar.gz 资源来源:官方 安装方法:https://lanzao.blog.csdn.net/article/details/101784059
资源推荐
资源详情
资源评论
收起资源包目录
Python库 | ZODB-5.0.0a2.tar.gz (231个子文件)
c 50KB
buildout.cfg 844B
setup.cfg 59B
COPYING 91B
.coveragerc 172B
test-checker.fs 802B
MANIFEST.in 265B
tox.ini 969B
log.ini 586B
not-zip-safe 1B
storage.pdf 25KB
PKG-INFO 16KB
PKG-INFO 16KB
FileStorage.py 71KB
test_repozo.py 47KB
Connection.py 47KB
interfaces.py 47KB
testConnection.py 40KB
blob.py 35KB
DB.py 33KB
zodbload.py 30KB
PackableStorage.py 28KB
TransactionalUndoStorage.py 28KB
testblob.py 25KB
testFileStorage.py 25KB
repozo.py 24KB
fspack.py 24KB
serialize.py 23KB
testZODB.py 22KB
testCache.py 18KB
BasicStorage.py 15KB
DemoStorage.py 13KB
testmvcc.py 13KB
BaseStorage.py 13KB
POSException.py 12KB
utils.py 12KB
ConflictResolution.py 11KB
migrate.py 11KB
MappingStorage.py 11KB
testconflictresolution.py 11KB
sampledm.py 10KB
fsrecover.py 10KB
broken.py 10KB
testDemoStorage.py 10KB
IteratorStorage.py 10KB
testDB.py 10KB
ez_setup.py 9KB
format.py 9KB
tests.py 9KB
fsIndex.py 9KB
fsoids.py 8KB
testSerialize.py 8KB
config.py 8KB
testRecover.py 8KB
RecoveryStorage.py 8KB
MTStorage.py 7KB
testPersistentWeakref.py 7KB
mvccadapter.py 7KB
StorageTestBase.py 7KB
test_cache.py 7KB
testfsoids.py 7KB
testfsIndex.py 7KB
fstest.py 7KB
RevisionStorage.py 7KB
testMVCCMappingStorage.py 7KB
ExportImport.py 7KB
persistentclass.py 7KB
testConnectionSavepoint.py 6KB
bootstrap.py 6KB
testPersistentMapping.py 6KB
util.py 6KB
testPersistentList.py 6KB
testcrossdatabasereferences.py 6KB
fsrefs.py 6KB
fsstats.py 6KB
ConflictResolution.py 6KB
testfstest.py 5KB
testUtils.py 5KB
hexstorage.py 5KB
setup.py 5KB
test_datamanageradapter.py 5KB
testConfig.py 5KB
test_storage.py 5KB
_compat.py 5KB
fstools.py 5KB
fsdump.py 5KB
MVCCMappingStorage.py 5KB
analyze.py 4KB
Synchronization.py 4KB
ActivityMonitor.py 4KB
speed.py 3KB
netspace.py 3KB
loggingsupport.py 3KB
testActivityMonitor.py 3KB
checkbtrees.py 3KB
test_fsdump.py 3KB
migrateblobs.py 3KB
testBroken.py 3KB
testpersistentclass.py 3KB
fsoids.py 2KB
共 231 条
- 1
- 2
- 3
资源评论
挣扎的蓝藻
- 粉丝: 14w+
- 资源: 15万+
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- 快速定制中国传统节日头像(源码)
- hcia 复习内容的实验
- 准Z源光伏并网系统MATLAB仿真模型,采用了三次谐波注入法SPWM调制,具有更高的电压利用效率 并网部分采用了电压外环电流内环 电池部分采用了扰动观察法,PO Z源并网和逆变器研究方向的同学可
- 海面目标检测跟踪数据集.zip
- 欧美风格, 节日主题模板
- 西门子1200和三菱FXU通讯程序
- 11种概率分布的拟合与ks检验,可用于概率分析,可靠度计算等领域 案例中提供11种概率分布,具体包括:gev、logistic、gaussian、tLocationScale、Rayleigh、Log
- 机械手自动排列控制PLC与触摸屏程序设计
- uDDS源程序publisher
- 中国风格, 节日 主题, PPT模板
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功