由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Database版 - Uncommited transaction 能写到 log嘛? sql server
相关主题
请教一个简单的库存系统的事务处理问题Re: Cannot update records in JDBC???????
Is there table level commit? SYBASE: truncation point 问题
A Question about Transactions in MS Access求救,这个更新如何写?
大家对 Transaction 是怎么看的?Help! Diff between Teradata SQL and Oracle SQL.
SQL Servedr complete recovery question有人用sql developer吗?
Re: ~{Hg:NJ5OVJ}>]?b5D~}exclusive~{7CNJ~}&~{8|PB~}?今天日子真好混
Re: how to improve the performance of Oracle Insert operation?Opening: SQL Server ELT Developer @Maryland (转载)
如何进行INFORMIX到DB2移植的可行性分析?MSSQL server database backup v.s. transaction log.
相关话题的讨论汇总
话题: log话题: 写到话题: uncommited话题: checkpoint
进入Database版参与讨论
1 (共1页)
T******r
发帖数: 861
1
我记得commit了才写到transcation log,然后checkpoint写到data file。对嘛?
c*****d
发帖数: 6045
2
我也是这么记的commit了才写到transcation log
y****w
发帖数: 3747
3
应该要写的,不然对大uow太残忍了。 懂sql的来说说。
db2要写。

【在 c*****d 的大作中提到】
: 我也是这么记的commit了才写到transcation log
t****n
发帖数: 263
4
Of course uncommitted transaction should be written to the log. Otherwise,
how can it be rolled back if anything bad happens before it being committed.
A checkpoint writes dirty pages to disks. It doesn't give a shit to if the
transaction is committed or not.

【在 T******r 的大作中提到】
: 我记得commit了才写到transcation log,然后checkpoint写到data file。对嘛?
s**********o
发帖数: 14359
5
好像是写的,比如删除100B的记录,没删完之前LOG就开始增长了。
T******r
发帖数: 861
6
确实是写的
找到这么一段话
a log record may contain details of either a closed (committed) transaction
or an open (uncommitted) transaction, and in each case the data modified by
the transaction may or may not have been written to the data files,
depending on whether or not a checkpoint has occurred.

【在 s**********o 的大作中提到】
: 好像是写的,比如删除100B的记录,没删完之前LOG就开始增长了。
1 (共1页)
进入Database版参与讨论
相关主题
MSSQL server database backup v.s. transaction log.SQL Servedr complete recovery question
help: SQL Server数据同步复制Re: ~{Hg:NJ5OVJ}>]?b5D~}exclusive~{7CNJ~}&~{8|PB~}?
急请教sql server while loop memory 问题Re: how to improve the performance of Oracle Insert operation?
A question about SQL 2000 server shutdown如何进行INFORMIX到DB2移植的可行性分析?
请教一个简单的库存系统的事务处理问题Re: Cannot update records in JDBC???????
Is there table level commit? SYBASE: truncation point 问题
A Question about Transactions in MS Access求救,这个更新如何写?
大家对 Transaction 是怎么看的?Help! Diff between Teradata SQL and Oracle SQL.
相关话题的讨论汇总
话题: log话题: 写到话题: uncommited话题: checkpoint