Click here to Skip to main content
15,903,362 members
Home / Discussions / Database
   

Database

 
QuestionExtracting a blob data file from sqlite Pin
crain198121-Dec-10 13:35
crain198121-Dec-10 13:35 
AnswerRe: Extracting a blob data file from sqlite Pin
Luc Pattyn21-Dec-10 13:55
sitebuilderLuc Pattyn21-Dec-10 13:55 
GeneralRe: Extracting a blob data file from sqlite Pin
crain198121-Dec-10 14:34
crain198121-Dec-10 14:34 
AnswerRe: Extracting a blob data file from sqlite Pin
Luc Pattyn21-Dec-10 14:41
sitebuilderLuc Pattyn21-Dec-10 14:41 
GeneralRe: Extracting a blob data file from sqlite Pin
crain198121-Dec-10 15:04
crain198121-Dec-10 15:04 
GeneralRe: Extracting a blob data file from sqlite Pin
Luc 64801121-Dec-10 16:19
Luc 64801121-Dec-10 16:19 
GeneralRe: Extracting a blob data file from sqlite Pin
crain19818-Jan-11 5:27
crain19818-Jan-11 5:27 
QuestionIndex Fragmentation in Microsoft SQL Server [modified] Pin
Member 285321221-Dec-10 8:12
Member 285321221-Dec-10 8:12 
I have a database table that consists of an int primary key, several unique identifiers (most of which are used to reference data in other databases), an xml field and an infoset. I have non-unique, non-clustered indexes that I am trying to use to speed up the queries to the table, all of the indexes work well except for a single index on a uniqueidentifier field that retains a 99% fragmentation rate regardless of rebuild/reorganizing the index. Below is the details of the table, IX_external_guid_3 is the index with the high fragmentation. Can anyone tell me what might cause the high fragmentation, or what I can do to reduce the fragmentation on this guid field and speed up queries based on it?

Thanks,

Table

id(PK, int, not null)
guid(uniqueidentifier, null, rowguid)
external_guid_1(uniqueidentifier, not null)
external_guid_2(uniqueidentifier, null)
state(varchar(32), null)
value(varchar(max), null)
infoset(XML(.), null)
created_time(datetime, null)
updated_time(datetime, null)
external_guid_3(uniqueidentifier, not null)
FK_id(FK, int, null)
locking_guid(uniqueidentifer, null)
locked_time(datetime, null)
external_guid_4(uniqueidentifier, null)
corrected_time(datetime, null)
is_add(bit, not null)
score(int, null)
row_version(timestamp, null)

Indexes

PK_table(Clustered)
IX_created_time(Non-Unique, Non-Clustered)
IX_external_guid_1(Non-Unique, Non-Clustered)
IX_guid(Non-Unique, Non-Clustered)
IX_external_guid_3(Non-Unique, Non-Clustered)
IX_state(Non-Unique, Non-Clustered)
John
modified on Tuesday, December 21, 2010 2:57 PM

AnswerRe: Index Fragmentation in Microsoft SQL Server Pin
ScottM122-Dec-10 23:09
ScottM122-Dec-10 23:09 
Questionwrapper program Pin
kabir_2128920-Dec-10 19:11
kabir_2128920-Dec-10 19:11 
AnswerRe: wrapper program Pin
WoutL20-Dec-10 21:28
WoutL20-Dec-10 21:28 
AnswerRe: wrapper program Pin
Jörgen Andersson21-Dec-10 0:13
professionalJörgen Andersson21-Dec-10 0:13 
AnswerRe: wrapper program Pin
ScottM122-Dec-10 23:13
ScottM122-Dec-10 23:13 
QuestionMSSQL - How can I reference a column to update using a variable?? Pin
JTRizos20-Dec-10 9:01
JTRizos20-Dec-10 9:01 
AnswerRe: MSSQL - How can I reference a column to update using a variable?? Pin
PIEBALDconsult20-Dec-10 9:34
mvePIEBALDconsult20-Dec-10 9:34 
GeneralRe: MSSQL - How can I reference a column to update using a variable?? Pin
JTRizos20-Dec-10 11:12
JTRizos20-Dec-10 11:12 
GeneralRe: MSSQL - How can I reference a column to update using a variable?? Pin
PIEBALDconsult20-Dec-10 13:39
mvePIEBALDconsult20-Dec-10 13:39 
AnswerRe: MSSQL - How can I reference a column to update using a variable?? Pin
Jörgen Andersson20-Dec-10 9:39
professionalJörgen Andersson20-Dec-10 9:39 
GeneralRe: MSSQL - How can I reference a column to update using a variable?? Pin
JTRizos20-Dec-10 11:19
JTRizos20-Dec-10 11:19 
GeneralRe: MSSQL - How can I reference a column to update using a variable?? Pin
Jörgen Andersson20-Dec-10 11:34
professionalJörgen Andersson20-Dec-10 11:34 
GeneralRe: MSSQL - How can I reference a column to update using a variable?? Pin
JTRizos20-Dec-10 11:45
JTRizos20-Dec-10 11:45 
GeneralRe: MSSQL - How can I reference a column to update using a variable?? Pin
Jörgen Andersson20-Dec-10 12:30
professionalJörgen Andersson20-Dec-10 12:30 
GeneralRe: MSSQL - How can I reference a column to update using a variable?? Pin
JTRizos20-Dec-10 12:41
JTRizos20-Dec-10 12:41 
AnswerRe: MSSQL - How can I reference a column to update using a variable?? Pin
Mycroft Holmes20-Dec-10 16:08
professionalMycroft Holmes20-Dec-10 16:08 
GeneralRe: MSSQL - How can I reference a column to update using a variable?? Pin
Jörgen Andersson21-Dec-10 0:07
professionalJörgen Andersson21-Dec-10 0:07 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.