TempStoreMode.cs 611 B

1234567891011121314151617181920212223
  1. namespace Emby.Server.Implementations.Data;
  2. /// <summary>
  3. /// Storage mode used by temporary database files.
  4. /// </summary>
  5. public enum TempStoreMode
  6. {
  7. /// <summary>
  8. /// The compile-time C preprocessor macro SQLITE_TEMP_STORE
  9. /// is used to determine where temporary tables and indices are stored.
  10. /// </summary>
  11. Default = 0,
  12. /// <summary>
  13. /// Temporary tables and indices are stored in a file.
  14. /// </summary>
  15. File = 1,
  16. /// <summary>
  17. /// Temporary tables and indices are kept in as if they were pure in-memory databases memory.
  18. /// </summary>
  19. Memory = 2
  20. }