473,499 Members | 1,610 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

transaction-log memory mapped on AIX ?

Environment: db2v7 on aix. 32-bit instance.

When db2v7 writes to the transaction log files (not during archival,
but when flushing logbuf), does it use MMAP on the log file or regular
system calls?

I'm assuming it uses regular system calls, but wonder if anyone can
verify.

Oct 11 '06 #1
3 1450
Ian
mike wrote:
Environment: db2v7 on aix. 32-bit instance.

When db2v7 writes to the transaction log files (not during archival,
but when flushing logbuf), does it use MMAP on the log file or regular
system calls?

I'm assuming it uses regular system calls, but wonder if anyone can
verify.
Although I can't say for sure, I suspect it's dependent on the
DB2_MMAP_WRITE (and DB2_MMAP_READ) variables.

Oct 12 '06 #2
Ian wrote:
mike wrote:
Environment: db2v7 on aix. 32-bit instance.

When db2v7 writes to the transaction log files (not during archival,
but when flushing logbuf), does it use MMAP on the log file or regular
system calls?

I'm assuming it uses regular system calls, but wonder if anyone can
verify.

Although I can't say for sure, I suspect it's dependent on the
DB2_MMAP_WRITE (and DB2_MMAP_READ) variables.
I should have stated in my original query that these variables
are both at their default v7 setting (ON) , so SMS and file-dms
container files are memory-mapped, but the question is whether
the txn-log would also use that technique.

Oct 12 '06 #3
Ian
mike wrote:
>
I should have stated in my original query that these variables
are both at their default v7 setting (ON) , so SMS and file-dms
container files are memory-mapped, but the question is whether
the txn-log would also use that technique.
Right, and my point was that if MMAP read/write are enabled (as they
are by default), DB2 would probably use the mechanism for I/O to the
txn log files.

I could be wrong, but that's my gut feeling (based on my knowledge that
enabling DB2_NT_NOCACHE would cause DB2 to open ALL files on a Windows
server with the no-caching attribute set).

Oct 12 '06 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

16
7444
by: noah | last post by:
Does PHP have a feature to associate Cookie sessions with a persistent database connection that will allow a single transaction across multiple HTTP requests? Here is how I imagine my process: I...
2
2351
by: Deepak Mehta | last post by:
i have to update two tables from ASP pages with same data but i want that both of them should be updated at one time. If either of them is not updated then my transaction should roll back.I want...
1
439
by: Avanish Pandey | last post by:
Hello All We have 3 differen services (in 3 different server) Service A,B,C . We want to implement distributed transaction when call methods of B and C from A. Is it possible? if yes then how? ...
2
3881
by: John Lee | last post by:
Hi, I have few questions related to .NET 2.0 TransactionScope class behavior: 1. Check Transaction.Current.TransactionInformation.DistributedIdentifier to identify if distributed transaction...
1
10355
by: Jason Huang | last post by:
Hi, I am just wondering how do we test the transaction's Commit and Rollback? How do we simulate a situation to let the transaction fail then Rollback? Thanks for help. Jason
9
10904
by: ucasesoftware | last post by:
i need to use this : Private Shared Sub Demo1() Dim db As SqlConnection = New SqlConnection("connstringhere") Dim transaction As SqlTransaction db.Open transaction = db.BeginTransaction Try...
2
3776
by: Christian Stooker | last post by:
Part one: ====== Hi ! I want to use SQLite database like the FireBird database: with big isolation level. What's that meaning ? I have an application that periodically check some input...
5
7525
by: ashley.ward | last post by:
I am attempting to write a program with VB 2005 Express Edition which accesses an Oracle 9 database and dumps the results of three SELECT queries into a spreadsheet file once every hour. ...
1
8276
by: Matik | last post by:
Hi to all, Probably I'm just doing something stupid, but I would like you to tell me that (if it is so), and point the solution. There ist the thing: I' having a sp, where I call other sp...
2
2123
by: Ryan Liu | last post by:
Hi, I have few db write and read to execute, so I use transaction. Is that a problem or is that a regular way that I only use transaction on some cmds only, and other cmds I do not use...
0
7132
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7009
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7178
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7390
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
4602
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3103
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3094
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
665
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
302
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.