dbTalk Databases Forums  

Transaction limitations?

comp.databases.btrieve comp.databases.btrieve


Discuss Transaction limitations? in the comp.databases.btrieve forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Bill
 
Posts: n/a

Default Transaction limitations? - 02-21-2007 , 11:08 AM






I am about to start using transactions in PSQL 9.5 for the first time.
Are there any limitations on the number of tables or the number of rows
or the number of changes that can be involved in a transaction? Thanks.

--
..Bill.

Reply With Quote
  #2  
Old   
Wayne
 
Posts: n/a

Default Re: Transaction limitations? - 02-22-2007 , 01:23 PM






On Feb 21, 9:08 am, "Bill" <n... (AT) no (DOT) com> wrote:
Quote:
I am about to start using transactions in PSQL 9.5 for the first time.
Are there any limitations on the number of tables or the number of rows
or the number of changes that can be involved in a transaction? Thanks.

--
.Bill.

There are no practical limits. The only limit that I know of is
memory. The MKDE still requires all pages modified inside a user
transaction to reside in cache until the transaction completes. You
may receive a Status 100 if the MKDE can't allocate any more cache
buffers to accommodate these modified pages. With v8 and v9x, cache
allocation can be set up to be managed dynamically, so if you get this
status code with v9.5, your choices are to add more memory to the
server or to re-architect your transactions.

This isn't a precise limitation, as you can tell. It depends on how
large the rows are, how large the table sizes are of all the tables in
the transaction, and so on.

Wayne Freeman
Analytica Business Systems
http://www.analyticabiz.com
wfreeman at theabovedomain dot com



Reply With Quote
  #3  
Old   
Bill
 
Posts: n/a

Default Re: Transaction limitations? - 02-22-2007 , 01:59 PM



Thanks for the detailed explanation. I gather from what you said about
modified pages being held in memory that locking is done at the page
level since it would be impossible to have two transaction modify
different records on the same page then have one transaction commit and
the other roll back.

--
..Bill.

Reply With Quote
  #4  
Old   
Bill
 
Posts: n/a

Default Re: Transaction limitations? - 02-24-2007 , 03:51 PM



FYI, I finally had to open a support ticket to get answers to my
questions about transactions and ODBC. I asked about the limitations
imposed by caching changed pages in memory and was told that the
changed pages are not cached in memory and that there is no memory
limitation on the size of a transaction. Changed pages are stored in
the database.

--
..Bill.

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.