English 中文(简体)
db2的标识位置
原标题:log location in db2
  • 时间:2010-06-04 12:53:16
  •  标签:
  • db2

哪些地方储存在非行2中?

我正在寻找一个名字为Updatedb20100604182008.log的档案。

最佳回答

页: 1

http://www.ibm.com/developerworks/data/library/techarticle/0301kline/0301kline.html

(该条还详细介绍了违约地点。)

The database logs are initially created in a directory called SQLOGDIR, a sub-directory of the database directory. You can change the location where active logs and future archive logs are placed by changing the value for this configuration parameter to point to either a different directory, or to a device. Archive logs that are currently stored in the database log path directory are not moved to the new location if the database is configured for roll-forward recovery.

Because you can change the log path location, the logs needed for roll-forward recovery may exist in different directories or on different devices. You can change this configuration parameter during the roll-forward process to allow you to access logs in multiple locations.

The change to the value of newlogpath will not be applied until the database is in a consistent state. An informational database configuration parameter, database_consistent, indicates the status of the database.

Note: The database manager writes to transaction logs one at a time. The total size of transactions that can be active is limited by the database configuration parameters:

问题回答

亚洲开发银行2号记录地点可从亚洲开发银行CFG参数()中找到。 查阅文件的途径

指挥将如下,与非行没有明确联系。

db2 得到db cfg,用于db_name , 即 记录档案的途径

阁下可以首先与非行联系,并使用以下指挥系统:

db2 connect to db_name
db2 get db cfg | grep  Path to log files 
db2 terminate
  1. db2 connect to database
  2. db2 get db cfg | grep -i log
  3. cd /data/dblogs/NODE0000(path to the log files)
  4. cd LOGSTREAM0000(these is log folder)
  5. ls -altr(we can see all the log files with .log extension)
  6. rm abc.log (give the log name which you want to delete)




相关问题
DB2 varchar index join

For DB2... table1.a is varchar(30) and has an index on it. table2.b is varchar(45) and has an index on it. Will table1.a = table2.b use the index on table1, table2, or both? Although it would seem ...

How to put a constraint on two combined fields?

I d like to put a constraint, a check or a foreign key, on two combined fields from table1 to another field in table2. Here is what I tried, but both gave me errors: ALTER TABLE table1 ADD ...

Odd WHERE NOT EXISTS performance on DB2

I am experiencing very odd performance on DB2 version 9.1 when running the query below: select a.CYCL_NUM , a.AC_NUM , a.AUTHS_DTE , a.PL_ID , a.APRVD_RSPN_CDE , a.AUTHS_AMT , a....

AS400 DB2 Journals search

I am new to DB2 administration on AS400, could you point me to the best practices/tools to search for errors in the DB2 journals? So far I use the DSPJRN command but I am unable to make research. ...

2. 循环检测,采用回收分级系数

甲状腺可使用其专有的CONNECT,自v2起就进行分级查询。 在最近发表的第11g号新闻稿中,他们增加了复位的分级系数,也称为休养。

Tossing out certain result rows in a left join

In DB2, using the following left join select a.deptno, a.deptname, b.empno from #dept a left join #emp b on a.deptno = b.workdept on two tables, gets me a list like: dpt name emp ----------...

热门标签