Re: dropping temp TBLspace
Posted in 1998
Allen Jantzen wrote:
>
> Everytime I bounce my 7.22 ODS HP-UX server, a *LOT* of the following
> appears in $INFORMIXDIR/online.log on the way back up
What commands do you use to 'bounce' the engine?
> 13:45:23 Dropping temporary TBLspace 300061, recovering 96 pages.
> 13:45:23 Dropping temporary TBLspace 3000c0, recovering 176 pages.
> 13:45:23 Dropping temporary TBLspace 3000c7, recovering 32 pages.
> 13:45:23 Dropping temporary TBLspace 300105, recovering 8 pages.
> 13:45:23 Dropping temporary TBLspace 300120, recovering 8 pages.
> 13:45:23 Dropping temporary TBLspace 300121, recovering 8 pages.
> 13:45:23 Dropping temporary TBLspace 300122, recovering 8 pages.
> 13:45:23 Dropping temporary TBLspace 300123, recovering 8 pages.
> 13:45:23 Dropping temporary TBLspace 300124, recovering 8 pages.
> 13:45:23 Dropping temporary TBLspace 300125, recovering 8 pages.
> 13:45:23 Dropping temporary TBLspace 300126, recovering 8 pages.
> 13:45:23 Dropping temporary TBLspace 300127, recovering 8 pages.
> ..................and so on>
> Can anyone tell me what is causing this?? Is this a bad thing??
Not directly, but indicates transactions were not rolled back.
> Aren't any temp tables created by a database process dropped when the
> process ends??
>
> I am creating temp tables in a few processes w/ the NO LOG option. Is
> this the culprit?
This is probably due to a little known change in the functionality of
some onmode options. Specifically the k option, which used to rollback
transactions for you, as in the u option. Now it does not, so rollback
is left to the fast recovery process. So you have two options:
1. onmode -ky Bring engine down quickly, no rollbacks
2. onmode -kuy Bring engine down after rollbacks finish
Are you using number 1? If so, try number 2.
Hope that helps,
--
Mark.
+----------------------------------------------------------+-----------+
|Mark D. Stock - Informix SA http://www.informix.com |//////// /|
|mailto:mdstock@informix.com http://www.informix.com/idn |///// / //|
|http://www.iiug.org +-----------------------------------+//// / ///|
| Tel: +27 11 807 0313 |If it's slow, the users complain. |/// / ////|
| Fax: +27 11 807 2594 |If it's fast, the users keep quiet.|// / /////|
|Cell: +27 83 250 2325 |Therefore, "No news: travels fast"!|/ ////////|
+----------------------+-----------------------------------+-----------+