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 November 11th, 2004, 08:20 AM
jiggee jiggee is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2004
Posts: 27 jiggee User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 13 m 27 sec
Reputation Power: 0
Question View Limitations

We are using 8i and was wondering if there is a limitation as to how many columns can there be in a view. Also from a design and performance perspective is it acceptable to have views with 100+ columns ? any help will be highly appreciated.

jiggaman

Reply With Quote
  #2  
Old November 11th, 2004, 09:02 AM
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 2 m 57 sec
Reputation Power: 48
I think the 255 columns limit still applies for 8i.

The view's performance is under the influence of several factors:
1. SQL in the view text
2. How the optimizer (plus hints) responds to the text. If you execute the sql
for the view with EXPLAIN PLAN, it will tell you good/bad performance.
3. How well the indexes, etc., are set up for the underlying tables.

I'm personally not a fan of database designs that have tables and views with huge numbers of columns. It usually indicates a really bad design. A view should try really hard to serve ONE business requirement and do the job perfectly. It shouldn't try to answer all possible situations.

Reply With Quote
  #3  
Old November 11th, 2004, 10:28 AM
jiggee jiggee is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2004
Posts: 27 jiggee User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 13 m 27 sec
Reputation Power: 0
Thanx for the reply. Personally I avoid creating such big views, however the information that is captured the table itself i ihas 100+ fields. so now we go to heart of the problem that the table itself have many fields, we could store redundant column info in one colum and the actual data pertaining to that in another column, there by reducing the no of colums. but now there is just to much redundant data in the table. any suggestions ?

Reply With Quote
Reply

Viewing: Dev Shed ForumsDatabasesOracle Development > View Limitations


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 4 hosted by Hostway