Welcome to dbForumz.com!
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

Does SQL Server need compacting like MSAccess databases?

 
   Database Forums (Home) -> Programming RSS
Next:  sql server conflicts between versions?  
Author Message
Mark B

External


Since: Jul 21, 2008
Posts: 46



(Msg. 1) Posted: Wed Jul 14, 2010 8:25 pm
Post subject: Does SQL Server need compacting like MSAccess databases?
Archived from groups: microsoft>public>sqlserver>programming (more info?)

I have a database on a shared SQL 2005 server at www.serverintellect.com

It is currently limited to 250 MB.

I have a stored procedure that runs every 15 minutes. It deletes all records
from a table and then inserts records again on the same table.

If this was MSAccess, the file size of the database would increase every 15
minutes by the size of the insert. Does the same apply to SQL Server 2005?

 >> Stay informed about: Does SQL Server need compacting like MSAccess databases? 
Back to top
Login to vote
amish

External


Since: Oct 24, 2007
Posts: 24



(Msg. 2) Posted: Wed Jul 14, 2010 10:10 pm
Post subject: Re: Does SQL Server need compacting like MSAccess databases? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Jul 15, 4:59 am, "Mark B" wrote:
> I have a database on a shared SQL 2005 server atwww.serverintellect.com
>
> It is currently limited to 250 MB.
>
> I have a stored procedure that runs every 15 minutes. It deletes all records
> from a table and then inserts records again on the same table.
>
> If this was MSAccess, the file size of the database would increase every 15
> minutes by the size of the insert. Does the same apply to SQL Server 2005?

Since you delete the data that space will be free and MSSQL will use
that space during next insert, after using all free space is there is
need of more space file will grow as per setting in your db.
MSSQL does not release the space to OS automatically after deleting
data.

Amish Shah
http://shahamishm.blogspot.com

 >> Stay informed about: Does SQL Server need compacting like MSAccess databases? 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
How compare the structure of two SQL Server 2000 databases - Are there any tools included with SQL Server 2000 that will compare the structure only (not data) of two SQL Server 2000 databases? If not, are there any freeware tools that will do this? This is a one time problem so purchasing a commercial tool is not...

How to run query between two databases - Hi i have query which i need to join it like i am doing some thing like Select [a].[dbo].[tbla].* From [a].[dbo].[tbla] INNER INNER JOIN [B].[dbo].[tblB ON [a].[dbo].[tbla].[ID] = [b].[dbo].[tbla].[ID] and i am running that..

Many different databases in the same instance or different.. - When should someone start thinking about making different instances on SQL Server? We have relatively small databases ( all under 500 MB, most under 50 MB ) but the list of DBs is starting to grow. I was wondering about making other instances ( I jus...

in which order should I restore ALL databases? - Hello, Our SQL Server 2000 operating system drive crashed, so we replaced it and re-installed all of our programs, but now I need to restore all the system databases and my one user database and I'm not sure what the proper restore order would be. Do I...

Free tool to compare two databases - Hi, Is there any free tool that compares the schema and the data of two SQL Server databases ? Thank you
   Database Forums (Home) -> Programming All times are: Pacific Time (US & Canada)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You can edit your posts in this forum
You can delete your posts in this forum
You can vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]