File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JDBC and Relational Databases and the fly likes does views take any space in database? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "does views take any space in database?" Watch "does views take any space in database?" New topic

does views take any space in database?

sam liya
Ranch Hand

Joined: Nov 25, 2008
Posts: 1240
Below is the question i got in exam.

I maked 2 as answer, but the answer is wrong.So that means views take space in database .Is it correct ?
Ulf Dittmer

Joined: Mar 22, 2005
Posts: 42959
Yes, they do. Not for data, but for the description of the view - making answer #1 the correct one.
Jeanne Boyarsky
author & internet detective

Joined: May 26, 2003
Posts: 32815

Additionally, some databases like Oracle support materialized views. These require space for the data as well.

[OCA 8 book] [Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Other Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, TOGAF part 1 and part 2
It is sorta covered in the JavaRanch Style Guide.
subject: does views take any space in database?
It's not a secret anymore!