[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1473
  • Last Modified:

Insert Bulk & Triggers - PerfMon to DBMS with triggers

I have 4 terminal servers. I am using the PerfMon on each to dump the counter data to a central SQL 2005 Database via DSN (System)

I have setup a trigger that will look at the inserted data and update a status table of counters of each terminal server. i.e. every 15 seconds when data is sent to the SQL server it will update ram, cpu etc fields on the status table.

When I manually enter the data the trigger runs perfectly. However it does not run for the data coming in from PerfMon via a DSN.

I ran the SQL Profiler and it showed me that the PerfMon is sending an "insert bulk" query.

How can I force the trigger to be run on the insert bulk query.

Sachin

0
sachmans
Asked:
sachmans
1 Solution
 
twoboatsCommented:
AFAIK, the only way is to specify the option FIRE_TRIGGERS. So if perfmon is using stored procedures to do the inserts, you'd need to modify them. If it's using embedded sql, you're goosed.
0
 
DavidSenior Oracle Database AdministratorCommented:
No comment has been added to this question in more than 21 days, so it is now classified as abandoned.

I will leave the following recommendation for this question in the Cleanup Zone:
Award points to twoboats #19660973

Any objections should be posted here in the next 4 days. After that time, the question will be closed.

dvz
Experts Exchange Cleanup Volunteer
0
 
Computer101Commented:
Forced accept.

Computer101
EE Admin
0
 
matthewc02Commented:
That's too bad I've searched high and low for an answer to this exact question. I'm having the same problem.
my triggers won't run on the data coming in from perfmon due to it being BULK INSERT.
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now