Click here to Skip to main content
15,901,373 members
Home / Discussions / Database
   

Database

 
Questionmultiple tables in datagridview Pin
Enobong Adahada7-Mar-10 20:50
Enobong Adahada7-Mar-10 20:50 
AnswerRe: multiple tables in datagridview Pin
Mycroft Holmes7-Mar-10 22:34
professionalMycroft Holmes7-Mar-10 22:34 
QuestionDAO 12.0 Big Images in Access Pin
Juan Pablo G.C.7-Mar-10 8:57
Juan Pablo G.C.7-Mar-10 8:57 
AnswerRe: DAO 12.0 Big Images in Access Pin
RCoate8-Mar-10 13:35
RCoate8-Mar-10 13:35 
GeneralRe: DAO 12.0 Big Images in Access Pin
Juan Pablo G.C.8-Mar-10 23:46
Juan Pablo G.C.8-Mar-10 23:46 
QuestionMS SQL: how to reorganize identity column values? Pin
michal.kreslik6-Mar-10 11:52
michal.kreslik6-Mar-10 11:52 
AnswerRe: MS SQL: how to reorganize identity column values? Pin
i.j.russell6-Mar-10 12:47
i.j.russell6-Mar-10 12:47 
AnswerRe: MS SQL: how to reorganize identity column values? Pin
Gerald Schwab6-Mar-10 16:30
Gerald Schwab6-Mar-10 16:30 
GeneralRe: MS SQL: how to reorganize identity column values? Pin
Mycroft Holmes6-Mar-10 16:45
professionalMycroft Holmes6-Mar-10 16:45 
AnswerRe: MS SQL: how to reorganize identity column values? Pin
PIEBALDconsult7-Mar-10 17:13
mvePIEBALDconsult7-Mar-10 17:13 
GeneralRe: MS SQL: how to reorganize identity column values? Pin
Mycroft Holmes7-Mar-10 18:34
professionalMycroft Holmes7-Mar-10 18:34 
GeneralRe: MS SQL: how to reorganize identity column values? Pin
PIEBALDconsult8-Mar-10 12:01
mvePIEBALDconsult8-Mar-10 12:01 
GeneralRe: MS SQL: how to reorganize identity column values? Pin
Mycroft Holmes8-Mar-10 13:25
professionalMycroft Holmes8-Mar-10 13:25 
GeneralRe: MS SQL: how to reorganize identity column values? Pin
PIEBALDconsult8-Mar-10 17:34
mvePIEBALDconsult8-Mar-10 17:34 
GeneralRe: MS SQL: how to reorganize identity column values? Pin
Mycroft Holmes8-Mar-10 18:32
professionalMycroft Holmes8-Mar-10 18:32 
GeneralRe: MS SQL: how to reorganize identity column values? Pin
michal.kreslik8-Mar-10 22:49
michal.kreslik8-Mar-10 22:49 
I'm using GUIDs as keys in another database where multiple servers need to write to the same table. so this is the model of the distributed app you were talking about.

but even there it's not ideal. just yesterday I was thinking about changing this structure. in another table of the same database I'm storing rows that contain this GUID as a FK. there are many rows with the same GUID and I need to group these rows based on the GUID.

the problem is obviously the performance. I have a clustered index on a table that has this GUID as a FK on which I base the clustering. since new GUIDs don't come in a sequential order (they're generated randomly), each insert with a new GUID into this GUID-clustered table will force the index to be recalculated. this wouldn't happen with sequential autogenerated values like int.

Michal
GeneralRe: MS SQL: how to reorganize identity column values? Pin
Mycroft Holmes8-Mar-10 23:41
professionalMycroft Holmes8-Mar-10 23:41 
AnswerRe: MS SQL: how to reorganize identity column values? Pin
Mycroft Holmes7-Mar-10 18:36
professionalMycroft Holmes7-Mar-10 18:36 
GeneralRe: MS SQL: how to reorganize identity column values? Pin
michal.kreslik8-Mar-10 1:06
michal.kreslik8-Mar-10 1:06 
GeneralRe: MS SQL: how to reorganize identity column values? Pin
michal.kreslik8-Mar-10 21:54
michal.kreslik8-Mar-10 21:54 
GeneralRe: MS SQL: how to reorganize identity column values? Pin
Mycroft Holmes8-Mar-10 22:27
professionalMycroft Holmes8-Mar-10 22:27 
GeneralRe: MS SQL: how to reorganize identity column values? Pin
michal.kreslik8-Mar-10 22:30
michal.kreslik8-Mar-10 22:30 
GeneralRe: MS SQL: how to reorganize identity column values? Pin
michal.kreslik8-Mar-10 23:57
michal.kreslik8-Mar-10 23:57 
GeneralRe: MS SQL: how to reorganize identity column values? Pin
michal.kreslik9-Mar-10 23:19
michal.kreslik9-Mar-10 23:19 
GeneralRe: MS SQL: how to reorganize identity column values? Pin
michal.kreslik15-Mar-10 0:53
michal.kreslik15-Mar-10 0:53 

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.