授权:
grant query rewrite to myuser;
or
grant global query rewrite to myuser;

解决方案 »

  1.   

    create index indexname
    on tablename.columnname;
      

  2.   

    这些问题的答案查一下sql reference,稍作测试就行了,实在没什么厉害的 :)
      

  3.   

    The system privilege GRANT REWRITE allows you to enable materialized views in your own schema for query rewrite only if all tables directly referenced by the materialized view are in that schema. The GRANT GLOBAL REWRITE privilege allows you to enable materialized views for query rewrite even if the materialized view references objects in other schemas.
      

  4.   

    biti_rainy(biti_rainy):同感。
    其实来csdn后,自己的问题都是自己解决的。因为你自己的具体环境和问题详细情况常常无法让解答人很清楚。而且有些问解决后也不一定就知道其到底是什么原因,过了一段时间继续查资料才知道所为何故。新手常常不会查资料(其实谁能把自己看过的东西都记得很清楚,而且还有那么多没有接触过的呢!),这就造成进步比较慢。网络上的资源非常多,尤其外国的技术网站上好东西实在是多。基本上我自己的问题都是在那些网站上查到资料,分析自己的实际情况后采取措施解决的。不过,我还是很喜欢这里,比较有人气,有亲切感,高手也很多。
      

  5.   

    谢谢 三千兄 很敬佩
      也谢谢biti_rainy(biti_rainy), jiezhi(往事如烟)两位的感叹.
      答疑解或,务实最好 .