Dela via


How to: Increase the Size of a Database (SQL Server Management Studio)

This topic describes how to increase the size of a database by using Object Explorer in SQL Server Management Studio. The database is expanded by either increasing the size of an existing data or log file or by adding a new file to the database.

To increase the size of a database

  1. In Object Explorer, connect to an instance of the SQL Server Database Engine, and then expand that instance.

  2. Expand Databases, right-click the database to increase, and then click Properties.

  3. In Database Properties, select the Files page.

  4. To increase the size of an existing file, increase the value in the Initial Size (MB) column for the file. You must increase the size of the database by at least 1 megabyte.

  5. To increase the size of the database by adding a new file, click Add and then enter the values for the new file. For more information, see How to: Add Data or Log Files to a Database (SQL Server Management Studio).

  6. Click OK.