Showing posts with label log. Show all posts
Showing posts with label log. Show all posts

Wednesday, March 28, 2012

Precedence "Completion" operation

I have three sequence containers setup to run in parallel. I have a final step that parses the log file and displays results, and I want to this to occur when all three containers have completed, success or failure. I therefore have a constraint from each container that feeds into my final step, and all three constraint types are set to "completion".

When I run the package and one of the tasks within a container fails (and fails its parent, but not the package) the final step is not executed.

If I take off all the constraints except one, the final step is executed as expected.

I am using checkpointing if that has any impact. Disabling it makes no difference.

Any thoughts/alternatives I might try?

thanks

not sure about this...but have looked at the MaximunErrorCount property at the package level?|||

Post parallel tasks not excuting despite completion precedence constraints(s). This sounds like you're using FailPackageOnFailure. Are you?

If a task fails and you've sett FailPackageOnFailure on it, or something in its container hierarchy, the parallel tasks that have already started will still continue post failure. But, from the point the FailPackageOnError is hit, no other task will be started, including the task to which you've linked up the Completion precedence constraints.

FailPackageOnFailure trumps any constraint.

|||

jaegd wrote:

FailPackageOnFailure trumps any constraint.

That was the problem. Removed that setting and now the constraints behave as expected.

Thanks a lot!

Monday, March 26, 2012

Prcess could not execute 'sp_MSadd_repl_commands27hp'

Hello all,
Our log reader agent is failing at times with the error "The process could
not execute 'sp_MSadd_repl_commands27hp' on 'DistributorServerName'...
We have custom distribution agents that have -CommitBatchSize = 500 and
-CommitBatchThreshold = 1000...
I'm also noticing that our distribution agent cleanup agent progressively
takes longer through our peak. From 10 minutes to close to an hour...
So I'm thinking we are having contention between the distribution db cleanup
and maybe our -CommitBatchSize...
Any recommendations?
Thanks!
Stop the distribution agent and run the log reader agent again. You may need
to enable logging and post the results back here if the condition does not
clear.
Hilary Cotter
Director of Text Mining and Database Strategy
RelevantNOISE.Com - Dedicated to mining blogs for business intelligence.
This posting is my own and doesn't necessarily represent RelevantNoise's
positions, strategies or opinions.
Looking for a SQL Server replication book?
http://www.nwsu.com/0974973602.html
Looking for a FAQ on Indexing Services/SQL FTS
http://www.indexserverfaq.com
"BATMAN" <BATMAN@.discussions.microsoft.com> wrote in message
news:8A5EB566-D904-4335-ABF8-9BA387671F73@.microsoft.com...
> Hello all,
> Our log reader agent is failing at times with the error "The process could
> not execute 'sp_MSadd_repl_commands27hp' on 'DistributorServerName'...
> We have custom distribution agents that have -CommitBatchSize = 500 and
> -CommitBatchThreshold = 1000...
> I'm also noticing that our distribution agent cleanup agent progressively
> takes longer through our peak. From 10 minutes to close to an hour...
> So I'm thinking we are having contention between the distribution db
> cleanup
> and maybe our -CommitBatchSize...
> Any recommendations?
> Thanks!
|||OK... Here is what is in the log... It goes from working fine to throwing
errors to working fine again:
...
Status: 16384, code: 20007, text: 'No replicated transactions are available.'.
Status: 2, code: 1003, text: 'The process could not execute
'sp_MSadd_repl_commands27hp' on 'DistServerName'.'.
The process could not execute 'sp_MSadd_repl_commands27hp' on
'DistServerName'.
Status: 2, code: 1003, text: 'Timeout expired'.
Status: 0, code: 22020, text: 'Batches were not committed to the
Distributor.'.
The agent failed with a 'Retry' status. Try to run the agent at a later time.
Status: 4096, code: 20024, text: 'Initializing'.
Status: 4, code: 20051, text: 'Delivering replicated transactions'.
Status: 2, code: 1003, text: 'The process could not execute
'sp_MSadd_repl_commands27hp' on 'DistServerName'.'.
The process could not execute 'sp_MSadd_repl_commands27hp' on
'DistServerName'.
Status: 2, code: 1003, text: 'Timeout expired'.
Status: 0, code: 2000, text: 'IDistPut Interface has been shut down.'.
The agent failed with a 'Retry' status. Try to run the agent at a later time.
Status: 4096, code: 20024, text: 'Initializing'.
Status: 4, code: 20051, text: 'Delivering replicated transactions'.
...
Thanks!
Michael
"Hilary Cotter" wrote:

> Stop the distribution agent and run the log reader agent again. You may need
> to enable logging and post the results back here if the condition does not
> clear.
> --
> Hilary Cotter
> Director of Text Mining and Database Strategy
> RelevantNOISE.Com - Dedicated to mining blogs for business intelligence.
> This posting is my own and doesn't necessarily represent RelevantNoise's
> positions, strategies or opinions.
> Looking for a SQL Server replication book?
> http://www.nwsu.com/0974973602.html
> Looking for a FAQ on Indexing Services/SQL FTS
> http://www.indexserverfaq.com
>
> "BATMAN" <BATMAN@.discussions.microsoft.com> wrote in message
> news:8A5EB566-D904-4335-ABF8-9BA387671F73@.microsoft.com...
>
>
|||At the time the below error occured, the "Distribution clean up:
distribution" job was running:
...
Status: 2, code: 1003, text: 'The process could not execute
'sp_MSadd_repl_commands27hp' on 'ANETREPUBVSQL1F'.'.
The process could not execute 'sp_MSadd_repl_commands27hp' on
'DistServerName'.
Status: 2, code: 1003, text: 'Timeout expired'.
Status: 0, code: 22020, text: 'Batches were not committed to the
Distributor.'.
The agent failed with a 'Retry' status. Try to run the agent at a later time.
...
As I noticed before, our distribution cleanup takes 30-50 minutes to
complete during peak traffic.
Thanks,
Michael
"Hilary Cotter" wrote:

> Stop the distribution agent and run the log reader agent again. You may need
> to enable logging and post the results back here if the condition does not
> clear.
> --
> Hilary Cotter
> Director of Text Mining and Database Strategy
> RelevantNOISE.Com - Dedicated to mining blogs for business intelligence.
> This posting is my own and doesn't necessarily represent RelevantNoise's
> positions, strategies or opinions.
> Looking for a SQL Server replication book?
> http://www.nwsu.com/0974973602.html
> Looking for a FAQ on Indexing Services/SQL FTS
> http://www.indexserverfaq.com
>
> "BATMAN" <BATMAN@.discussions.microsoft.com> wrote in message
> news:8A5EB566-D904-4335-ABF8-9BA387671F73@.microsoft.com...
>
>
|||Stop the distribution clean up task until your log reader has processed all
of your commands in the log. Set readbatchsize to 500 and the querytimeout
and log timeout to something large - I would try 300. These settings are for
your log reader agent.
Hilary Cotter
Looking for a SQL Server replication book?
http://www.nwsu.com/0974973602.html
Looking for a FAQ on Indexing Services/SQL FTS
http://www.indexserverfaq.com
"BATMAN" <BATMAN@.discussions.microsoft.com> wrote in message
news:F303B3EA-3B82-4F6B-AF9B-23386530C0F9@.microsoft.com...[vbcol=seagreen]
> At the time the below error occured, the "Distribution clean up:
> distribution" job was running:
> ----
> ...
> Status: 2, code: 1003, text: 'The process could not execute
> 'sp_MSadd_repl_commands27hp' on 'ANETREPUBVSQL1F'.'.
> The process could not execute 'sp_MSadd_repl_commands27hp' on
> 'DistServerName'.
> Status: 2, code: 1003, text: 'Timeout expired'.
> Status: 0, code: 22020, text: 'Batches were not committed to the
> Distributor.'.
> The agent failed with a 'Retry' status. Try to run the agent at a later
> time.
> ...
> ----
> As I noticed before, our distribution cleanup takes 30-50 minutes to
> complete during peak traffic.
> Thanks,
> Michael
>
>
> "Hilary Cotter" wrote:
|||The default Log Reader agent profile has a -ReadBatchSize of 500 and a
-QueryTimeout of 300 already...
So when you say "log timeout to something large - I would try 300", are you
meaning the QueryTimeout? Again, FYI... This is SQL 2000.
Anyway, I upped the QueryTimeout to 600 and I'm still getting the timeout...
Thanks,
Michael
"Hilary Cotter" wrote:

> Stop the distribution clean up task until your log reader has processed all
> of your commands in the log. Set readbatchsize to 500 and the querytimeout
> and log timeout to something large - I would try 300. These settings are for
> your log reader agent.
> --
> Hilary Cotter
> Looking for a SQL Server replication book?
> http://www.nwsu.com/0974973602.html
> Looking for a FAQ on Indexing Services/SQL FTS
> http://www.indexserverfaq.com
>
> "BATMAN" <BATMAN@.discussions.microsoft.com> wrote in message
> news:F303B3EA-3B82-4F6B-AF9B-23386530C0F9@.microsoft.com...
>
>
|||OK... I upped the QueryTimout to 1800 and I got the error "The agent is
suspect. No response within last 10 minutes."...
Thanks,
Michael
"BATMAN" wrote:
[vbcol=seagreen]
> The default Log Reader agent profile has a -ReadBatchSize of 500 and a
> -QueryTimeout of 300 already...
> So when you say "log timeout to something large - I would try 300", are you
> meaning the QueryTimeout? Again, FYI... This is SQL 2000.
> Anyway, I upped the QueryTimeout to 600 and I'm still getting the timeout...
> Thanks,
> Michael
>
> "Hilary Cotter" wrote:

Friday, March 23, 2012

Power failure using simple mode transaction Log

Any comments about what happens when we get a power failure using simple mode
transaction Log?
I had 3 Power failure and there has not been any problems with the data.
The auto recuperation informs that 5343 rows where commited and 0 rolled back.
Can I expect this behaviour in the future? (another power failure).
Note that I have a UPS, but I didn't have time to shutdown properly.
Run DBCC CHECKDB if you haven't already.
You should configure your UPS to shutdown the server automatically after N
minutes of power failure.
David Portas
SQL Server MVP
|||If you have hardware write cache, you need to make sure it is properly backed up, and follows a
certain set of rules. If it does, the database should not go corrupt because of a power failure. If
you don't have hardware write cache, then you probably don't have battery backup and you can see a
torn page. See http://www.microsoft.com/technet/pro...lIObasics.mspx for
full information.
Tibor Karaszi, SQL Server MVP
http://www.karaszi.com/sqlserver/default.asp
http://www.solidqualitylearning.com/
Blog: http://solidqualitylearning.com/blogs/tibor/
"juan carlos via droptable.com" <forum@.droptable.com> wrote in message
news:51122050ED1E0@.droptable.com...
> Any comments about what happens when we get a power failure using simple mode
> transaction Log?
> I had 3 Power failure and there has not been any problems with the data.
> The auto recuperation informs that 5343 rows where commited and 0 rolled back.
>
> Can I expect this behaviour in the future? (another power failure).
> Note that I have a UPS, but I didn't have time to shutdown properly.

Power failure using simple mode transaction Log

Any comments about what happens when we get a power failure using simple mod
e
transaction Log?
I had 3 Power failure and there has not been any problems with the data.
The auto recuperation informs that 5343 rows where commited and 0 rolled bac
k.
Can I expect this behaviour in the future? (another power failure).
Note that I have a UPS, but I didn't have time to shutdown properly.Run DBCC CHECKDB if you haven't already.
You should configure your UPS to shutdown the server automatically after N
minutes of power failure.
David Portas
SQL Server MVP
--|||If you have hardware write cache, you need to make sure it is properly backe
d up, and follows a
certain set of rules. If it does, the database should not go corrupt because
of a power failure. If
you don't have hardware write cache, then you probably don't have battery ba
ckup and you can see a
torn page. See http://www.microsoft.com/technet/pr...>
Obasics.mspx for
full information.
Tibor Karaszi, SQL Server MVP
http://www.karaszi.com/sqlserver/default.asp
http://www.solidqualitylearning.com/
Blog: http://solidqualitylearning.com/blogs/tibor/
"juan carlos via droptable.com" <forum@.droptable.com> wrote in message
news:51122050ED1E0@.droptable.com...
> Any comments about what happens when we get a power failure using simple m
ode
> transaction Log?
> I had 3 Power failure and there has not been any problems with the data.
> The auto recuperation informs that 5343 rows where commited and 0 rolled b
ack.
>
> Can I expect this behaviour in the future? (another power failure).
> Note that I have a UPS, but I didn't have time to shutdown properly.

Power failure using simple mode transaction Log

Any comments about what happens when we get a power failure using simple mode
transaction Log?
I had 3 Power failure and there has not been any problems with the data.
The auto recuperation informs that 5343 rows where commited and 0 rolled back.
Can I expect this behaviour in the future? (another power failure).
Note that I have a UPS, but I didn't have time to shutdown properly.Run DBCC CHECKDB if you haven't already.
You should configure your UPS to shutdown the server automatically after N
minutes of power failure.
--
David Portas
SQL Server MVP
--|||If you have hardware write cache, you need to make sure it is properly backed up, and follows a
certain set of rules. If it does, the database should not go corrupt because of a power failure. If
you don't have hardware write cache, then you probably don't have battery backup and you can see a
torn page. See http://www.microsoft.com/technet/prodtechnol/sql/2000/maintain/sqlIObasics.mspx for
full information.
--
Tibor Karaszi, SQL Server MVP
http://www.karaszi.com/sqlserver/default.asp
http://www.solidqualitylearning.com/
Blog: http://solidqualitylearning.com/blogs/tibor/
"juan carlos via SQLMonster.com" <forum@.SQLMonster.com> wrote in message
news:51122050ED1E0@.SQLMonster.com...
> Any comments about what happens when we get a power failure using simple mode
> transaction Log?
> I had 3 Power failure and there has not been any problems with the data.
> The auto recuperation informs that 5343 rows where commited and 0 rolled back.
>
> Can I expect this behaviour in the future? (another power failure).
> Note that I have a UPS, but I didn't have time to shutdown properly.sql

Potential issues with backing up to a network share

Hi
What potential issues can you think of or have run into when making
transaction log backups into a single file on a network share. The
MSSQLSERVER service is running under a domain user account, which has
apropriate permissions on the shared folder. The backup is made from a
database in an MS SQL Server 2000 SP3 on an MS Windows Server 2003 SP1 and
the file is stored on an MS Windows 2000 Server SP4.
Many thanks,
OskarIt's slow. If you have a busy OLTP and a large tran file, you can get
memory pressure during the backup. That being said we do it on many of our
servers.
"Oskar" <Oskar@.discussions.microsoft.com> wrote in message
news:ED49A03D-1FBC-42D2-84FA-C7987C0DF005@.microsoft.com...
> Hi
> What potential issues can you think of or have run into when making
> transaction log backups into a single file on a network share. The
> MSSQLSERVER service is running under a domain user account, which has
> apropriate permissions on the shared folder. The backup is made from a
> database in an MS SQL Server 2000 SP3 on an MS Windows Server 2003 SP1 and
> the file is stored on an MS Windows 2000 Server SP4.
> --
> Many thanks,
> Oskar
>sql

Potential issues with backing up to a network share

Hi
What potential issues can you think of or have run into when making
transaction log backups into a single file on a network share. The
MSSQLSERVER service is running under a domain user account, which has
apropriate permissions on the shared folder. The backup is made from a
database in an MS SQL Server 2000 SP3 on an MS Windows Server 2003 SP1 and
the file is stored on an MS Windows 2000 Server SP4.
Many thanks,
Oskar
It's slow. If you have a busy OLTP and a large tran file, you can get
memory pressure during the backup. That being said we do it on many of our
servers.
"Oskar" <Oskar@.discussions.microsoft.com> wrote in message
news:ED49A03D-1FBC-42D2-84FA-C7987C0DF005@.microsoft.com...
> Hi
> What potential issues can you think of or have run into when making
> transaction log backups into a single file on a network share. The
> MSSQLSERVER service is running under a domain user account, which has
> apropriate permissions on the shared folder. The backup is made from a
> database in an MS SQL Server 2000 SP3 on an MS Windows Server 2003 SP1 and
> the file is stored on an MS Windows 2000 Server SP4.
> --
> Many thanks,
> Oskar
>

Potential issues with backing up to a network share

Hi
What potential issues can you think of or have run into when making
transaction log backups into a single file on a network share. The
MSSQLSERVER service is running under a domain user account, which has
apropriate permissions on the shared folder. The backup is made from a
database in an MS SQL Server 2000 SP3 on an MS Windows Server 2003 SP1 and
the file is stored on an MS Windows 2000 Server SP4.
--
Many thanks,
OskarIt's slow. If you have a busy OLTP and a large tran file, you can get
memory pressure during the backup. That being said we do it on many of our
servers.
"Oskar" <Oskar@.discussions.microsoft.com> wrote in message
news:ED49A03D-1FBC-42D2-84FA-C7987C0DF005@.microsoft.com...
> Hi
> What potential issues can you think of or have run into when making
> transaction log backups into a single file on a network share. The
> MSSQLSERVER service is running under a domain user account, which has
> apropriate permissions on the shared folder. The backup is made from a
> database in an MS SQL Server 2000 SP3 on an MS Windows Server 2003 SP1 and
> the file is stored on an MS Windows 2000 Server SP4.
> --
> Many thanks,
> Oskar
>

Potential issue with DTS and Log Shipping

Hi everyone.

I have a question that maybe some of you may be able to shed some light
on. My set up involves three SQL Server Databases. First one, used by
the application. Second, copy of first via log shipping. Third,
contains data aggregation from the Second. Now, my issue is that I
have a DTS packagage that (COPY SQL SERVER OBJECTS) that copys select
tables from the second DB, into the third. The issue lies when the DTS
package executes, everyonce in a while it errors out. I'm assuming
it's an error due to the log shipping restore on the second database.
Are there any solutions to this?

TIA<guevara_81@.yahoo.com> wrote in message
news:1104855148.496261.221680@.z14g2000cwz.googlegr oups.com...
> Hi everyone.
> I have a question that maybe some of you may be able to shed some light
> on. My set up involves three SQL Server Databases. First one, used by
> the application. Second, copy of first via log shipping. Third,
> contains data aggregation from the Second. Now, my issue is that I
> have a DTS packagage that (COPY SQL SERVER OBJECTS) that copys select
> tables from the second DB, into the third. The issue lies when the DTS
> package executes, everyonce in a while it errors out. I'm assuming
> it's an error due to the log shipping restore on the second database.
> Are there any solutions to this?
> TIA

One possible solution could be to check DATABASEPROPERTYEX('MyDB', 'Status')
either before executing the package or within the package itself - if it
isn't online then you can wait for an appropriate period of time and try
again.

Simon|||Thanks! That's a HUGE help.

thanks again.

-A

Monday, March 12, 2012

possible undetected deadlock

I'm receiving this in my SQL server event log. Although I have trace flag 2004 enabled, this is all that I see in the SQL log.
Victim Resource Owner:
ResType:ExchangeId Stype:'AND' SPID:80 ECID:175 Ec0x2DD8A098) Value:0x2d5a8c98 Cost0/270F)
I am running SQL 2000, build 840, on Windows server 2003. Also, I have SQL
configured to use 14GB from a total of 16GB on the server.
Does anyone have any suggestions for how to address this?
I'm no expert on the log entry, but the word 'Victim' suggests to me that
this is not a deadlock, since SQL Server has chosen one of the transactions
as victim?
"ET" <et@.et.com> wrote in message
news:e2wuOHHKEHA.3944@.tk2msftngp13.phx.gbl...
I'm receiving this in my SQL server event log. Although I have trace flag
2004 enabled, this is all that I see in the SQL log.
Victim Resource Owner:
ResType:ExchangeId Stype:'AND' SPID:80 ECID:175 Ec0x2DD8A098)
Value:0x2d5a8c98 Cost0/270F)
I am running SQL 2000, build 840, on Windows server 2003. Also, I have SQL
configured to use 14GB from a total of 16GB on the server.
Does anyone have any suggestions for how to address this?
|||ET,
What made you work with hotfix build 840? With hotfix builds you can never be sure what you are getting.
Chris Wood
Alberta Department of Energy
CANADA
"ET" <et@.et.com> wrote in message news:e2wuOHHKEHA.3944@.tk2msftngp13.phx.gbl...
I'm receiving this in my SQL server event log. Although I have trace flag 2004 enabled, this is all that I see in the SQL log.
Victim Resource Owner:
ResType:ExchangeId Stype:'AND' SPID:80 ECID:175 Ec0x2DD8A098) Value:0x2d5a8c98 Cost0/270F)
I am running SQL 2000, build 840, on Windows server 2003. Also, I have SQL
configured to use 14GB from a total of 16GB on the server.
Does anyone have any suggestions for how to address this?
|||What do you think you are getting with traceflag 2004? The flag for trapping deadlocks is 1204.
What exactly are you trying to address?
HTH
Kalen Delaney
SQL Server MVP
www.SolidQualityLearning.com
"ET" <et@.et.com> wrote in message news:e2wuOHHKEHA.3944@.tk2msftngp13.phx.gbl...
I'm receiving this in my SQL server event log. Although I have trace flag 2004 enabled, this is all that I see in the SQL log.
Victim Resource Owner:
ResType:ExchangeId Stype:'AND' SPID:80 ECID:175 Ec0x2DD8A098) Value:0x2d5a8c98 Cost0/270F)
I am running SQL 2000, build 840, on Windows server 2003. Also, I have SQL
configured to use 14GB from a total of 16GB on the server.
Does anyone have any suggestions for how to address this?
|||Sorry. That was a typo on my part. I meant 1204.
"Kalen Delaney" <replies@.public_newsgroups.com> wrote in message news:#h#bTTIKEHA.2716@.tk2msftngp13.phx.gbl...
What do you think you are getting with traceflag 2004? The flag for trapping deadlocks is 1204.
What exactly are you trying to address?
HTH
Kalen Delaney
SQL Server MVP
www.SolidQualityLearning.com
"ET" <et@.et.com> wrote in message news:e2wuOHHKEHA.3944@.tk2msftngp13.phx.gbl...
I'm receiving this in my SQL server event log. Although I have trace flag 2004 enabled, this is all that I see in the SQL log.
Victim Resource Owner:
ResType:ExchangeId Stype:'AND' SPID:80 ECID:175 Ec0x2DD8A098) Value:0x2d5a8c98 Cost0/270F)
I am running SQL 2000, build 840, on Windows server 2003. Also, I have SQL
configured to use 14GB from a total of 16GB on the server.
Does anyone have any suggestions for how to address this?
|||It was given to me by Microsoft some time ago to resolve an issue we were having at the time.
"Chris Wood" <anonymous@.discussions.microsoft.com> wrote in message news:ORk$LHIKEHA.2888@.TK2MSFTNGP09.phx.gbl...
ET,
What made you work with hotfix build 840? With hotfix builds you can never be sure what you are getting.
Chris Wood
Alberta Department of Energy
CANADA
"ET" <et@.et.com> wrote in message news:e2wuOHHKEHA.3944@.tk2msftngp13.phx.gbl...
I'm receiving this in my SQL server event log. Although I have trace flag 2004 enabled, this is all that I see in the SQL log.
Victim Resource Owner:
ResType:ExchangeId Stype:'AND' SPID:80 ECID:175 Ec0x2DD8A098) Value:0x2d5a8c98 Cost0/270F)
I am running SQL 2000, build 840, on Windows server 2003. Also, I have SQL
configured to use 14GB from a total of 16GB on the server.
Does anyone have any suggestions for how to address this?
|||You must be using replication.
Chris
"ET" <et@.et.com> wrote in message news:%23ZgYHcIKEHA.3592@.TK2MSFTNGP09.phx.gbl...
It was given to me by Microsoft some time ago to resolve an issue we were having at the time.
"Chris Wood" <anonymous@.discussions.microsoft.com> wrote in message news:ORk$LHIKEHA.2888@.TK2MSFTNGP09.phx.gbl...
ET,
What made you work with hotfix build 840? With hotfix builds you can never be sure what you are getting.
Chris Wood
Alberta Department of Energy
CANADA
"ET" <et@.et.com> wrote in message news:e2wuOHHKEHA.3944@.tk2msftngp13.phx.gbl...
I'm receiving this in my SQL server event log. Although I have trace flag 2004 enabled, this is all that I see in the SQL log.
Victim Resource Owner:
ResType:ExchangeId Stype:'AND' SPID:80 ECID:175 Ec0x2DD8A098) Value:0x2d5a8c98 Cost0/270F)
I am running SQL 2000, build 840, on Windows server 2003. Also, I have SQL
configured to use 14GB from a total of 16GB on the server.
Does anyone have any suggestions for how to address this?
|||No
"Chris Wood" <anonymous@.discussions.microsoft.com> wrote in message news:u4yS86IKEHA.1388@.TK2MSFTNGP09.phx.gbl...
You must be using replication.
Chris
"ET" <et@.et.com> wrote in message news:%23ZgYHcIKEHA.3592@.TK2MSFTNGP09.phx.gbl...
It was given to me by Microsoft some time ago to resolve an issue we were having at the time.
"Chris Wood" <anonymous@.discussions.microsoft.com> wrote in message news:ORk$LHIKEHA.2888@.TK2MSFTNGP09.phx.gbl...
ET,
What made you work with hotfix build 840? With hotfix builds you can never be sure what you are getting.
Chris Wood
Alberta Department of Energy
CANADA
"ET" <et@.et.com> wrote in message news:e2wuOHHKEHA.3944@.tk2msftngp13.phx.gbl...
I'm receiving this in my SQL server event log. Although I have trace flag 2004 enabled, this is all that I see in the SQL log.
Victim Resource Owner:
ResType:ExchangeId Stype:'AND' SPID:80 ECID:175 Ec0x2DD8A098) Value:0x2d5a8c98 Cost0/270F)
I am running SQL 2000, build 840, on Windows server 2003. Also, I have SQL
configured to use 14GB from a total of 16GB on the server.
Does anyone have any suggestions for how to address this?
|||Ok, so what are you trying to address?
Do you know you have a deadlock? How?
How are you checking the errorlog?
HTH
Kalen Delaney
SQL Server MVP
www.SolidQualityLearning.com
"ET" <et@.et.com> wrote in message news:#KRAzaIKEHA.3628@.TK2MSFTNGP12.phx.gbl...
Sorry. That was a typo on my part. I meant 1204.
"Kalen Delaney" <replies@.public_newsgroups.com> wrote in message news:#h#bTTIKEHA.2716@.tk2msftngp13.phx.gbl...
What do you think you are getting with traceflag 2004? The flag for trapping deadlocks is 1204.
What exactly are you trying to address?
HTH
Kalen Delaney
SQL Server MVP
www.SolidQualityLearning.com
"ET" <et@.et.com> wrote in message news:e2wuOHHKEHA.3944@.tk2msftngp13.phx.gbl...
I'm receiving this in my SQL server event log. Although I have trace flag 2004 enabled, this is all that I see in the SQL log.
Victim Resource Owner:
ResType:ExchangeId Stype:'AND' SPID:80 ECID:175 Ec0x2DD8A098) Value:0x2d5a8c98 Cost0/270F)
I am running SQL 2000, build 840, on Windows server 2003. Also, I have SQL
configured to use 14GB from a total of 16GB on the server.
Does anyone have any suggestions for how to address this?
|||I was reading the errorlog using xp_readerrorlog when I noticed thse entries.
I am trying to determine if this is some type of undetected deadlock that may be degrading performance in some way.
"Kalen Delaney" <replies@.public_newsgroups.com> wrote in message news:esu8SbJKEHA.3920@.TK2MSFTNGP10.phx.gbl...
Ok, so what are you trying to address?
Do you know you have a deadlock? How?
How are you checking the errorlog?
HTH
Kalen Delaney
SQL Server MVP
www.SolidQualityLearning.com
"ET" <et@.et.com> wrote in message news:#KRAzaIKEHA.3628@.TK2MSFTNGP12.phx.gbl...
Sorry. That was a typo on my part. I meant 1204.
"Kalen Delaney" <replies@.public_newsgroups.com> wrote in message news:#h#bTTIKEHA.2716@.tk2msftngp13.phx.gbl...
What do you think you are getting with traceflag 2004? The flag for trapping deadlocks is 1204.
What exactly are you trying to address?
HTH
Kalen Delaney
SQL Server MVP
www.SolidQualityLearning.com
"ET" <et@.et.com> wrote in message news:e2wuOHHKEHA.3944@.tk2msftngp13.phx.gbl...
I'm receiving this in my SQL server event log. Although I have trace flag 2004 enabled, this is all that I see in the SQL log.
Victim Resource Owner:
ResType:ExchangeId Stype:'AND' SPID:80 ECID:175 Ec0x2DD8A098) Value:0x2d5a8c98 Cost0/270F)
I am running SQL 2000, build 840, on Windows server 2003. Also, I have SQL
configured to use 14GB from a total of 16GB on the server.
Does anyone have any suggestions for how to address this?

possible undetected deadlock

I'm receiving this in my SQL server event log. Although I have trace flag 20
04 enabled, this is all that I see in the SQL log.
Victim Resource Owner:
ResType:ExchangeId Stype:'AND' SPID:80 ECID:175 Ec0x2DD8A098) Value:0x2d5a
8c98 Cost0/270F)
I am running SQL 2000, build 840, on Windows server 2003. Also, I have SQL
configured to use 14GB from a total of 16GB on the server.
Does anyone have any suggestions for how to address this?I'm no expert on the log entry, but the word 'Victim' suggests to me that
this is not a deadlock, since SQL Server has chosen one of the transactions
as victim?
"ET" <et@.et.com> wrote in message
news:e2wuOHHKEHA.3944@.tk2msftngp13.phx.gbl...
I'm receiving this in my SQL server event log. Although I have trace flag
2004 enabled, this is all that I see in the SQL log.
Victim Resource Owner:
ResType:ExchangeId Stype:'AND' SPID:80 ECID:175 Ec0x2DD8A098)
Value:0x2d5a8c98 Cost0/270F)
I am running SQL 2000, build 840, on Windows server 2003. Also, I have SQL
configured to use 14GB from a total of 16GB on the server.
Does anyone have any suggestions for how to address this?|||ET,
What made you work with hotfix build 840? With hotfix builds you can never b
e sure what you are getting.
Chris Wood
Alberta Department of Energy
CANADA
"ET" <et@.et.com> wrote in message news:e2wuOHHKEHA.3944@.tk2msftngp13.phx.gbl
..
I'm receiving this in my SQL server event log. Although I have trace flag 20
04 enabled, this is all that I see in the SQL log.
Victim Resource Owner:
ResType:ExchangeId Stype:'AND' SPID:80 ECID:175 Ec0x2DD8A098) Value:0x2d5a
8c98 Cost0/270F)
I am running SQL 2000, build 840, on Windows server 2003. Also, I have SQL
configured to use 14GB from a total of 16GB on the server.
Does anyone have any suggestions for how to address this?|||What do you think you are getting with traceflag 2004? The flag for trapping
deadlocks is 1204.
What exactly are you trying to address?
--
HTH
--
Kalen Delaney
SQL Server MVP
www.SolidQualityLearning.com
"ET" <et@.et.com> wrote in message news:e2wuOHHKEHA.3944@.tk2msftngp13.phx.gbl
..
I'm receiving this in my SQL server event log. Although I have trace flag 20
04 enabled, this is all that I see in the SQL log.
Victim Resource Owner:
ResType:ExchangeId Stype:'AND' SPID:80 ECID:175 Ec0x2DD8A098) Value:0x2d5a
8c98 Cost0/270F)
I am running SQL 2000, build 840, on Windows server 2003. Also, I have SQL
configured to use 14GB from a total of 16GB on the server.
Does anyone have any suggestions for how to address this?|||Sorry. That was a typo on my part. I meant 1204.
"Kalen Delaney" <replies@.public_newsgroups.com> wrote in message news:#h#bTT
IKEHA.2716@.tk2msftngp13.phx.gbl...
What do you think you are getting with traceflag 2004? The flag for trapping
deadlocks is 1204.
What exactly are you trying to address?
--
HTH
--
Kalen Delaney
SQL Server MVP
www.SolidQualityLearning.com
"ET" <et@.et.com> wrote in message news:e2wuOHHKEHA.3944@.tk2msftngp13.phx.gbl
..
I'm receiving this in my SQL server event log. Although I have trace flag 20
04 enabled, this is all that I see in the SQL log.
Victim Resource Owner:
ResType:ExchangeId Stype:'AND' SPID:80 ECID:175 Ec0x2DD8A098) Value:0x2d5a
8c98 Cost0/270F)
I am running SQL 2000, build 840, on Windows server 2003. Also, I have SQL
configured to use 14GB from a total of 16GB on the server.
Does anyone have any suggestions for how to address this?|||It was given to me by Microsoft some time ago to resolve an issue we were ha
ving at the time.
"Chris Wood" <anonymous@.discussions.microsoft.com> wrote in message news:ORk
$LHIKEHA.2888@.TK2MSFTNGP09.phx.gbl...
ET,
What made you work with hotfix build 840? With hotfix builds you can never b
e sure what you are getting.
Chris Wood
Alberta Department of Energy
CANADA
"ET" <et@.et.com> wrote in message news:e2wuOHHKEHA.3944@.tk2msftngp13.phx.gbl
..
I'm receiving this in my SQL server event log. Although I have trace flag 20
04 enabled, this is all that I see in the SQL log.
Victim Resource Owner:
ResType:ExchangeId Stype:'AND' SPID:80 ECID:175 Ec0x2DD8A098) Value:0x2d5a
8c98 Cost0/270F)
I am running SQL 2000, build 840, on Windows server 2003. Also, I have SQL
configured to use 14GB from a total of 16GB on the server.
Does anyone have any suggestions for how to address this?|||You must be using replication.
Chris
"ET" <et@.et.com> wrote in message news:%23ZgYHcIKEHA.3592@.TK2MSFTNGP09.phx.g
bl...
It was given to me by Microsoft some time ago to resolve an issue we were ha
ving at the time.
"Chris Wood" <anonymous@.discussions.microsoft.com> wrote in message news:ORk
$LHIKEHA.2888@.TK2MSFTNGP09.phx.gbl...
ET,
What made you work with hotfix build 840? With hotfix builds you can never b
e sure what you are getting.
Chris Wood
Alberta Department of Energy
CANADA
"ET" <et@.et.com> wrote in message news:e2wuOHHKEHA.3944@.tk2msftngp13.phx.gbl
..
I'm receiving this in my SQL server event log. Although I have trace flag 20
04 enabled, this is all that I see in the SQL log.
Victim Resource Owner:
ResType:ExchangeId Stype:'AND' SPID:80 ECID:175 Ec0x2DD8A098) Value:0x2d5a
8c98 Cost0/270F)
I am running SQL 2000, build 840, on Windows server 2003. Also, I have SQL
configured to use 14GB from a total of 16GB on the server.
Does anyone have any suggestions for how to address this?|||No
"Chris Wood" <anonymous@.discussions.microsoft.com> wrote in message news:u4y
S86IKEHA.1388@.TK2MSFTNGP09.phx.gbl...
You must be using replication.
Chris
"ET" <et@.et.com> wrote in message news:%23ZgYHcIKEHA.3592@.TK2MSFTNGP09.phx.g
bl...
It was given to me by Microsoft some time ago to resolve an issue we were ha
ving at the time.
"Chris Wood" <anonymous@.discussions.microsoft.com> wrote in message news:ORk
$LHIKEHA.2888@.TK2MSFTNGP09.phx.gbl...
ET,
What made you work with hotfix build 840? With hotfix builds you can never b
e sure what you are getting.
Chris Wood
Alberta Department of Energy
CANADA
"ET" <et@.et.com> wrote in message news:e2wuOHHKEHA.3944@.tk2msftngp13.phx.gbl
..
I'm receiving this in my SQL server event log. Although I have trace flag 20
04 enabled, this is all that I see in the SQL log.
Victim Resource Owner:
ResType:ExchangeId Stype:'AND' SPID:80 ECID:175 Ec0x2DD8A098) Value:0x2d5a
8c98 Cost0/270F)
I am running SQL 2000, build 840, on Windows server 2003. Also, I have SQL
configured to use 14GB from a total of 16GB on the server.
Does anyone have any suggestions for how to address this?|||Ok, so what are you trying to address?
Do you know you have a deadlock? How?
How are you checking the errorlog?
--
HTH
--
Kalen Delaney
SQL Server MVP
www.SolidQualityLearning.com
"ET" <et@.et.com> wrote in message news:#KRAzaIKEHA.3628@.TK2MSFTNGP12.phx.gbl
..
Sorry. That was a typo on my part. I meant 1204.
"Kalen Delaney" <replies@.public_newsgroups.com> wrote in message news:#h#bTT
IKEHA.2716@.tk2msftngp13.phx.gbl...
What do you think you are getting with traceflag 2004? The flag for trapping
deadlocks is 1204.
What exactly are you trying to address?
--
HTH
--
Kalen Delaney
SQL Server MVP
www.SolidQualityLearning.com
"ET" <et@.et.com> wrote in message news:e2wuOHHKEHA.3944@.tk2msftngp13.phx.gbl
..
I'm receiving this in my SQL server event log. Although I have trace flag 20
04 enabled, this is all that I see in the SQL log.
Victim Resource Owner:
ResType:ExchangeId Stype:'AND' SPID:80 ECID:175 Ec0x2DD8A098) Value:0x2d5a
8c98 Cost0/270F)
I am running SQL 2000, build 840, on Windows server 2003. Also, I have SQL
configured to use 14GB from a total of 16GB on the server.
Does anyone have any suggestions for how to address this?|||I was reading the errorlog using xp_readerrorlog when I noticed thse entries
.
I am trying to determine if this is some type of undetected deadlock that ma
y be degrading performance in some way.
"Kalen Delaney" <replies@.public_newsgroups.com> wrote in message news:esu8Sb
JKEHA.3920@.TK2MSFTNGP10.phx.gbl...
Ok, so what are you trying to address?
Do you know you have a deadlock? How?
How are you checking the errorlog?
--
HTH
--
Kalen Delaney
SQL Server MVP
www.SolidQualityLearning.com
"ET" <et@.et.com> wrote in message news:#KRAzaIKEHA.3628@.TK2MSFTNGP12.phx.gbl
..
Sorry. That was a typo on my part. I meant 1204.
"Kalen Delaney" <replies@.public_newsgroups.com> wrote in message news:#h#bTT
IKEHA.2716@.tk2msftngp13.phx.gbl...
What do you think you are getting with traceflag 2004? The flag for trapping
deadlocks is 1204.
What exactly are you trying to address?
--
HTH
--
Kalen Delaney
SQL Server MVP
www.SolidQualityLearning.com
"ET" <et@.et.com> wrote in message news:e2wuOHHKEHA.3944@.tk2msftngp13.phx.gbl
..
I'm receiving this in my SQL server event log. Although I have trace flag 20
04 enabled, this is all that I see in the SQL log.
Victim Resource Owner:
ResType:ExchangeId Stype:'AND' SPID:80 ECID:175 Ec0x2DD8A098) Value:0x2d5a
8c98 Cost0/270F)
I am running SQL 2000, build 840, on Windows server 2003. Also, I have SQL
configured to use 14GB from a total of 16GB on the server.
Does anyone have any suggestions for how to address this?

Possible to Use Windows Authentication on Peer to Peer Network?

Is there a way to use Windows Authentication to log on to an SQL server
instance accross a peer to peer network without a Domain?-- Right. Normally in a domain environment you're authenticated on the
domain and then use those credentials to authenticate to SQL.
If you're not in a domain, then you're in a workgroup.
Workgroup security. To connect to SQL using Windows Authetication, the
NT
username & passwords must match on both computers.
Yes (possible) and no (not recommandable).
-Yes: You can do this by choosing the same username and password on
both computers, the calling computer and the server. If you think now
"Well thats a bit weird...", I can acknowldge. The other possible
solution would be, if you use some programming language wich is able to
handle a security context, like C# with the appropiate classes, you
could impersonate the thread using the remote security context for
connecting.
-No: in common you cannot use integrated authentication across the
computers because the SQL Server can=B4t trust these unknown and
unreliable machines. Therefore a domain should be in place which can
guarantee with the user token for the real permissions of the user.
HTH, jens Suessmeyer.

Possible to Use Windows Authentication on Peer to Peer Network?

Is there a way to use Windows Authentication to log on to an SQL server
instance accross a peer to peer network without a Domain?
-- Right. Normally in a domain environment you're authenticated on the
domain and then use those credentials to authenticate to SQL.
If you're not in a domain, then you're in a workgroup.
Workgroup security. To connect to SQL using Windows Authetication, the
NT
username & passwords must match on both computers.
Yes (possible) and no (not recommandable).
-Yes: You can do this by choosing the same username and password on
both computers, the calling computer and the server. If you think now
"Well thats a bit weird...", I can acknowldge. The other possible
solution would be, if you use some programming language wich is able to
handle a security context, like C# with the appropiate classes, you
could impersonate the thread using the remote security context for
connecting.
-No: in common you cannot use integrated authentication across the
computers because the SQL Server can=B4t trust these unknown and
unreliable machines. Therefore a domain should be in place which can
guarantee with the user token for the real permissions of the user.
HTH, jens Suessmeyer.

Possible to undo a restore operation?

I just restored a db from its full backup and then applied its diff backup
and a log backup. Now I need to know how the db looked like before the log
backup was applied. Is it possible to undo the restore from the log backup?
Thanks,
BingNope. You will have to redo the restore and stop one step earlier.
--
Geoff N. Hiten
Microsoft SQL Server MVP
Senior Database Administrator
Careerbuilder.com
I support the Professional Association for SQL Server
www.sqlpass.org
"bing" <bing@.discussions.microsoft.com> wrote in message
news:F9861F7C-1D50-40C7-8B83-3ECCDC838AD8@.microsoft.com...
> I just restored a db from its full backup and then applied its diff backup
> and a log backup. Now I need to know how the db looked like before the
log
> backup was applied. Is it possible to undo the restore from the log
backup?
> Thanks,
> Bing

Possible to undo a restore operation?

I just restored a db from its full backup and then applied its diff backup
and a log backup. Now I need to know how the db looked like before the log
backup was applied. Is it possible to undo the restore from the log backup?
Thanks,
Bing
Nope. You will have to redo the restore and stop one step earlier.
Geoff N. Hiten
Microsoft SQL Server MVP
Senior Database Administrator
Careerbuilder.com
I support the Professional Association for SQL Server
www.sqlpass.org
"bing" <bing@.discussions.microsoft.com> wrote in message
news:F9861F7C-1D50-40C7-8B83-3ECCDC838AD8@.microsoft.com...
> I just restored a db from its full backup and then applied its diff backup
> and a log backup. Now I need to know how the db looked like before the
log
> backup was applied. Is it possible to undo the restore from the log
backup?
> Thanks,
> Bing

Friday, March 9, 2012

Possible to locate active trans. log on different computer?

It does not appear possible to locate the active transaction log on a
computer other than the one on which the DB exists. Am I correct? Is there
no way to isolate the log from the box on which the data exists?
Thanks,
Randy NeallThere's an undocumented trace flag that allows you to do this. I don't
remember it off the top of my head, but I don't recommend it unless you're
in a well configured SAN environment. Even then it's not always the best
idea...
Brian Moran
Principal Mentor
Solid Quality Learning
SQL Server MVP
http://www.solidqualitylearning.com
"Randolph Neall" <randolphneall@.veracitycomputing.com> wrote in message
news:epOxPqZnDHA.2404@.TK2MSFTNGP12.phx.gbl...
> It does not appear possible to locate the active transaction log on a
> computer other than the one on which the DB exists. Am I correct? Is there
> no way to isolate the log from the box on which the data exists?
> Thanks,
> Randy Neall
>|||That's not possible and you don't want to do that, even if
you could.
Linchi
>--Original Message--
>It does not appear possible to locate the active
transaction log on a
>computer other than the one on which the DB exists. Am I
correct? Is there
>no way to isolate the log from the box on which the data
exists?
>Thanks,
>Randy Neall
>
>.
>|||Thanks, Brian for pointing this out! I totally forgot
about this trace flag. The trace flag is 1807, and KB
article is
http://support.microsoft.com/default.aspx?scid=304261
Linchi
>--Original Message--
>There's an undocumented trace flag that allows you to do
this. I don't
>remember it off the top of my head, but I don't recommend
it unless you're
>in a well configured SAN environment. Even then it's not
always the best
>idea...
>
>--
>Brian Moran
>Principal Mentor
>Solid Quality Learning
>SQL Server MVP
>http://www.solidqualitylearning.com
>
>"Randolph Neall" <randolphneall@.veracitycomputing.com>
wrote in message
>news:epOxPqZnDHA.2404@.TK2MSFTNGP12.phx.gbl...
>> It does not appear possible to locate the active
transaction log on a
>> computer other than the one on which the DB exists. Am
I correct? Is there
>> no way to isolate the log from the box on which the
data exists?
>> Thanks,
>> Randy Neall
>>
>
>.
>|||Hi Brian,
Why isn't this a good idea? The idea I had was to get the log and backups on
a completely separate box for added redundancy, saving us even if the DB box
were somehow destroyed, stolen, or if more than one drive within the DB box
failed. But you suggest, and Linchi confirms, this is a bad idea. Why?
Randy
"Brian Moran" <brian@.solidqualitylearning.com> wrote in message
news:OqOsUyZnDHA.1708@.TK2MSFTNGP12.phx.gbl...
> There's an undocumented trace flag that allows you to do this. I don't
> remember it off the top of my head, but I don't recommend it unless you're
> in a well configured SAN environment. Even then it's not always the best
> idea...
>
> --
> Brian Moran
> Principal Mentor
> Solid Quality Learning
> SQL Server MVP
> http://www.solidqualitylearning.com
>
> "Randolph Neall" <randolphneall@.veracitycomputing.com> wrote in message
> news:epOxPqZnDHA.2404@.TK2MSFTNGP12.phx.gbl...
> > It does not appear possible to locate the active transaction log on a
> > computer other than the one on which the DB exists. Am I correct? Is
there
> > no way to isolate the log from the box on which the data exists?
> >
> > Thanks,
> > Randy Neall
> >
> >
>|||SQL Server log files are absolutely critical for database integrity.
Physical writes to log files must be guaranteed or committed data can be
lost and/or physical database corruption result. Standard network i/o
does not guarantee these writes and the loss of a single packet can be
disastrous. You'll need to be prepared to restore from backup in the
event of a simple network outage.
--
Hope this helps.
Dan Guzman
SQL Server MVP
--
SQL FAQ links (courtesy Neil Pike):
http://www.ntfaq.com/Articles/Index.cfm?DepartmentID=800
http://www.sqlserverfaq.com
http://www.mssqlserver.com/faq
--
"Randolph Neall" <randolphneall@.veracitycomputing.com> wrote in message
news:uatwTCcnDHA.3304@.tk2msftngp13.phx.gbl...
> Hi Brian,
> Why isn't this a good idea? The idea I had was to get the log and
backups on
> a completely separate box for added redundancy, saving us even if the
DB box
> were somehow destroyed, stolen, or if more than one drive within the
DB box
> failed. But you suggest, and Linchi confirms, this is a bad idea. Why?
> Randy
> "Brian Moran" <brian@.solidqualitylearning.com> wrote in message
> news:OqOsUyZnDHA.1708@.TK2MSFTNGP12.phx.gbl...
> > There's an undocumented trace flag that allows you to do this. I
don't
> > remember it off the top of my head, but I don't recommend it unless
you're
> > in a well configured SAN environment. Even then it's not always the
best
> > idea...
> >
> >
> >
> > --
> >
> > Brian Moran
> > Principal Mentor
> > Solid Quality Learning
> > SQL Server MVP
> > http://www.solidqualitylearning.com
> >
> >
> > "Randolph Neall" <randolphneall@.veracitycomputing.com> wrote in
message
> > news:epOxPqZnDHA.2404@.TK2MSFTNGP12.phx.gbl...
> > > It does not appear possible to locate the active transaction log
on a
> > > computer other than the one on which the DB exists. Am I correct?
Is
> there
> > > no way to isolate the log from the box on which the data exists?
> > >
> > > Thanks,
> > > Randy Neall
> > >
> > >
> >
> >
>|||Thanks. Yes you've helped a lot. I hadn't thought of the risks of network
failure.
Randy
"Dan Guzman" <danguzman@.nospam-earthlink.net> wrote in message
news:u1Ki88cnDHA.708@.TK2MSFTNGP10.phx.gbl...
> SQL Server log files are absolutely critical for database integrity.
> Physical writes to log files must be guaranteed or committed data can be
> lost and/or physical database corruption result. Standard network i/o
> does not guarantee these writes and the loss of a single packet can be
> disastrous. You'll need to be prepared to restore from backup in the
> event of a simple network outage.
> --
> Hope this helps.
> Dan Guzman
> SQL Server MVP
> --
> SQL FAQ links (courtesy Neil Pike):
> http://www.ntfaq.com/Articles/Index.cfm?DepartmentID=800
> http://www.sqlserverfaq.com
> http://www.mssqlserver.com/faq
> --
> "Randolph Neall" <randolphneall@.veracitycomputing.com> wrote in message
> news:uatwTCcnDHA.3304@.tk2msftngp13.phx.gbl...
> > Hi Brian,
> >
> > Why isn't this a good idea? The idea I had was to get the log and
> backups on
> > a completely separate box for added redundancy, saving us even if the
> DB box
> > were somehow destroyed, stolen, or if more than one drive within the
> DB box
> > failed. But you suggest, and Linchi confirms, this is a bad idea. Why?
> >
> > Randy
> >
> > "Brian Moran" <brian@.solidqualitylearning.com> wrote in message
> > news:OqOsUyZnDHA.1708@.TK2MSFTNGP12.phx.gbl...
> > > There's an undocumented trace flag that allows you to do this. I
> don't
> > > remember it off the top of my head, but I don't recommend it unless
> you're
> > > in a well configured SAN environment. Even then it's not always the
> best
> > > idea...
> > >
> > >
> > >
> > > --
> > >
> > > Brian Moran
> > > Principal Mentor
> > > Solid Quality Learning
> > > SQL Server MVP
> > > http://www.solidqualitylearning.com
> > >
> > >
> > > "Randolph Neall" <randolphneall@.veracitycomputing.com> wrote in
> message
> > > news:epOxPqZnDHA.2404@.TK2MSFTNGP12.phx.gbl...
> > > > It does not appear possible to locate the active transaction log
> on a
> > > > computer other than the one on which the DB exists. Am I correct?
> Is
> > there
> > > > no way to isolate the log from the box on which the data exists?
> > > >
> > > > Thanks,
> > > > Randy Neall
> > > >
> > > >
> > >
> > >
> >
> >
>|||> Why isn't this a good idea?
Did you read the KB article? As I remember, it is pretty clear on the subject.
--
Tibor Karaszi, SQL Server MVP
Archive at: http://groups.google.com/groups?oi=djq&as_ugroup=microsoft.public.sqlserver
"Randolph Neall" <randolphneall@.veracitycomputing.com> wrote in message
news:uatwTCcnDHA.3304@.tk2msftngp13.phx.gbl...
> Hi Brian,
> Why isn't this a good idea? The idea I had was to get the log and backups on
> a completely separate box for added redundancy, saving us even if the DB box
> were somehow destroyed, stolen, or if more than one drive within the DB box
> failed. But you suggest, and Linchi confirms, this is a bad idea. Why?
> Randy
> "Brian Moran" <brian@.solidqualitylearning.com> wrote in message
> news:OqOsUyZnDHA.1708@.TK2MSFTNGP12.phx.gbl...
> > There's an undocumented trace flag that allows you to do this. I don't
> > remember it off the top of my head, but I don't recommend it unless you're
> > in a well configured SAN environment. Even then it's not always the best
> > idea...
> >
> >
> >
> > --
> >
> > Brian Moran
> > Principal Mentor
> > Solid Quality Learning
> > SQL Server MVP
> > http://www.solidqualitylearning.com
> >
> >
> > "Randolph Neall" <randolphneall@.veracitycomputing.com> wrote in message
> > news:epOxPqZnDHA.2404@.TK2MSFTNGP12.phx.gbl...
> > > It does not appear possible to locate the active transaction log on a
> > > computer other than the one on which the DB exists. Am I correct? Is
> there
> > > no way to isolate the log from the box on which the data exists?
> > >
> > > Thanks,
> > > Randy Neall
> > >
> > >
> >
> >
>|||I just did. You're right. It's clear. Thanks
Randy
"Tibor Karaszi" <tibor.please_reply_to_public_forum.karaszi@.cornerstone.se>
wrote in message news:ODUsa4enDHA.3304@.tk2msftngp13.phx.gbl...
> > Why isn't this a good idea?
> Did you read the KB article? As I remember, it is pretty clear on the
subject.
> --
> Tibor Karaszi, SQL Server MVP
> Archive at:
http://groups.google.com/groups?oi=djq&as_ugroup=microsoft.public.sqlserver
>
> "Randolph Neall" <randolphneall@.veracitycomputing.com> wrote in message
> news:uatwTCcnDHA.3304@.tk2msftngp13.phx.gbl...
> > Hi Brian,
> >
> > Why isn't this a good idea? The idea I had was to get the log and
backups on
> > a completely separate box for added redundancy, saving us even if the DB
box
> > were somehow destroyed, stolen, or if more than one drive within the DB
box
> > failed. But you suggest, and Linchi confirms, this is a bad idea. Why?
> >
> > Randy
> >
> > "Brian Moran" <brian@.solidqualitylearning.com> wrote in message
> > news:OqOsUyZnDHA.1708@.TK2MSFTNGP12.phx.gbl...
> > > There's an undocumented trace flag that allows you to do this. I don't
> > > remember it off the top of my head, but I don't recommend it unless
you're
> > > in a well configured SAN environment. Even then it's not always the
best
> > > idea...
> > >
> > >
> > >
> > > --
> > >
> > > Brian Moran
> > > Principal Mentor
> > > Solid Quality Learning
> > > SQL Server MVP
> > > http://www.solidqualitylearning.com
> > >
> > >
> > > "Randolph Neall" <randolphneall@.veracitycomputing.com> wrote in
message
> > > news:epOxPqZnDHA.2404@.TK2MSFTNGP12.phx.gbl...
> > > > It does not appear possible to locate the active transaction log on
a
> > > > computer other than the one on which the DB exists. Am I correct? Is
> > there
> > > > no way to isolate the log from the box on which the data exists?
> > > >
> > > > Thanks,
> > > > Randy Neall
> > > >
> > > >
> > >
> > >
> >
> >
>

possible to get real time transaction log replication?

hi,
i know there are a variety of 3rd party products that can accomplish this
but am curious if anyone knows of a way to accomplish this using sql? thanks.
You can tweak transactional replication to get minimum latency (very
roughly, a few secs), use log shipping (min 1 min) use distributed
transactions (immediate), or have a look at database mirroring (<1 second
ASAIK) in SQL 2005.
Rgds,
Paul Ibison SQL Server MVP, www.replicationanswers.com
(recommended sql server 2000 replication book:
http://www.nwsu.com/0974973602p.html)
|||Under load you will be looking at 20s to 1 minute minimum for transactional.
With no load you can be looking at 2-4 secs.
Log shipping latency is greater than 1 min. typically pushing 2, but a more
practical limit is 5 minutes.
Database mirroring which ships in SQL 2005 has two modes high performance
(asynchronous) and high availability (synchronous). In high availability
mode logged operations are written on both sides (split write) which means
increased latency. A transaction is written to the source, and then written
to the destination, and then the app gets the commit. Latency can be
considerably increased depending on your throughput and other factors.
In high performance if your source goes down you can lose transactions.
Performance is better, latency can be larges, but the transactional latency
of transactions hitting your database is less.
Hilary Cotter
Looking for a SQL Server replication book?
http://www.nwsu.com/0974973602.html
Looking for a FAQ on Indexing Services/SQL FTS
http://www.indexserverfaq.com
"Paul Ibison" <Paul.Ibison@.Pygmalion.Com> wrote in message
news:O3dmxeVYFHA.3040@.TK2MSFTNGP14.phx.gbl...
> You can tweak transactional replication to get minimum latency (very
> roughly, a few secs), use log shipping (min 1 min) use distributed
> transactions (immediate), or have a look at database mirroring (<1 second
> ASAIK) in SQL 2005.
> Rgds,
> Paul Ibison SQL Server MVP, www.replicationanswers.com
> (recommended sql server 2000 replication book:
> http://www.nwsu.com/0974973602p.html)
>
|||thanks for the info. im looking for some sort of a synchronous solution but
im rather new to this. operating in an OLTP environment so have very little
maneuvering room in regard to latency.
what sort of 'real-world' bandwidth / latency do i need to make DTC work?
|||Can't answer this one, but using immediate updating will increase the time
required to commit a transaction on the subscriber. I have seen transactions
take from 43 to 140 ms when using immediate updating.
Hilary Cotter
Looking for a SQL Server replication book?
http://www.nwsu.com/0974973602.html
Looking for a FAQ on Indexing Services/SQL FTS
http://www.indexserverfaq.com
"mb" <mb@.discussions.microsoft.com> wrote in message
news:693B008E-8BE2-4D2C-BC61-737CE180ED88@.microsoft.com...
> thanks for the info. im looking for some sort of a synchronous solution
but
> im rather new to this. operating in an OLTP environment so have very
little
> maneuvering room in regard to latency.
> what sort of 'real-world' bandwidth / latency do i need to make DTC work?

Wednesday, March 7, 2012

Possible to alert on SQL Server Agent Error Log?

We have one SQL server where the mail may disconnect from time to time with
the SQL Server Agent.
Is it possible to flag an alert to notify when the SQL Server Agent produces
an error in the SQL Server Agent Error Log?Hi
"ssciarrino" wrote:

> We have one SQL server where the mail may disconnect from time to time wit
h
> the SQL Server Agent.
> Is it possible to flag an alert to notify when the SQL Server Agent produc
es
> an error in the SQL Server Agent Error Log?
You don't give your SQL Server version number or whether SQL Agent is still
running and it is just mail that is not getting though? What message is put
in the log?
Have you looked at creating an ALERT for this if you can trap the error
level or number? You would have to use a method other than emails to send th
e
information! You could look at using MOM to check the log files for this.
A common cause of email stopping is issues connecting to the email server.
If you have network issues you may want to sort them out. SMTP email tends t
o
be less prone to this to use this with SQL 2000 you can use xp_smtp
http://www.sqldev.net/xp/xpsmtp.htm and include extra steps in the jobs to
send the sucess/failure emails. SQL 2005 has SMTP inbuilt with database mail
.
John|||Hi John
Thanks for the insight I will look into this...at the moment we are SQl
2000 but as you mention SQL 2005 doesn't have this problem. We are currentl
y
migrating to SQL 2005, may not have to visit this after upgrade.
I was looking for any type of log message that was error (red) but it
appears I have to narrow down via alert via error number/message
"John Bell" wrote:

> Hi
> "ssciarrino" wrote:
>
> You don't give your SQL Server version number or whether SQL Agent is stil
l
> running and it is just mail that is not getting though? What message is pu
t
> in the log?
> Have you looked at creating an ALERT for this if you can trap the error
> level or number? You would have to use a method other than emails to send
the
> information! You could look at using MOM to check the log files for this.
> A common cause of email stopping is issues connecting to the email server.
> If you have network issues you may want to sort them out. SMTP email tends
to
> be less prone to this to use this with SQL 2000 you can use xp_smtp
> http://www.sqldev.net/xp/xpsmtp.htm and include extra steps in the jobs to
> send the sucess/failure emails. SQL 2005 has SMTP inbuilt with database ma
il.
> John

Possible to alert on SQL Server Agent Error Log?

Hi
"ssciarrino" wrote:

> We have one SQL server where the mail may disconnect from time to time with
> the SQL Server Agent.
> Is it possible to flag an alert to notify when the SQL Server Agent produces
> an error in the SQL Server Agent Error Log?
You don't give your SQL Server version number or whether SQL Agent is still
running and it is just mail that is not getting though? What message is put
in the log?
Have you looked at creating an ALERT for this if you can trap the error
level or number? You would have to use a method other than emails to send the
information! You could look at using MOM to check the log files for this.
A common cause of email stopping is issues connecting to the email server.
If you have network issues you may want to sort them out. SMTP email tends to
be less prone to this to use this with SQL 2000 you can use xp_smtp
http://www.sqldev.net/xp/xpsmtp.htm and include extra steps in the jobs to
send the sucess/failure emails. SQL 2005 has SMTP inbuilt with database mail.
John
Hi John
Thanks for the insight I will look into this...at the moment we are SQl
2000 but as you mention SQL 2005 doesn't have this problem. We are currently
migrating to SQL 2005, may not have to visit this after upgrade.
I was looking for any type of log message that was error (red) but it
appears I have to narrow down via alert via error number/message
"John Bell" wrote:

> Hi
> "ssciarrino" wrote:
>
> You don't give your SQL Server version number or whether SQL Agent is still
> running and it is just mail that is not getting though? What message is put
> in the log?
> Have you looked at creating an ALERT for this if you can trap the error
> level or number? You would have to use a method other than emails to send the
> information! You could look at using MOM to check the log files for this.
> A common cause of email stopping is issues connecting to the email server.
> If you have network issues you may want to sort them out. SMTP email tends to
> be less prone to this to use this with SQL 2000 you can use xp_smtp
> http://www.sqldev.net/xp/xpsmtp.htm and include extra steps in the jobs to
> send the sucess/failure emails. SQL 2005 has SMTP inbuilt with database mail.
> John

Possible to alert on SQL Server Agent Error Log?

We have one SQL server where the mail may disconnect from time to time with
the SQL Server Agent.
Is it possible to flag an alert to notify when the SQL Server Agent produces
an error in the SQL Server Agent Error Log?Hi
"ssciarrino" wrote:
> We have one SQL server where the mail may disconnect from time to time with
> the SQL Server Agent.
> Is it possible to flag an alert to notify when the SQL Server Agent produces
> an error in the SQL Server Agent Error Log?
You don't give your SQL Server version number or whether SQL Agent is still
running and it is just mail that is not getting though? What message is put
in the log?
Have you looked at creating an ALERT for this if you can trap the error
level or number? You would have to use a method other than emails to send the
information! You could look at using MOM to check the log files for this.
A common cause of email stopping is issues connecting to the email server.
If you have network issues you may want to sort them out. SMTP email tends to
be less prone to this to use this with SQL 2000 you can use xp_smtp
http://www.sqldev.net/xp/xpsmtp.htm and include extra steps in the jobs to
send the sucess/failure emails. SQL 2005 has SMTP inbuilt with database mail.
John|||Hi John
Thanks for the insight I will look into this...at the moment we are SQl
2000 but as you mention SQL 2005 doesn't have this problem. We are currently
migrating to SQL 2005, may not have to visit this after upgrade.
I was looking for any type of log message that was error (red) but it
appears I have to narrow down via alert via error number/message
"John Bell" wrote:
> Hi
> "ssciarrino" wrote:
> > We have one SQL server where the mail may disconnect from time to time with
> > the SQL Server Agent.
> >
> > Is it possible to flag an alert to notify when the SQL Server Agent produces
> > an error in the SQL Server Agent Error Log?
> You don't give your SQL Server version number or whether SQL Agent is still
> running and it is just mail that is not getting though? What message is put
> in the log?
> Have you looked at creating an ALERT for this if you can trap the error
> level or number? You would have to use a method other than emails to send the
> information! You could look at using MOM to check the log files for this.
> A common cause of email stopping is issues connecting to the email server.
> If you have network issues you may want to sort them out. SMTP email tends to
> be less prone to this to use this with SQL 2000 you can use xp_smtp
> http://www.sqldev.net/xp/xpsmtp.htm and include extra steps in the jobs to
> send the sucess/failure emails. SQL 2005 has SMTP inbuilt with database mail.
> John