码迷,mamicode.com
首页 > 其他好文 > 详细

SAP IQ: Relocate the Message Trace File to a Different?Location

时间:2016-04-18 11:52:19      阅读:127      评论:0      收藏:0      [点我收藏+]

标签:

SAP IQ: Relocate the Message Trace File to a Different Location

July 11, 2014

When a new SAP IQ database is created we can use the MESSAGE PATH clause to specify the path where the message trace file will be stored; if you omit the MESSAGE PATH clause, the message trace file is created in the same directory of the .db file.

Sometimes it is necessary to later relocate the message trace file to a different location.

Here is a simple procedure to reallocate the message trace file.

  1. Identify the actual location

    select file_name from sysfile
    where dbspace_name = ‘IQ_SYSTEM_MSG’

    file_name
    —————————-
    devDwIqDb.iqmsg

  2.  

  3. Alter the IQ_SYSTEM_MSG dbspace

    ALTER DBSPACE IQ_SYSTEM_MSG RENAME ‘/log_vol/dev/devDwIqDb.iqmsg

  4.  

  5. Verify the new location

    select file_name from sysfile
    where dbspace_name = ‘IQ_SYSTEM_MSG’

    file_name
    —————————-
    /log_vol/dev/devDwIqDb.iqmsg

  6.  

  7. Restart SAP IQ

 

Done!






SAP IQ: Relocate the Message Trace File to a Different?Location

标签:

原文地址:http://www.cnblogs.com/iathena/p/0b13a1572abcda46f3d668ce50903149.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!