DBAsupport.com Forums - Powered by vBulletin
Page 2 of 2 FirstFirst 12
Results 11 to 15 of 15

Thread: Views

  1. #11
    Join Date
    Jun 2000
    Location
    Madrid, Spain
    Posts
    7,447
    I just did a small test

    create view temp as
    select ename, dname
    from emp, dept
    where emp.deptno=dept.deptno

    then I query temp (select * from temp), then I check v$sql

    it shows

    sqL_text
    ---------------
    select * from temp



    Seems like the SQL that comprises the view is not cached?

  2. #12
    Join Date
    Jun 2001
    Posts
    243
    I have some problem with views on my prod database. When I select * from view_name on prod, I get no rows returned, but when I run same query using same view, I get 1000 rows. Why is this happeneing to me.

  3. #13
    Join Date
    Jun 2001
    Posts
    243
    sorry, I meant to say when I run the same query on my test database it retrieves 1000 rows. This is on 9.2.0.3 with Win 2000 Server.

  4. #14
    Join Date
    Nov 2002
    Location
    New Delhi, INDIA
    Posts
    1,796
    Why don't you open a new thread, why replying to a two year old thread?
    Amar
    "There is a difference between knowing the path and walking the path."

    Amar's Blog  Get Firefox!

  5. #15
    Join Date
    Oct 2000
    Location
    Saskatoon, SK, Canada
    Posts
    3,925
    Pando,

    One other thing you want to watch out with allowing then to use views is that they don't issue any conditional clause against a view in their query. It will turn into totally a different ball game. I had some developers do that here, and complained that the database was slow.

    -sam
    Thanx
    Sam



    Life is a journey, not a destination!


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Click Here to Expand Forum to Full Width