Introduce startup scripts, enabling the execution of preconfigured queries automatically during the ClickHouse server startup phase.
Why it matters
This feature allows users to run custom SQL queries or commands when the ClickHouse server starts. It helps automate initialization tasks, such as setting session settings, preparing the environment, or preloading data, thereby improving startup configuration and operational efficiency.How to use it
Users can enable startup scripts by configuring the relevant settings to specify SQL queries that should be executed when the server launches. These queries are defined in the server configuration files or environment to run automatically at startup.