You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

44 lines
1.6 KiB

  1. /*****************************************************************************
  2. Copyright (c) 2011, 2014, Oracle and/or its affiliates. All Rights Reserved.
  3. Copyright (c) 2019, MariaDB Corporation.
  4. This program is free software; you can redistribute it and/or modify it under
  5. the terms of the GNU General Public License as published by the Free Software
  6. Foundation; version 2 of the License.
  7. This program is distributed in the hope that it will be useful, but WITHOUT
  8. ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
  9. FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
  10. You should have received a copy of the GNU General Public License along with
  11. this program; if not, write to the Free Software Foundation, Inc.,
  12. 51 Franklin Street, Fifth Floor, Boston, MA 02110-1335 USA
  13. *****************************************************************************/
  14. /**************************************************//**
  15. @file buf/buf0dump.h
  16. Implements a buffer pool dump/load.
  17. Created April 08, 2011 Vasil Dimov
  18. *******************************************************/
  19. #ifndef buf0dump_h
  20. #define buf0dump_h
  21. /** Start the buffer pool dump/load task and instructs it to start a dump. */
  22. void buf_dump_start();
  23. /** Start the buffer pool dump/load task and instructs it to start a load. */
  24. void buf_load_start();
  25. /** Abort a currently running buffer pool load. */
  26. void buf_load_abort();
  27. /** Start async buffer pool load, if srv_buffer_pool_load_at_startup was set.*/
  28. void buf_load_at_startup();
  29. /** Wait for currently running load/dumps to finish*/
  30. void buf_load_dump_end();
  31. #endif /* buf0dump_h */