Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

increase the size of table

Posted on 2009-03-30
9
Medium Priority
?
225 Views
Last Modified: 2012-05-06
how to increase the size of a table in sql server 2000?
0
Comment
Question by:ramavenkatesa
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 3
  • 2
9 Comments
 
LVL 12

Expert Comment

by:udaya kumar laligondla
ID: 24020805
if you are talking about changeing the column sizes then you can use Alter Table. smaples at http://www.devguru.com/technologies/t-sql/7120.asp
0
 

Author Comment

by:ramavenkatesa
ID: 24020830
i want to increase the size of table in a database .
0
 
LVL 12

Expert Comment

by:udaya kumar laligondla
ID: 24020870
do you want to increase the disc space used to store the table ? this is handled by SQL server internally.
0
Use Case: Protecting a Hybrid Cloud Infrastructure

Microsoft Azure is rapidly becoming the norm in dynamic IT environments. This document describes the challenges that organizations face when protecting data in a hybrid cloud IT environment and presents a use case to demonstrate how Acronis Backup protects all data.

 
LVL 39

Expert Comment

by:BrandonGalderisi
ID: 24020873
The size of the table is the size of the data in the table.  As you add more data, it will expand up to the amount of available free space in your database.  If you are out of free space, then you have to expand the size of your database.
0
 

Author Comment

by:ramavenkatesa
ID: 24020940
a temp table is in a database-- and it is increasing as users are accessing the database. even though we are truncationing daily at 6AM in one DTS job, on some days we are forced to truncate manually.(when users retreive large data)

the free space in the database is 250MB. size of db is 4GB

what might be the option?

(the temp table is in users database not in model db)
0
 
LVL 39

Expert Comment

by:BrandonGalderisi
ID: 24021264
a true temp table (created with #) is stored in tempdb, not the user database.

If it's an temporary table in your database, used as some sort of cache table, then you will need to expand the database if you are running out of space.
0
 

Author Comment

by:ramavenkatesa
ID: 24021312
is 250MB not sufficient ? shd i increase more
0
 
LVL 39

Accepted Solution

by:
BrandonGalderisi earned 2000 total points
ID: 24021357
I can't say what is sufficient because I don't know what is being written to that table.  But as for the general "health" of the database, you have less than 10% free space.
0

Featured Post

Get your Disaster Recovery as a Service basics

Disaster Recovery as a Service is one go-to solution that revolutionizes DR planning. Implementing DRaaS could be an efficient process, easily accessible to non-DR experts. Learn about monitoring, testing, executing failovers and failbacks to ensure a "healthy" DR environment.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Why is this different from all of the other step by step guides?  Because I make a living as a DBA and not as a writer and I lived through this experience. Defining the name: When I talk to people they say different names on this subject stuff l…
Ever wondered why sometimes your SQL Server is slow or unresponsive with connections spiking up but by the time you go in, all is well? The following article will show you how to install and configure a SQL job that will send you email alerts includ…
Via a live example combined with referencing Books Online, show some of the information that can be extracted from the Catalog Views in SQL Server.
Using examples as well as descriptions, and references to Books Online, show the different Recovery Models available in SQL Server and explain, as well as show how full, differential and transaction log backups are performed

661 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question