Automating Dump Transaction Log Using Performance Monitor

Feb 8, 1999

hi, Does anyone have done this before. if so, please enlight me with your experience

Ali

View 1 Replies


ADVERTISEMENT

Using Performance Monitor To Dump Transaction Log

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

Setup And Upgrade :: Activity Monitor Shuts Down If Connect To Instance Its Monitoring With Performance Monitor

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

SQL Server Dump (non-yielding Recource Monitor) (AdjustTokenPrivileges () Failed)

May 19, 2008



Hi all,
On our production server once in a while i found the following dump:

---> SQLDump0005.log
Using 'dbghelp.dll' version '4.0.5'
2008-05-14 06:33:28.65 Server **Dump thread - spid = 0, PSS = 0x0000000000000000, EC = 0x0000000000000000
2008-05-14 06:33:28.67 Server ***Stack Dump being sent to E:Microsoft SQL ServerMSSQL.1MSSQLLOGSQLDump0005.txt
2008-05-14 06:33:28.67 Server * *******************************************************************************
2008-05-14 06:33:28.67 Server *
2008-05-14 06:33:28.67 Server * BEGIN STACK DUMP:
2008-05-14 06:33:28.67 Server * 05/14/08 06:33:28 spid 0
2008-05-14 06:33:28.67 Server *
2008-05-14 06:33:28.67 Server * Non-yielding Resource Monitor
2008-05-14 06:33:28.67 Server *
2008-05-14 06:33:28.67 Server * *******************************************************************************
2008-05-14 06:33:28.67 Server * -------------------------------------------------------------------------------
2008-05-14 06:33:28.67 Server * Short Stack Dump
2008-05-14 06:33:28.88 Server Stack Signature for the dump is 0x00000000000003F3

---> sqldumper_errorlog.log
05/14/08 06:33:30, ERROR , SQLDUMPER_UNKNOWN_APP.EXE, AdjustTokenPrivileges () failed (00000514)
05/14/08 06:33:30, ACTION, SQLDUMPER_UNKNOWN_APP.EXE, Input parameters: 4 supplied
05/14/08 06:33:30, ACTION, SQLDUMPER_UNKNOWN_APP.EXE, ProcessID = 4784
05/14/08 06:33:30, ACTION, SQLDUMPER_UNKNOWN_APP.EXE, ThreadId = 0
05/14/08 06:33:30, ACTION, SQLDUMPER_UNKNOWN_APP.EXE, Flags = 0x0
05/14/08 06:33:30, ACTION, SQLDUMPER_UNKNOWN_APP.EXE, MiniDumpFlags = 0x0
05/14/08 06:33:30, ACTION, SQLDUMPER_UNKNOWN_APP.EXE, SqlInfoPtr = 0x00000000031421E8
05/14/08 06:33:30, ACTION, SQLDUMPER_UNKNOWN_APP.EXE, DumpDir = <NULL>
05/14/08 06:33:30, ACTION, SQLDUMPER_UNKNOWN_APP.EXE, ExceptionRecordPtr = 0x0000000000000000
05/14/08 06:33:30, ACTION, SQLDUMPER_UNKNOWN_APP.EXE, ContextPtr = 0x0000000000000000
05/14/08 06:33:30, ACTION, SQLDUMPER_UNKNOWN_APP.EXE, ExtraFile = <NULL>
05/14/08 06:33:30, ACTION, SQLDUMPER_UNKNOWN_APP.EXE, InstanceName = <NULL>
05/14/08 06:33:30, ACTION, SQLDUMPER_UNKNOWN_APP.EXE, ServiceName = <NULL>
05/14/08 06:33:30, ACTION, SQLDUMPER_UNKNOWN_APP.EXE, Dump is associated with file E:Microsoft SQL ServerMSSQL.1MSSQLLOGSQLDump0005.txt
05/14/08 06:33:30, ACTION, SQLDUMPER_UNKNOWN_APP.EXE, Callback type 11 not used
05/14/08 06:33:30, ACTION, SQLDUMPER_UNKNOWN_APP.EXE, Callback type 15 not used
05/14/08 06:33:32, ACTION, SQLDUMPER_UNKNOWN_APP.EXE, Callback type 7 not used
05/14/08 06:33:32, ACTION, SQLDUMPER_UNKNOWN_APP.EXE, MiniDump completed: E:Microsoft SQL ServerMSSQL.1MSSQLLOGSQLDump0005.mdmp
05/14/08 06:33:32, ACTION, sqlservr.exe, Watson Invoke: No

Looks like there is some missing user privilege in group policy for sql server service account (not local admin) ??
Does any1 can shine some light.

Help is highly appreciated.
TIA
acki4711

View 5 Replies View Related

Automating Transaction Log Dumps

May 5, 1999

I am testing a procedure to automate the transaction log dump. I am following the steps located in Chapter 22 of the Microsoft SQL Server Administrator's Companion ("Automatic Transaction Log Dumps Using Performance Monitor"). The alert in Performance Monitor appears to be starting when the log is 75% full, but the alert is not firing off the file that contains the dump transaction sql command. For the 'Run Program on Alert' box this is what I have: isql -Ssvrname -Usa -P -id:appsmssqlinndump.sql
The dump.sql file contains: 'dump transaction pubs with no_log'

I have also tried the following 4 steps: 1) Created a SQL Alert Messsage, 2) Created an NT Performance Monitor Threshold Alert to run sqlalrtr to issue a certain error when the pubs log is 75% full, 3) Created a TSQL Task, and 4) Created a SQL Server Alert to run the Task created in step 3. This appears to do the same thing. The Alert is fired off, but the Task is never executed. Note: I am able to execute the task from within the Schedule Tasks Window.

I am using Standard Security with SQL Server 6.5 (sp5a) running on NT4.
Thanks for you help in advance.

View 2 Replies View Related

Dump Transaction Log

Feb 22, 1999

Hi,

I need to dump transaction log every night. Before I do that I'd like to check those open transactions and kill the ones not part of sa or SQL server dba's activity. How can I achieve this?

Thanks in advance.

May

View 1 Replies View Related

Dump Transaction Log Difficult??

Jan 4, 2000

Hello:

I am working with an application in mssql 65.5, with sp4.

I have the database option 'truncatelog on checkpoint' set, there are no transaction log dumps taken at this time.

We plan now that y2k is over to upgrade to sp 5a. I am not not sure the new configuration
parameter 'logLRU buffers'(I don't have the sp5a readme text with me now) in our situation.

Here is our situtation with the transaction logs: The log, mostly with month-end high actvity,
fills up when long-running, high activity transactions are run.
The log gets to 100% sometimes rather quickly and sometimes near that or above 80%easily.
We check with dbcc open tran and there are no current transaction running. We expand the log just a little.

But it still shows 100@ used when we run dbcc sqlperf (logspace).

Here's the rub: when we try to dump the log, with wither or both back-to-back: dump tran abcdb
with truncate_only and then dump tran with no_log still nothing happens.

Sometimes we stop and start the mssql server and that helps but not always and sometimes when
we are really desperate we stop/start the NT server box(at off hours). Sometimes, the transaction log
reduces to nearly 0% used when we run dbcc sqlperf (logspace) and sometimes not. So we run dump tran
a couple of more times. We wait for several minutes usually to if the dump tan started and if it shows up
under EM under curent activity


This is becoming very frustrating and dangerous as well.

1) has any one had similar experiences with mssql 6.5 sp4?

2) Can anyone advise what we can do to more easily to dump the transaction log? Are we doing
any thing really wrong?

3) Would upgrading to sp 5a really help or should we just start planning upgrading to mssql 7.0?

Any suggestiosn you can furnish will be helpful. Thanks.

David Spaisman

View 1 Replies View Related

Dump Transaction Didn&#39;t

Jan 14, 1999

I have a transaction log that is 80% full and will not dump. I have used the "dump transaction dbname with no_log" command. It return the usual "This command did not return data, and it did not return any rows". However, this didn't do anything. The transaction log is still full. I don't want to restart the server if I don't have to. Any ideas?

View 5 Replies View Related

MS SQL SERVER 65. - Dump Of Transaction Log

Aug 5, 1998

is there any way to monitor the space utilisation of log space and if it crosses 60% or above, dump the transaction log, effectively....

i tried some of the things, given below.

1. script to monitor the space used of log using dbcc sqlperf(logspace) and check if crosses 60 % and dump the transaction into disk file and execute this script through a schedule task running every minute.

2. same result thro using sql server performance monitor.

View 5 Replies View Related

Transaction Log Dump After Differential Backup

Jan 23, 2008

I am doing a differential backup every night with t-log backups every 15 mins. The differential backup occurs at 3:00a and is about 300 MB. The very next t-log backup at 3:15a is also about 300 MB instead of the usual 1 - 2 MB. Why is this and how can I avoid it? Is this just how SQL Server works? Do I have to do a full backup every night instead? Thanks in advance for your help.

- Michael

View 9 Replies View Related

Dump/Trucate Tempdb Transaction Log (28Gb)

Jul 1, 1999

I have a 28Gb temp db transaction log which I want to dump halfway through a process, I have tried;

dump tran tempdb with no_log

which seems to have little effect.

Thanks for your help.

Andy

View 1 Replies View Related

LOG DEVICE FULL EVEN AFTER ISSUING DUMP TRANSACTION

Mar 3, 1999

I issued the following statement on my database as my log file showed 100% full.
However after running this command and also running it again after expanding the size
to almost double the value of both my database log and data devices it still shows the log as being 100% full.

DUMP TRANSACTION <database> WITH TRUNCATE_ONLY (and also used the NO_LOG option).

So can anyone tell me whats going wrong here? I should note that I am still able to enter data into the database without
any errors.

View 1 Replies View Related

Performance Monitor

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

Performance Monitor

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

Performance Monitor

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

NT Performance Monitor

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

Performance Monitor

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

Sql Performance Monitor

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

Performance Monitor Question

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

Logical IO And Performance Monitor

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

SQL Performance Monitor Problem

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

Performance Monitor Objects Not Available

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

No SQL Performance Monitor Counters

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

Performance Monitor - No SQL Server Object

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

Question To GURU On SQL PERFORMANCE MONITOR..

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

Intresting Question On Performance Monitor

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

SQL Server Items Not Available In Performance Monitor

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

Missing Performance Monitor Counters

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

Missing Performance Monitor Objects....

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

SQL Server Object In NT Performance Monitor

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

Missing Counters In Performance Monitor

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

Missong SQL Counters On The NT Performance Monitor

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

Performance Monitor Missing Instances

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







Copyrights 2005-15 www.BigResource.com, All rights reserved