Viewing 15 posts - 31 through 45 (of 107 total)
Now I'm choosing my indexes, so I have another question: I have a bigint column with 90% different values, the duplicate values are rare, but the column is not very...
March 19, 2009 at 8:49 am
If I make log backups ...the log space will be reusable, but in order to use the log information I will have to restore the log backups I think...am I...
March 19, 2009 at 8:41 am
So shrinking the log file has no side effects? Especially on performance
Because I want to shrink it but I'm affraid of unknown side effects.
I know that shrinking the database has...
March 19, 2009 at 8:14 am
Ok man...message received.I will search for other candidates on clustered index, and if I don't find I will put them on guids.That's the situation.Thank you...things are more clear now:-)
March 19, 2009 at 6:33 am
So it's better to leave them like this, non-clustered, than put a clustered index on pk?
I repeat, they are mainly used for joins, so a clustered index on other columns...
March 19, 2009 at 2:13 am
The guids in the pk are generally used for joins...so I have to change the index in a clustered one...
I just don't know why they are created this way....I don't...
March 18, 2009 at 11:22 am
ok...
But I observe smth on the db...all the big tables don't have a clustered index on PK. Is this a technique, or something? Because I don't think this is a...
March 18, 2009 at 11:04 am
I found the problem, I think
The Pk-indexes are non-clustered,and that's why there are heaps. I don't know if this is ok, or if the person that was here before me...
March 18, 2009 at 10:49 am
So
the result from sys.dm_db_index_physical_stats :
4824148798901HEAPIN_ROW_DATA1093,36099585062242267,446902654867261683NULLNULLNULLNULLNULLNULLNULLNULL
4824148798901HEAPLOB_DATA100NULLNULL463NULLNULLNULLNULLNULLNULLNULLNULL
48241487989111NONCLUSTERED INDEXIN_ROW_DATA203,404255319148942210,6818181818182235NULLNULLNULLNULLNULLNULLNULLNULL
48241487989251NONCLUSTERED INDEXIN_ROW_DATA201,271186440677971219,6666666666667236NULLNULLNULLNULLNULLNULLNULLNULL
The result from you query :
2414879890NULL
24148798911Pk_Mt_Anag
24148798925ix_pratica_id
March 18, 2009 at 10:27 am
Yes, is normal for indexes, clustered and non-clustered, but if I have a heap and a clustered index for the same object_id.This shouldn't be normal, if I folow what you...
March 18, 2009 at 10:10 am
let me ask in this way: if I query sys.dm_db_index_physical_stats and get the same object_id for a heap and an index is an abnormal situation?
Because I will paste some results...
March 18, 2009 at 9:42 am
Man ...I agree with you, but when I run the query against sys.dm_db_index_physical_stats I receive an object_id, and object_name(object_id) returns a table who has for instance 2 indexes,1 clustered, and...
March 18, 2009 at 8:58 am
First, as you can see in myreply with the code, I rebuild all the indexes. For some, as I said before, I don't know why but they still have a...
March 18, 2009 at 8:03 am
nice discution....
Now i'm "optimizing" my optimization.:-)
That's why I have some more questions 😀
I found that the indexes with more than 1000 pages were rebuild, and I have some others...
March 18, 2009 at 7:11 am
17 pages, but I have some with 2 pages or 34 that "respond" the same way to my script
And no, is not on production, I've restored the database on...
March 17, 2009 at 11:06 am
Viewing 15 posts - 31 through 45 (of 107 total)