|
|
|
shutdown
|
|||
|---|---|---|---|
|
#18+
Поясните мне чем отличаются shutdown abort shutdown immediate ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 13.12.2002, 09:48 |
|
||
|
shutdown
|
|||
|---|---|---|---|
|
#18+
abort не откатывает незавершенные транзакции, база в несогласованном состоянии, при следующем старте требуется восстановление. immediate откатывает незавершенные транзакции, поэтому при следующем старте не требуется восстановление. ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 13.12.2002, 10:20 |
|
||
|
shutdown
|
|||
|---|---|---|---|
|
#18+
Shutting Down with the IMMEDIATE Option --------------------------------------------------- Use immediate database shutdown only in the following situations: A power shutdown is going to occur soon. The database or one of its applications is functioning irregularly. Immediate database shutdown proceeds with the following conditions: Any uncommitted transactions are rolled back. (If long uncommitted transactions exist, this method of shutdown might not complete quickly, despite its name.) Oracle does not wait for users currently connected to the database to disconnect; Oracle implicitly rolls back active transactions and disconnects all connected users. The next startup of the database will not require any instance recovery procedures. To shut down a database immediately, use the SHUTDOWN command with the IMMEDIATE option SHUTDOWN IMMEDIATE; -------------------------------------------------------------------------------- Note: The SHUTDOWN IMMEDIATE statement disconnects all existing idle connections and shuts down the database. If, however, you have submitted processes (for example, inserts, selects or updates) that are awaiting results, the SHUTDOWN TRANSACTIONAL statement allows the process to complete before disconnecting. ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Shutting Down with the ABORT Option ---------------------------------------------------------- You can shut down a database instantaneously by aborting the database's instance. If possible, perform this type of shutdown only in the following situations: The database or one of its applications is functioning irregularly and neither of the other types of shutdown works. You need to shut down the database instantaneously (for example, if you know a power shutdown is going to occur in one minute). You experience problems when starting a database instance. Aborting an instance shuts down a database and yields the following results: Current client SQL statements being processed by Oracle are immediately terminated. Uncommitted transactions are not rolled back. Oracle does not wait for users currently connected to the database to disconnect; Oracle implicitly disconnects all connected users. The next startup of the database will require instance recovery procedures. If both the normal and immediate shutdown options do not work, abort the current database instance immediately by issuing the SHUTDOWN command with the ABORT option: SHUTDOWN ABORT; ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 13.12.2002, 10:34 |
|
||
|
|

start [/forum/topic.php?fid=52&tid=1992469]: |
0ms |
get settings: |
5ms |
get forum list: |
20ms |
check forum access: |
3ms |
check topic access: |
3ms |
track hit: |
40ms |
get topic data: |
10ms |
get forum data: |
2ms |
get page messages: |
45ms |
get tp. blocked users: |
1ms |
| others: | 244ms |
| total: | 373ms |

| 0 / 0 |
