@Generated(value="OracleSDKGenerator", comments="API Version: 20190415") public enum InnoDbShutdownMode extends Enum<InnoDbShutdownMode> implements BmcEnum
The InnoDB shutdown mode. If the value is “SLOW”, InnoDB does a slow shutdown, a full purge and a change buffer merge before shutting down. If the value is “FAST”, InnoDB skips these operations at shutdown, a process known as a fast shutdown. If the value is “IMMEDIATE”, InnoDB flushes its logs and shuts down cold, as if MySQL had crashed; no committed transactions are lost, but the crash recovery operation makes the next startup take longer.
The slow shutdown can take minutes, or even hours in extreme cases where substantial amounts of data are still buffered. Use the slow shutdown technique before upgrading or downgrading between MySQL major releases, so that all data files are fully prepared in case the upgrade process updates the file format.
Modifier and Type | Method and Description |
---|---|
static InnoDbShutdownMode |
create(String key) |
String |
getValue() |
static InnoDbShutdownMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static InnoDbShutdownMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final InnoDbShutdownMode Immediate
public static final InnoDbShutdownMode Fast
public static final InnoDbShutdownMode Slow
public static InnoDbShutdownMode[] values()
for (InnoDbShutdownMode c : InnoDbShutdownMode.values()) System.out.println(c);
public static InnoDbShutdownMode valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static InnoDbShutdownMode create(String key)
Copyright © 2016–2024. All rights reserved.