Wrox Programmer Forums
|
SQL Server 2000 General discussion of Microsoft SQL Server -- for topics that don't fit in one of the more specific SQL Server forums. version 2000 only. There's a new forum for SQL Server 2005.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the SQL Server 2000 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old March 8th, 2004, 06:56 AM
Authorized User
 
Join Date: Jun 2003
Posts: 60
Thanks: 0
Thanked 0 Times in 0 Posts
Default DB Size

Hi
My database is 30GB
When i drop some tables, one was 4GB, and shrink database, size of database remained 30GB.
Why database is not now 24GB?
Thanks
alex
 
Old March 8th, 2004, 08:22 AM
joefawcett's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 3,074
Thanks: 1
Thanked 38 Times in 37 Posts
Default

The files have room for manoeuvre so it doesn't have to try and grab more disk space each time a new record is added. You can reduce the size by right-clicking the db in Enterprise Manager and choosing all tasks | shrink database.

--

Joe
 
Old March 8th, 2004, 05:21 PM
sal sal is offline
Friend of Wrox
 
Join Date: Oct 2003
Posts: 702
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Have you detached your database since you shrank the database.



Sal





Similar Threads
Thread Thread Starter Forum Replies Last Post
Size of text box depending on size of another box AstridVM BOOK: Access 2003 VBA Programmer's Reference 0 March 7th, 2007 06:24 AM
increase DB size RinoDM SQL Server 2000 1 December 7th, 2006 01:25 AM
Finding the DB Sailor.mdb of Beginning ASP DB book anna Classic ASP Databases 2 August 5th, 2006 01:13 PM
How create a DBF db and set size of a field Dormarth VB Databases Basics 2 May 30th, 2006 06:06 AM
Getting dB Size daniel SQL Server 2000 6 December 10th, 2004 03:31 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.