Hi @FG is full with available drive space ,
an error showing primary file group is full
Check the maximum allowed size of the data and the log file, if Auto Grow is not enable once the data in the file group reaches the maximum size, this error may occur
You can increase the value of the MAXSIZE parameter or set the value to UNLIMITED, by:
1.SSMS
right-click the database and click on properties
select Files and change the Autogrowth and MAXSIZE
then change Autogrowth
2.ALTER DATABASE
USE [master]
GO
ALTER DATABASE [DemoDatabase] MODIFY FILE ( NAME = N'database_name', MAXSIZE = UNLIMITED)
GO
ALTER DATABASE [DemoDatabase] MODIFY FILE ( NAME = N'database_name_log', MAXSIZE = UNLIMITED)
GO
Resolving SQL Server errors: The Primary Filegroup is full
both the datafiles showing 0 free space and i have cleared some space like deleting old backup tables
Your backups should not be on the same drive as your data, transaction logs and data files also have different I/O requirements, so moving to a separete dirve.
Review your backup retention, if you have backup scripts, you better monitor them
https://stackoverflow.com/questions/40592973/freeing-space-on-sql-server-drive?msclkid=bc31bc09d0d011eca6f7e56b81fd3133
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.