Whether to stream SQL migrations when executing them. Streaming doesn’t load the entire migration in memory at once. Instead each statement is loaded individually.
This is particularly useful for very large SQL migrations composed of multiple MB or even GB of reference data, as this dramatically reduces Flyway’s memory consumption.
false
./flyway -stream="true" info
flyway.stream=true
FLYWAY_STREAM=true
Flyway.configure()
.stream(true)
.load()
flyway {
stream = true
}
<configuration>
<stream>true</stream>
</configuration>