Re: File Size - Probably missing something basic...

From: Jimbo (anonymous_at_discussions.microsoft.com)
Date: 09/02/04


Date: Thu, 2 Sep 2004 09:18:56 -0700

Thanks for that.

What I mean by taskpad is if you go to SQL Server, select
the database, then View -> Taskpad it shows the size of
the file.

J

>-----Original Message-----
>I'm not sure what you mean by the taskpad of SQL
Server.. but here goes.
>
>The sysfiles table shows the size of your database is 8k
data pages. So you
>need to multiply that number by 8.
>
>For example: select * from sysfiles (while in my master
database) reveals
>the following two files.
>
>size: 1464
>size: 96
>
>If I multiply those out as: SELECT ((1464 * 8) + (96 *
8)) you get about 12
>MBs
>
>
>Now if I go out to my: \Program Files\Microsoft SQL
Server\MSSQL\Data
>
>My master.mdb file is 11.4 MB
>and the ldf file is .7 MB
>
>That makes just over 12 MB... So these are the same.
>
>If I right-click the database in Enterprise Manager and
choose properties, I
>get just over 12 MB's...
>
>
>So, these are all the same size as far as I can see...
>
>
>HTH
>
>Rick Sawtell
>MCT, MCSD, MCDBA
>
>
>
>
>
>
>
>
>"Jimbo" <anonymous@discussions.microsoft.com> wrote in
message
>news:4cb201c490f4$f09a23b0$a501280a@phx.gbl...
>> We have one main data file, and I would like to track
how
>> fast it grows.
>>
>> In the Task Pad of SQL Server it gives the file size as
X
>> By running "select * from sysfiles" I get Y,
>> But by looking at the actual file size I get Z.
>>
>> Can anyone tell me whats happening ?
>>
>> J
>
>
>.
>



Relevant Pages

  • Re: Access database stability problems
    ... The backend data files are even located on the same network drive on the server. ... I found out today that people running that database are NOT having crashes like we are. ... What I wanted to strongly recommend is moving your database to an SQL server of some kind, SQL Server 2005 Express if nothing else. ... You haven't said whether 'crashing the database' is just a matter of Access losing its network connection and screaming blue murder, or whether it's actually breaking the backend data file. ...
    (microsoft.public.windows.server.sbs)
  • Re: DTS Performance
    ... Make sure the log and data file size are not going to need to expand during the import ... Allan Mitchell MCSE,MCDBA, (Microsoft SQL Server MVP) ... www.SQLDTS.com - The site for all your DTS needs. ... > this database is 2.74 GB and the database itself is 2.67 GB. ...
    (microsoft.public.sqlserver.dts)
  • Re: size inconsistency between dbs data file and its tables...
    ... > Wayne Snyder, MCDBA, SQL Server MVP ... > community of SQL Server professionals. ... >> taskpad view. ... >> All tables are defined in one data file which belongs to the primary ...
    (microsoft.public.sqlserver.server)
  • Re: SHRINKDATABASE question
    ... should leave your database at 50 MB ... Wayne Snyder, MCDBA, SQL Server MVP ... When you specify target percentage of 20 % for shrinking your ... > data file and then shrinks the file. ...
    (microsoft.public.sqlserver.server)
  • separating sql server data files
    ... i was just reading about separating database files to improve sql server ... we are running sql server 2000. ... data file and one log file. ...
    (microsoft.public.sqlserver.setup)