1

如果数据库崩溃并重新启动,Oracle Queue 会发生什么?我们是否必须再次手动重新启动队列?是否会出现不一致的事务,或者 oracle 数据库服务器是否足够智能来处理这种情况?

如果在数据库重新启动后需要手动重新启动队列,那么创建一个自动启动队列的作业是否理想?

4

1 回答 1

1

You do not need to manually start the queues. But depending on the criticality of the database, you may want to create a job that, upon startup, will ensure that everything is properly set up (http://www.dba-oracle.com/t_database_startup_trigger.htm).

There will be no inconsistent data. Oracle ensures that no data is lost except for ongoing transactions. Those will be rollbacked.

于 2018-08-15T21:19:19.143 回答