


Configuring publish
To avoid publishing problems, set database attributes, disable summary tables and increase transaction log size before you publish a store archive.
Procedure
- Set the following attribute values to volatile by using
the Alter Table notebook or the
alter tablestatement to alter the row format of table data.To alter a table, you must have one of the following authorities or privileges:ALTERprivilegeCONTROLprivilegeSYSADMauthorityDBADMauthorityALTERINprivilege on the table schema
- Open a DB2 command window.
- Type:
db2 connect todatabasename. - Then type:
db2 alter table catentdesc volatile - Then type:
db2 alter table attribute volatile - Then type:
db2 alter table attrvalue volatile
- Disable the summary tables. Leaving the summary tables
enabled may result in the following:
- Summary tables will be updated during publish, which could result
in a database transaction log overflow and affect the publishing performance.
To disable the summary tables:
- Open Configuration Manager.
- In Configuration Manager, select WebSphere Commerce > Node > Instance List > instance_name > Search Configuration.
- Select the Schema Optimization tab.
- Ensure that all check boxes are cleared. Then click Apply.
- Summary tables will be updated during publish, which could result
in a database transaction log overflow and affect the publishing performance.
To disable the summary tables:
- Increase the amount of space available in the transaction
log by doing one or more of the following:
- Create secondary transaction logs using the DB2 Control Center.
- Increase the transaction log file size by doing one
of the following:
- In a DB2 command window, type:
db2 get db cfg for databasenameThen, look for the log file size (
LOGFILSIZ). After finding the log file size, type:db2 update db cfg for databasename using LOGFILSIZ newlogfilesizewhere
newlogfilesizeis a larger number than the current value.Restart DB2.
- In a DB2 command window, type:
db2 update db cfg for databasename using LOGPRIMARY 20where
20is the number of primary logs (this number may be different for your site). Increasing theLOGPRIMARYincreases your space requirement.
- In a DB2 command window, type: