Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Space Available in MS SQL

Posted on 1997-10-12
4
Medium Priority
?
724 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:Victor 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:Victor 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

How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

Question has a verified solution.

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

Ever needed a SQL 2008 Database replicated/mirrored/log shipped on another server but you can't take the downtime inflicted by initial snapshot or disconnect while T-logs are restored or mirror applied? You can use SQL Server Initialize from Backup…
This article shows gives you an overview on SQL Server 2016 row level security. You will also get to know the usages of row-level-security and how it works
This videos aims to give the viewer a basic demonstration of how a user can query current session information by using the SYS_CONTEXT function
Via a live example, show how to setup several different housekeeping processes for a SQL Server.

610 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