namespace Bit.Seeder.Migration.Utils;
///
/// Constants used throughout the DbSeeder utility for database operations.
///
public static class DbSeederConstants
{
///
/// Default sample size for type detection and data analysis.
///
public const int DEFAULT_SAMPLE_SIZE = 100;
///
/// Default batch size for bulk insert operations.
///
public const int DEFAULT_BATCH_SIZE = 1000;
///
/// Large batch size for optimized bulk operations (use with caution for max_allowed_packet limits).
///
public const int LARGE_BATCH_SIZE = 5000;
///
/// Default connection timeout in seconds.
///
public const int DEFAULT_CONNECTION_TIMEOUT = 30;
///
/// Default command timeout in seconds for regular operations.
///
public const int DEFAULT_COMMAND_TIMEOUT = 60;
///
/// Extended command timeout in seconds for large batch operations.
///
public const int LARGE_BATCH_COMMAND_TIMEOUT = 300; // 5 minutes
///
/// Default maximum pool size for database connections.
///
public const int DEFAULT_MAX_POOL_SIZE = 100;
///
/// Threshold for enabling detailed progress logging (row count).
/// Operations with fewer rows may use simpler logging.
///
public const int LOGGING_THRESHOLD = 1000;
///
/// Batch size for progress reporting during long-running operations.
///
public const int PROGRESS_REPORTING_INTERVAL = 10000;
///
/// Placeholder text for redacting passwords in connection strings for safe logging.
///
public const string REDACTED_PASSWORD = "***REDACTED***";
}