Re: Isolating Customer Data



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
>>>
>>
>>
>
>


.



Relevant Pages

  • Re: autonumber with text value
    ... Just as you can store FirstName and LastName separately, but combine them to display as the full name, you can store the company code and the number separately, and combine them as needed. ... By the way, one of the requirements, or at least one of the highly-recommended things, is that you store the customer code along with other customer information in the Customer table. ... (This assumes you have a separate customer table. ... currently has a "system" in place for the numbering of monthly reports. ...
    (microsoft.public.access.forms)
  • Re: Oracle 10G Grid Control
    ... The Grid is separate and the Diagnostic Pack, Tuning Pack, etc. ... Why should a customer have to dig for basic information to determine ... Then once you get into the store, ... for 'purchase' or 'store' in the search boxes on the Oracle pages. ...
    (comp.databases.oracle.server)
  • Re: VFP 6 - 2 Gigabyte Limit
    ... I know that I can store them all in a separate directory ... Speeds up your database and will reduce your database size substantially ... disk space available" is given, ...
    (comp.databases.xbase.fox)
  • storage of arbitrary attributes and their names
    ... We didn't want to encode these directly into the database ... schema, so we were looking to use a table to store the name/value ... the customer. ... made sense to have a separate table to store the names and refer to ...
    (microsoft.public.sqlserver)
  • Re: Isolating Customer Data
    ... > What exactly do you mean by "Physically separate"? ... >> customer data from each other. ... We have a system that will need to store ... My initial thought was to create a central database ...
    (microsoft.public.sqlserver.security)