473,395 Members | 1,977 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

Newbie question - this is highly unusal

This is highly unusual. I do this only out of desperation. I am DB2
DBA on unix and recent had to take on Oracle admin as well. This
question is really about Oracle export/import. Why I post here
( please allow me once ) because
I posted at the other Google Oracle main group and it's surprising
under-attended, very few recent posters and lots of spams. I ask here
because some of you would have been experienced Oracle DBA as well.
I am just starting out as Oracle DBA on Solaris 9i, been on DB2 UDB
LUW and MSSQL and Sybase. I finished
exp/imp a schema from from another oracle instance. Everything looked
good except:

select dbms_metadata.get_granted_ddl ('SYSTEM_GRANT','XXXX') from
dual;
DBMS_METADATA.GET_GRANTED_DDL('SYSTEM_GRANT','XXXX ')
---------------------------------------------------------------------------*-----
GRANT SELECT ANY DICTIONARY TO "XXXX"
GRANT CREATE ANY SNAPSHOT TO "XXXX"
on my original db, I got:
SQLselect dbms_metadata.get_granted_ddl ('SYSTEM_GRANT','XXXX')
from
dual;
DBMS_METADATA.GET_GRANTED_DDL('SYSTEM_GRANT','XXXX ')
---------------------------------------------------------------------------*-----
GRANT SELECT ANY DICTIONARY TO "XXXX"
GRANT CREATE ANY SNAPSHOT TO "XXXX"
GRANT CREATE ANY VIEW TO "XXXX"
GRANT UNLIMITED TABLESPACE TO "XXXX"
Before I started the import (with fromuser=XXXX touser=XXXX) , I
granted (from sys as sysdba I think),
GRANT SELECT ANY DICTIONARY TO "XXXX";
GRANT CREATE ANY SNAPSHOT TO "XXXX";
GRANT UNLIMITED TABLESPACE TO "XXXX";
grant select any dictionary to "XXXX";
and was succesfully. I didnt run the dbms-get-ddl to check - thinking
all was well - it said success after all.
then later i checked.

Why "CREATE ANY VIEW" and "UNLIMITED TABLESPACE" not shown up ?
----------------------------------------------- part 2
----------------------------------
By the way data compared with source looked good after import. Same
counts and everything although I didnt check every user tables. I did
get this on the log output of imp:
IMP-00017: following statement failed with ORACLE error 20001:
"DECLARE SREC DBMS_STATS.STATREC; BEGIN SREC.MINVAL := '30383131';
SREC.MAX"
"VAL := '796E69656C73656E'; SREC.EAVS := 0; SREC.CHVALS := NULL;
SREC.NOVALS"
" :=
DBMS_STATS.NUMARRAY(250369961492205000000000000000 000000,63050733528527"
"5000000000000000000000); SREC.BKVALS := DBMS_STATS.NUMARRAY(0,1);
SREC.EPC "
":= 2;
DBMS_STATS.SET_COLUMN_STATS(NULL,'"UNUSUAL_ACTIVIT Y_LOG"','"CHANGED_B"
"Y_NAME"', NULL ,NULL,NULL,80,.0125,1552,srec,3,6); END;"
IMP-00003: ORACLE error 20001 encountered
ORA-20001: Invalid or inconsistent input values
ORA-06512: at "SYS.DBMS_STATS", line 3425
ORA-06512: at line 1
About to enable constraints...
Import terminated successfully with warnings.
Is it only bad statistics ? nothing to worry about right and I can
run compute statistics on the user tables to fix ? The export log
did
say something about "questionable statistics".
Your answer is most appreciated. --Richard
Jul 25 '08 #1
1 2571
You can ask your question on:
comp.databases.oracle.server
http://groups.google.com/group/comp.....server/topics
or
comp.databases.oracle.misc
http://groups.google.com/group/comp....le.misc/topics

They are very active(may be more than ibm-db2).
Jul 25 '08 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Luna Moon | last post by:
seeking highly efficient caches scheme for demanding engineering computing? HI all, To same the time of costly function evaluation, I want to explore the possibility of caching. Suppose in...
2
by: ata | last post by:
Hi, I need to create a user control that has got a property named "Items" which is of StringCollection type. On the other hand, the collection is supposed to be populated declaratively through...
0
by: Twayne | last post by:
Twayne wrote: That's the verification I was looking for I think. There are times that doesn't seem to be so, but perhaps I'll looking at the wrong side of the tree in the wrong forest ... I...
5
by: Banibrata Dutta | last post by:
Hi, I've gone through the list of "language differences" between 2.3 / 2.4 & 2.5 of CPython. I've spend around 2 weeks now, learning v2.5 of CPython, and I consider myself still very very...
44
by: Andy Dingley | last post by:
On 15 May, 04:55, Prisoner at War <prisoner_at_...@yahoo.comwrote: Or in another universe, where things are understood and site code is stable and reliable, beginners don't even think about...
4
by: Nighthawk | last post by:
Hi, I do have some experience in programming in C# but mainly with database. Now I am trying to learn some systems programming. I am trying to do some project on WiFi radar to begin with. I...
144
by: dominantubergeek | last post by:
Hello, I'm a highly experienced expert C programmer and I've written this code to reverse a string in place. I think you could all learn something from it! int reverse(char* reverseme){ int...
12
by: Gilles Ganault | last post by:
Hello I'm getting some unwanted result when SELECTing data from an SQLite database: ====== sql = 'SELECT id FROM master' rows=list(cursor.execute(sql)) for id in rows: sql = 'SELECT...
12
Adnann
by: Adnann | last post by:
Hi, I have just started learning C# on my own and I am stuck somewhere. Here is the code. public partial class frmMain : Form { public frmMain() { ...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.