Re: begin and end transaction and transaction log



Hi Erland,
This sounds like it could be it. I will give it a try. Thanks


On Dec 13, 12:21 am, Erland Sommarskog <esq...@xxxxxxxxxxxxx> wrote:
Kruton (wmlye...@xxxxxxxxx) writes:
This is part of a large OLAP process that runs many times a day. I do
not want to / need to restore to a particular time. I have a dba that
does full backups on a regular basis. I would agree with you to a
certain extent if this were OLTP but it is not.

Then you need simple recovery. What I failed to say is that with simple
recovery, SQL Server will regularly truncate the transaction log, and thus
keep it in check. The one thing to keep in mind is that truncation never
goes past the open transaction, so if you have a long-running transaction
the log can grow never the less.

--
Erland Sommarskog, SQL Server MVP, esq...@xxxxxxxxxxxxx

Books Online for SQL Server 2005 athttp://www.microsoft.com/technet/prodtechnol/sql/2005/downloads/books...
Books Online for SQL Server 2000 athttp://www.microsoft.com/sql/prodinfo/previousversions/books.mspx

.



Relevant Pages

  • Re: delete statement makes SQL Server hang
    ... But generally, a transaction won't be allowed to get more than say, several ... You can capture a lock escalation event with a profiler trace. ... transaction is committed and the transaction log is backed up. ... BG, SQL Server MVP ...
    (microsoft.public.sqlserver.programming)
  • Re: Table Variable vs Temporary Table
    ... > logging to the transaction log for table variables). ... Pro SQL Server 2000 Database Design - ... >>> We have a query that declares a table variable, ...
    (microsoft.public.sqlserver.programming)
  • Re: How to make a SQL run longer?
    ... But hopefullly you can also access the database from a regular query ... In such case you can start a transaction that locks one of the ... Books Online for SQL Server 2005 athttp://www.microsoft.com/technet/prodtechnol/sql/2005/downloads/books ... ...
    (comp.databases.ms-sqlserver)
  • Re: Millions of Delete Statements
    ... lose the ability to know which statement within the transaction failed ... (i.e., the row wasn't there, which is information I need to capture). ... Erland Sommarskog, SQL Server MVP, esquel@xxxxxxxxxxxxx ... Books Online for SQL Server 2005 at ...
    (comp.databases.ms-sqlserver)
  • Re: non key select or search
    ... I need to match the above to a transaction so i can report to the entity ... INSERT statements with sample data. ... Erland Sommarskog, SQL Server MVP, esquel@xxxxxxxxxxxxx ... Books Online for SQL Server 2005 at ...
    (comp.databases.ms-sqlserver)