用户创建的对象存储在哪里?

时间:2013-12-27 04:53:31

标签: mysql sql database oracle rdbms

在Oracle中,每个用户都是一个模式,默认情况下,每个用户创建的对象都在其模式中创建。

在MySQL中,用户及其权限存储在mysql.user中,但是当他们创建了创建对象的对象时?

每个用户是否有架构的概念?

我们可以为MySQL和Oracle中的表和索引创建单独的模式吗?

1 个答案:

答案 0 :(得分:2)

MySQL Glossary

中所定义
In MySQL, physically, a schema is synonymous with a database. 
You can substitute the keyword SCHEMA instead of DATABASE in MySQL SQL syntax, 
for example using CREATE SCHEMA instead of CREATE DATABASE.

Some other database products draw a distinction. For example, in the Oracle 
Database product, a schema represents only a part of a database: the tables 
and other objects owned by a single user.
相关问题