Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> Re: Simple SQL waiting on 'log file sync'

Re: Simple SQL waiting on 'log file sync'

From: Arul Ramachandran <contactarul_at_gmail.com>
Date: Fri, 18 Nov 2005 10:35:29 -0800
Message-ID: <1c1a62990511181035of37e086j7cc6c4e8677c68b4@mail.gmail.com>


You may want to drop those bit map indexes and create it after the load to see if there is a difference.
 and you may want to consider doing this for every run.  ~Arul

 On 11/18/05, Deepak Sharma <sharmakdeep_oracle_at_yahoo.com> wrote:
>
> I have a SQL statement as follows:
>
> INSERT INTO A1 SELECT * FROM B1;
>
> Table A1 has about 900K rows, 1 PK and has 4 Bitmap
> indexes.
>
> When I run the above from SQL*Plus with a 10046 trace,
> I see a lot of mesages as follows related to 'log file
> sync' :
>
> WAIT #1: nam='log file sync' ela= 59250 p1=9313 p2=0
> p3=0
>
> This statement usually completes in < 5 mins, but for
> last 2 days it's running continuously for several
> hours, and the only wait event I see is 'log file
> sync'.
>
> My question is:
>
> 1) Isn't 'log file sync' related to commits? In above
> I am not even commiting.
> 2) System-wide we are not seeing this wait event, but
> just for this session.
>
> Thanks,
> Deepak
>
>
>
> __________________________________
> Yahoo! FareChase: Search multiple travel sites in one click.
> http://farechase.yahoo.com
> --
> http://www.freelists.org/webpage/oracle-l
>
>
>

--
http://www.freelists.org/webpage/oracle-l
Received on Fri Nov 18 2005 - 13:39:22 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US