We cannot pull a script using the grid control?
Hi allII need a script for the table and the indexex which is present in the database.
Is it possible to remove a script for this purpose in gridcontrol?
Thank you
In the console...
1. go on the homepage of the database
2. in the tab "schema".
3. on the link of the table or index
4. connect to the database
5. Select the schema
6. Select the table or index
7. in the drop action, select 'generate the ddl' and click 'go '.
Best regards
Robert
Tags: Enterprise Manager
Similar Questions
-
strange behavior in the planning of a script in the grid control
I have a script that works fine when I run it manually and through cron.it datapump exports.
I created jobs in the grid as operating system command and control as a script of the os type.
However when I schedule it's running in the grid control as a task, the task has failed
.sh: line 17: 4274 Abort (core dumped)
It exceutes all the lines of the os script except core dump/abort (line 17) which is
$ORACLE_HOME/bin/expdp
**********************************************************************************************************************
Grid control is 11 GR 2 and it's on Solaris10.It depends on what shell you use.
Please try
LD_LIBRARY_PATH_64 =""
Export LD_LIBRARY_PATH_64
-
Planning of a work of export using the Grid control
Hello
I had an obligation to schedule tasks for export in Oracle Grid Control 10.2.0.5 (Windows). Is this possible and have each done this? If so, please share the steps. The idea is to receive alerts when a job fails.
Thank you.
GBHere are the easy steps (there could be some slight differences as I'm posting screen of 11 g-based)
1. the grid control console, click on the relevant database
2. click on the tab "Data Movement.
3. click on "export to export the files.
4A chose the export type (Database / Schema / table / Tablespace)
5. provide credentials to the host (OS user name and password) and click on "continue". You will get a new screen called ' export: Options
6. click on the box called 'Generate a log file', and then select the directory object where you want to create the dump files. (You must create a database directory object, if you do not)
7. choose the option that you required the content, then click on ' * following *'. You will get a page called ' export: files
8. Select the directory object in the drop-down list and provide a name of filename format and click on "next".
9. here provide you the job name and description, and chose repeat options (daily, weekly, etc.) and click "next".
10. you will get a summary screen called ' export: Annex "." Review the details of your job and click 'submit '.
It's the solution, and it works well.
-
Using the Grid control with the ALLOWED_LOGON_VERSION parameter
Hello
We use a 10.2.0.4 database and a 10.1.2.3.0 grid control (with its own 10.2.0.4 database) and WHO and the database are patched up to April 2010 CPU. We tried setting the SQLNET. ALLOWED_LOGON_VERSION = 10 in the SQLNET.ora of the database, but it seems as if the control grid or the agent cannot connect to the database. This is the error that we received from the grid if the parameter is active.
ORA-28040: no authentication protocol matching (DBD ERROR: OCISessionBegin).
I found no information on activate or not the ALLOWED_LOGON_VERSION if a grid control is followed by a database.
Someone had this problem before?
Thank you
FrancisFrancis,
I googled on "SQLNET. ALLOWED_LOGON_VERSION = 10 ". This leads me to SQLNET. ALLOWED_LOGON_VERSION here is a description of the bug 6051243. Seaching on My Oracle support for this bug led me to the notes 466939. Looks like you're running in this bug.
Note 755605.1 gives you some solutions.Eric
-
the stream using the grid 10.2 control configuration
can configure us the flow through the grid control 10.2? Please let me know the step by step workflow configuration.
Thank you.Grid control has a wizard that allows you to configure the table, a schema or database replication complete. You can use the wizard to generate a script for the configuration, ask well. There are some resources available online covering the wizard of replication and monitoring of streams in general with EM.
For example, there is an annotated presentation (Grid Control 10.2.0.5: workflow management) which describes the pages EM streams and how to use them. Link: http://download.oracle.com/docs/cd/E11882_01/server.112/e10703/tdpii_repcont.htm
There is also an Oracle by example (OBE) demonstrating 11.2 management DBControl Brooks walking through the wizard configuration and replication and monitoring. Link: http://http//www.oracle.com/technology/obe/demos/11gr2/streams11_2/streams_and_em/streams_and_em_viewlet_swf.html
11.2 2 Day + data replication and integration book (Chapter 4) also includes a tour through the pages of stream DBControl 11.2. Link: http://download.oracle.com/docs/cd/E11882_01/server.112/e10703/tdpii_repcont.htm#BABEFAFI
Published by: pmcelroy on March 30, 2010 19:45
-
Hello
I got the grid control Setup on a server laboratory almost a year back and everything worked very well.
a week back from the developer could not access the URL.
While I try to start the services, I get the following error:
xvmdsxaor03: / opt/oem/oms10g/opmn/bin >. / opmnctl startall
opmnctl: from opmn and managed all process...
=========================================================================
opmn id = xvmdsxaor03:6200
0 out of 1 process started.
IAS instance-id = EnterpriseManager0.xvmdsxaor03
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
IAS-component/process-type/process-set:
HTTP_Server/HTTP_Server/HTTP_Server
Error
-> Process (pid = 1382)
Cannot start a process managed after the attempt limit maximum
Journal:
/ opt/OEM/oms10g/opmn/logs/HTTP_Server ~ 1
xvmdsxaor03: / opt/oem/oms10g/opmn/bin > 10 g/opmn/logs/HTTP_Server ~ 1
========================================================================
According to the newspapers:
========================================================================
06/09/23 07:59:55 start
--------
apachectl does not belong to this user
========================================================================
I checked for .apachectl and its property by the same user "oraoem" that I m starting services with. I'm not sure what is causing this problem:
[root@xvmdsxaor03 bin] # ls-l .apache *.
-rwsr-s - 1 oraoem s/n 1716966 5 August 2005 .apachectl
[root@xvmdsxaor03 bin] # pwd
/ opt/OEM/oms10g/Apache/Apache/bin
Please notify.
Thank you!What are you user to use 'startall opmnctl?
Ok...
Please...
$. / opmnctl stopall
$ ps - aef | grep oms10g
And then if find some process... Kill it to superuser.
# kill-9 ID_processus
OR (be careful)
# ps - aef | grep oms10g | AWK '{print $2} ' | XARGS kill-9Go to/opt/oem/oms10g/Apache/Apache/logs PATH
# cd/opt/oem/oms10g/Apache/Apache/logs PATH
Check the file httpd.pid
# ls - the httpd.pid
It must not be permission oracle, don't mind... verification process and remove
# ps - aef | grep 'cat httpd.pid '.
If find... kill
# rm f httpd.pid
Oh apachectl file (it is owned by oracle)
-rwx - 1 oracle oinstall 12615 10 May 2007 apachectl
After that the oracle Goto user, and then use 'startall opmnclt.
$. / opmnctl startall
and check the log
Good luck
-
I just bought a 6 d. is it possible to use the grid in other than the auto mode?
I just buy a 6 d. Is it possible to use the grid in other than the auto mode? Also, is there a way to use the self-timer in other than the auto mode?
Thank you very much. I look forward to your comments.
I have to assume that your camera came with a manual you need to rely on. In my manual for my 7 d Mark 2 the index near the end of the manual lists the applicapable pages for whatever this is relating to the use or other people. Grid is under G, Self Timer is under S and called "self-timer."
If you use a computer based pdf to see the info it will probably be several pages listed, but you can click on a page number to get to it rather than scroll to it.
-
SDO_NN cannot be assessed without using the index when put inside subquery
Hi all
I met a problem when you use the function sdo_nn to find the nearest neighbor. Here is my scenario:
_ I have 2 customer and store tables.
Customer table _ a client_ID and a 2D sdo_geom point
_ Store table has store_ID and a 2D polygon sdo_geom.
In the beginning, I have this query to find the nearest store to each customer as below:
Select s.STORE_ID, c.CLIENT_ID
store customer, s c
where sdo_nn (s.MYPOLYGON, c.MYPOINT, 'sdo_num_res = 1', 1) = "TRUE";
_It works as expected when it returns a table showing the nearest store each customer.
_Now I want to count the number of customers who have the same nearest store:
Select / * + INDEX (store store_spatial_idx, client_spatial_idx client) * / count (nearest_store. CLIENT_ID)
from (select s.STORE_ID, c.CLIENT_ID
store customer, s c
where sdo_nn (s.MYPOLYGON, c.MYPOINT, 'sdo_num_res = 1', 1) = "TRUE") nearest_store
Group of nearest_store. STORE_ID;
This query generates the following error:
Error report-
SQL error: ORA-13249: SDO_NN cannot be assessed without using the index
ORA-06512: at the 'MDSYS. MD", line 1723
ORA-06512: at the 'MDSYS. MDERR", line 17
ORA-06512: at the 'MDSYS. PRVT_IDX', line 9
13249 00000 - '%s '.
I'm pretty new to spatial databases and hope get help to go further. Thank you in advance!
Hello Pinball,
Oracle space tends to be a quite complex with many variables and moving parts. We chatted about the group to a sort of FAQ or guidelines to help people like you submit questions that actually answers. First of all, you really have to tell us the version of Oracle you are using. Particularly the problems involving the optimizer, version down to the exact defined patch number is a good idea. Secondly, you took the time to submit the question so I guess you want a response. If you really want to see the answer and then providing an example is one of the most important things that you can do. I'm going to do here for you, but in general people on this forum come and go and are often pushed into lurkitude, so if you want the coax to provide you with an example of work is the key.
DROP TABLE store1 PURGE; CREATE TABLE store1( store_id INTEGER NOT NULL ,shape MDSYS.SDO_GEOMETRY ,PRIMARY KEY(store_id) ); DROP TABLE client2 PURGE; CREATE TABLE client2( client_id INTEGER NOT NULL ,shape MDSYS.SDO_GEOMETRY ,PRIMARY KEY(client_id) ); CREATE OR REPLACE PROCEDURE seeder( p_client_count IN NUMBER ,p_store_count IN NUMBER ) AS sdo_foo MDSYS.SDO_GEOMETRY; int_counter NUMBER; FUNCTION random_point RETURN MDSYS.SDO_GEOMETRY AS num_x1 NUMBER; num_y1 NUMBER; BEGIN num_x1 := dbms_random.value(-179,179); num_y1 := dbms_random.value(-89,89); RETURN MDSYS.SDO_GEOMETRY( 2001 ,8265 ,MDSYS.SDO_POINT_TYPE( num_x1 ,num_y1 ,NULL ) ,NULL ,NULL ); END random_point; BEGIN int_counter := 1; FOR i IN 1 .. p_client_count LOOP -- Create a client point sdo_foo := random_point(); INSERT INTO client2 VALUES ( int_counter ,sdo_foo ); int_counter := int_counter + 1; END LOOP; int_counter := 1; FOR i IN 1 .. p_store_count LOOP -- Create a store polygon of some kind sdo_foo := MDSYS.SDO_GEOM.SDO_ARC_DENSIFY( MDSYS.SDO_GEOM.SDO_BUFFER( random_point() ,5000 ,0.05 ) ,0.05 ,'arc_tolerance=0.05' ); INSERT INTO store1 VALUES ( int_counter ,sdo_foo ); int_counter := int_counter + 1; END LOOP; COMMIT; END seeder; / BEGIN seeder(10000,200); END; / BEGIN INSERT INTO user_sdo_geom_metadata( table_name ,column_name ,diminfo ,srid ) VALUES ( 'STORE1' ,'SHAPE' ,MDSYS.SDO_DIM_ARRAY(MDSYS.SDO_DIM_ELEMENT('X',-180,180,.05),MDSYS.SDO_DIM_ELEMENT('Y',-90,90,.05)) ,8265 ); COMMIT; EXCEPTION WHEN OTHERS THEN NULL; END; / BEGIN INSERT INTO user_sdo_geom_metadata( table_name ,column_name ,diminfo ,srid ) VALUES ( 'CLIENT2' ,'SHAPE' ,MDSYS.SDO_DIM_ARRAY(MDSYS.SDO_DIM_ELEMENT('X',-180,180,.05),MDSYS.SDO_DIM_ELEMENT('Y',-90,90,.05)) ,8265 ); COMMIT; EXCEPTION WHEN OTHERS THEN NULL; END; / CREATE INDEX store1_spx ON store1 (shape) INDEXTYPE IS MDSYS.SPATIAL_INDEX NOPARALLEL; CREATE INDEX client2_spx ON client2 (shape) INDEXTYPE IS MDSYS.SPATIAL_INDEX NOPARALLEL; /* Works as expected */ SELECT s.store_id ,c.client_id ,MDSYS.SDO_NN_DISTANCE(1) FROM store1 s ,client2 c WHERE MDSYS.SDO_NN( s.shape ,c.shape ,'sdo_num_res=1' ,1 ) = 'TRUE'; /* No worky? Works for me */ SELECT ns.store_id ,COUNT(ns.client_id) FROM ( SELECT s.store_id ,c.client_id FROM store1 s ,client2 c WHERE MDSYS.SDO_NN( s.shape ,c.shape ,'sdo_num_res=1' ,1 ) = 'TRUE' ) ns GROUP BY ns.store_id ORDER BY ns.store_id;
So I wrote this about 12 c (12.1.0.2.0) and everything works fine for me. Then I moved back from 11 GR 2 (11.2.0.4.0) and of course, there are questions. So I guess that you don't use flavor of 11g. So at this point we can look at the docs and see for 11g, have you often need to specify which table is the head and that is the one that has the spatial index to use.
http://docs.Oracle.com/CD/E11882_01/AppDev.112/e11830/sdo_operat.htm#SPATL1032Its rather interesting that the optimizer of 12 c knows what you want, when I had to squint myself at your request and to play a little with the refining. Note that SDO_NN is sensitive, because the geometry of the main table should come second in the operator. I did not know that on the top of my head.
SELECT /*+ LEADING(c) INDEX(s store1_spx) */ s.store_id ,c.client_id ,MDSYS.SDO_NN_DISTANCE(1) FROM store1 s ,client2 c WHERE MDSYS.SDO_NN( s.shape ,c.shape ,'sdo_num_res=1' ,1 ) = 'TRUE'; SELECT ns.store_id ,COUNT(ns.client_id) FROM ( SELECT /*+ LEADING(c) INDEX(s store1_spx) */ s.store_id ,c.client_id ,MDSYS.SDO_NN_DISTANCE(1) FROM store1 s ,client2 c WHERE MDSYS.SDO_NN( s.shape ,c.shape ,'sdo_num_res=1' ,1 ) = 'TRUE' ) ns GROUP BY ns.store_id ORDER BY ns.store_id;
So I think that is your answer. Give it a shot and see if this fits the Bill. Of course, moving to 12 c would be useful for such things. It would be interesting to collect more examples of this kind of space thing where 12 c is the answer. Also, would be nice if we could mark somehow this discussion as applying only to 11g and earlier versions.
See you soon,.
Paul
-
SDO_NN giving ORA-13249: SDO_NN cannot be assessed without using the index
Hi people,
I do not understand why the SDO_NN gives ORA-13249 in circumstances.
SQL > SELECT SlavaTest WHERE SDO_NN s s.title (s.geometry, SDO_GEOMETRY (2001, 4326, SDO_POINT (14.0, 49.0, NULL), null, null)) = 'TRUE' and title like '%' and rownum < 10;
TITLE
--------------------------------------------------------------------------------
MultiPoint_305199
LineString_691779
MultiPolygon_180478
MultiPolygon_358113
MultiPolygon_53008
MultiPolygon_249905
MultiPolygon_204076
MultiPolygon_636994
MultiPoint_464514
9 selected lines.
SQL > SELECT SlavaTest WHERE SDO_NN s s.title (s.geometry, SDO_GEOMETRY (2001, 4326, SDO_POINT (14.0, 49.0, NULL), null, null)) = 'TRUE' and timestamp > = to_timestamp (January 6, 2011 ', ' dd/mm/yyyy') and rownum < 10;
SELECT SlavaTest WHERE SDO_NN s s.title (s.geometry, SDO_GEOMETRY (2001, 4326, SDO_POINT (14.0, 49.0, NULL), null, null)) = 'TRUE' and timestamp > = to_timestamp (January 6, 2011 ', ' dd/mm/yyyy') and rownum < 10
*
ERROR on line 1:
ORA-13249: SDO_NN cannot be assessed without using the index
ORA-06512: at the 'MDSYS. MD", line 1723
ORA-06512: at the 'MDSYS. MDERR", line 17
ORA-06512: at the 'MDSYS. PRVT_IDX', line 49
The spatial index is created with:
CREATE the INDEX SlavaTest_geometry_idx_spatial ON SlavaTest (geometry) INDEXTYPE IS mdsys.spatial_index;
'Title' and 'timestamp' columns have an index.
Note the query comes from Hibernate and I can't change it's arbitrary.Slava2 wrote:
What this means - there is a bug in Oracle?Well, it could probably be considered a, but [url http://docs.oracle.com/cd/E11882_01/appdev.112/e11830/sdo_operat.htm#i78067] documentation on SDO_NN warns you:
Documentation says:
However, if the column in the WHERE clause predicate specifies a non-space column in the table for geometry1 with an associated index, make sure that this index is not used by specifying the NO_INDEX indicator for this index.See you soon,.
Stefan -
Hey!
I'll convert my Web site comp in edge of reflow.
I am not a expert in web development at all, so please excuse my questions.
I'm just that the following actions are just the design decisions?
-using 100% resolution of 1280px as a grid
-using only 8 instead of 10 columns inside
-using the gutters outside just for a little extra space
Or is there something I need to consider when using the grid for web development?
Here's a screenshot of my comp as in Ps, I did:
(grid width 1280px, 10 columns, gutters, external gutters 20px 10px)
I would be very happy if you could help me!
Thank you very much for your help!
Hi Thorbman-
The grid is just a tool to help you prepare your page. You can ignore it completely, putting things in each column, or just a few columns, etc.
VIC
-
How to run a script using the OMB tcl
I'm trying to run a tcl script using the following syntax in cmd
D:\app\Username\product\11.1.0\db_2\owb\bin\win32 > ombplus.bat c:\t.tcl
and I get the error
OMB01001: Not connected to the repository.
The tcl script was basically accompanied by a tutorial and I can't continue the OWB tutorial, unless I run it firstDeparture ombplus.bat
You can then start the script with the source command such as
source C:/t.tcl
Be careful with the backslash (he is not C:\t.tcl)
You must also add a connection before your script to OWB with the OMBCONNECT
OMBCONNECT $UserLogin/$UserPassword@$DBHostName:$DBHostPort:$ServiceName USE REPOSITORY '$RepositoryUser' USE MULTIPLE_USER_MODE
Replace the parameters $ with your own value.
And then your script, you can disconnect:
OMBDISCONNECT
Success
NicoDocumentation is here for the 11g OMBCOMMAND
http://download.Oracle.com/docs/CD/B28359_01/OWB.111/b31279/TOC.htm -
using the grid to form 10 g or 11 g
Hello
any body can help me to know how use the grid in form 10 or 11 g?Perhaps this Java Bean
François
-
SDO_NN cannot be assessed without using the index
Hello
I'll try to find more close neighbours of a point using two tables (grafo_ped_links & haltestellen) and I fail miserably quiet.
Select h.desc_i, grafo_ped_links h.numpal g, haltestellen h where (g.geometry, h.geometry) sdo_nn = 'true' and g.start_node_id = 355 and rownum < = 5
*
ERROR on line 1:
ORA-13249: SDO_NN cannot be assessed without using the index
ORA-06512: at the 'MDSYS. MD", line 1723
ORA-06512: at the 'MDSYS. MDERR", line 17
ORA-06512: at the 'MDSYS. PRVT_IDX', line 49
But I am able to find the nearest neighbor on individual tables (singularly) without any problem. I'm even able to find a WITHIN_DISTANCE using two tables (below the sql statement).
Select h.numpal from grafo_ped_links g, haltestellen h where SDO_WITHIN_DISTANCE (h.geometry, g.geometry, 'DISTANCE = 0.5 UNIT = KM') = 'TRUE' and g.start_node_id = 355;
NUMPAL
----------
5122
5103
5102
5120
5100
5301
5302
5303
I even dropped the indexes of the two tables and recreated them again. I read somewhere that the problem could be due to a lack of advice, so I tried the following and I still get the same error.
Select / * + LEADING (g) INDEX (h haltestellen_ridx) * / h.desc_i, h.numpal
of grafo_ped_links g, h haltestellen
where (g.geometry, h.geometry) sdo_nn = 'true' and g.start_node_id = 355 and rownum < = 5
Select / * + INDEX (h haltestellen_ridx) NO_INDEX (g grafo_ped_links_ridx) * / h.desc_i, h.numpal
of grafo_ped_links g, h haltestellen
where (g.geometry, h.geometry) sdo_nn = 'true' and g.start_node_id = 355 and rownum < = 5
Select / * + USE_NL (h, g) VALUE * / h.desc_i, h.numpal
of grafo_ped_links g, h haltestellen
where sdo_nn (g.geometry, h.geometry, 'sdo_num_res = 5', 1) = 'true' and g.start_node_id = 355 and rownum < = 5
Anyone can please, show me the way, or give a hint. I use oracle spatial 11g.
Thank you!
Cook
Published by: user611283 on December 30, 2009 06:11It should be 'TRUE '.
Select h.desc_i, grafo_ped_links h.numpal g, haltestellen h where (h.geometry, g.geometry) sdo_nn = 'TRUE' and g.start_node_id = 355 and rownum<=>=>
-
T430: Cannot change the GPU using the NVIDIA Control Panel
Hello world
I recently bought a T430 including a NVIDIA NVS 5400 M. games graphics card (for example, Max Payne 3) used to run fast, using the NVIDIA GPU. Today, I tried to play a video game once more (after having not played for several weeks). Unfortunately, my OS (Win7, 64-bit) assigns the GPU from Intel, resulting in a much lower speed. Using the NVIDIA Control Panel, I can't change my favorite GPU (changes will not be saved). I already run a update of Lenovo and installed the latest graphics driver (296.88), which resulted in no improvement.
When you start a game, I can choose my graphics manually, but I would like to configure some general settings using the control panel.
Do you have any solutions?
Thank you very much.
-
Retrieve by using the backup control file
Hello
I was reading a book called Pro Oracle Database Administration by Darl Kuhn. There, under the theme of "The valuation of the loss of all control files", noted that all data files and control files are restored from a backup, because if we do not restore the data files the RCS in control files would be lower than the data in these scenarios files. Since online redo logs and archived newspapers is applied to the data files to roll forward in a current consistent state and does not roll forward to a control file.
It is then mentioned to use 'recover the database by using the backup control file' then apply the logs (archive and redo if necessary).
However I personally tested this script in a test environment and to bring all the backup control file could issue the same command as above and recover the database.
My question is I know again and archives are applied only to the data files. So how does the control file are synchronized back when we do not restore the backup data files.
Thank you
If we do not restore the data files, the RCS in control files would be lower than the data files. Since online redo logs and archived newspapers is applied to the data files to roll forward in a current consistent state and does not roll forward to a control file.
It would be incorrect you have determined. You can only restore the control files. You can manually create a control file and always do the restore.
My question is I know again and archives are applied only to the data files. So how does the control file are synchronized back when we do not restore the backup data files.
The control file is updated as well.
See you soon,.
Brian
Maybe you are looking for
-
Re: Satellite Pro M70 - cannot save a voice
I can't record voice using the Accessorise-online entertainment-Sound Recorder online it will give clip of silence In addition, I can't record voice message in Messenger, it can not detect the voice Thank you
-
Lock owner HP 600 of screen icon
I started to see an icon of orange color on my Smart 600 touch screen which is titled, "locking of the owner. Below, it is another icon named 'Switch users'. I have never seen this before a few days ago. I know that if I click on the "Lock owner" i
-
This question is about the Metro of Windows 8 applications. If this is not the right place for him ask then please tell me the right place to post that I can't find a site to Windows 8 issues anywhere. I currently have a Windows 8 Developer Preview i
-
Watch faces for smartwatch 3 of sony displays always zero steps after update 1.4
Hello After the android wear 1.4 update, dials for smartwatch 3 Sony show always zero steps. If I switch to a Google made watch, only that the face will show the number of steps. I tried to do a factory reset on my SW3, but it does not help. Someone
-
downloading of files from the internet, but does not install. Why?* original title - badly installed. version of software on my pc removal tool is October 2010. I want to update that from windows update