マテリアライズドビューの削除
マテリアライズドビューを削除⇒再作成をしたいのですが、
削除ができなくなりました。経緯は以下です。
1.作成
CREATE MATERIALIZED VIEW MV_XXX
BUILD IMMEDIATE
REFRESH FORCE
ON DEMAND
START WITH SYSDATE NEXT SYSDATE + 1
WITH PRIMARY KEY
AS
SELECT ・・・
で正常に作成。
2.削除(初回)
drop MATERIALIZED VIEW MV_XXX
とすると、
ORA-04020オブジェクト MV_XXXをロックしようとしてデットロックを検出しました
となりましたが、EM上からは消えていました。
3.再作成
それでは、と CREATE MATERIALIZED VIEW
すると、ORA-00955: すでに使用されているオブジェクト名です。
といわれてしまいます。
4.user_objectsで確認
select object_name, object_type from user_objects where object_name like 'MV_%';
とするとテーブルとマテリアライズドビューの両方に同名のオブジェクトがヒットする
5.テーブルを削除
テーブルはDropTableできた
で行き詰まり、
・Drop materialized viewはその後何回やっても
マテリアライズド・ビューが削除されました。
と正常に処理される
・select object_name, object_type from user_objects where object_name like 'MV_%';
はマテリアライズドビューだけがヒットする
・EnterpriseManagerからはマテビューが見えない
・Select count(*) from MV_XXX を実行すると
行1でエラーが発生しました。:
ORA-00942: 表またはビューが存在しません。
・CREATE MATERIALIZED VIEW
すると、ORA-00955: すでに使用されているオブジェクト名です。
といわる。
の状態から抜け出せなくなりました。
表領域やユーザーの削除を行わず解決できないでしょうか?
oracleの再起動でも治りませんでした。
すいません、どなたかご教示お願いたします。
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
です。
SlideArea
Edited by: SlideArea on 2012/05/07 20:51
Edited by: SlideArea on 2012/05/07 20:53
Thank you Richard!
It's hard to find Japanese forum...
My question is I can't drop materialized view.
1.I could drop table same name as materialized view.
2.drop materialized view statement is normally successd.
3.but create materialized view is not successed.
4.select object_name from user_object shows the materialized view is alive.
I will try to drop user or tablespace tomorrow.
Anyway, thank you for your kindness,
SlideArea
Similar Messages
-
ошибка загрузки
Не могу установить программы в Creative Cloud пишет ошибка загрузки
Please refer to :
Error downloading and installing Creative Cloud application
Troubleshoot CCM Applet installation and download
Creative Cloud "Download Error" message
It should help you.
Regards
Rajshree -
Hello All.
I'm install R Enterprise in my ora 11 base. And try execute code.
From RStudio I run this:
## Is the ORE client connected to the ORE server?
## The output of this command should be TRUE.
ore.is.connected() - it's work
## List the available database tables
ore.ls() - It's work too
## Push an R dataframe to a database table
CARS <- ore.push(cars) -OK
head(CARS) -OK
## Run embedded R
ore.doEval(function() { 123 }) - It's ERROR
Error in .oci.GetQuery(conn, statement, data = data, prefetch = prefetch, :
ORA-06520: PL/SQL: Error loading external library
ORA-06522: Unable to load DLL
ORA-06512: at "RQSYS.RQEVALIMPL", line 17
ORA-06512: at "RQSYS.RQEVALIMPL", line 14
ORA-06512: at line 4
More, I run this from SQL Developer:
BEGIN
sys.rqScriptCreate('myRandomRedDots2',
'function(divisor = 100, numDots = 100) {
id <- 1:10
plot(1:numDots, rnorm(numDots), pch = 21, bg = "red", cex = 2 )
data.frame(id = id, val = id / divisor)
END;
It's correct.
But it's ERROR:
"SELECT *
FROM table(rqEval(NULL, 'SELECT 1 id, 1 val FROM dual', 'myRandomRedDots2'));
ORA-06520: PL/SQL: Ошибка загрузки внешней библиотеки
ORA-06522: Unable to load DLL
ORA-06512: на "RQSYS.RQEVALIMPL", line 17
ORA-06512: на "RQSYS.RQEVALIMPL", line 14
ORA-06512: на line 4
06520. 00000 - "PL/SQL: Error loading external library"
*Cause: An error was detected by PL/SQL trying to load the external
library dynamically.
*Action: Check the stacked error (if any) for more details.
Please HELP ME. Where solution?What platform (Windows, Linux, or other?) are you running?
Does libR.so exist in $R_HOME/lib and $ORACLE_HOME/lib?
Regards,
Sherry -
When I try to open my web browser or a new webpage then it writes out the next in a pop-up window: Ошибка в функции YtFlv2Mp3.DocOnLoad. TypeError: oDoc.location.href.startsWith is not a function. I hope that the problem can be solved.
Thank you so much! Arigatou! Danke schön! Köszönöm!
-
ошибка код 205 при установки Creative Cloud на windows 8.1. Что делать?
ошибка код 205 при установки Creative Cloud на windows 8.1. Что делать?
-
Установил пробную версию Adobe Photoshop Elements v.11, срок действия закончился, я её удалил.. Купил лицензионную программу, а она не устанавливается! В конце загрузки, при установке общих компонентов пишет:"Не удалось установить Shared Technologies" и делает откат программы. Как мне исправить эту ошибку? Спасибо!!!
-
Было утановлено OS X Moutain Lion 10.8. При загрузке обновлдения 10.8.1. возникает ошибка. Как все исправить???????
My mail application completely failed shortly after the upgrade to Mountain Lion. None of the user advice has repaired it from these forums, so I have now resigned myself to using my ipad and iphone to conduct all my business emails. I was hopeful that this first 10.8.1 update from Apple would restore the my mail application. I can frustratingly report that no, it certainly hasn't. No change in fact. I click on the mail app and the beachball of death continues for about 5 minutes then it comes up with a message 'there is a problem with your mailboxes' with the option to quit or quit and rebuild index. If I choose that latter, the beachball resumes it's rotation forever or until I hard reset the machine as all other programs crash at this point. Apple, please help FAST, this is no way to run a business!!!!
-
Постоянно выскакивает ошибка Buffer overrun detected firefox.exe После этой ошибки закрываю Firefox но процесс firefox остается незавершенным, и приходится его завершать вручную в Диспетчере задач. После перезагрузки компьютера эта ошибка поначалу не появляется, но затем снова выскакивает, и все чаще и чаще, и так до следующей перезагрузки. Раньше такого не случалось, это началось несколько месяцев назад, невозможно спокойно работать с интернетом. Прошу мне помочь.
-
Не пускает в ICloud ошибка 403
Не пускает в ICloud ошибка 403 что это может быть в Appstore пускает
Try сбросить пароль Apple ID.
Коснитесь Настройки> Магазин> Apple ID> iForgot -
ERROR: Media DB Error : 12 ошибка при установке illustrator
Give full permisson in to below given location also inherite the permission to sub folders and files.
Windows (64 bit OS) : C:\Program Files (x86)\Common Files\Adobe\caps
Windows (32 bit OS) : C:\Program Files\Common Files\Adobe\caps
MAC : /Llibrary/Application support/Adobe/caps
Then try to install, if still not work then Rename media_db.db located in above mentioned location to media_db_old.db
After Renaming try to install the software -
Не могу войти в мобильный интернет, всё подключено, но пишет: "ОШИБКА АУТЕНТИФИКАЦИИ PDP". Что делать?
hello, you could try resetting the file in your firefox profile that holds the certificate information, maybe it has become corrupted.
therefore go to ''firefox > help > troubleshooting information'', click on ''profile folder/show folder'' and close all firefox windows afterwards. a windows explorer window should open up - in there rename or delete the file named '''cert8.db''' (& '''cert_override.txt''' in case it is present) - it will be regenerated again the next time you launch the browser. -
Ошибка установки
При установке Adobe Degign Standart на Windows 7 возникла ошибка,
Exit Code: 20
-------------------------------------- Summary --------------------------------------
- 0 fatal error(s), 0 error(s), 0 warning(s)You have to provide exact system info. This simply looks like your system does not at all meet the requirements.
Mylenium -
mac выдает: ошибка 4sns/1/40000000:tmop/65.625. Подскажите что делать и как настраивать?
-
Good afternoon. Please tell me the answer to the question about the slow download appstore. Phone Iphone 5 6.1.2. Different modes have switched on the router. Download speed is still very low. Program 10 minutes 10 mb swings
я не знаю, есть ли у wifi адаптеров стационарных компьютеров опция энергосбережения, если есть - попробуйте отключить ее в диспетчере устройств.
x220 | i5-2520m | Intel ssd 320 series | Gobi 2000 3G GPS | WiFi
x220 | i5-2520m | hdd 320 | Intel msata ssd 310 series | 3G GPS | WiFi
Do it well, worse becomes itself
Русскоязычное Сообщество English Community Deutsche Community Comunidad en Español -
After upgrading from 15 to 18 and then to 19 version, all addons turned off.
When goind to addon manager page, it shows Loadin... and nothing more. Error from console in subj.It is possible that there is a problem with the file(s) that store the extensions registry.
Delete the files extensions.* (e.g. extensions.sqlite, extensions.ini, extensions.cache) and compatibility.ini in the Firefox profile folder to reset the extensions registry.
*https://support.mozilla.org/kb/Profiles
New files will be created when required.
See "Corrupt extension files":
*http://kb.mozillazine.org/Unable_to_install_themes_or_extensions
*https://support.mozilla.org/kb/Unable+to+install+add-ons
If you see disabled, not compatible, extensions in "Tools > Add-ons > Extensions" then click the Tools button at the left side of the Search Bar (or click the "Find Updates" button in older Firefox versions) to check if there is a compatibility update available.
If this hasn't helped then also try to delete the addons.sqlite file. -
HELP.. Помогите пожалуйсто починить iPhone
Ну пожалуйста помогите!!!
Maybe you are looking for
-
IPhone 4 iOS 5.0.1 stops receiving calls and text messages
Hi all, My iPhone 4 (iOS 5.0.1) suddenly stopped receiving calls and text messages. However, I'm still able to send them. The workaround for fixing this issue is to make an hard reset to the iPhone. This only occured with 5.0.1 version. It's very ann
-
see question above
-
Hi everyone, I have 10 users on my current Server 2008 R2 machine, 2 of which are administrator accounts. But when logged in with either of those accounts on any client machine (Windows 7 Pro or Ultimate x64), and trying to perform certain actions, I
-
Hi, 10.2.0.4 on AIX 6.1 64bits. When startup (with pfile or startup without pfile) it fails asking startup with upgrade option and when start with upgrade , catupgrd.sql failes with ORA-20000: Upgrade not supported from version , which on Metalink it
-
Dynamic JDBC URL in JClient-Application
I want to switch between test and production database at login. I added JTextFields for the database server and sid in the default JCLoginDialog and set the parameters Configuration.DB_USERNAME_PROPERTY and Configuration.DB_PASSWORD_PROPERTY in the m