Error 1105 When Using SQLMaint To Reindex Tables

Apr 22, 2004

I have a standard reorganise/reindex job running against a 32GB database on SQl Srever 2000. When trying to run the job it fails and returns Error 1105 <'PRIMARY' filegroup is full>. What's confusing me is that I have 53GB free on the drive on which my Primary file group sits.

Has anyone else come accross this problem when trying to set up a regular reindex job?

(more detail) the maintenance plan only includes the reorganisation/reindex job, no other jobs - including backing up the DB - are included. The DB in question is the only DB on the server: it's a test server.

View 2 Replies


ADVERTISEMENT

Reindex Tables

Apr 16, 2002

Hi guys,
I need a help with this question. In SQL 2000, Can i run update,insert or delete queries while the Indexes of that table is being Rebuilt? Will
i get blocked by the DBCC DBreindex process?

thank you

View 1 Replies View Related

Error: 1105 (451)

Nov 21, 2007

Hi


I have Job ment for Data Transfor one Server to other.It will take 4 hour for successfull run.
But It got failed 1:30m run,and thow an error Error: 1105 (451),Desc: Primary file group full.

Instead of adding Datafile to Primary group our DBA run the same Job after 20 min,It ran successfully.(4h)

I don't under stand who is the occupaied Primary group space earlier and it will free up after some time.



View 9 Replies View Related

SQL 6.5 And Error 1105 On Tempdb

Aug 3, 1999

On out SQL 6.5 server we keep getting error 1105;

Can't allocate space for object '-486' in database 'tempdb' because the 'system' segment is full.

This seems to suggest that tempdb is not large enough. However I can't see how to expand the database larger than the current 6mb. I can only expand the log, and have done so to a 1000mb. Still keep getting the same error.

Any suggestions ??

View 1 Replies View Related

Error 1105, Severity: 17, State: 2

Feb 4, 1999

SQL Server version 6.5 pack 4 and Windows NT 4.0 pack 3

"Error 1105, Severity: 17, State: 2
Can't allocate space for object 'Syslogs' in Database 'TNGDB' because the
'logsegment' segment is full. If you run out of space in 'Syslogs', dump
the transaction log. Otherwise use Alter database or sp_extendsegment to
increase the size of the segment"
The database size was 20 and the log size 15. Yesterday after I got the
same message I went to edit the database and expanded the database size and
log to DB 23 and log 20. Backup of the log and maintenance was done last
night. However, the error message is still there. Also I went to edit the
database device and for the DB device I see -795 and I am not able to
change the size at all. The same with the log it shows -798 and no option
to change the size. Please advice.
Shashu

View 1 Replies View Related

Error Message 1105( Very Urgent )

May 20, 1999

Hi
I am writing a program in Visual basic 5.0 which would read the data from btrieve database and would transfer the btrieve data
to Sql server database.My code part is working properly but as soon as (sql Server) it inserts the 325th record i get the following error

"Can't allocate space for object syslog in database tempdb because the 'logsegment' segment is full. If you ran
out of space in Syslogs, dump the transaction log. Otherwise, use ALTER DATABASE or sp_extendsegment to increase the size of the segment."

This error comes only when i edit my database in SQL Server and in my code i get ODBC Call failed(this error is just because it could not insert any
further records to the database.)

Please suggest me with the syntax or code to be used in Sql server or a query to be passed

What i did
i truncated the transaction log but every now and then i have to manually truncate transactions.
But did'nt work

View 2 Replies View Related

Error: 1105, Severity: 17, State: 2

Feb 26, 2007

Hi ,

I have a SQL Server 2000 database on my C drive.

Over the weekend my C drive got full due to my transaction log files ballooning up.

At that point none of my users were able to log into their the VB application and enter data.

I freed up some disk space, and then the users were able to log in fine, except for a certain column variable(aggregate) values were negative.

I deattached the DBs and Ldf files and made copies of them on to a test envirnoment. Within the test environment, I ran SQL Query Analyzer with SQL statments that did give me the aggregate values as negative. This matched my VB application values aswell.

I ran

DBCC CHECKDB -- no errors

DBCC DBREINDEX -- no errors

Our programming vendor tells us the DBs are corrupt.

From Error file

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

2007-01-30 19:43:56.95 spid52 C:Program FilesMicrosoft SQL ServerMSSQLData empdb.mdf: Operating system error 112(There is not enough space on the disk.) encountered.

2007-01-30 19:43:56.98 spid52 Error: 1105, Severity: 17, State: 2

2007-01-30 19:43:56.98 spid52 Could not allocate space for object '(SYSTEM table id: -900439724)' in database 'TEMPDB' because the 'DEFAULT' filegroup is full..

2007-02-23 09:56:21.21 spid56 C:Program FilesMicrosoft SQL ServerMSSQLDataActgSQL.mdf: Operating system error 112(There is not enough space on the disk.) encountered.

2007-02-23 09:56:21.24 spid56 Error: 1105, Severity: 17, State: 2

2007-02-23 09:56:21.24 spid56 Could not allocate space for object 'POSInventory' in database 'ActgSQL' because the 'PRIMARY' filegroup is full..

2007-02-23 11:11:09.74 spid56 Error: 1105, Severity: 17, State: 2

2007-02-23 11:11:09.74 spid56 Could not allocate space for object 'POSInventory' in database 'ActgSQL' because the 'PRIMARY' filegroup is full..

2007-02-23 15:50:19.27 spid59 Process ID 53 killed by hostname ORCHID, host process ID 3360.

+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

I thought I had backups but I don t. So now I m in a big bind. Help!!

Any suggestions ?



View 1 Replies View Related

Reindex Error

Jul 12, 2007

Hi experts, I would like to ask for this error that occurs upon executing my reindexing script

here is my script

USE mydatabase

DBCC DBREINDEX('outpatient', '', 70)
go

Then this error message will appear. I researched for this error and from the site that I've found they say that the table is corrupted? That I need to restore a better backup..?

The statement has been terminated.
Msg 824, Level 24, State 2, Line 1
SQL Server detected a logical consistency-based I/O error: torn page (expected signature: 0x55555555; actual signature: 0x55555545). It occurred during a read of page (1:353409) in database ID 10 at offset 0x000000ac902000 in file 'C:Program FilesMicrosoft SQL ServerMSSQL.1MSSQLDataBizbox_HS7.mdf'. Additional messages in the SQL Server error log or system event log may provide more detail. This is a severe error condition that threatens database integrity and must be corrected immediately. Complete a full database consistency check (DBCC CHECKDB). This error can be caused by many factors; for more information, see SQL Server Books Online.


Darren Bernabe Blanco

View 4 Replies View Related

SQLMAINT - No Message Error

Feb 24, 1999

I have a situation where I am running sqlmaint on 10 - 12 databases on
the same server. All of them run successfully; However, one returns a
failure because of no message. MSDB is not full. There is no messages
in the errorlog. And the actual SQLMAINT executed just fine.

Any Clues?

Sometimes MS SQL is very frustrating!!!!!!!

View 4 Replies View Related

SQLMaint Error: 22029

Mar 19, 2001

I installed a new SQL Server and implementd a maintenance plan for user databases. In doing so, all the jobs seem to work except the Integrity checks. These jobs fail with the following error:
sqlmaint.exe failed. [SQLSTATE 42000] (Error 22029). The step failed.

Has anyone seen this? Or has an idea how to fix it?

Thanks in advance.

way0utwest

View 1 Replies View Related

Sqlmaint.exe Failed. [SQLSTATE 42000] (Error 22029). The Step Failed.

Jan 3, 2001

I get the following error when I try to run my scheduled job.
sqlmaint.exe failed. [SQLSTATE 42000] (Error 22029). The step failed.


Any ideas Thanks in advance
Reddy

View 1 Replies View Related

Log Shipping Failure Sqlmaint.exe Failed. [SQLSTATE 42000] (Error 22029). The Step Failed.

Sep 13, 2001

I have log shipping set up between 2 SQL 2000 SP1 Servers on Win 2000. The db is small 10 meg, and when the restore job on the backup server fails I am getting "sqlmaint.exe failed. [SQLSTATE 42000] (Error 22029). The step failed." as the message, the maint paln on the primary server show no error. Anyone seen this before? The restore has worked 3 out of 5 times

View 2 Replies View Related

SQL 1105 What To Do? Please Help Me

Aug 7, 2002

Situation:
SQL cluster with 90 Gyga in raid 5 and 2 web server
all NT and SQL 7.0

1)Enterp. Man.
-General:

Size: 2.369MB
Space available: 163.47MB
Data space
Used
Free
Total

-Space Allocated

--------------------------------------------------------------------------------
PBSPP001 2.168.69MB
2.168.69MB



--------------------------------------------------------------------------------
Transaction log space 32.59MB(used) 167.40MB (Free)
199.99MB






- Space available

Directory of F:MSSQL7Data

19/07/02 11.41 <DIR> .
19/07/02 11.41 <DIR> ..
17/07/02 13.22 21.954.560 archivio_Data.MDF
17/07/02 13.22 1.048.576 archivio_Log.LDF
02/08/02 10.05 38.862.848 BCSPP001_Data.MDF
06/08/02 10.05 3.932.160 BCSPP001_Log.LDF
17/07/02 13.22 8.388.608 BCSPT001_Data.MDF
17/07/02 13.22 7.798.784 BCSPT001_Log.LDF
17/07/02 13.22 241.958.912 demo.mdf
17/07/02 13.22 32.243.712 demo_log.ldf
08/02/00 04.16 1.048.576 distmdl.ldf
08/02/00 04.16 3.145.728 distmdl.mdf
17/07/02 13.22 209.715.200 ISSC_Data.MDF
17/07/02 13.22 13.893.632 ISSC_Log.LDF
17/07/02 13.22 9.240.576 master.mdf
17/07/02 13.22 1.310.720 mastlog.ldf
17/07/02 13.22 786.432 model.mdf
17/07/02 13.22 786.432 modellog.ldf
05/08/02 11.54 12.320.768 msdbdata.mdf
17/07/02 13.22 786.432 msdblog.ldf
17/07/02 13.22 1.048.576 northwnd.ldf
17/07/02 13.22 3.080.192 northwnd.mdf
06/08/02 12.56 2.501.443.584 PBSPP001.mdf
05/08/02 18.12 209.715.200 PBSPP001_log.ldf
24/07/02 09.20 2.274.099.200 PBSPT001.mdf
24/07/02 09.20 132.120.576 PBSPT001_log.ldf
19/07/02 11.42 435.290.112 PIPYP001.mdf
05/08/02 21.30 9.437.184 PIPYP001_log.ldf
19/07/02 10.07 435.290.112 PIPYT001_Data.MDF
26/07/02 14.12 6.086.656 PIPYT001_Log.LDF
17/07/02 13.22 1.310.720 pubs.mdf
17/07/02 13.22 516.096 pubs_log.ldf
05/08/02 15.23 84.541.440 TEMPDB.MDF
23/07/02 21.02 53.608.448 TEMPLOG.LDF
34 File(s) 6.756.810.752 bytes
78.937.866.240 bytes free

F:MSSQL7Data>


- Program error

- ------------------------------------------------*
- * Inizio Esecuzione 06/08/02 10.59.32
- *--------------------------------------------------*
- *--------------------------------------------------*
- * Clienti
- *--------------------------------------------------*
- *--------------------------------------------------*
- * Clienti nuovi
- *--------------------------------------------------*
- *--------------------------------------------------*
- * Clienti riassegnati
- *--------------------------------------------------*
- *--------------------------------------------------*
- * Clienti estinti
- *--------------------------------------------------*
- *--------------------------------------------------*
- * Insert TWKCLI
- *--------------------------------------------------*
- *--------------------------------------------------*
- * Insert TEDTPF
- *--------------------------------------------------*
- *--------------------------------------------------*
- * Clienti
- *--------------------------------------------------*
- *--------------------------------------------------*
- * Clienti nuovi
- *--------------------------------------------------*
- *--------------------------------------------------*
- * Clienti riassegnati
- *--------------------------------------------------*
- *--------------------------------------------------*
- * Insert TWKCLI
- *--------------------------------------------------*
- *--------------------------------------------------*
- * Insert TEDSPF
- *--------------------------------------------------*
- *--------------------------------------------------*
- * Massa C/C
- *--------------------------------------------------*
- *--------------------------------------------------*
- * Massa Titoli (no obbl.)
- *--------------------------------------------------*
- *--------------------------------------------------*
- * Portafoglio Titoli (no obbl.)
- *--------------------------------------------------*
- *--------------------------------------------------*
- * Massa e Portafoglio Titoli (obbl.)
- *--------------------------------------------------*
- *--------------------------------------------------*
- * Massa PCT
- *--------------------------------------------------*
- *--------------------------------------------------*
- * Massa Polizze
- *--------------------------------------------------*
- *--------------------------------------------------*
- * Insert TWKMAS
- *--------------------------------------------------*
- *--------------------------------------------------*
- * Valore Intermediato Titoli
- *--------------------------------------------------*
- *--------------------------------------------------*
- * Insert TWKVIA
- *--------------------------------------------------*
- *--------------------------------------------------*
- * Classificazione Portafoglio Titoli
- *--------------------------------------------------*
- *--------------------------------------------------*
- * Insert TEDTPR
- *--------------------------------------------------*
- *--------------------------------------------------*
- * Insert TEDTKI
- *--------------------------------------------------*
- *--------------------------------------------------*
- * Drop TWKFPA, NEWMAS, NEWMIA, NEWVIA
- *--------------------------------------------------*
- *--------------------------------------------------*
- * Creare consolidated TWKMAS, TWKMIA, TWKVIA
- *--------------------------------------------------*
- *--------------------------------------------------*
- * Insert TWKFPA
- *--------------------------------------------------*
- *--------------------------------------------------*
- * Insert TEDTPA
- *--------------------------------------------------*
- *--------------------------------------------------*
- * Insert TEDSPA
- *--------------------------------------------------*
- *-------------------------------------------------*
- * Insert TEDTTI
- *--------------------------------------------------*
- *--------------------------------------------------*
- * Errore comando SQL: insert into TEDTTI select a.NDGCOD, TITCOD, CONVERT(DATETIME,CONVERT(CHAR(10),GETDATE(),120)) AS RIFDAT, CLTCOD, SUM(SCNQTA) AS SCNQTA, SUM(SCNIMP) AS SCNIMP from twktit a, tstanp b where a.ndgcod = b.ndgcod group by a.NDGCOD, TITCOD, CLTCOD
- * SQLCODE: 1105
- * SQLDESC: Could not allocate space for object 'TEDTTI' in database 'PBSPP001' because the 'PRIMARY' filegroup is full.
- *--------------------------------------------------*
- *--------------------------------------------------*
- * Programma terminato con errori *
- *--------------------------------------------------*
- *--------------------------------------------------*
- * Fine Esecuzione 06/08/02 11.22.42
- *--------------------------------------------------*
- *--------------------------------------------------*
- * Durata Elaborazione 1390 secondi
- *--------------------------------------------------*

This error appear after a db shrink, before the shrink appened at TWKCLI insert

-sp_helpdb
name db_size owner dbid created status
------------------------ ------------- ------------------------ ------ ----------- ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
PBSPP001 2368.69 MB D91IPB01sqladmin 8 Nov 21 2000 select into/bulkcopy, trunc. log on chkpt.


I can send the sql Enterprise Manager images

View 3 Replies View Related

Executed As User: CONNECTSRVmyadmin. Sqlmaint.exe Failed. [SQLSTATE 42000] (Error 22029). The Step Failed.

Feb 29, 2008

Hi all help needed from your End.

I have a re-indexing stored procedure,yester day night it got failed
"Executed as user: CONNECTSRVmyadmin. sqlmaint.exe failed. [SQLSTATE 42000] (Error 22029). The step failed."
what may be the reason..



View 4 Replies View Related

Server:Msg 1105,Level 17,State 2,Line9

Oct 24, 2005

Server:Msg 1105,Level 17,State 2,Line9
Coule not allocate space to the object 'Tutorial' on 'Mytest1db'
in database because the 'PRIMARY' file group is full.

When I run a query to insert records into a table....i'm getting this error.Please Help....

View 2 Replies View Related

SQL Server Msg 1105, Level 17, State 2, Line 1

Nov 23, 2005

Dear (and mighty) all:I backed up a database (SQL server 7.0) and tried to restore it onanother system (SQL Server 2000). This is not the first time I'm doingthis and never had a problem before:-- in the source dbBACKUP db_icoaraci TO DISK = 'C:TEMPBACKUP-ICOARACI.DAT'--in the destination dbRESTORE db_icoaraci FROM DISK='E:TEMPBACKUP-ICOARACI.DAT'WITH MOVE='ICOARACI_DAT' TO 'E:DBICOARACI.MDF',MOVE='ICOARACI_LOG' TO 'E:DBICOARACI.LDF'Today, to my surprise, the destination SQL returned the followingerror:Processed 25592 pages for database 'db_icoaraci', file 'ICOARACI_DAT'on file 1.Processed 1 pages for database 'db_icoaraci', file 'ICOARACI_LOG' onfile 1.Server: Msg 1105, Level 17, State 2, Line 1Could not allocate space for object '(SYSTEM table id: 6)' in database'db_icoaraci' because the 'PRIMARY' filegroup is full.Server: Msg 3013, Level 16, State 1, Line 1RESTORE DATABASE is terminating abnormally.I searched the list and a found a few posts refering to the same error,but none in the exactly same scenario.I tried to restore the database with NORECOVERY, and, before restoringthe log, increase its size (ALTER DATABASE ... etc), but SQL Serversays that the DB couldn't be open because it's in the middle of arestore...I'll appreciate any help.Regards,Branco.

View 3 Replies View Related

Filegroup Is Full SQLState = 37000, NativeError = 1105

Nov 14, 2005

hi ,
i m loading huge data like more than 50,00,000 records using BCP utility after ends the process i received the following Error .

SQLState = 37000, NativeError = 1105
Error = [Microsoft][ODBC SQL Server Driver][SQL Server]Could not allocate space
for object 'BMIS112003' in database 'MY_DB2' because the 'SECONDRY' filegroup is full.

Although I’ve created new filegroup ('SECONDRY' )in drive D:/ that have 10 GB of free Space , then i create table ('BMIS112003' ) using 'SECONDRY' filegroup.

Primary Filegroup created in C:/ that have 1 GB free space.

and all database setting is set as a default.

any one can help me :p

View 2 Replies View Related

DBCC Reindex

Feb 19, 2002

Hi guys.
I an application here developed by a third party software house.
In the past, for some reason, the database would fail daily. The software
house recommended that we use dbcc reindex on all tables within the
databases twice daily. This was scheduled and is now running. Now the
database no longer fails.
The fix works and I don't understand why.
I don't understand why this would fix the problem. Why would reindex
twice daily solve the problem.
It seems excessive to have to reindex every user table twice daily.


Parg

View 1 Replies View Related

DBCC REINDEX

Apr 26, 2001

I tried to run dbcc reindex on all user tables in a database. There are no
clustered indexes, but multiple non-clustered indexes on each table.

The output file from dbcc reindex shows that it should have worked. But when I
run DBCC SHOWCONTIG, the scan density of the indexes that were in bad shape did
not improve.

Any ideas?
Thanks,
Ben Reeder
.

View 1 Replies View Related

Is Any Way To Reindex 27 Gig Db Without Logging

Sep 25, 2002

Hello everybody.
1. I have 28 Gig database with 4 tables above 4 Gig each with very bad
fragmenataion, each table has between 3 and 5 indexes
2. Database set for full recovery and I use custom log Shipping to restore
db on stand by server every 15 min.

I tried to run DBCC INDEXDEFRAG on one index on 4Gig table .
following took place
1. It took 4 hrs to complite DBCC INDEXDEFRAG
2. log shipping fail.
3. log file size of 2 Gig generated after DBCC INDEXDEFRAG complited

I tried to run drop and create clustered index on table it create same
problem - log growing, log shipping fails

(if log shipping fails and stand by database get suspended it will take 6- 8
hrs to restore it from backup and apply all logs)

So my question is

What would be best way to rebuild- reindex - defragment 28 Gig database
when it set to fully recovery and log shipping


Thank you
Alex

View 1 Replies View Related

SQL Import And Reindex

May 1, 2008

I have a process that runs each day and it imports about 550K records into a database. My questions is it appears I have to reindex the database after each import otherwise the sp's that I have written will just run and run and run. After the reindex job things run within 60 seconds. I am just looking for some insight on why, I understand why a reindex is done, but dont know if I understand why I have to reindex every time.

View 9 Replies View Related

Dbccd Reindex

Jul 18, 2007

how often should be done and if it don't do it what will happen?

=============================
http://www.sqlserverstudy.com

View 1 Replies View Related

Defrag / Reindex

Oct 21, 2007

I#ve been doing disaster recovery on a web box that died today.

So I thought I'd do some "downtime" maintenance on the DB server

I ran a BDREINDEX on all tables, all indexes. (I know this is the 2000 way, but I assume its as good as the proper 2005 way??).

5 minutes on a 10GB database. Not bad!

I checked the DEFRAG and UPDATE STATS processes that run overnight.

They are basically defragging only tables with SHOWCONTIG indicating fragmentation. And then doing an UPDATE STATISTICS WITH FULLSCAN on all tables

That is taking an average of 30 minutes ...

Is DBREINDEX the equivalent of an UPDATE STATISTICS WITH FULLSCAN, or is it in some way a smaller-sample version?

I'm wondering why I don't just lock the DB and do a REINDEX of everything in 5 minutes ...

Kristen

View 4 Replies View Related

Question On Reindex

Sep 27, 2006

Hi,i have several tables in production whose contents are renewd totally in 1week. So everyd day we delete ~15% records and then insert 15% new.And after a few days, the performances drops :TABLE level scan performed.- Pages Scanned................................: 169617- Extents Scanned..............................: 21630- Extent Switches..............................: 153827- Avg. Pages per Extent........................: 7.8- Scan Density [Best Count:Actual Count].......: 13.78% [21203:153828]- Logical Scan Fragmentation ..................: 45.06%- Extent Scan Fragmentation ...................: 52.66%- Avg. Bytes Free per Page.....................: 5042.5- Avg. Page Density (full).....................: 37.70%I can't program a dbcc reindex every day because of concurrent access (itlocks the tables too long), actually i can only program it on sunday.What else can i do ? I can adjust the fill factor but how to find the goodvalue if i don't want to waste space.The total size of the database is ~150GB.Thx

View 1 Replies View Related

DBCC REINDEX Command

Oct 2, 2001

I am currently running the Back Office Resource Kit Log shipping option for a database running on an SQL 7 installation. As part of the on-going maintenance work that we are being asked to perform by the application vendor I need to run a DBCC REINDEX run on most of the tables in the database. Currently this is done by stopping the log shipping routine and then running the reindex script, then taking a full backup and restoring the backup to the secondary server then restarting the log shipping scripts. This is a very time consuming task that has to be performed at unsociable hours.

Has anybody got an opinion as to if this would work at the same time as the log shipping scripts or do I have to continue as at present.

Responses gratefully received.

Regards
Phil Corby
Geest IT Services

View 3 Replies View Related

Update Statistics Vs. Reindex

Dec 14, 1999

I am maintaining a large table with millions of rows that has two non clustered indexes and data changing frequently, I need to keep the indexes fresh. Update Statistics runs much quicker than Reindex. What is the appropriate situation for each and why?
Thanks in advance.

View 1 Replies View Related

Disk Space After Reindex

Nov 29, 2007

All,

I first ran indexdefrag on a table with 1.5 billion rows.
logical fragmentation was at 95%.
logical frag went down to 3% with no real effect on disk.

DBCC reindex had previously been bombing undetected.


Now I've run a reindex on this table:
Reindex Job with Fillfactor =100
Ran in 3:05
Free Disk went from ~150GB before operation to 49GB
File4 went from 347GB to 504GB

Why has so much free disk been consumed by this operation and not released ??????????

Is my only choice to shrink data file???

thanks

Env.
Win2k ENT os
SQL 2k5 std 64bit

View 4 Replies View Related

Food For Thought (ReIndex And Log Shipping)

Dec 29, 2003

I have a production 60GB database set to Full Recovery and every 15 minutes I am log shipping to a Stand by Server .

During the production hours there are no problems but at night when I run DBCC DBREINDEX, the log grows to 22GB and because of this I have a problem sending this over the network to the stand by server.

I tried changing the recovery model to Bulk_Logged but the there is no difference in log file backup size.

AnyIdea

View 1 Replies View Related

Reindex Script In Replication Environment

Jun 19, 2008

Dear All,
is it ok to run index rebuild script on publisher and after that in subscriber? what are the steps i need to take to do this?

will it affect the replication? please help me here.

Arnav
Even you learn 1%, Learn it with 100% confidence.

View 3 Replies View Related

Dbcc Reindex Issue - - I Don't Understand!!

Jun 26, 2006

Hi Folks,SQL Server 2000 SP3 on Windows 2000. I have a database on which I ranthe command :dbcc dbreindex ('tablename')gofor all tables in the database. Then I compared the dbcc showcontigwith all_index output from before and after the reindex and on thelargest table in the database I found this. First output is prior toreindex:Table: 'PlannedTransferArchive' (1975014117); index ID: 1, database ID:7TABLE level scan performed.- Pages Scanned................................: 184867- Extents Scanned..............................: 23203- Extent Switches..............................: 23324- Avg. Pages per Extent........................: 8.0- Scan Density [Best Count:Actual Count].......: 99.07% [23109:23325]- Logical Scan Fragmentation ..................: 11.13%- Extent Scan Fragmentation ...................: 35.46%- Avg. Bytes Free per Page.....................: 60.0- Avg. Page Density (full).....................: 99.26%Second output is from after the reindex:DBCC SHOWCONTIG scanning 'PlannedTransferArchive' table...Table: 'PlannedTransferArchive' (1975014117); index ID: 1, database ID:8TABLE level scan performed.- Pages Scanned................................: 303177- Extents Scanned..............................: 37964- Extent Switches..............................: 42579- Avg. Pages per Extent........................: 8.0- Scan Density [Best Count:Actual Count].......: 89.00% [37898:42580]- Logical Scan Fragmentation ..................: 43.19%- Extent Scan Fragmentation ...................: 24.78%- Avg. Bytes Free per Page.....................: 75.1- Avg. Page Density (full).....................: 99.07%Following are my concerns:The following numbers are all higher after reindex than before reindex:pages scanned, extent switches, logical scan fragmentation, avg bytesfree per page, avg page density.scan density is lower after reindex than before reindexSeems to me that the numbers that are higher after reindex should belower and numbers that are lower after reindex should be higher? Ididn't specify the fill factor in the dbcc reindex command so it shouldhave used the default fill factor. The fill factor has never beenchanged on this machine.Am I missing something?Thanks,Raziq.*** Sent via Developersdex http://www.developersdex.com ***

View 3 Replies View Related

Does Dbcc Reindex Update Usage Information?

Feb 3, 2000

Does running DBCCReindex update the space allocated columns in sysindexes? I understand that running dbcc updateusage updates the space allocated columns in the sysindexes table. But, I cannot find any documentation that indicates whether dynamically rebuilding the indexes as opposed to drop and recreating the indexes updates the space allocated columns in the sysindexes table?

Any information would be helpful.
Thanks.
Gail Wade
Database Administration
Raymond James Financial
gwade@it.rjf.com

View 3 Replies View Related

SQL Server 2008 :: Table Size After Reindex

Feb 22, 2015

I'm trying to understand what is happening to one large table.

In a DB SQL 2008R2, I'm trying to track a rapidly increasing DB size. It's due to one table recently added.

Despite the table's no rows increasing its size reduces after a scheduled re-index.

I've recorded the space used by this table by recording EXEC sp_spaceused 'tableName'

---
NoRows reserved data index_size unused
128864512300384 KB 2290928 KB9432 KB24 KB AFTER reindex
128864515406232 KB 5366184 KB39280 KB768 KBBEFORE reindex

N.B. The only thing I'm aware of happening in the time period is a reindex as part of scheduled task. I could be missing something else happening.

The table has only one Index the PK which is clustered, No Fill factor is specified. The Server Default fill factor =0.

I read fillfactor=0=100 Will always try and fill the pages so space used will be minimised?

After running the reindex the index fragmentation is v.low. I've not recorded the fragmentation before reindex.

I can see the Data is not added in Clustered index order.

View 2 Replies View Related

SQL 2012 :: Weekly Reindex Job Failed Because Of Deadlock

May 18, 2015

I have a weekly Maintenance Plan Reindex job that has failed because of a deadlock. My question seems simple enough and I'm ashamed to say I ought to know this answer, but here goes: Does the rest of a given job continue after such failures (this one was maybe 3/4 through the log) occur?

View 6 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved