Teradata系统日常维护手册
- 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
- 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
- 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
数据仓库系统日常维护标准文档下面列表内容为日常维护检查系统的具体情况:
Tpareset –
x comments(检查WAL和session情况)
重启前只要wal基本都归零了不必要清session,只有wal有问题才需要做步骤2.
1,psh pdestate –看是不是所有节点都正常的。
??????
# cnsterm 6 open the database supervisor screen Input Supervisor Command:
??????? abort session *.* logoff
Is the data base quiescent (Verify all sessions gone.)
# /tpasw/bin/vprocmanager –s
DBS State: Logons are enabled – The system is quiescent
PDE State: TPA
on), perform a dbs coldwait restart from vprocmanager. Otherwise continue with “Bring database down”:
# /tpasw/bin/vprocmanager
Enter a command, HELP or QUIT:
restart coldwait to clear session table
Wait for the database to come up again. Is the base quiescent (Verify all sessions are gone.)
# /tpasw/bin/vprocmanager –s
DBS State: Logons are enabled – The system is quiescent
PDE State:TPA
??????? 检查wal的大小:(bteq登录,
systemfe|service)
select
currentperm
,vproc
from
where databasename = ‘DBC’
and tablename = ‘transientjournal’
order by 1 desc;