?
Solved

Space Available in MS SQL

Posted on 1997-10-12
4
Medium Priority
?
702 Views
Last Modified: 2012-06-27
We have some questions about Data Space Available in SQL Server Database

Condition our Db:
O/S   = NT
Datasize in SQL = 2000 MB
Data space available = 0.00 MB
Log Size = 1000 MB
log space Available = 0.00 MB

the above info that there is no more space available , but we could entry our transaction (record) into DB.

1. How could it be happenned ?
2. Is there any solution ? , cause we are worry it's gone be a "time bomb" for DB space.

Thank you .
0
Comment
Question by:hazelibn
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 

Accepted Solution

by:
JohnnyBoy earned 0 total points
ID: 1088990
1). Click on the name, bring up the "Edit Database" window and
select Recaclulate...

2). In the same window, but on the "Options" panel, there is a tick box that is marked "Truncate Log On Checkpoint", this should be set to keep the log pretty empty
0
 
LVL 7

Expert Comment

by:spiridonov
ID: 1088991
I have exactly the same situation, the proposed solution dosn't help. To date the only way to 'solve' it was renaming database, creating a new one and transferring data to it.
0
 
LVL 7

Expert Comment

by:spiridonov
ID: 1088992
You can also try doing 'checkdb' on your database, could be, that  space for tables is incorrectly allocated.
0
 
LVL 2

Expert Comment

by:Jim_SQL
ID: 1088993
The other suggestions are what I'd try first as well, but a tip that might come in handy is that if you run DBCC checktable(syslogs) it will also update the 'reported' available space in your database.
0

Featured Post

Get your Conversational Ransomware Defense e‑book

This e-book gives you an insight into the ransomware threat and reviews the fundamentals of top-notch ransomware preparedness and recovery. To help you protect yourself and your organization. The initial infection may be inevitable, so the best protection is to be fully prepared.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Why is this different from all of the other step by step guides?  Because I make a living as a DBA and not as a writer and I lived through this experience. Defining the name: When I talk to people they say different names on this subject stuff l…
For both online and offline retail, the cross-channel business is the most recent pattern in the B2C trade space.
Via a live example, show how to extract information from SQL Server on Database, Connection and Server properties
Using examples as well as descriptions, and references to Books Online, show the different Recovery Models available in SQL Server and explain, as well as show how full, differential and transaction log backups are performed

765 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question