Click here to Skip to main content
15,887,376 members
Home / Discussions / Database
   

Database

 
GeneralRe: Index vs Param Pin
E_Gold23-Oct-08 10:03
E_Gold23-Oct-08 10:03 
GeneralBarcode sounds like primary key Pin
David Mujica23-Oct-08 11:07
David Mujica23-Oct-08 11:07 
GeneralRe: Barcode sounds like primary key Pin
E_Gold23-Oct-08 12:19
E_Gold23-Oct-08 12:19 
GeneralRe: Barcode sounds like primary key Pin
David Mujica24-Oct-08 7:29
David Mujica24-Oct-08 7:29 
AnswerRe: Index vs Param Pin
Wendelius23-Oct-08 8:05
mentorWendelius23-Oct-08 8:05 
Question2 Databases 2 locations one website??? Pin
GDMFSOB23-Oct-08 3:59
GDMFSOB23-Oct-08 3:59 
AnswerSQL 2005 is the way to go Pin
David Mujica23-Oct-08 4:47
David Mujica23-Oct-08 4:47 
AnswerRe: 2 Databases 2 locations one website??? Pin
Wendelius23-Oct-08 8:22
mentorWendelius23-Oct-08 8:22 
If you want to *split* your database on two separate servers the main problem you have is logical, not technical.

First you must find a way to separate rows on tables so that it's rare that people in Botswana need (especially update, insert or delete) the rows that are maintained in South Africa. Typically this is done using different kinds of responsibility information and so on. Otherwise you will have lot's of update collisions which will be very problematic and require a reliable, (potentially) high speed connection between sites.

After you have found a way to logically separate the data you can use several techniques (few options with some of their good and bad effects):

  • replication, which allows you to loose connection for a while, but has problems since data is (commonly) duplicated
  • distributed operations with two-phase commit, data is consistent, but loss of connection may paralyze the system also typically needs modifications at program level
  • federations, data is consistent and no need to change the program. Also workload is divided between sitse. Loss of connection may paralyze the system (depending how program handles this)


Hope this helps,

Mika

The need to optimize rises from a bad design.

My articles[^]

GeneralRe: 2 Databases 2 locations one website??? Pin
nelsonpaixao23-Oct-08 15:42
nelsonpaixao23-Oct-08 15:42 
QuestionExperience with CLR Stored Procedures in MS SQL Server 2005 Pin
James R. Twine23-Oct-08 2:34
James R. Twine23-Oct-08 2:34 
QuestionRe: Experience with CLR Stored Procedures in MS SQL Server 2005 Pin
led mike23-Oct-08 4:39
led mike23-Oct-08 4:39 
AnswerRe: Experience with CLR Stored Procedures in MS SQL Server 2005 Pin
James R. Twine23-Oct-08 7:40
James R. Twine23-Oct-08 7:40 
AnswerRe: Experience with CLR Stored Procedures in MS SQL Server 2005 Pin
i.j.russell24-Oct-08 13:54
i.j.russell24-Oct-08 13:54 
AnswerRe: Experience with CLR Stored Procedures in MS SQL Server 2005 Pin
Wendelius23-Oct-08 9:35
mentorWendelius23-Oct-08 9:35 
QuestionDo a simple Query for me Pin
Saam_cse23-Oct-08 1:28
Saam_cse23-Oct-08 1:28 
AnswerRe: Do a simple Query for me Pin
Ashfield23-Oct-08 1:42
Ashfield23-Oct-08 1:42 
RantRe: Do a simple Query for me Pin
Eddy Vluggen23-Oct-08 2:14
professionalEddy Vluggen23-Oct-08 2:14 
JokeRe: Do a simple Query for me Pin
Ashfield23-Oct-08 2:28
Ashfield23-Oct-08 2:28 
GeneralRe: Do a simple Query for me Pin
Eddy Vluggen23-Oct-08 2:41
professionalEddy Vluggen23-Oct-08 2:41 
AnswerRe: Do a simple Query for me Pin
John Gathogo23-Oct-08 1:43
John Gathogo23-Oct-08 1:43 
AnswerRe: Do a simple Query for me Pin
shubhi23-Oct-08 1:56
shubhi23-Oct-08 1:56 
JokeRe: Do a simple Query for me Pin
nelsonpaixao23-Oct-08 15:51
nelsonpaixao23-Oct-08 15:51 
Questionunbound RadioButtonList Selected Item problem Pin
amit201123-Oct-08 1:16
amit201123-Oct-08 1:16 
AnswerRe: unbound RadioButtonList Selected Item problem Pin
Ashfield23-Oct-08 1:29
Ashfield23-Oct-08 1:29 
AnswerRe: unbound RadioButtonList Selected Item problem Pin
John Gathogo23-Oct-08 1:37
John Gathogo23-Oct-08 1:37 

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.