Oracle location move

Hello,
this might come out really thick, but I just want to make sure. Bare with me.
I have a Windows 7 machine with 3 logical volumes - these, of course, are recognized by the system as 3 individual drives. On one of the volumes there is an Oracle 11g installation - oradata and $ORACLE_HOME (although ORACLE_HOME might be in a different location, not sure atm).
What I need to do is split the logical volume, but doing that will corrupt any data. So, is it possible for me to simply copy out all the data on this drive and copy it back to one of the new logical volumes after the split if I keep the same drive letter? Will Oracle be "intact" as far as the application is concerned? Can I just use total commander to do this? It's no production database or anything of that sort, just a small test machine, but I would still like to be able to preserve the installation.
Thank you,
Honza

Honza wrote:
Hello,
this might come out really thick, but I just want to make sure. Bare with me.
I have a Windows 7 machine with 3 logical volumes - these, of course, are recognized by the system as 3 individual drives. On one of the volumes there is an Oracle 11g installation - oradata and $ORACLE_HOME (although ORACLE_HOME might be in a different location, not sure atm).
What I need to do is split the logical volume, but doing that will corrupt any data. So, is it possible for me to >simply copy out all the data on this drive and copy it back to one of the new logical volumes after the split if I >keep the same drive letter? Yes,you can do this.But first you have to shutdown immediate your database.Then you can transfer controlfiles/datafiles/redo log files to other hard drive.
Will Oracle be "intact" as far as the application is concerned? Can I just use total commander to do this? It's no >production database or anything of that sort, just a small test machine, but I would still like to be able to >preserve the installation.In this case your application will not work,due to database actually not running.In this case you can use OS commands to transferring database files to other place.But if your database running in archivelog mode then you can take hot backup(while database is open) using rman or user managed(prefer rman).But in your case you can simple shutdown database and perform transferring.

Similar Messages

  • What are the requirements for Oracle Locator?

    Hi, when installing a new database, we want to trim out the stuff that Oracle installs by default that we don't absolutely need. However, we do want to make use of the MDSYS.SDO_GEOMETRY type and Oracle Locator (not Spatial).
    Oracle has all these different components, and we jut found out that in order to use Locator, you have to install Oracle interMedia. Is there anything else there that Locator has a dependency on that we would be missing? We intend to install these:
    Oracle Workspace Manager
    Oracle Enterprise Manager
    Oracle Database Catalog Views
    Oracle Database Packages and Types
    But out of the list of the rest of them, what is needed for Oracle Locator?
    Spatial
    Oracle interMedia
    OLAP Catalog
    Oracle XML Database
    Oracle Text
    Oracle Expression Filter
    Oracle Rules Manager
    Oracle Workspace Manager
    Oracle Data Mining
    Oracle Database Catalog Views
    Oracle Database Packages and Types
    JServer JAVA Virtual Machine
    Oracle XDK
    Oracle Database Java Packages
    OLAP Analytic Workspace
    Oracle OLAP API

    Oracle Locator is implemented in the MDSYS userid. (It's included in every version and edition of the database since 8i, including 10gR2 Express Edition.)
    As you have noted, Locator is considered part of intermedia. (In some versions of Oracle, Locator is officially a feature of intermedia, in others it seems to be independent. In all versions, it uses a commono install with intermedia.) The install for intermedia 10gR2 is described at http://download.oracle.com/docs/cd/B19306_01/appdev.102/b14302/ap_instl_upgrd.htm#sthref649
    I believe there are some Locator funtions in 10gR2 that are impemented in Java and require the JVM. The 10gR2 Express Edition (XE) does not include JVM and Locator seems to be mostly functional, but there are areas that do not work.
    Technically you do not need Oracle Text or Oracle XDK/XMLDB. I've found they are extremely useful so I do include them in my minimum installs. They are also included in XE.
    In your list the following are related to separately licensed EE options: Spatial, OLAP and Data Mining

  • Using Mapviewer with Oracle Locator

    We're currently using Oracle Locator as a datasource for Mapviewer 10g and we're running into a slight problem when loading simple points from a table. We have the table containing these ponits added to the USER_SDO_GEOM_METADATA table and the spatial index is created on the specific column with the SDO_GEOMETRY type. When the map loads up the following error is generated when a dynamic jdbc query is run:
    MAPVIEWER-06009: Error processing an FOI request.
    Root cause:FOIServlet:ORA-29900: operator binding does not exist
    ORA-06540: PL/SQL: compilation error
    ORA-06553: PLS-907: cannot load library unit MDSYS.SDO_3GL (referenced by MDSYS.SDO_FILTER)
    I've looked in the database for the MDSYS.SDO_3GL object and it's definitely there, so I'm a little lost on what could be causing this. I thought perhaps that our user schema may not have execute privileges associated with that specific procedure, but I believe the entire point of MDSYS is that it's available to any user on the database.
    Any help with this would be greatly appreciated.
    Edited by: user1175540 on Oct 29, 2010 7:10 PM

    We're currently using the javascript api for oracle maps (using the matching javascript file, oraclemaps.js, that came directly from the mapviewer application download). All that I'm calling is a single table and then getting some hidden info columns as well off of it too. I've tried this on a different schema and database that's also only running Locator and the query runs just fine with the points on the map displaying as intended.
    Here's the current theme request that I'm submitting:
    <theme name= 'lowerTheme' >
    <jdbc_query spatial_column='GEOMETRY' jdbc_srid='8307' render_style= 'V.AVCD_BUILD' datasource='mvdemo' >
    select * from build where subtype in('ABC','123','DEF')
    <hidden_info>
    <field column='SUBTYPE' name='Type'/>
    <field column='NAME' name='Name'/>
    <field column='ADDR' name='Address'/>
    <field column='CITY' name='City'/>
    <field column='STATE' name='State'/>
    <field column='ZIP_CODE' name='ZIP Code'/>
    </hidden_info>
    </jdbc_query>
    <rendering>
    <style name='V.AVCD_BUILD' value_columns='SUBTYPE'/>
    </rendering>
    </theme>
    Within the actual function adding that theme to the 'mapview' variable I'm creating a new MVThemeBasedFOI object using the name 'lowerTheme' and the above definition for the second parameter in the constructor.
    Is there a listing of procedures on the MDSYS schema that I should check to make sure they're valid for spatial queries to work?
    Thanks in advance for the help.

  • Trying to use Oracle Locator for latitude and longitude proximity searches

    I am prototyping using Oracle Locator to do proximity searches and other spatial operations within the database in our software products. I’ve got it working fine in SQL Server, where geodetic is built in as well as geometric features, but with Oracle we’re trying to restrict ourselves to the Locator features so our customers are forced to buy the add-on. I am getting perplexing results, as you can see if you run the little test program I wrote.
    I am using lat and long as the point coordinates. I am inserting the data using
    SDO_GEOMETRY(2001, 4326, SDO_POINT_TYPE(?, ?, null), null, null
    Then I am doing the search with
    SELECT pointname, SDO_NN_DISTANCE (1) distance_in_miles
    FROM geotest g
    WHERE SDO_NN(g.geopoint, sdo_geometry(2001, 4326, SDO_POINT_TYPE(38.683, 123.083, NULL), NULL, NULL), 'distance=1000 unit=mile', 1) = 'TRUE'
    ORDER BY distance_in_miles
    I am getting distances from 56 to 86 units, whatever the units are.
    Am I attempting the impossible with Locator, to use lat and long and then expect the sdo_nn function to work in miles?
    Select results:
    POINTNAME DISTANCE_IN_MILES
    Point number 19 56.8497254738894
    Point number 17 57.0758802885512
    Point number 5 62.096857977487
    Point number 3 67.3555572959989
    Point number 16 70.8005407529483
    Point number 1 73.0370426667902
    Point number 9 73.1047740624495
    Point number 14 73.1451566004902
    Point number 11 74.9344307572887
    Point number 10 75.3710529989389
    Point number 2 75.423714095366
    Point number 8 77.2121183101138
    Point number 4 77.6458963754559
    Point number 18 80.4569749046142
    Point number 6 81.0025026191188
    Point number 20 81.8444977200089
    Point number 13 83.4095236051998
    Point number 15 86.9333533902019
    Point number 7 88.9312783958262
    Point number 12 98.72957787982
    Point number 0 98.9999489634554
    21 rows selected

    Couple of things that we found out using sdo_nn here...
    It works...but the knobs need to be turned in the right order...
    You may have done this already...but here is what we have...
    a. we create our table containing the location sdo_geometry column ..( in our case the column is called location )
    b.We loaded the data..If you elected to use a partitioned table for your spatial data and created the corresponding spatial index as local...your sql will need to account for that.if your index is global ..don't worry about it
    c. We inserted the metadata...this needs to be done once per table...by either the dba or the schema owner...
    INSERT INTO USER_SDO_GEOM_METADATA (TABLE_NAME, COLUMN_NAME, DIMINFO, SRID)
    VALUES ('<YOUR TABLE NAME>', '<SPATIAL COLUMN NAME>',
    MDSYS.SDO_DIM_ARRAY
    (MDSYS.SDO_DIM_ELEMENT('LONGITUDE', -180.0, 180.0, 0.5),
    MDSYS.SDO_DIM_ELEMENT('LATITUDE', -90.0, 90.0, 0.5)
    8307);
    COMMIT;
    If this is not done before the spatial index is created...stuff won't work...
    d. create your spatial index
    e. our query looked something like this...( I changed the table names )
    This returns the top 30 results sorted by distance in feet...
    SELECT LOCATION_KEY,
    result_center_distance
    FROM
    SELECT LOCATION_KEY,
    SDO_NN_DISTANCE(1) result_center_distance
    FROM LOCATION_OWNER.D_LOCATION dlocation
    WHERE SDO_NN(dlocation.LOCATION,
    MDSYS.SDO_GEOMETRY(2001,8307,MDSYS.SDO_POINT_TYPE(-97.07845,33.138006,null),null,null), 'SDO_NUM_RES=31 unit=FOOT distance=5800.0 SDO_MAX_MEMORY=50000000', 1) = 'TRUE'
    ORDER BY 2
    WHERE ROWNUM <= 31
    We had to use this structure because our index is local...and sdo_nn will return the sdo_num_res results for each partition...so you need to get the results first..then treat it as a top-n query...
    If you index is global...this should work
    SELECT LOCATION_KEY,
    SDO_NN_DISTANCE(1) result_center_distance
    FROM LOCATION_OWNER.D_LOCATION dlocation
    WHERE SDO_NN(dlocation.LOCATION,
    MDSYS.SDO_GEOMETRY(2001,8307,MDSYS.SDO_POINT_TYPE(-97.07845,33.138006,null),null,null), 'SDO_NUM_RES=31 unit=FOOT distance=5800.0 SDO_MAX_MEMORY=50000000', 1) = 'TRUE'
    ORDER BY 2
    If you want the distance in MILE...replace FOOT by MILE...
    good luck...
    Edited by: user5431290 on Oct 23, 2011 9:36 AM

  • Oracle Locator - Implementation

    I have a need to calculate shortest distance between any two locations (addresses) using Oracle Locator. The only parameters that are available to me as inputs are the 5 digit zip code, latitude and longitude of the location. I am looking for help in implementing a solution. I have the 10g enterprise database that comes with Locator as standard.

    Wellllll
    My first guess is that you need a bit more than just those pieces. When you say 'shortest distance' are you expected to get that by route or as the crow files?
    You may want to check in the 'Spatial' forum where this kind of thing is likely to be discussed in much more depth (as the Spatial and Locator specialists tend to hang out there).
    There are subtle differences between 10gR1 and 10gR2 - which in particular are you using?
    Do you know the coordinate system? Long/Lat comes in a variety of subtly-different flavours, depending on the actual coordinate system. (Since you mention zip code, I assume you mean the US, and 8302 will probably do reasonably well.)
    You will probably want to create a spatial index and defnitely need to create the user_sdo_geom_metadata for your layer.
    Have you looked in the Spatial Reference manual in the Oracle docco? Specifically at the Locator appendix, which describes exactly what parts of Spatial you can use in Locator. And at the sdo_distance function and examples at http://download-west.oracle.com/docs/cd/B19306_01/appdev.102/b14255/sdo_objgeom.htm#i857957

  • Latitude/Longitude on Oracle Locator

    Hi, I'm using Oracle Locator
    I'm trying to select latitude and longitude through this query
    SELECT t.X AS LATITUDE, t.Y AS LONGITUDE
    FROM geo.cultura c,
    TABLE(SDO_UTIL.GETVERTICES(c.geometry)) t;
    but the numbers are coming from different 90 and -90
    A example: X=343819,495658682 and Y=7382918,56758273
    Is there a command to convert those numbers?
    Thank you very much!

    Hi,
    SDO_UTIL.GETVERTICES returns the coordinates of the vertices of the geometry. If your coordinate system is other than geodetic coordinates then you need transformation.
    For example
    SELECT t.X AS LATITUDE, t.Y AS LONGITUDE
    FROM spl_major_villages c,
    TABLE(SDO_UTIL.GETVERTICES(SDO_CS.TRANSFORM(c.geom, 0.005, 8307))) t;
    Sujnan

  • Oracle LOCATOR - Standard Edition

    Hello,
    Can you please to tell me if there is any customer using Oracle Locator with Standard Edition?
    Regards,
    Andre

    There are indeed may success stories for Locator.
    Appendix B Oracle Locator of the manual deals with the differences .... here is the headline info
    Oracle Locator (also referred to as Locator) is a feature of Oracle Database 11g Standard Edition. Locator provides core features and services available in Oracle Spatial. It provides significant capabilities typically required to support Internet and wireless service-based applications and partner-based GIS solutions. Locator is not designed to be a solution for geographic information system (GIS) applications requiring complex spatial data management. If you need capabilities such as linear referencing, advanced spatial functions, or Spatial Web services, use Oracle Spatial instead of Locator.
    Yours sincerely
    Rich

  • Is there any alternative for SDO_RELATE in Oracle Locator [not in spatial!]

    Hi,
    We are looking alternative arrangement in place of SDO_RELATE function in oracle Locator i.e. which is free and has no bindings with oracle spatial license.
    e.g. http://www.spatialdbadvisor.com/oracle_spatial_tips_tricks/55/oracle-locator-vs-enterprise-licensing-the-sdogeom-package/
    Any information will be great help on this.
    Thanks in advance!!

    Hi,
    You are allowed to use the sdo_relate operator in locator. You are not allowed to use sdo_geom.relate function in locator.
    Look [Table B-1|http://download.oracle.com/docs/cd/B28359_01/appdev.111/b28400/sdo_locator.htm#CFACCEEG] in the [Oracle Spatial Developers Guide 11g Release 1|http://download.oracle.com/docs/cd/B28359_01/appdev.111/b28400/toc.htm].
    Yavuz

  • Oracle Locator

    Gentelman,
    How can i use SDO_INSIDE in oracle locator in 9i
    regards
    Abhijit

    Hi Baris,
    thanks for the information. I applied the sql below
    but errors are thrown
    SELECT customer_id
    FROM CUSTOMER
    WHERE SDO_INSIDE(cust_geo_location,sdo_geometry(2001,
    8307, sdo_point_type(-63.13631, 52.485424,
    NULL),NULL,NULL)) = 'TRUE'
    ORA-00904 invalid identifier SDO_INSIDE
    what can be the reason
    regards and thanks
    AbhijitHi Abhijit,-
    Please read what i have pointed to in my previous post in this thread. you will see that it is the relate function. One parameter is "inside" keyword.
    hope this helps,
    best regards,
    baris

  • Oracle Locator or Spatial?

    Hi,
    I'm trying to decide if I can do the following with just Oracle Locator (with Oracle 9i), or if my organization needs to purchase Oracle Spatial. I have a web page where a user drags out a rectangular area of interest on a web map, and the values identifying this area are inserted into four variables - minlong, maxlong, minlat, and maxlat. The user can then query a database where the records contain coordinates defining rectangular areas. Using just Oracle Locator, is it possible to search this database and return only those records whose coordinates fall within the area of interest defined by the user? I am brand new to Oracle, but this seems pretty basic, and I'm almost sure that Locator can handle it, but I want to make sure before buying the Oracle license. Sorry I can't point you to the web page to see what I mean, but it's only on our development server.
    Any help would be appreciated thanks.

    Hi,
    If you are using Oracle9i you can do this with locator. Before Oracle9i this required spatial.
    Hope this helps,
    Dan

  • What is Oracle Locator

    I have been working with I guess spatial with the mapviewer demos and
    never knew there was a product that comes with the database called Oracle
    Locator... so how do I find out if it is installed properly, spatial is not installed
    and what is it... and what are its capabilities.
    thanks

    http://www.oracle.com/technology/products/spatial/index.html
    at the bottom there are some links that will help you

  • Assigning oracle location to control center

    Is there any OMB statement which will assign oracle location to control center in 11G?
    I know it can be manually done.Please proivde me the OMB statement so that the data location appears in the right hand side edit control center tab.
    Thanks in advance.

    change the $values
    OMBCREATE LOCATION '$DATA_LOCATION_NAME' SET PROPERTIES \
    (TYPE, VERSION, DESCRIPTION, BUSINESS_NAME, HOST, PORT, \
    SERVICE, CONNECT_AS_USER, PASSWORD) VALUES ('ORACLE_DATABASE', \
    '$DATA_LOCATION_VERS','ERS Datamart Code User','$DATA_LOCATION_NAME',\
    '$DATA_LOCATION_HOST','$DATA_LOCATION_PORT','$DATA_LOCATION_SRVC', \
    '$DATA_LOCATION_USER','$DATA_LOCATION_PASS')

  • Is Oracle Locator part of Oracle Standard

    Do we know for sure that Oracle Locator is part of Oracle Standard Edition? I have tried many places and nowhere I see anything that clearly states that it is part of what edition. We have both Oracle Enterprise and Standard and on Enterprise we have Spatial Licence and wondering if we could utilize Oracle LOcator on the Standard.
    Thanks
    -Alfred

    Hi Alfred ,
    I found something from Intergraph about the new Geomedia version which may give a hint
    http://www.ingr.com/gis/newsroom/press02/gm5_rlsf.asp
    <quote>
    The GeoMedia 5.0 product suite now runs with the Oracle 9i Standard Edition, providing a considerable overall price improvement for GeoMedia customers.
    </quote>
    If Intergraph is using Standard Edition they may use at least Locator to run GeoMedia.
    Uwe

  • Registering Oracle Location

    Hi,
    I need to connect to table/view in, say schema A. I don't have direct access to A.
    But I have Login/Password for another schema, say B. Schema B has read (select) grant from A ( I can access the data through Toad).
    I have registered the Oracle location to A. But I am getting the following error when
    I am trying to deploy the mapping.
    ORA-06550: line 17, column 24:
    PL/SQL: ORA-00942: table or view does not exist
    How do I register the location, to get the access to table/view in B through A?
    Thanks,
    Harsha

    Hi Harsha
    I have no problem for the access by set the source schema and dblink in mapping's configuration. My situation is exactly as same as yours. Let me explain in detail.
    Firat of all, my data source is also in a different database, even in differenet machine from the DW machine. So for sure, we have to access the data source by database link. Let's call the data source as Database S.
    Second, my data sources cross four schemas in Database S. I don't have direct access to all those four schemas, let's call them as Schema A, B, C, and D. Instead, Schema E is created in Database S, which is granted SELECT privilleges on all the talbles in A, B, C and D.
    Third, on your target DB, create the database link, e.g. named as DBLNK_DW_ACCESS, by using Schema E, point to Database S.
    Now, what's done in my OWB client
    1. I have 4 source modules created corresponding to A, B, C and D. All of them are registered as Schema Name, E.
    2. In my mapping, the source table is dragged from the source module.
    3. In the configuration, for the source table only, set the actual schema name and dblink. For example, Schema A, DBLNK_DW_ACCESS.
    Everything is fine for my EDW running, which has be on Client side for more than one year.
    If you still have some problem. Check the Generated Scripts by doing this:
    In Deployment Manager, right click your mapping, set the action as Create and then do the deployment. But not really do the deployment, instead just save the generated script when the deploy windoe popup. Then cancle the deployment and Reset the action.
    Now, take a look your saved script. Focus on the SELECT statement in the Cursor. The FROM clause should look like : SchemaName.TableName@DblnkNmame. For example: A.TableName@DBLNK_DW_ACCESS.
    If not, the access doesn't work for you. I had this problem on one of my server and cann't figure why. But the problems gone when I unregister the location in Audit Browser and do the register again.
    Hope this help.
    Good luck,
    Daming

  • ITunes locating Movies on External Hard Drive

    Hi All,
    I have a manually managed iTunes library. My movies are stored on an external hard drive and are referenced files in iTunes. Every time I disconnect my external hard drive I obviously get an exclamation mark near the movie, because the file cannot be located. But when I re-connect the hard drive, the exclamation marks stay near the files, unless I play a file or get info for a file while the external hard drive is connected, the exclamation mark stays. Is there a way to get them to re-appear as I re-connect my external hard drive? Thanks.
    Nick

    Found the solution: quit iTunes, turn on HDD, then restart iTunes as HDD is on, and all the exclamation marks will disappear!

Maybe you are looking for