Unix Technical Forum

Turning ON Transaction Support?

This is a discussion on Turning ON Transaction Support? within the Informix forums, part of the Database Server Software category; --> Hi, I am trying to turn transaction support ON for my databases. I have been able to turn transactions ...


Go Back   Unix Technical Forum > Database Server Software > Informix

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-19-2008, 06:04 PM
JohnLH
 
Posts: n/a
Default Turning ON Transaction Support?

Hi,

I am trying to turn transaction support ON for my databases. I have
been able to turn transactions on for the sysmaster and sysutils
database, but I can't turn it on for my user created databases.

I turned on the transactions for sysmaster and sysutils by adding
"TAPEDEV /dev/null" to the onconfig file, and issued "ontape -s -L 0
-B sysmaster". I tried issuing "ontape -s -L 0 -B newdb", but the
transactions support for the "newdb" database is not turned on.

I make a jdbc connection to the Informix server using the sysmaster
database and I can start a transaction, but if I change the database
to "newdb", I can't start a transaction.

Am I doing something wrong? Does anyone have any ideas on how I can
turn ON transactions for my databases?

thanks in advance
-John
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 04-19-2008, 06:04 PM
Phil Rule
 
Posts: n/a
Default Re: Turning ON Transaction Support?

Hi John,

You won't be able to alter the transaction status of a database if any user
is connected to it.

Make sure nobody is using newdb and try again.

HTH

--
Phil@oninit.com


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 04-19-2008, 06:04 PM
Michael Krzepkowski
 
Posts: n/a
Default Re: Turning ON Transaction Support?

JohnLH wrote:

>"Phil Rule" <phil.rule@ntlworld.com> wrote in message news:<7jTLa.146$oB5.53@newsfep3-gui.server.ntli.net>...
>
>
>>Hi John,
>>
>>You won't be able to alter the transaction status of a database if any user
>>is connected to it.
>>
>>Make sure nobody is using newdb and try again.
>>
>>HTH
>>
>>

>
>I did a query on the sysdatabases and got what shows the logging
>status ...
>
> name partnum owner created is_logging
> ------------ ---------- -------- ---------- -------------
> sysmaster 1048579 informix 2003-02-03 1
> sysutils 1048742 informix 2003-02-03 1
> example_data 1048626 informix 2003-02-27 0
> contact_data 2097154 informix 2003-02-27 0
> newdb 1048688 informix 2003-06-30 0
> newdb_log 1048798 informix 2003-06-30 1
>
> 6 record(s) selected [Fetch MetaData: 0/ms] [Fetch Data: 0/ms]
>
> [Executed: 6/30/03 12:19:09 PM PDT ] [Execution: 0/ms]
>
>
>I still couldn't change the transactions on the databases with no
>connections. I also used ondblog without success, but I was able to
>create a database with transaction support with "CREATE DATABASE
>newdb_log WITH BUFFERED LOG" ...
>
>So, that should be enough to solve my problem.
>
>thanks
>John
>
>

This may or may not help you, but some time ago I was unable
to turn Buffered log mode on, however Unbuffered worked. No idea why.

Michael


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
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
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 07:06 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com