0

私は物事をスピードアップするためにVIEWを作成することを考えています、そして私の質問は次のとおりです:VIEWSはセッション/接続ごとですか、それともグローバルですか?

例:

User Foo issues a query that creates a VIEW X, then user Foo continues to query
against VIEW X.  
Meanwhile, User Bar issues the same query that creates a VIEW X because the creation and the name is hard coded into the function issuing the query.

さて、ユーザーFooとユーザーBarは同じVIEW Xで動作しますか、それともそれぞれ「プライベート」VIEW Xを持っていますか?

4

1 に答える 1

2

それらはデータベースで作成され、セッションにバインドされていません。ビューが実際に異なるセッションで同じである場合は、CREATE ORREPLACEVIEWを使用できます。

于 2011-01-20T12:55:30.967 に答える