Why do the old avatars remain in my old entries after being removed?
Oracle materialized view strange problem.
Hello Guest
  
  • Login
• Register…
• Start blog
  • Who, Where, When
• What is interesting here?
• Duels
  • Polls
• Avatars
• Interests
  • Cities and Countries
• Random blog
• Users search
  • Search
• Games
• Tests
• QAIX
  • Сообщества
• Talxy Chat
• Horoscope
• Online
 
Register!

QAIX > Oracle database development > Oracle materialized view strange problem. 25 April 2006 21:00:26

  Top users: 
  Recent blog posts: 
  Forums:   
  Discuss: 
  Recent forum topics: 
  Recent forum comments:
  Модератор:

Oracle materialized view strange problem.

Jack 25 April 2006 13:23:57
 Hi,

This problem is driving us crazy.


We have 2 databses (A & B).Initially both were 8i (we never faced this
problem then). Now B is 10g.

One query at 'A' uses a fast refreshing materialized view based on one
table of 'B'.

At one time this query runs without any problem (1-2 minutes ) and
moments later the exact query takes a long time (I left it running and
it completed in 20hrs).

Any help will be greatly appreciated.

Many Thanks

Add comment
Laurenz Albe 25 April 2006 14:10:36 permanent link ]
 Jack <amitkr.3@gmail.com­> wrote:> We have 2 databses (A & B).Initially both were 8i (we never faced this> problem then). Now B is 10g.

How exactly did B get to be 10g now?

Please be as specific as you can.
One query at 'A' uses a fast refreshing materialized view based on one> table of 'B'.>
At one time this query runs without any problem (1-2 minutes ) and> moments later the exact query takes a long time (I left it running and> it completed in 20hrs).

I cannot offer a solution, but I am interested in your problem as we
also use Materialized Views between 8 and 10 and are anxious to know
potential problems.

There's two things I would do to determine the problem:
- Look for locks in the target database when the refresh takes a long time.
- If possible, turn on SQL tracing on B and see what statements are
issued and where the time gets lost.

Yours,
Laurenz Albe
Add comment
Jack 25 April 2006 14:15:29 permanent link ]
 B is moved to a new box with 10g(re platforming).

The refresh is working fine.....

Add comment
Laurenz Albe 25 April 2006 15:21:13 permanent link ]
 Jack <amitkr.3@gmail.com­> wrote:> B is moved to a new box with 10g(re platforming).>
The refresh is working fine.....

Oh, I didn't realize that.
So it is probably not a Materialized View problem at all.

When you mean, 'seconds later', do you mean seconds later in the same
session? Or in a new session? Or from a different computer?

Yours,
Lauenz Albe
Add comment
Jack 25 April 2006 17:44:00 permanent link ]
 diffrent session....(lots of procedures fired after one another through
unix shell script).... so session changes

Add comment
Laurenz Albe 25 April 2006 18:55:12 permanent link ]
 Jack <amitkr.3@gmail.com­> wrote:> diffrent session....(lots of procedures fired after one another through> unix shell script).... so session changes

Have you had a look at the explain plans? If you start the queries
with sqlplus, you could SET AUTOTRACE ON before you execute the query.

Also, when the query takes a long time, are there any locks on the database?

Yours,
Laurenz Albe
Add comment
 

Add new comment

As:
Login:  Password:  
 
 
  
 
Пожалуйста, относитесь к собеседникам уважительно, не используйте нецензурные слова, не злоупотребляйте заглавными буквами, не публикуйте рекламу и объявления о купле/продаже, а также материалы нарушающие сетевой этикет или законы РФ. Ваш ip-адрес записывается.


QAIX > Oracle database development > Oracle materialized view strange problem. 25 April 2006 21:00:26

see also:
A very, very simple question
Net::FTP Help!
Hashrow into an array
pass tests:
see also:
PS3 firmware update adds full screen…
Free iPod nano raffle for Christamas
Aimersoft MKV Converter v2.0.2.13

  Copyright © 2001—2010 QAIX
Идея: Монашёв Михаил.
Авторами текстов, изображений и видео, размещённых на этой странице, являются пользователи сайта.
See Help and FAQ in the community support.qaix.com.
Write in the community about the bugs you have noticedbugs.qaix.com.
Write your offers and comments in the communities suggest.qaix.com.
Information for parents.
Пишите нам на .
If you would like to report an abuse of our service, such as a spam message, please .
Если Вы хотите пожаловаться на содержимое этой страницы, пожалуйста .