What's New in Version 2024.11.10-4f524894
New Features and Enhancements
Section titled “New Features and Enhancements”You can now configure engines to automatically suspend after a period of inactivity:
-
The api.create_engine() procedure has a new
engine_configparameter that accepts a JSON object, like{'auto_suspend_mins': 60, 'await_storage_vacuum': false}, for configuring how many minutes an engine must be inactive before being suspended and whether or not garbage collection tasks must complete before suspending the engine. Ifengine_configisNULL, the engine is configured withauto_suspend_minsset to0, and the engine will not be automatically suspended. -
The default value for
auto_suspend_minswill change from0to60minutes in a future release. To avoid unexpected behavior, we recommend creating engines with an explicitauto_suspend_minsvalue. Beginning with version0.6.0of the RAI Python API, engines auto-created by the API will be configured withauto_suspend_minset to value of theauto_suspend_minconfiguration key, or60minutes if the key is missing. -
An api.alter_engine_auto_suspend_mins() procedure has been added to alter an existing engine’s
auto_suspend_minsconfiguration parameter. Note that this procedure only works for engines created using the newapi.create_engine()procedure mentioned above. -
Use the new api.resume_engine() procedure to resume a suspended engine. Beginning with version
0.6.0of the RAI Python API, suspended engines will be resumed automatically when Python queries are executed. -
The
api.enginesview, as well as the table returned byapi.get_engine(), now include anAUTO_SUSPEND_MINSandAWAIT_STORAGE_VACUUMcolumns that contain the configured values for each engine. The newSUSPENDS_ATcolumn shows the timestamp of the next scheduled suspension for inactive engines.
Bug Fixes
Section titled “Bug Fixes”- Fixed a bug that periodically resumed the app warehouse while the Native App was deactivated.