filegroup

“Primary Filegroup is Full” in SQL Server 2008 Standard for no apparent reason

送分小仙女□ 提交于 2019-11-28 17:45:43
Our database is currently at 64 Gb and one of our apps started to fail with the following error: System.Data.SqlClient.SqlException : Could not allocate space for object 'cnv.LoggedUnpreparedSpos'.'PK_LoggedUnpreparedSpos' in database 'travelgateway' because the 'PRIMARY' filegroup is full. Create disk space by deleting unneeded files, dropping objects in the filegroup, adding additional files to the filegroup, or setting autogrowth on for existing files in the filegroup. I double-checked everything: all files in a single filegroup are allowed to autogrow with a reasonable increments (100 Mb

How I can move table to another filegroup?

南笙酒味 提交于 2019-11-28 03:26:53
I have SQL Server 2008 Ent and OLTP database with two big tables. How I can move this tables to another filegroup without service interrupting? Now, about 100-130 records inserted and 30-50 records updated each second in this tables. Each table have about 100M records and six fields (including one field geography). I looking for solution via google, but all solutions contain "create second table, insert rows from first table, drop first table, bla bla bla". Can I use partitioning functions for solving this problem? Thank you. marc_s If you want to just move the table to a new filegroup, you

How do i move a table to a particular FileGroup in SQL Server 2008

送分小仙女□ 提交于 2019-11-27 13:46:23
问题 I've just created a secondary filegroup and wish to move some tables over to it and then make it read-only. I'm not sure how to do this? do i just use the ALTER blah blah TO MyFileGroup ? 回答1: Something like this should help: CREATE UNIQUE CLUSTERED INDEX PK_YourTableName ON dbo.YourTableName(YourPKFields) WITH (DROP_EXISTING = ON) ON [NewFilegroup] 回答2: There are two ways; one from SSMS and the other using TSQL. From SQL Server 2008 Books Online: To move an existing index to a different

“Primary Filegroup is Full” in SQL Server 2008 Standard for no apparent reason

泄露秘密 提交于 2019-11-27 10:43:15
问题 Our database is currently at 64 Gb and one of our apps started to fail with the following error: System.Data.SqlClient.SqlException : Could not allocate space for object 'cnv.LoggedUnpreparedSpos'.'PK_LoggedUnpreparedSpos' in database 'travelgateway' because the 'PRIMARY' filegroup is full. Create disk space by deleting unneeded files, dropping objects in the filegroup, adding additional files to the filegroup, or setting autogrowth on for existing files in the filegroup. I double-checked

How I can move table to another filegroup?

扶醉桌前 提交于 2019-11-27 00:02:57
问题 I have SQL Server 2008 Ent and OLTP database with two big tables. How I can move this tables to another filegroup without service interrupting? Now, about 100-130 records inserted and 30-50 records updated each second in this tables. Each table have about 100M records and six fields (including one field geography). I looking for solution via google, but all solutions contain "create second table, insert rows from first table, drop first table, bla bla bla". Can I use partitioning functions