Viewing 15 posts - 1 through 15 (of 15 total)
Thank you all for comments.
Cheers, Jacek
October 20, 2014 at 11:44 am
TheSQLGuru (10/20/2014)
20% frag on a 13GB table could be quite a lot of page swaps.
The point is, what produce more page swaps: reorganize or rebuild?
According to Microsoft "Reorganizing an index...
October 20, 2014 at 10:02 am
Igor Micev (10/19/2014)
Are your tables very big and having high fragmentation?
Table is a 13GB, fragmentation 20%,
Are you rebuilding with sort_in_tempdb=ON, and then make comparison with the Reorganizing (reorganizing is...
October 20, 2014 at 9:40 am
TheSQLGuru (10/19/2014)
October 20, 2014 at 9:18 am
Grant Fritchey (10/19/2014)
October 20, 2014 at 9:12 am
TheSQLGuru (10/20/2014)
If the column-based filters are on the same table I think you can manually create mutli-column statistics to alleviate the problem at hand here. 🙁
Kevin, index_1 compromise columns...
October 20, 2014 at 7:44 am
Thank you very much Gail for clearing the issue.
Jacek
October 20, 2014 at 7:39 am
GilaMonster (10/20/2014)
Firstly, determine whether it's a problem that needs something to be done about.
My approach is to check the statistics are updated. If Yes, I don not bother anymore as...
October 20, 2014 at 6:45 am
GilaMonster (10/20/2014)
Without seeing the execution plan, not really.
Gail,
Please find attached the files.
One is for index_1 (old) and one for index_2 (filtered).
Thanks in advance.
October 20, 2014 at 5:50 am
I was trying many options.
Finally I discovered interesting solution. It does not make sense for me but works:
1. I have created additional filtered index (index_2)
2. checked estimated and actual numbers...
October 20, 2014 at 5:21 am
By the way, I found shrinking against SSMS always failed in my case.
I do not why, but following script always works for me (it shrinks data file, too):
declare @dbname...
October 20, 2014 at 3:36 am
It is worthy to check CDC status in a few areas.
Please use following command to make sure everything is configured:
EXECUTE sys.sp_cdc_help_change_data_capture;-- Returning change data capture configuration information for all...
October 20, 2014 at 3:07 am
GilaMonster (10/20/2014)
Jacek Falkiewicz (10/20/2014)
Is it simple model? Simple model is without log file.Nope. Simple recovery uses the log just like full/bulk logged does.
You are right GilaMonster. The difference is in...
October 20, 2014 at 2:55 am
Hi,
Try to remove cdc job, backup log file and recreate cdc job. Check BOL to find t-sql command recreating the cdc job.
Jacek
October 20, 2014 at 1:34 am
Is it simple model? Simple model is without log file.
Otherwise backup log file just before srinking.
Jacek
October 20, 2014 at 1:18 am
Viewing 15 posts - 1 through 15 (of 15 total)