Oracle Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsDatabasesOracle Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old March 4th, 2005, 08:03 PM
rchiu2hk rchiu2hk is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2003
Location: Hong Kong
Posts: 41 rchiu2hk User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 24 m 4 sec
Reputation Power: 6
Send a message via AIM to rchiu2hk Send a message via Yahoo to rchiu2hk
Several Views on one table

Dear all,

I find one problem in oracle database.
I have created several views on one table in the same schema. Then I create the SQL for input from these several views. It also halted and no response.

When I select only one view from one table, it works.

Is it because these several views locked the table?

If so, I think I need to create temp table for inserting from these views. And then select from these temp table.

Is there any alternative solutions?

Thanks for your help.
__________________
Real, Nice and Beautiful are my hungry for knowledges.

Reply With Quote
  #2  
Old March 9th, 2005, 01:02 PM
jim mcnamara jim mcnamara is offline
......@.........
Dev Shed Beginner (1000 - 1499 posts)
 
Join Date: Jun 2004
Posts: 1,308 jim mcnamara User rank is Sergeant Major (2000 - 5000 Reputation Level)jim mcnamara User rank is Sergeant Major (2000 - 5000 Reputation Level)jim mcnamara User rank is Sergeant Major (2000 - 5000 Reputation Level)jim mcnamara User rank is Sergeant Major (2000 - 5000 Reputation Level)jim mcnamara User rank is Sergeant Major (2000 - 5000 Reputation Level)jim mcnamara User rank is Sergeant Major (2000 - 5000 Reputation Level) 
Time spent in forums: 1 Week 3 Days 5 h 20 m 49 sec
Reputation Power: 48
try EXPLAIN PLAN for the SQL in each of your views.

Look for TABLE ACCESS FULL - that query needs tuning - or your base table needs indexes.

Reply With Quote
Reply

Viewing: Dev Shed ForumsDatabasesOracle Development > Several Views on one table


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway
Stay green...Green IT