Re: Isolating Customer Data
- From: "Andrew J. Kelly" <sqlmvpnooospam@xxxxxxxxxxxx>
- Date: Fri, 13 Jan 2006 11:07:52 -0500
That is usually the easiest way to manage it when you need to have separate
dbs. One of the tools that may make your task easier is found here:
http://www.innovartis.co.uk/DBGhost_home.asp
--
Andrew J. Kelly SQL MVP
"MattC" <m@xxxxx> wrote in message
news:exxhAyEGGHA.1628@xxxxxxxxxxxxxxxxxxxxxxx
> Yes, my us eof the word 'physically' was incorrect. Having the data in
> seperate DB's is fine.
>
> Short of having Dynamic Query strings generated in the code *shudder*. I
> think the solution is going to have to be to replicate the schema, SP's
> and views across each clietns DB.
>
> Would you agree?
>
> TIA
>
> MattC
> "Andrew J. Kelly" <sqlmvpnooospam@xxxxxxxxxxxx> wrote in message
> news:eAL$AkEGGHA.2708@xxxxxxxxxxxxxxxxxxxxxxx
>> That is one of the great requests on these newsgroups. But in this case
>> you really can't have your cake and eat it too<g>. Most sp's need to be
>> inside the individual user db itself to get the correct results. How many
>> db's are you talking about? If you have proper procedures in place to
>> ensure you do the right things when distributing or updating sp's it's
>> really not that difficult. There are even some third part tools out there
>> that make it relatively easy to store the object code in a central
>> location and then distribute the changes. But one question I have for
>> you. What exactly do you mean by "Physically separate"? To me that would
>> entail one db per physical disk array. Having two db's on one disk does
>> not "Physically" separate the data.
>>
>> --
>> Andrew J. Kelly SQL MVP
>>
>>
>> "MattC" <m@xxxxx> wrote in message
>> news:OV3IoWDGGHA.3176@xxxxxxxxxxxxxxxxxxxxxxx
>>> Hi,
>>>
>>> Wondered if anyone had any best practice or experience in isolating
>>> customer data from each other. We have a system that will need to store
>>> a customers data and from that provide calculations on that.
>>>
>>> However, ther is a requirement that the data for each customer be kept
>>> physically separate. My initial thought was to create a central
>>> database for the application, this would store information about each
>>> customer such as the name of the database and possbily the server where
>>> their data resides.
>>>
>>> My problem comes with the storeprocedure layer. I have no problem
>>> replicating the schema for each customers but I would rather have only
>>> one place where the stored procs are located. Every time there is an
>>> update to be made I don't want to have to update the stored proc on each
>>> database.
>>>
>>> Any advice or infomation would be greatly appreciated.
>>>
>>> MattC
>>>
>>
>>
>
>
.
- References:
- Isolating Customer Data
- From: MattC
- Re: Isolating Customer Data
- From: Andrew J. Kelly
- Re: Isolating Customer Data
- From: MattC
- Isolating Customer Data
- Prev by Date: Re: Isolating Customer Data
- Next by Date: Re: Isolating Customer Data
- Previous by thread: Re: Isolating Customer Data
- Next by thread: Re: Isolating Customer Data
- Index(es):
Relevant Pages
|