网创优客建站品牌官网
为成都网站建设公司企业提供高品质网站建设
热线:028-86922220
成都专业网站建设公司

定制建站费用3500元

符合中小企业对网站设计、功能常规化式的企业展示型网站建设

成都品牌网站建设

品牌网站建设费用6000元

本套餐主要针对企业品牌型网站、中高端设计、前端互动体验...

成都商城网站建设

商城网站建设费用8000元

商城网站建设因基本功能的需求不同费用上面也有很大的差别...

成都微信网站建设

手机微信网站建站3000元

手机微信网站开发、微信官网、微信商城网站...

建站知识

当前位置:首页 > 建站知识

OGG如何修改trail文件的大小-创新互联

这篇文章将为大家详细讲解有关OGG如何修改trail文件的大小,小编觉得挺实用的,因此分享给大家做个参考,希望大家阅读完这篇文章后可以有所收获。

成都网络公司-成都网站建设公司创新互联公司十余年经验成就非凡,专业从事成都网站制作、网站建设,成都网页设计,成都网页制作,软文推广广告投放等。十余年来已成功提供全面的成都网站建设方案,打造行业特色的成都网站建设案例,建站热线:18980820575,我们期待您的来电!

实验-修改trail文件的大小
先看原文档:
Changing the size of trail files
更改trail 文件的大小
You can change the size of trail files with the MEGABYTES option of either the ALTER EXTTRAIL
or ALTER RMTTRAIL command, depending on whether the trail is local or remote. To change 
the file size, follow this procedure.
你可以通过alter 命令调整MEGABYTES 参数的值来改变trail 文件的大小,是使用ALTER EXTTRAIL
或者 ALTER RMTTRAIL要看trail 文件是在本地还是在其它地方
1. Issue one of the following commands, depending on the location of the trail,to view the 
path name of the trail you want to alter and the name of the associated Extract group. 
Use a wildcard to view all trails.
使用下面的命令获得你想修改trail 文件的存放地址,你的trail文件所属的组
(Remote trail)
INFO RMTTRAIL *
(Local trail)
INFO EXTTRAIL *
2. Issue one of the following commands, depending on the locationof the trail, to change 
the file size.
(Remote trail)
ALTER RMTTRAIL , EXTRACT , MEGABYTES
(Local trail)
ALTER EXTTRAIL , EXTRACT , MEGABYTES
3. Issue the following command tocause Extract to switch to the next file in the trail.
SEND EXTRACT , ROLLOVER
-------------------------------------------------------------------------分割线---------------------------------------------------------------------------------------------------------------
源端
停止抽取进程
stop group_name
停止推送进程
stop group_name
目标端:
停止复制进程
stop group_name
在源端查看信息
GGSCI (OGG1) 64> info exttrail *


       Extract Trail: /u01/ogg/dirdat/kt
             Extract: GGEX
               Seqno: 14
                 RBA: 3822
           File Size: 5M


       Extract Trail: /u01/ogg/dirdat/kt
             Extract: GGPUMP
               Seqno: 13
                 RBA: 3956
           File Size: 5M
运行命令:
1、ALTER RMTTRAIL /u01/ogg/dirdat/kt, EXTRACT ggex, MEGABYTES 60--改成60M
2、ALTER EXTTRAIL /u01/ogg/dirdat/kt, EXTRACT ggpump, MEGABYTES 60---改成60M
3、SEND EXTRACT ggex, ROLLOVER
4、SEND EXTRACT ggpump, ROLLOVER
启动进程
start 
查看是否发生改变:
GGSCI (OGG1) 91> info exttrail *


       Extract Trail: /u01/ogg/dirdat/kt
             Extract: GGEX
               Seqno: 17
                 RBA: 1007
           File Size: 60M


       Extract Trail: /u01/ogg/dirdat/kt
             Extract: GGPUMP
               Seqno: 16
                 RBA: 1149
           File Size: 60M

关于“OGG如何修改trail文件的大小”这篇文章就分享到这里了,希望以上内容可以对大家有一定的帮助,使各位可以学到更多知识,如果觉得文章不错,请把它分享出去让更多的人看到。


网页名称:OGG如何修改trail文件的大小-创新互联
网站地址:http://bjjierui.cn/article/djdigg.html

其他资讯