| | |
estimate size?
Please support our MS SQL advertiser: Intel Parallel Studio Home
![]() |
•
•
Join Date: Aug 2007
Posts: 98
Reputation:
Solved Threads: 0
Hey guys!
I am new to SQL Server and as I am still a student I have never created a database completely from scratch before.
I believe that at the very start of development I have to create the database with the following code:-
CREATE DATABASE <database name>
[ON [PRIMARY]
([NAME = <’logical file name’>,]
FILENAME = <’file name’>
[, SIZE = <size in kilobytes, megabytes, gigabytes, or terabytes>]
[, MAXSIZE = size in kilobytes, megabytes, gigabytes, or terabytes>]
[, FILEGROWTH = <kilobytes, megabytes, gigabytes, or terabytes|percentage>])]
[LOG ON
([NAME = <’logical file name’>,]
[, SIZE = <size in kilobytes, megabytes, gigabytes, or terabytes>]
[, MAXSIZE = size in kilobytes, megabytes, gigabytes, or terabytes>]
[, FILEGROWTH = <kilobytes, megabytes, gigabytes, or terabytes|percentage>])]
GO
but, how would I go about estimating how big the database is going to be when I have no idea? Is there a default value or anything that I can enter that will allow me to just create the database without the possibility of running out of space? I am getting a bit anxious as I cannot begin to develop until I get over this problem.
Any ideas would be greatly appreciated.
Thanks!
GLT
I am new to SQL Server and as I am still a student I have never created a database completely from scratch before.
I believe that at the very start of development I have to create the database with the following code:-
CREATE DATABASE <database name>
[ON [PRIMARY]
([NAME = <’logical file name’>,]
FILENAME = <’file name’>
[, SIZE = <size in kilobytes, megabytes, gigabytes, or terabytes>]
[, MAXSIZE = size in kilobytes, megabytes, gigabytes, or terabytes>]
[, FILEGROWTH = <kilobytes, megabytes, gigabytes, or terabytes|percentage>])]
[LOG ON
([NAME = <’logical file name’>,]
[, SIZE = <size in kilobytes, megabytes, gigabytes, or terabytes>]
[, MAXSIZE = size in kilobytes, megabytes, gigabytes, or terabytes>]
[, FILEGROWTH = <kilobytes, megabytes, gigabytes, or terabytes|percentage>])]
GO
but, how would I go about estimating how big the database is going to be when I have no idea? Is there a default value or anything that I can enter that will allow me to just create the database without the possibility of running out of space? I am getting a bit anxious as I cannot begin to develop until I get over this problem.
Any ideas would be greatly appreciated.
Thanks!
GLT
![]() |
Similar Threads
- Help with job estimate programs (C++)
- table and the index size(individually). (MS SQL)
- table and the index size(individually). (MS SQL)
- Change Web Page Font Size on the Fly (Windows tips 'n' tweaks)
- Any advice about folder size viewer (Windows NT / 2000 / XP)
- DVD+RW/+R Burning problems Update (Storage)
- window size keeps changing (Windows 95 / 98 / Me)
- can't find file size over 3 megabytes to clean up harddrive (Windows NT / 2000 / XP)
- Help: Weird Hard drive space flucuation? (Windows NT / 2000 / XP)
Other Threads in the MS SQL Forum
- Previous Thread: IDENTITY_INSERT in MSSQL 2005
- Next Thread: Developing SQL Server 2000
Views: 1472 | Replies: 1
| Thread Tools | Search this Thread |
Tag cloud for MS SQL
"last autogrowth business connectingtodatabaseinuse count cursor data database dateadd datepart day" dbsize deadlock delete_trigger exploit getdate hack highperformancecomputing hpc hpcserver2008 ibm iis limit live loop maximum microsoft ms mssql multiple multithreading news number password permission position query reporting result security server services sets single source sql sql-injection sqlserver sqlserver2005 subtype supercomputing supertype tables uniqueid update view weekday






