all groups > sql server notification services > march 2005 >
You're in the

sql server notification services

group:

What’s the best way to seperate DB from OLTP DB for NS?


What’s the best way to seperate DB from OLTP DB for NS? wqdeng
3/7/2005 6:06:39 PM
sql server notification services:
I need get data from source OLTP DB for NS DB. Putting NS DB and OLTP
DB on the same server will decrease performance too much which
Microsoft doesn’t suggest also. What’s the best way to seperate DB
from OLTP DB for NS, linked server, replication or anything else? Hope
someone can help me on it.

Thanks,
Wenqing

--
Posted using the http://www.dbforumz.com interface, at author's request
Articles individually checked for conformance to usenet standards
Topic URL: http://www.dbforumz.com/Notification-Services-seperate-DB-OLTP-DB-NS-ftopict204276.html
_DB_from_OLTP_DB_for_NS? Joe Webb
3/9/2005 4:20:19 PM
Hi wqdeng -

Notification Services has very flexible deployment options. For small to
medium deployments you can put everything on one box. This is especially
good for testing and in-house applications, but not really advisable for
Internet applications.

For slightly larger deployments you can use the remote database
deployment option. This puts all of the Notification Services components
on a single box and uses a remote SQL Server for the application and
instance databases. The standard version of Notification Services
supports this option.

For larger deployments, you can use the scale out deployment option
whereby various components can be installed across different servers.

To collect events from another SQL Server database, you have a couple of
options. First you can use the SQL Server event provider that comes with
notification services. To do this I typically at a linked server in use
four-part names when defining my configuration files.

The second option uses the notification services event stored
procedures. A trigger or stored procedure in the event-source database
can call the event stored procedures and the NS database and submit
events that way. Again a typically use a linked server to accomplish
the cross server queries.

Of course log shipping and other mechanisms would work, but they seem
overly complex for this solution.


HTH...
Joe Webb
SQL Server MVP

~~~
Get up to speed quickly with SQLNS
http://www.amazon.com/exec/obidos/tg/detail/-/0972688811




[quoted text, click to view]
Re: Re: What’s_the_best_way_to_seperate wqdeng
3/10/2005 11:52:46 AM
[quoted text, click to view]

Joe,

Thanks for your information. My case is fallen into your larger
deployments case. I tested performance of linked server. For a simple
two tables join, it took less than one second to finish locally,
however more than one and half minute for linked server. The
difference is huge. I am afraid that linked server can handle our
large volume tasks. Do you have any suggestion for larger deployments?
How about replication?

Thanks,
Wenqing

--
Posted using the http://www.dbforumz.com interface, at author's request
Articles individually checked for conformance to usenet standards
Topic URL: http://www.dbforumz.com/Notification-Services-seperate-DB-OLTP-DB-NS-ftopict204276.html
What’s_the_best_way_to_seperate Joe Webb
3/11/2005 12:39:02 PM
Hi Wenqing -

Joins across linked servers can sometimes act that way.

Two primary avenues comes to mind.
1) Improve the cross server performance.
a) Get rid of the cross server joins by creating views, sprocs, etc.
b) Try OPENQUERY.
c) Call the NS event stored procedures from the data database to
submit the events to NS.

2) Get the data to NS server so it can create the events from local data.
a) Replication.
b) DTS.




HTH...
Joe Webb
SQL Server MVP

~~~
Get up to speed quickly with SQLNS
http://www.amazon.com/exec/obidos/tg/detail/-/0972688811



[quoted text, click to view]
AddThis Social Bookmark Button