473,811 Members | 4,026 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Problems when trying to rebuild indexex

Hello

I am trying to rebuild indexes on our DB, but I am running into an
error I am not able to solve.

Server: Msg 1105, Level 17, State 2, Line 1
Could not allocate space for object 'ft' in database 'HastaDemo'
because the 'PRIMARY' filegroup is full.
The statement has been terminated.

There is enough diskspace on the disk system, so it must be something
trivial.

Also our DB is heavy on writes, about 2-3 the amount of reads, do you
think a fillfactor of 60 is low enough? I am seing lots of page splits
in perfmon when I used 90% and above, so I am trying to adjust it down
to minimize my pagesplits and thus minimize the Disk I/O, is this the
correct thing to do?

rgds

Matt
Jul 23 '05 #1
3 3121
Dear Matt,

see this article
http://www.windowsitpro.com/Windows/...3472/3472.html

go to sub-heading "SQL Server Transaction Logs", may be helpfull for
your problem.
Saghir Taj(MCDBA)
DBNest(www.dbnest.com): The Nest of DB Professionals
Matt wrote:
Hello

I am trying to rebuild indexes on our DB, but I am running into an
error I am not able to solve.

Server: Msg 1105, Level 17, State 2, Line 1
Could not allocate space for object 'ft' in database 'HastaDemo'
because the 'PRIMARY' filegroup is full.
The statement has been terminated.

There is enough diskspace on the disk system, so it must be something
trivial.

Also our DB is heavy on writes, about 2-3 the amount of reads, do you
think a fillfactor of 60 is low enough? I am seing lots of page splits in perfmon when I used 90% and above, so I am trying to adjust it down to minimize my pagesplits and thus minimize the Disk I/O, is this the
correct thing to do?

rgds

Matt


Jul 23 '05 #2

"Matt" <ma**@fruitsala d.org> wrote in message
news:b6******** *************** **@posting.goog le.com...
Hello

I am trying to rebuild indexes on our DB, but I am running into an
error I am not able to solve.

Server: Msg 1105, Level 17, State 2, Line 1
Could not allocate space for object 'ft' in database 'HastaDemo'
because the 'PRIMARY' filegroup is full.
The statement has been terminated.

There is enough diskspace on the disk system, so it must be something
trivial.

Also our DB is heavy on writes, about 2-3 the amount of reads, do you
think a fillfactor of 60 is low enough? I am seing lots of page splits
in perfmon when I used 90% and above, so I am trying to adjust it down
to minimize my pagesplits and thus minimize the Disk I/O, is this the
correct thing to do?

rgds

Matt


It sounds like autogrow is disabled for that database - have you tried
enlarging the file with ALTER DATABASE or Enterprise Manager?

http://support.microsoft.com/default...b;en-us;315512

As for the fillfactor, 60% sounds reasonable, although unless it's a major
issue, it might be better to adjust downwards in steady increments of 10% or
so and benchmark again each time, to see exactly where you start to get a
significant reduction in page splits. By going straight to a much lower
factor, you might be lower than you really need, and end up with fewer page
splits, but too many pages, which means more read operations are required.

Simon
Jul 23 '05 #3
Hi

You do not say if the database is set to automatically grow or by how much
it is set to grow by? If it is set to expand by a percentage then your free
space may not be enough to cover that amount (even if it seems enough!). You
may also want to check if disc quotas are enforced.

http://msdn.microsoft.com/library/de...es_03_71d1.asp
http://msdn.microsoft.com/library/de...err_1_6drp.asp

Your technique of watching for page splits should allow you to incrementally
decrease the size of the fill factor until their frequency is reasonable. It
will be a trade off between the number of page splits against read
performance, therefore the figure you come across needs to provide
acceptable performance for both. You will need to run profiler to gather the
stats for a resonable period (for each fill factor) to determine the value
to use, gathering the stats from too small sample may not give a full
picture. You should also be defragging the indexes periodically.

John

"Matt" <ma**@fruitsala d.org> wrote in message
news:b6******** *************** **@posting.goog le.com...
Hello

I am trying to rebuild indexes on our DB, but I am running into an
error I am not able to solve.

Server: Msg 1105, Level 17, State 2, Line 1
Could not allocate space for object 'ft' in database 'HastaDemo'
because the 'PRIMARY' filegroup is full.
The statement has been terminated.

There is enough diskspace on the disk system, so it must be something
trivial.

Also our DB is heavy on writes, about 2-3 the amount of reads, do you
think a fillfactor of 60 is low enough? I am seing lots of page splits
in perfmon when I used 90% and above, so I am trying to adjust it down
to minimize my pagesplits and thus minimize the Disk I/O, is this the
correct thing to do?

rgds

Matt

Jul 23 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
1221
by: Justin | last post by:
Hello, I am having a weird problem installing SQL Server Reporting services on my PC. I installed the beta version and had some initial problems in the VS.net IDE that would not allow me to create a report at all. When the commercial release came out I uninstalled the beta version and installed the new version. Now when I try and start a new reporting project wizard in the VS.net IDE I get an error stating.. Project FActory is unable...
6
2677
by: Suzanne | last post by:
Hi all, I really hope someone out there can help me as I've been tearing my hair out on this one for a good while and I'm getting really frustrated now! My problem is this - my custom controls periodically disappear from my project when I build it. First of I get the message about a missing dependency, then if I rebuild after that - the control just physically disappears from the form, and I get an object not found error when I
2
2599
by: Suzanne | last post by:
Hi all, I'm reposting this message as I'm experiencing this problem more and more frequently : I really hope someone out there can help me as I've been tearing my hair out on this one for a good while and I'm getting really frustrated now! My problem is this - my custom controls periodically disappear from my
8
6721
by: Spam Trap | last post by:
I am getting strange resizing problems when using an inherited form. Controls are moving themselves seemingly randomly, but reproducibly. "frmBase" is my base class (a windows form), and contains a few controls anchored to the sides of the form. "frmChild" inherits from "frmBase"... and the controls appear on the inherited form as expected. However things start going wrong when I place addition controls on the "frmChild" form. When I...
5
2000
by: tony | last post by:
Hello! This is a rather long mail but it's a very interesting one. I hope you read it. I have tried several times to get an answer to this mail but I have not get any answer saying something like this is a bug or that .NET doesn't support what I trying to do. I hope that one that is is microsoft certified read this because this must be a bug.
5
1983
by: Mrpush | last post by:
Hello, Have MS 2003 server with IIS 6.0 installed. ASP.net is also installed. Had to re-install the server after initial configuration by someone who left the company and now I cannot get the ASP pages to load. The files all existed in a NON-INETPUB folder and accessed a SQL database to pull information.
0
1017
by: axel.grude | last post by:
Dear all, after logging on to the VSS database I got some problems when loading up Visual Studio. (it would sometimes time out loading System.web; hogging around200 Megs of Ram). I restored my solution files and now I am always getting this error when I start up or Build: ------ Rebuild All started: Project: C:\...\Dev\, Configuration: Debug .NET ------
1
1928
by: =?Utf-8?B?Um9iIFY=?= | last post by:
I am trying to reformat my XP professional to start from scratch. However, when attempting to do so, I discover that I have an invalid boot.ini. When I go to recover and rebuild my boot.ini file in setup using bootcfg /list, it does not give me any to choose from, so how can I rebuild a boot.ini file that does not exist? The way my XP is currently set up, it does not boot through a boot.ini file. In fact, at start up, it says invalid...
2
3361
by: Magnus Bergh | last post by:
I got a weird problem with designer. I have created a spearate assembly (DLL) containing my dataset classes and other classes which are shared bewteen the projects in the solution. When I try to open any form that use the dataset class or any of other classes in the referenced assembly I get varoius errors in designer. Looks like every time I open VS I need to do a) Rebuild solution, b) Clean Solution and then I can open the forms....
0
9734
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9607
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10656
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
10413
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10138
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7674
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5565
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5700
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4353
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.