Click here to Skip to main content
15,891,431 members
Home / Discussions / Database
   

Database

 
QuestionExcessive unused space Pin
Ian Dennis6-Apr-07 7:03
Ian Dennis6-Apr-07 7:03 
AnswerRe: Excessive unused space Pin
Marek Grzenkowicz8-Apr-07 9:24
Marek Grzenkowicz8-Apr-07 9:24 
GeneralRe: Excessive unused space Pin
Ian Dennis9-Apr-07 5:31
Ian Dennis9-Apr-07 5:31 
GeneralRe: Excessive unused space Pin
Marek Grzenkowicz9-Apr-07 6:49
Marek Grzenkowicz9-Apr-07 6:49 
GeneralRe: Excessive unused space Pin
Ian Dennis9-Apr-07 7:05
Ian Dennis9-Apr-07 7:05 
GeneralRe: Excessive unused space Pin
Marek Grzenkowicz9-Apr-07 21:43
Marek Grzenkowicz9-Apr-07 21:43 
GeneralRe: Excessive unused space Pin
Ian Dennis11-Apr-07 7:59
Ian Dennis11-Apr-07 7:59 
AnswerRe: Excessive unused space Pin
Ian Dennis11-Apr-07 8:11
Ian Dennis11-Apr-07 8:11 
I've been running a series of further tests. My first thought is that my problem was connected with deleting records, as that is something I'm doing that is, perhaps, unusual. For instance, I delete 25,000 sewer records out of a table and insert 25,000 new sewer records, then I delete 27,000 water records out of the same table and insert 27,000 new water records, etc.

But I'm checking the progress of my program with sp_spaceused @updateusage='true' and it shows the unused area of my database growing when I am inserting records only ... i.e., no deleting is taking place!!!

Basically, what I am seeing is the unallocated size diminishing at the same speed as the unused area grows, but when the unallocated size gets to zero, it just increases the datafile size (at which point, the unallocated space gets big again). It never releases any of the unused area, nor can I claw any of that back from any of the maintenance routines I've described above.

The only thing to add is the application is written in VB.Net. I've recently learnt that a colleague wrote another VB.Net conversion program which exhibited the same symptoms, even although his was operating on an Oracle database, not a SQL Server one. Does that make any lightbulbs go off in anyone's brain?
GeneralRe: Excessive unused space Pin
Marek Grzenkowicz24-Apr-07 1:56
Marek Grzenkowicz24-Apr-07 1:56 
GeneralRe: Excessive unused space Pin
Ian Dennis24-Apr-07 7:41
Ian Dennis24-Apr-07 7:41 
AnswerRe: Excessive unused space Pin
Ian Dennis24-Apr-07 7:39
Ian Dennis24-Apr-07 7:39 
QuestionProblem in inserting large amount of records in MS Access Pin
Affan Toor6-Apr-07 4:50
Affan Toor6-Apr-07 4:50 
AnswerRe: Problem in inserting large amount of records in MS Access Pin
DQNOK6-Apr-07 6:04
professionalDQNOK6-Apr-07 6:04 
QuestionDTS to load the data from csv file in to a table in the database Pin
indian1436-Apr-07 4:43
indian1436-Apr-07 4:43 
Questionwhat is SqlDataAdapter and SqlDataReader? Pin
sathyan_82946-Apr-07 4:15
sathyan_82946-Apr-07 4:15 
AnswerRe: what is SqlDataAdapter and SqlDataReader? Pin
Krish - KP6-Apr-07 4:47
Krish - KP6-Apr-07 4:47 
Questioninserting a row into table from the form data Pin
Raheem MA5-Apr-07 23:52
Raheem MA5-Apr-07 23:52 
AnswerRe: inserting a row into table from the form data Pin
_mubashir6-Apr-07 3:21
_mubashir6-Apr-07 3:21 
AnswerRe: inserting a row into table from the form data Pin
Krish - KP6-Apr-07 3:48
Krish - KP6-Apr-07 3:48 
AnswerRe: inserting a row into table from the form data Pin
Ian Dennis6-Apr-07 7:38
Ian Dennis6-Apr-07 7:38 
QuestionInner Join Problem Pin
rkherath5-Apr-07 23:38
rkherath5-Apr-07 23:38 
AnswerRe: Inner Join Problem Pin
kubben6-Apr-07 2:08
kubben6-Apr-07 2:08 
GeneralRe: Inner Join Problem Pin
rkherath8-Apr-07 17:27
rkherath8-Apr-07 17:27 
AnswerRe: Inner Join Problem Pin
Krish - KP6-Apr-07 2:09
Krish - KP6-Apr-07 2:09 
Questionwhen DTS package fails runnig, display message Pin
indian1435-Apr-07 20:44
indian1435-Apr-07 20:44 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.