This week's book giveaway is in the JavaFX forum.
We're giving away four copies of Introducing JavaFX 8 Programming and have Herbert Schildt on-line!
See this thread for details.
The moose likes JDBC and Relational Databases and the fly likes difference between instance and schema in dbms Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Introducing JavaFX 8 Programming this week in the JavaFX forum!
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "difference between instance and schema in dbms" Watch "difference between instance and schema in dbms" New topic
Author

difference between instance and schema in dbms

Vinod Vinu
Ranch Hand

Joined: Aug 30, 2009
Posts: 217
hi, please tell the what are instance and schema incase of dbms? please explain me with some e.g.
i googled for schema, it says no. of records, data type, attributes, etc... does it mean that schema is another name of table?


Vinod Kumar Nair
"Any fool can write code that a computer can understan. Good programmers write code that humans can understand."
Jeanne Boyarsky
author & internet detective
Marshal

Joined: May 26, 2003
Posts: 32609
    
215

No. A schema is a group of tables owned by the same user. For example I could have "vinod" schema and "jeanne" schemas in the same database instance. Each could have a "test" table because the schema gives a different namespace. Like a package does in Java.

A database instance is even higher level. Kind of like a separate database except it shares the same binaries. You can have the "vinod" schema in both database instances because they are separate.


[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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: difference between instance and schema in dbms
 
jQuery in Action, 3rd edition