DB Engine :: Running Performance Monitor While ETL Process Is In Progress?
Jul 21, 2015
know if running performance counters during ETL process is running will impact performance on the server, I have win 2008 r2 server with sql server 2008 r2. I want to measure performance of server while ETL is in progress.
View 4 Replies
ADVERTISEMENT
May 27, 2014
In sql server 2014 , many performance counters are missing .I need " Buffer cache hit ratio " under "sql server :buffer manager " .Is there any way to get it back or removed form sql server2014 ?
View 6 Replies
View Related
Aug 19, 2015
If I'm on a remote machine, meaning a computer not in the WSFC cluster, and I open SSMS 2014, point it to a SQL Instance, and open activity monitor:
1. I get all the panes and charts except % Processor Time.
2. Then, if I authenticate to the cluster's domain by mapping a drive with valid domain credentials, I'm free to put performance counters in the Perfmon - - - but SQL Activity Monitor shuts down with“The Activity Monitor is unable to execute queries against server SQL-V01INSTANCE1..Activity monitor for this instance will be placed into a paused state.Use the context menu in the overview pane to resume the activity monitor.
Additional information: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))(Mscorlib)”
3. Of course, the Activity monitor can't be resumed via the context menu. Removing counters and closing the perfmon do not work. I dropped the mapped drive and rebooted the machine. That brought back 95% of the information in the Activity monitor.
4. Further experimentation showed that any mapping of drive shares present on the SQL Server to the computer running SSMS cut off functionality of the 'overview' pane in the remote machine's SQL Activity monitor -- the monitor that had been trying to watch the server offering the shares.
View 4 Replies
View Related
Feb 15, 2006
I am afraid that just after @statusOfEmployee is retrieved from table1, but before table2 is updated, someone else (a second user) calls this same stored procedure and changes the @statusOfEmployee value. This would create an inconsistent update of table2 by first user, since the update of table2 'might' not have gone ahead if the latest value of @statusOF Employee was used. CAN SOMEONE PLEASE HELP ME WITH THIS SITUATION AND HOW I CAN BE SURE THAT ABOVE DOES NOT HAPPEN SINCE MULTIPLE USERS WILL BE HITTING THIS STORED PROCEDURE?
declare @status intbegin transet @status = (select statusOfEmployee from table1)if @@ERROR = 0 begin update table2 set destination = @destination /* @destination is an input parameter passed to the sp*/ where @currentStatus = @status if @ERROR = 0 commit tran else rollback tran endelse rollback tran
return
View 7 Replies
View Related
Jul 21, 2001
Is there any way to measure the progress of a long running query,
for instance, to find where in a query plan a query is in SQL 7.0?
I have a query I am running that is currently 2 1/2 hours into the
query. Since it's joining three large tables, one with 42 million rows
and two with 7 million rows, I'm expecting the query to take a
while. However, I have no way of estimating exactly how long
it will take. Before I ran it, I optimized it the best I could in
Query Analyzer using an estimated query plan, making sure I had
all the right indexes, etc. I've been trying to use the estimated cost
to project query time, but that hasn't been working since queries
with similar costs can take radically different amounts of time to
execute.
Now I'm sitting here waiting, wondering if the query is just taking
too long, and I should stop it and work on optimizing it some more
(since I will have to run a couple more queries like it), or let it
finish. But I have no clue how close it is to finishing. I've tried looking
at the Physical I/O given by sp_who2 and then trying to calculate the
number of pages it would have to read if it had to read everything
from disk, then estimating it's progress by that, but this seems dubious
at best, since I don't know a whole slew of factors (ie: how many
pages are being read from the cache, is my page calculation correct,
etc).
So, does anyone know of any way to figure out how soon a long
running query will finish in SQL 7.0?
Thanks.
--
Trevor Lohrbeer
trevor@truepeers.com
View 2 Replies
View Related
May 23, 2008
Greetings all,
I have a process that I run that modifies or adds records. I need to monitor changes to the original records without using triggers.
I have working code but was wondering if someone had an easier way.
My process is as follows.
1. Clone the original table and records:
Code Snippet
CREATE PROCEDURE usp_CreateOriginalTable
@TableName as varchar(50)
AS
--Clone the table
DECLARE @NewTableClone as varchar(60)
SET @NewTableClone = 'SELECT * INTO ' + @TableName + '_ORIGINAL ' + 'FROM ' + @TableName
EXEC(@NewTableClone)
GO
2. Now run my process.
3. Now compare the two tables (Table1 and Table1_ORIGINAL):
Code Snippet
CREATE PROCEDURE usp_GetModifiedorAddedRecords
@TableName varchar(50)
AS
/*The initial code create the base for the d-sql query*/
DECLARE @myQuery as varchar(8000)
SET @myQuery = 'SELECT t1.* FROM '+ @TableName + ' t1 ' +
'LEFT JOIN ' + @TableName + '_ORIGINAL t2 ON '
/*The cursor loops through all fields in the table*/
DECLARE myCursor CURSOR
FOR
SELECT sc.Name
FROM syscolumns sc
JOIN sysobjects so
ON so.ID = sc.ID
WHERE so.Name = @TableName
OPEN myCursor
DECLARE @fieldName varchar(50)
FETCH NEXT FROM myCursor INTO @fieldName
WHILE @@FETCH_STATUS = 0
BEGIN
/*In order to check modified records, all fields must be joined with clone*/
SET @myQuery = @myQuery + 't1.' + @fieldName + ' = t2.' + @fieldName + ' AND '
FETCH NEXT FROM myCursor INTO @fieldName
END
CLOSE myCursor
DEALLOCATE myCursor
SET @myQuery = @myQuery + 'WHERE t2.' + @fieldName + ' IS NULL'
SET @myQuery = REPLACE(@myQuery, 'AND WHERE', 'WHERE')
--SELECT @myQuery
EXEC(@myQuery)
GO
Yes I know it uses a cursor but I can't find an easier way. Does anyone know of a better way of doing this or is this fine?
View 5 Replies
View Related
Apr 10, 2007
I 'm trying to install Sql Server 2005 Express Edition using c# 2.0 by starting a process and launching setup. I also want to informed about installation progress. For instance i want to inform end user if any installation error return or if setup has successfully completed etc. I think i need a callback... I have no problem about silent - unattended install but how can i informed about running installation progress ? and send these info to end user 's form ?
Regards.
Yusuf Incekara
View 5 Replies
View Related
Jun 4, 2001
Would the Performance Monitor be the best tool
to use if you wanted to find out how many transactions
are being process a day?
View 1 Replies
View Related
Dec 18, 2001
Hello all,
I want to know whether any performance monitoring tools/procedure available in market for SQL Server other than Performance monitor, Profiler, Query Ananlzer of SQL Server.
thank you in advance.
regards,
Nana
View 1 Replies
View Related
May 11, 1999
Hi guys!
Please tell me where is mistake?
I have win.nt workst. 4.0 and SQL Server 6.5 Client Configuration Utility installed.
I open Performace monitor and try to add to chart sql server which already have been registered in SQL Enterprise Manager.
And I have error message: Computer name not found.
Why??????
Thank you.Sev
View 2 Replies
View Related
Oct 14, 1998
Until this week, I had full functionality of SQL Monitor`s capabilities to monitor SQL Server. Now, when I select our Production Server and attempt to `Add to Chart` I am unable to view/select any SQL Server... entries in the `Object` dropdown list box. When I click the down arrow with the Development server selected I DO see all of the SQL Server selections. This inability to `see` the SQL Server functions in the Performance Monitor for the Production server exists regardless of whether I attempt to view them from a Win NT 4.0 Workstation or at the Server`s console. Again, I had full functionality from both locations last week. The logins have not changed. What has changed?
ANY help would be GREATLY appreciated. I need to monitor this system and I`m running blind at the monent.
TIA
Mike Gaudet
Visages, Inc.
View 1 Replies
View Related
Jan 4, 2001
Help ????????
I have a winnt and sql server 6.5 when i open up sql performace monitor it doesn't show any thing it comes blank when i go to reintialize the sqlserver object is not there i need to know how can i fix it
its urgent
girimanjesh
View 1 Replies
View Related
Mar 13, 2008
Does anyone know of a good and preferably free sql performance monitor? I feel my site is running a little slowly after some changes i made and i would like to check it out. Thanks.
View 1 Replies
View Related
Jul 19, 2000
I am learning about using the Performance Monitor (SQL Server 7.0).
What I am attempting to do, is to create a very simple log and then
see if I can have the information in the log charted back to me.
I create a log containing:
Process - Page File Bytes
System - % Total User Time
The size of the log file created is 122kb.
I am trying to make sure I very careful following the instructions
in the HELP contents info.
I believe I have correctly specified the type of data I am interested
in, the instance I am interested in, and the parent, etc..
Selected the time frame I am interested in using the scroll bars.
Everything seems to work, except for one thing. I get no chart
information.
Any insight, suggestions, recommendations, etc. will be appreciated.
Thanks for your help. It is appreciated.
View 1 Replies
View Related
Mar 29, 2000
Hi All,
I've been asked to trouble shoot an installation where many stored procedures are performing poorly. Upon examination I've found that the queries in these procs consume a large volume of logical IO (table scans etc). I'm trying to show that this could cause poor performance of the stored procedures as well as degredation of the server as a whole - but I cant find any suitable counters in Perfmon.
Anyone help?
Jim
View 1 Replies
View Related
Oct 7, 1999
Hi!
When I run the PerformanceMonitor for SQL7 on my computer the Object-combobox shows the SQL-parameters.
But when I run the PerfMon on another computer (with SQL7) these parameters won't show.
Is this a registry-problem or??? What can I do to make these parameters visible???
regards
/Hans Bck
View 1 Replies
View Related
Jul 22, 1999
anyone else having issues with the SQL Server 7.0 specific objects in performance monitor not being available from remote locations. I am monitoring our production SQL Server 7.0 machine from my local, development SQL Server 7.0 box. If I try to access the SQL Server objects for the development server (local) I have no problem. If I try to access the production machine's (remote) objects, they are not available in the object drop down. I'm also able to access the development objects from my workstation (third machine) but not production.
Any tips would be greatly appreciated...I would really love to be able to see how well (or not so well) the databases are performing in real time.
Thanks,
David.
View 1 Replies
View Related
Jan 24, 2000
Any suggestions on getting them back? Reinstalling SQL didn't do anything. And yes, I am server administrator.
Thanks!
View 2 Replies
View Related
Feb 14, 2000
Hi SQL lovers!
I'm trying to set up Performance Monitor to watch my SQL Servers. There should be an SQL object in the drop down list in the 'Add To Chart' dialogue box in PerfMon. But not for me! What am i missing here?
I've started the saved Performance Monitor file you get with SQL Server and i can see the 5 already added objects (buffer cache etc..) but when i go to add more, there is no SQL Server object - strange!?
Can anyone help?
Immense thanks,
Kyle Henly.
Allegedly a DBA!
Halcrow Group UK.
View 2 Replies
View Related
Dec 19, 2000
Hi,
Till couple of days ago.. I was able to watch different object counters in SQL Server performance monitor..
For some reason now i am unable to see non of the object counters related to sql server in performance monitor..
The error it records in event viewer is as follows..
The description for Event ID[1001] in Source [ SQLCTR70] could not be found.
It contains the following insertion string[s]: SQL Performance DLL Open function failed..
help is greatly appericated...
thanks indeed
jessi...
View 3 Replies
View Related
Nov 2, 2000
Hi Everyone...
I cannot see the all the objects related in SQL SERVER Performance Monitor on one of our SQL SERVER..
The thing is before couple of days when i checked i was able to see all the object of sqlserver in performance monitor..
But for some reason I cant see it now..I am able to see only related to operation system..
Can anyone help me out.. to get back the sql server object in performance monitor..
Help is greatly appericated..
Thanks indeed
jessi..
View 2 Replies
View Related
Jul 6, 2000
We have SQL Server 7.0 running on a NT 4 sp6 server and non of its items track in performance monitor. Under the SQL program tab, when performance monitor is clicked, it comes up and has items for SQL, but they all track as zero. You can "add" other items such as processor items and they track fine. Any ideas???
Thanks in advance!
Ray Peterson
EPA Seattle
206-553-1682
peterson.ray@epa.gov
View 3 Replies
View Related
Jul 9, 1999
The SQL server perfmon counters are missing from one of my MSSQL 7.0 servers - they do appear in others just fine.
Can anyone tell me what is wrong and/or how I can add the counters? I have seen archieve notes on this topic but can't access them for some reason (page appears blank when I click on link)
I am using perfmon to remotely monitor the problem server. My login has sysadmin permissions and is an NT admin. on both the server and the monitoring client. The login account for MSSQL server and SQL Agent services are both sysadmins.
Many thanks
View 1 Replies
View Related
Mar 7, 2001
I need help in anyone with this problem.
I started out with trying to get to know the existing SQL Servers (6.5 and 7.0). I am missing some Performance Monitor objects (ie SQL Server: Buffer Manager, SQL Server: General Statistics, etc). I am surprised that it is missing.
A typical SQL Server setup:
* NT 4 with SP6
* SQL Server 7 (standard) with SP2
* 2gig Mem
* Over 50gig HD
Does any of you ever have this problem? Any solutions? Any answer would be greatly appreciated.
Thanks.
mjt
View 1 Replies
View Related
Nov 23, 1999
I am experiencing problems gathering Stats from Performance Monitor on SQL Server. I am running NT4 with SP5 applied, with SQL Server 7.00.699 . My problem is that I can use the "Performance Monitor" under the Microsoft SQL Server 7.0 sub-menu (Start Menu) to monitor the SQL Server Stats on my machine, but I am unable to monitor any of the servers in our enterprise. Performance Monitor does not even list the SQL Server Object. Does anyone have any suggestions please?
View 2 Replies
View Related
Aug 20, 2003
Im missing all SQL Server counters in the Performance Monitor
and have looked at article: http://support.microsoft.com/default.aspx?scid=http://support.microsoft.com:80/support/kb/articles/Q196/6/57.ASP&NoWebContent=1
but this article refers to SQL 7...I have 2K with SP3 and MS03-031
How can I get my counters ? thanks
View 13 Replies
View Related
Jan 12, 1999
Hi, I am trying to set up an auto dump for Transaction log using performance monitor ( Log space used(%) )... Although I followed the steps, it did not work... can anyone tell me what am I doing wrong ?
1. create an error # using Server/message/New etc...
2. Defined sql exec alert : right click sql exective/manage alerts/operators..
3. Defined performance monitor using add to alert and set Alert if radio botton to over %80.and Run_Program on Alert: c:mssqlinnE 5555 /T /S servername
then I inset 2000 rows is a table I still get :
Msg 1105, Level 17, State 1
Can't allocate space for object 'publishers' in database 'test' because the 'default' segment is full. If you ran out of space in Syslogs, dump the transaction log. Otherwise, use ALTER DATABASE or sp_extendsegment to increase the size of the segment.
I thought what I did is the right thing to do, but it seems that I am doing something wrong, Please help.
Thanks
Ali
View 1 Replies
View Related
Mar 11, 1999
Does any one know, how I can add SQLServer performance monitoring counters back on my NT server. For some reason I am missing these counters. I really do not want to reinstall either the NT OS or SQL OS if there is anyway to aviod this.
Thanks
View 1 Replies
View Related
Nov 4, 1998
I am running performance monitor on a number of servers without any problems, however on one server, when I select SQL Server Log, It does not show a list of the available db's under the instances.
Other counters, say under SQL Server appear fine.
The server is running SQL 6.5 sp 4, I am running the monitor from an NT 4 Workstation, with full administrator rights on the server.
Thanks in advance for any help
(I have tried MS Tech Sup Online and can find no hits for this one)
View 2 Replies
View Related
Jul 2, 2004
On some of my database servers, there are SQL Server counters in Performance Monitor. On other servers these are not present. How can I turn these on?
I know with the disc counters you need to explicitly enable them:
diskperf -yv
Is there a parallel for SQL Server? I don't remember doing anything to get them working on the servers that have them. All online articles seem to assume that they just exist.
TIA!
View 11 Replies
View Related
Jan 12, 2004
I've always assumed SQL Server performance monitor counters get automatically installed when SQL Server is installed. I recently installed SQL Server on a remote server and noticed the SQL Server performance monitor counters do not appear in Perfmon. Aren't these counters automatically installed during setup?
Dave
View 3 Replies
View Related
Dec 18, 2000
SQL 6.5 had counters for monitoring SQL licenses. Where did Microsoft hide them in SQL 7.0? Or did they just disappear? If they are gone, is anyone doing anything to monitor the licenses with something like perfmon? User Connections doesn't help because the application takes several and not always the same number of user connections for one license.
View 2 Replies
View Related
Feb 8, 1999
hi, Does anyone have done this before. if so, please enlight me with your experience
Ali
View 1 Replies
View Related