|
sql
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Table size
I have one table which has about 6 columns each containing very small data
(most are an int with a value of either 0,1 or 2). I predict this table will reach 200,000 rows in 12 months. How many rows given such a "thin" table should I be concerned? I will not have access to this database once I am finished so I want to check to see if I am not digging them a hole. Although even a year is pretty long time in this industry the entire application might change in 2 "sean_mcad" <seanm***@discussions.microsoft.com> wrote in message Concerned about what?news:B416C4B8-3F51-4446-91DE-224EC072F1BC@microsoft.com... >I have one table which has about 6 columns each containing very small data > (most are an int with a value of either 0,1 or 2). > I predict this table will reach 200,000 rows in 12 months. > > How many rows given such a "thin" table should I be concerned? 200,000 rows, especially 6 int columns is trivial. But really depends on the application, indexes involved, etc. Show quoteHide quote > I will not > have access to this database once I am finished so I want to check to see > if > I am not digging them a hole. Although even a year is pretty long time in > this industry the entire application might change in 2 On 16 Mar, 00:38, sean_mcad <seanm***@discussions.microsoft.com>
wrote: > I have one table which has about 6 columns each containing very small data With the right design you needn't be concerned even with 200 million> (most are an int with a value of either 0,1 or 2). > I predict this table will reach 200,000 rows in 12 months. > > How many rows given such a "thin" table should I be concerned? I will not > have access to this database once I am finished so I want to check to see if > I am not digging them a hole. Although even a year is pretty long time in > this industry the entire application might change in 2 rows. With the wrong design you could fail with much less than 200,000. The most pertinent question is: did you test it with the expected 200,000 rows? -- David Portas, SQL Server MVP Whenever possible please post enough code to reproduce your problem. Including CREATE TABLE and INSERT statements usually helps. State what version of SQL Server you are using and specify the content of any error messages. SQL Server Books Online: http://msdn2.microsoft.com/library/ms130214(en-US,SQL.90).aspx -- Well when I looked at other options the only option I had was to make a table
that might not be as long but a lot "wider" and I know that is not a good thing. By wide I mean and extra 39 columns as well as violating good practices with a 1:m realtionship. Index would be an int and only one column so I think they are in good shape. I read all the time in database books that use the term "large tables" but I have only seen one reference to what is considered a "large table" and it said over 100,000 but that written statement was more of an abstract reference to what a large table would be. Naturally I understand the structures of the Keys makes a huge difference as well. Show quoteHide quote "David Portas" wrote: > On 16 Mar, 00:38, sean_mcad <seanm***@discussions.microsoft.com> > wrote: > > I have one table which has about 6 columns each containing very small data > > (most are an int with a value of either 0,1 or 2). > > I predict this table will reach 200,000 rows in 12 months. > > > > How many rows given such a "thin" table should I be concerned? I will not > > have access to this database once I am finished so I want to check to see if > > I am not digging them a hole. Although even a year is pretty long time in > > this industry the entire application might change in 2 > > With the right design you needn't be concerned even with 200 million > rows. > With the wrong design you could fail with much less than 200,000. > > The most pertinent question is: did you test it with the expected > 200,000 rows? > > -- > David Portas, SQL Server MVP > > Whenever possible please post enough code to reproduce your problem. > Including CREATE TABLE and INSERT statements usually helps. > State what version of SQL Server you are using and specify the content > of any error messages. > > SQL Server Books Online: > http://msdn2.microsoft.com/library/ms130214(en-US,SQL.90).aspx > -- > >
Other interesting topics
Changing the text of the code of multiple stored procedure
How to configure SQLExpress on a workgroup Deferred Name Resolution gone wild. How to avoid creating duplicate indexes on the same column SQL Server Backup and Transactions SQL Server 2005 compact edition with VB Restore Failure OS Related ? SA Password help DATABASE Mail Account Setup Error ISNULL not working |
|||||||||||||||||||||||