Thanks for any reply.
It depends. If you create the temporary table with logging then it
will log if you create it without logging it won't
Here are the two syntax types:
create temp table(
....
) with no log;
create temp table(
) ;
select * from <table> into temp <temp table> with no log;
select * from <table> into temp <temp table> ;
If the temp table is not created "without logging", then it will be
logged. The reason is that rollbacks on the temp table can not be
performed unless the temp table is logged.
>
> Thanks for any reply.
Besides the answers you already got, it's worth mentioning that IDS 11 (maybe
late 10.x versions?) introduced a global parameter called TEMPTAB_NOLOG which
can be used to disable temp table logging.
This can have serious impacts on your applications, so be careful if you want
to use it.
Doc:
Regards,
--
Fernando Nunes
Portugal
http://informix-technology.blogspot.com
My email works... but I don't check it frequently...
cheers
j.
"He's right. No one can deny the results of No Child Left Behind, because
thanks to the program, no one has any basic reasoning skills." -- The Onion
>
> Thanks for any reply.
_______________________________________________
Informix-list mailing list
Inform...@iiug.org
http://www.iiug.org/mailman/listinfo/informix-list
Actually temp tables created in dbspaces flagged and created as
"temp" (used the -t flag in onspaces) don't even log extent allocation
because at initialization time the entire dbspaces structure (chunk
free list page, tblspace tblspace, etc...) is recreated as if the
dbspace had just been added.
Jacques
cheers
j.
-----Original Message-----
From: informix-l...@iiug.org
[mailto:informix-l...@iiug.org]On Behalf Of jpre...@yahoo.com
Sent: Wednesday, January 30, 2008 10:06 AM
To: inform...@iiug.org
Subject: Re: Logical log for Temp table
Jacques
I don't recall when this was added actually but I believe it's been
this way awhile. I went back and tested a 7.31.UD7 and it also behaves
that way.
Jacques