segment advisor oracle 10g [message #223304] |
Thu, 08 March 2007 07:17 |
mohsinali
Messages: 24 Registered: December 2006 Location: KARACHI PAKISTAN
|
Junior Member |
|
|
HI there,
i am running this small script to create a task through pl/sql pertaining to segment advisor but when i run the script it gives me an error that the segment advisor does not exist.. what is the problem... the pl/sql is as follows
declare
task_name varchar2(100);
task_descr varchar2(100);
object_id number;
begin
task_name := '';
task_descr := 'free space in scott.emp';
dbms_Advisor.create_Task
('Segment advisor ', :task_id, task_name,task_descr,NULL);
dbms_advisor.create_object(
task_name,'TABLE', 'SCOTT','EMP',NULL,NULL,object_id);
dbms_advisor.set_Task_parameter
(task_name,'RECOMMEND_ALL','TRUE');
DBMS_ADVISOR.EXECUTE_tASK(task_name);
end;
and the error is
ERROR at line 1:
ORA-13601: The specified Advisor Segment advisor does not exist.
ORA-06512: at "SYS.PRVT_ADVISOR", line 3665
ORA-06512: at "SYS.DBMS_ADVISOR", line 102
ORA-06512: at line 8
|
|
|
|
|
|
Re: segment advisor oracle 10g [message #223672 is a reply to message #223608] |
Sat, 10 March 2007 04:07 |
mohsinali
Messages: 24 Registered: December 2006 Location: KARACHI PAKISTAN
|
Junior Member |
|
|
i am using windows xp professional edition service pack 2 and i ll soon configure enterprise linex version 10 TAroon in the next week so what should i do on windows and can u tell me a bit about configure oracle on linex
|
|
|
|
Re: segment advisor oracle 10g [message #224286 is a reply to message #223711] |
Tue, 13 March 2007 13:59 |
mohsinali
Messages: 24 Registered: December 2006 Location: KARACHI PAKISTAN
|
Junior Member |
|
|
HELLO
I am continously defining is the sid but when run the command
emctcl start dbconsole then it is saying that the environment variable oracle_sid is not defining
i am using these commmands
c:\> set oracle_sid = orcl --orcl is my database sid
c:\> set oracle_home =c:\oraHome_1
c:\> emctl start dbconsole
where am i mistaking now..
|
|
|
|
|
|
|
|
Re: segment advisor oracle 10g [message #225001 is a reply to message #223304] |
Fri, 16 March 2007 08:44 |
mohsinali
Messages: 24 Registered: December 2006 Location: KARACHI PAKISTAN
|
Junior Member |
|
|
thankyou taj the documentation you provided helps me and now my em is working ,i need to ask you help in the code segment for segmetn advisor... i am still having the same error as i had before this configuration
declare
task_name varchar2(100);
task_descr varchar2(100);
object_id number;
begin
task_name := '';
task_descr := 'free space in scott.emp';
dbms_Advisor.create_Task
('Segment advisor ', :task_id, task_name,task_descr,NULL);
dbms_advisor.create_object(
task_name,'TABLE', 'SCOTT','EMP',NULL,NULL,object_id);
dbms_advisor.set_Task_parameter
(task_name,'RECOMMEND_ALL','TRUE');
DBMS_ADVISOR.EXECUTE_tASK(task_name);
end;
ERROR at line 1:
ORA-13601: The specified Advisor Segment advisor does not exist.
ORA-06512: at "SYS.PRVT_ADVISOR", line 3665
ORA-06512: at "SYS.DBMS_ADVISOR", line 102
ORA-06512: at line 8
y the segment advisor does not exist... what can i do to sort out this...
|
|
|
|
|
Re: segment advisor oracle 10g [message #226533 is a reply to message #223304] |
Sat, 24 March 2007 14:34 |
mohsinali
Messages: 24 Registered: December 2006 Location: KARACHI PAKISTAN
|
Junior Member |
|
|
hello to all the experts
can u guys plz guide me how to turn on the media recovery functionality... i am configuring the flashback database features so when i write the command
alter database flashback on;
it gives the following error
SQL> alter database flashback on;
alter database flashback on
*
ERROR at line 1:
ORA-38706: Cannot turn on FLASHBACK DATABASE logging.
ORA-38707: Media recovery is not enabled.
|
|
|
|
|
|
|
Re: segment advisor oracle 10g [message #226592 is a reply to message #226591] |
Sun, 25 March 2007 08:14 |
Mohammad Taj
Messages: 2412 Registered: September 2006 Location: Dubai, UAE
|
Senior Member |
|
|
Hi,
man i use to search answer over the ... by searching the web i found the orafaq.com ... my intention is not like dat what u stated so please... if u don wana answer any question then u don
i am surprised that ur a senior member and ur doing these kinda things here....
Don't use IM SPEAK please.
archive log mode because its consuming too much space on my computer
Your disk space is more important compare archive log files. i hope if it is PRODUCTION DATABASE then your answer is NO. then please change your archive log mode.
regards
Taj
[Updated on: Sun, 25 March 2007 08:17] Report message to a moderator
|
|
|