High severityresource
Power BI Refresh Error:
1101
What does this error mean?
SQL Server cannot allocate a new page in tempdb — the tempdb database is full.
Common causes
- 1Tempdb is configured with too small a maximum size and the disk is full
- 2Large sorts, hash joins, or spills fill tempdb during an ETL-intensive operation
- 3Too many temp tables or table variables created simultaneously
How to fix it
- 1Step 1: Check tempdb space: SELECT volume_mount_point, available_bytes/1024/1024 as free_mb FROM sys.dm_os_volume_stats(2, 1);
- 2Step 2: Expand tempdb: ALTER DATABASE tempdb MODIFY FILE (NAME = tempdev, SIZE = 10GB, MAXSIZE = UNLIMITED);
- 3Step 3: Identify which sessions are consuming tempdb: SELECT session_id, SUM(user_object_reserved_page_count)*8/1024 as user_mb FROM sys.dm_db_task_space_usage GROUP BY session_id ORDER BY user_mb DESC;
Frequently asked questions
Official documentation: https://learn.microsoft.com/en-us/sql/relational-databases/errors-events/mssqlserver-1101-database-engine-error