![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hi , Can someone tell me what happens when we issue a rollforward stop and a rollforward complete. |
#3
| |||
| |||
|
|
On 2011-04-26 11:20, Gladiator wrote: Hi , Can someone tell me what happens when we issue a rollforward stop and a rollforward complete. They are synonyms, so there is no difference. Snipped from the 9.5 online help (http://publib.boulder.ibm.com/infoce...r5/index.jsp): COMPLETE | STOP * * Stops the rolling forward of log records, and completes the rollforward recovery process by rolling back any incomplete transactions and turning off the rollforward pending state of the database. This allows access to the database or table spaces that are being rolled forward. These keywords are equivalent; specify one or the other, but not both. The keyword AND permits specification of multiple operations at once; for example, db2 rollforward db sample to end of logs and complete. When rolling table spaces forward to a point in time, the table spaces are placed in backup pending state. /Lennart |
#4
| |||
| |||
|
|
"Gladiator" <vkamalnath1237 (AT) gmail (DOT) com> wrote in message news:497cb7cc-4692-46ff-baf0-f18de5b17e08 (AT) r35g2000prj (DOT) googlegroups.com... Thanks for the reply, But my question is if both are performing the same operation why do we have two keywords STOP|COMPLETE ? What are the situations in which we use STOP and in what situations we use COMPLETE. Thanks, Kamal. |
#5
| |||
| |||
|
|
But my question is if both are performing the same operation why do we have two keywords STOP|COMPLETE ? What are the situations in which we use STOP and in what situations we use COMPLETE. |
#6
| |||
| |||
|
|
Hi Kamal, On 27.04.11 1:57 , Gladiator wrote: But my question is if both are performing the same operation why do we have two keywords STOP|COMPLETE *? What are the situations in which we use STOP and in what situations we use COMPLETE. You can either use COMPLETE or STOP. Both commands are performing the same operation. STOP is an alias for COMPLETE. The reason why there are 2 keywords is a historical one. But aliases are not uncommon. e.g.: DB2: 'db2 get dbm cfg' alias for 'db2 get database manager configuration' PHP: 'join' alias for 'implode' 'chop' alias for 'rtrim' -- Helmut K. C. Tessarek DB2 Performance and Development IBM Toronto Lab |
![]() |
| Thread Tools | |
| Display Modes | |
| |