Solved

Space Available in MS SQL

Posted on 1997-10-12
4
653 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
  • 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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Join & Write a Comment

International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
The Delta outage: 650 cancelled flights, more than 1200 delayed flights, thousands of frustrated customers, tens of millions of dollars in damages – plus untold reputational damage to one of the world’s most trusted airlines. All due to a catastroph…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
Viewers will learn how to use the INSERT statement to insert data into their tables. It will also introduce the NULL statement, to show them what happens when no value is giving for any given column.

708 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now