Typos in Oracle Spatial Best Practices doc by Dan Geringer
Hi there,
I was looking through Dan Geringer's notes setting up SDO_JOIN to run in parallel here:
http://download.oracle.com/otndocs/products/spatial/pdf/oow2010/spatial/spatialoow10_bestpractices.pdf
Anyhow, noticed few boo-boos all having to do with table aliases in the examples. They are not too hard to catch but still might trip up folks.
On page 37, the example is missing a table alias of "a". E.g. it should say
CREATE TABLE result1 NOLOGGING PARALLEL 4 AS
SELECT a.rowid1 AS risk_zones_rowid,
a.rowid2 AS parcels_rowid
FROM TABLE (SDO_JOIN ('RISK_ZONES', 'GEOM',
' PARCELS', 'GEOM')) a;but its missing that final "a".
On page 38, the table aliases are incorrect in the relate statement. E.g. it should be
CREATE TABLE result2 NOLOGGING PARALLEL 4 AS
SELECT /*+ ordered use_nl (a,b) use_nl (a,c) */
sdo_geom.relate (b.geom, 'DETERMINE', c.geom, .05) relation,
b.risk_zone_id, c.parcel_id
FROM result1 a, risk_zones b, parcels c
WHERE a.risk_zones_rowid = b.rowid
AND a.parcels_rowid = c.rowid;Nothing too serious but thought I'd point it out.
Cheers,
Paul
Hi Paul,
Thanks for pointing out the typos. Will forward them to Oracle Technical Doc group to have them corrected.
jack
Similar Messages
-
Want the best practices docs on Oracle database Admin provided by Oracle
Hi there,
I looked at everywhere and didn’t find the best practices docs on Oracle database administration especially on creating db in oracle 10g dbs. I can find bits and pieces here and there. But I didn’t find all incorporated in one. Could somebody direct/provide me on this?ok, I'm not looking for the oracle provided manual to find out the best practices in db field. I'm looking for the best practices when creating the db in oracle db, for example. I can read all the oracle manual in Oracle tihiti world. But I don't know the most used and practical things to do when creating the db:- If I have to define what should be the best practices when creating the db, here are the checklist:
Here are the best practices when creating the Oracle 10 DBs:
1. Create meaningful database name
2. Create the directory structure following the Optimal Flexible Architecture(OFA)
a. Give suffix for the redo log .LOG
b. Give suffix for the data file .DBF
c. Give suffix for the Control file .CTL
3. Enable Password complexity
4. Enable ARCHIVELOG Mode
5. Use User Oracle Managed File
6. Create separate tablespace for data files and Indexes
7. Put archive log in different multiple drives
8. Multiplex redo log files, and control file
etc.
I want to see what other db gurus considers the best practices in the field. -
Hi all,
Anybody has any information on the Oracle BPM Best Practices?
Any guide?All,
I was trying to find a developers guide for using Oracle BPM Suite (11g). I found the one in the following link, however this looks like a pretty detailed one...
http://download.oracle.com/docs/cd/B31017_01/integrate.1013/b28981/toc.htm
Can you someone help me find any other flavors of the developers guide? I am looking for the following...
1. Methods of work - Best Practices for design and development of BPM process models.
2. Naming Conventions for Process Modeling - Best Practices
3. Coding standards for Process Modeling (J Developer)
4. Guide with FAQ's for connecting / Publishing Process Models to the MDS Database.
5. Deployment Standards - best practices....
6. Infrastructure - Recommendations for Scale out deployment in Linux v/s Windows OS.
Regards,
Dinesh Reddy -
PX Best Practice doc for vSphere?
Is there a best practice doc for utilizing the PX devices in a vSphere environment? Specifically I'm interested in 'Boot from SAN' for two vSphere 5.1 Host servers (RD630's) dual switch iSCSI connected to a PX12-450.
If no Best Practice then perhaps a Config doc?
ThanksHi neilchapman,
I am not too familiar with vSphere personally or how to boot from SAN, but as far as I know you create the iSCSI LUN on the NAS device and use vSphere to connect to the LUN. Do you need help with setting up the iSCSI LUN or with configuring vSphere? If you need assistance with vSphere, you might want to contact VMware support: http://www.vmware.com/support/vsphere/
Have questions and need answers?
Search the database for answers to FAQ's, software/driver downloads, tutorials, news, features and more!
LenovoEMC Support & Downloads
LenovoEMC North America Support Contact Page -
Dear Experts
Can anyone pls advice as to how and from where can I download the
1. SAP Best Practice docs.
2. Standard SAP HR process flow charts.Hi,
Try this link
http://help.sap.com/bp_hcmv1600/HCM_US/HTML/.
Thanks and regards
Raghu -
Oracle Statistics - Best Practice?
We run stats with brconnect weekly:
brconnect -u / -c -f stats -t all
I'm trying to understand how some of our stats are old or stale. Where's my gap? We are running Oracle 11g and have Table Monitoring set on every table. My user_tab_modifications is tracking changes in just over 3,000 tables. I believe that when those entries surpass 50% changed, then they will be flagged for the above brconnect to update their stats. Correct?
Plus, we have our DBSTATC entries. A lot of those entries were last analyzed some 10 years ago. Does the above brconnect consider DBSTATC at all? Or do we need to regularly run the following, as well?
brconnect -u / -c -f stats -t dbstatc_tab
I've got tables that are flagged as stale, so something doesn't seem to be quite right in our best practice.
SQL> select count(*) from dba_tab_statistics
2 where owner = 'SAPR3' and stale_stats = 'YES';
COUNT(*)
1681
I realize that stats last analyzed some ten years ago does not necessarily mean they are no longer good but I am curious if the weekly stats collection we are doing is sufficient. Any best practices for me to consider? Is there some kind of onetime scan I should do to check the health of all stats?Hi Richard,
> We are running Oracle 11g and have Table Monitoring set on every table.
Table monitoring attribute is not necessary anymore or better said it is deprecated due to the fact that these metrics are controlled by STATISTICS_LEVEL nowadays. Table monitoring attribute is valid for Oracle versions lower than 10g.
> I believe that when those entries surpass 50% changed, then they will be flagged for the above brconnect to update their stats. Correct?
Correct, if BR*Tools parameter stats_change_threshold is set to its default. Brconnect reads the modifications (number of inserts, deletes and updates) from DBA_TAB_MODIFICATIONS and compares the sum of these changes to the total number of rows. It gathers statistics, if the amount of changes is larger than stats_change_threshold.
> Does the above brconnect consider DBSTATC at all?
Yes, it does.
> I've got tables that are flagged as stale, so something doesn't seem to be quite right in our best practice.
The column STALE_STATS in view DBA_TAB_STATISTICS is calculated differently. This flag is used by the Oracle standard DBMS_STATS implementation which is not considered by SAP - for more details check the Oracle documentation "13.3.1.5 Determining Stale Statistics".
The GATHER_DATABASE_STATS or GATHER_SCHEMA_STATS procedures gather new statistics for tables with stale statistics when the OPTIONS parameter is set to GATHER STALE or GATHER AUTO. If a monitored table has been modified more than 10%, then these statistics are considered stale and gathered again.
STALE_PERCENT - Determines the percentage of rows in a table that have to change before the statistics on that table are deemed stale and should be regathered. The valid domain for stale_percent is non-negative numbers.The default value is 10%. Note that if you set stale_percent to zero the AUTO STATS gathering job will gather statistics for this table every time a row in the table is modified.
SAP has its own automatism (like described with brconnect and stats_change_threshold) to identify stale statistics and how to collect statistics (percentage, histograms, etc.) and does not use / rely on the corresponding Oracle default mechanism.
> Any best practices for me to consider? Is there some kind of onetime scan I should do to check the health of all stats?
No performance issue? No additional and unnecessary load on the system (e.g. dynamic sampling)? No brconnect runtime issue? Then you don't need to think about the brconnect implementation or special settings. Sometimes you need to tweak it (e.g. histograms, sample sizes, etc.), but then you have some specific issue that needs to be solved.
Regards
Stefan -
Oracle 10G Best practice Installation
Hi all,
Somebody will have a document of like doing Oracle 10G tuning in Solaris 10?
Thanksoops sorry, that's best practices and not tuning. But there may be some stuff in there.
-
Is there a "Best Practice" to follow concerning Oracle and clustering. Currently we are using VCS trying to cluster a box running one Oracle engine and multiple instances. This is not working well. Is it best to cluster a box running one Oracle engine and one instance?, or is the multi-instance thing ok? Also, is VCS the best solution? Please respond to my email below.
TIA
James Qualls
[email protected]Is there a "Best Practice" to follow concerning Oracle and clustering. Currently we are using VCS trying to cluster a box running one Oracle engine and multiple instances. This is not working well. Is it best to cluster a box running one Oracle engine and one instance?, or is the multi-instance thing ok? Also, is VCS the best solution? Please respond to my email below.
TIA
James Qualls
[email protected] -
Hello,
Can anybody share Best practices for Oracle VM implementation and the test plan executed to validate the implementation before moving to production.
Thanks in advance
DaniNAME TARGET STATE SERVER STATE_DETAILS
Local Resources
ora.DATA.dg
ONLINE ONLINE orarac001
ONLINE ONLINE orarac002
ora.LISTENER.lsnr
ONLINE ONLINE orarac001
ONLINE ONLINE orarac002
ora.asm
ONLINE ONLINE orarac001 Started
ONLINE ONLINE orarac002 Started
ora.eons
ONLINE ONLINE orarac001
ONLINE ONLINE orarac002
ora.gsd
OFFLINE OFFLINE orarac001
OFFLINE OFFLINE orarac002
ora.net1.network
ONLINE ONLINE orarac001
ONLINE ONLINE orarac002
ora.ons
ONLINE ONLINE orarac001
ONLINE ONLINE orarac002
ora.registry.acfs
ONLINE ONLINE orarac001
ONLINE ONLINE orarac002
Cluster Resources
ora.LISTENER_SCAN1.lsnr
1 ONLINE ONLINE orarac001
ora.LISTENER_SCAN2.lsnr
1 ONLINE ONLINE orarac002
ora.LISTENER_SCAN3.lsnr
1 ONLINE ONLINE orarac002
ora.oc4j
1 OFFLINE OFFLINE
ora.orarac001.vip
1 ONLINE ONLINE orarac001
ora.orarac002.vip
1 ONLINE ONLINE orarac002
ora.orcl.db
1 ONLINE ONLINE orarac001 Open
2 ONLINE ONLINE orarac002 Open
ora.scan1.vip
1 ONLINE ONLINE orarac001
ora.scan2.vip
1 ONLINE ONLINE orarac002
ora.scan3.vip
1 ONLINE ONLINE orarac002
I'm assuming the "offline" ones are bad :)
EDIT:
it turns out that the offlines in the list are completely normal for 11gR2
any one have any idea what's going on??
Thanks!
Edited by: user12245235 on Jul 28, 2011 5:24 PM -
Hi,
I just want to confirm
AdfFacesContext ctx = AdfFacesContext.getCurrentInstance();
if
(!("*d6*").equals(dialogEvent.getComponent().getId().toString()))
ctx.addPartialTarget(this.getXXXs());
this.executeXXX();
coding above code in ManagedBean for a .jsff page is a coding standard? Where d6 is an id of a dialog <af:dialog id="d6">
Please share a document or link to support your reply. As per me its not. As id can be changed.
Thanks,
AtulHi,
Usually, work with ids is not a best practice, in general development web.
What is your use case? -
Oracle URM - best practices?
does anyone know where i can find best practices with RM?
thanks in advanced.Not sure about best practices, but I have created a demo script which can guide you through few basic concepts. Drop me an email ([email protected]) and I can send you a copy.
-
For DB2 to Oracle conversion best practices
My company is enhancing existing application adding newly J2ee web interface and database as DB2.I am new to J2EE. In future if we want to migrate my database to Oracle,which are the best things to do it now.
Which J2EE framework is good in respecte JDBC connectivity and future migration of DB2 to Oracle? (Minimal changes at Migration Time)
It is medium size application with 5000 users.Which are other best practises to follow in development keeping the migration in Mind. Thanks..Yes, you should login as system, create a user, appowner, or what ever you call it, and assign that user a default tablespace of 'USERS' or whatever tablespace you decide. Then, grant that user all the privileges to create objects, i.e., create table, create procedure, create synonym, etc, etc.
Then, logout as system, login as appowner, and do all your object creation from there.
A user is a set of credentials that allow you access to the system. It defines your identity and your privileges and authority to do various things. A schema is the set of objects owned by a particular user. As soon as a user owns at least one object, that implicitly defines his schema. It's not possible for a user to own or control multiple schemas. If you want multiple schemas, that's fine, but you'll need multiple users, and each user will manage his own schema.
Hope that's clear,
-Mark
PS I strongly suggest you review the Concepts Guide, it really is quite good. It can be found here: http://download.oracle.com/docs/cd/E11882_01/server.112/e10713/toc.htm -
Oracle's Best practice for avoiding contingency data problems
What is Oracle's recommendation to avoid having contingency database problems? Is the timestamp data type good enough for avoiding having the a record updated twice?
Any feedback is welcome.It means you need to lock the records all by yourself.
3 month ago,I try to simulate the Oracle Developer_2000_Form_6I ,and I found that they use "select .. for update no wait where .. " to lock record in Text_Change event. Then I did it,It seems working ok now in my vb.net program.
Jimy Ho
[email protected] -
Oracle OLAP best practice and DB11g parameter suggestion
Hi All ,
We have huge partitioned fact table with nearly 1 billion of data(15GB export dump) for range by month partition holding 24 months data. Any special recommendation you prefer for parameters (AWM etc.) ?
or else any recommendation to Create cube strategies ?
Also any recommandation on Cube partition and Database 11g paramater(int.ora) related changes for OLAP 11g cube ?
Thanks in advance,
DebashisThere are recommended parameters and recommended strategies in the Oracle documentation.
For starters, I recommend these guides:
VLDB and Partitioning Guide
Data Warehousing Guide
OLAP User's Guide
All of which can be found at:
http://www.oracle.com/pls/db112/portal.all_books -
Oracle Spatial & Fusion MiddleWare MapViewer at Oracle OpenWorld
If you happen to be attended OOW next week you will see a very large presence for our products. hands on labs, sessions, demos ...
Look for us at Business Intelligence,Oracle Utilities, DigitalGlobe, Navteq, KPI Partners, and GE.
Hope to meet some of you at the demo booth.
thanks
Steve
Session ID Session Title Speaker(s) Date/Time Venue/Room Presentation
11 Record(s) Found
S292934 IOUG Spatial SIG: Public Sector Geospatial Architecture built on the Oracle technology stack Kevin Kelley, Cuyahoga County Sunday 11/11/200710:00 AM - 11:30 AM Moscone West2008 - L2
S291477 Building Google-Like Map-Based Applications with Oracle Spatial 11g, Oracle MapViewer, and Oracle JDeveloper Application Development Framework Components Jean Ihm, Oracle; Ji Yang, Oracle Monday 11/12/200712:30 PM - 1:30 PM HiltonContinental Ballroom 4
S291480 Everything You Ever Wanted to Know About Oracle Spatial 11g and Oracle Fusion Middleware MapViewer Steve Serra, Oracle; James Steiner, Oracle Monday 11/12/200712:30 PM - 1:30 PM Moscone South304
S291479 Building Map-Based Business Intelligence Dashboards, Using Oracle Spatial 11g, Oracle Business Intelligence Enterprise Edition, and Oracle MapViewer David Lapp, Oracle; Jayant Sharma, Oracle Monday 11/12/20073:15 PM - 4:15 PM HiltonContinental Ballroom 4
S292299 Developing a Next-Generation Utility Network Management System with Oracle Database and Oracle Fusion Middleware Robert Laudati, General Electric; James Steiner, Oracle Monday 11/12/20074:45 PM - 5:45 PM Westin SF Market StreetCity Room
S293026 Oracle Utilities Work and Asset Management: Oracle Geospatial and Map Viewer--New Technology and a New Option Rob Book, Oracle; Pat Caldwell, Oracle; Barry DeMartini, Oracle Tuesday 11/13/20078:00 AM - 9:00 AM Westin SF Market StreetFranciscan II
S291563 Developing 3-D City Models with Oracle Spatial 11g and Google Earth Ravi Kothuri, Oracle; Xavier Lopez, Oracle Tuesday 11/13/20073:15 PM - 4:15 PM HiltonContinental Parlor 9
S291569 Building Secure Spatial Web Services, Using Oracle Spatial 11g and Oracle JDeveloper Raja Chatterjee, Oracle; Jayant Sharma, Oracle Tuesday 11/13/20074:45 PM - 5:45 PM HiltonContinental Parlor 9
S291628 Bridging the IT/OT Gap in Utilities, Using Oracle Technology and Spatial Capabilities Ivan Albertini, Oracle; Tim Armitage, Oracle Corpration Australia Pty Ltd Tuesday 11/13/20074:45 PM - 5:45 PM Westin SF Market StreetStanford
S291509 Oracle Spatial Best Practices and Tuning Tips for DBAs and Developers Daniel Geringer, Oracle Wednesday 11/14/200711:15 AM - 12:15 PM Moscone South200 & 212
S292598 Practical Application: GIS Mapping and Visualizations Integrated with Oracle Business Intelligence Enterprise Edition Jerry Conrad, Oracle Wednesday 11/14/200711:15 AM - 12:15 PM Moscone West3022 - L3for more updates to schedule check out the main Spatial page.
http://www.oracle.com/technology/products/spatial
Maybe you are looking for
-
I have purchased a movie on my iPad how do i put it on my macbook pro
i am giving my ipad away and i want to have the movie on my macbook. But i don't know how to do it
-
File system task error ; Access to the path " " is denied
HI All, I have created a simple package to copy xml files from multiple source folders to destination folder. Folder names and paths are stored in a sql table. I use execute sql taks to get folder and path names. set the restult set to full result
-
Can anyone help regarding chapter ID issue...PO was getting posted and invoice no. were generating with the same material no. without giving any error ...but now they are asking for chapter ID...that can be maintained through J1ID... but why it was n
-
Howto use ActiveX made in VB in LabView
Hi, In LabView you can make a container for an ActiveX object. I have made an ActiveX component in Visual Basic. How can I access this in LabView. If I make an ActiveX dll I cannot find the functions in LabView. If I make and ActiveX ocx I cannot fin
-
Buttons grouped to a a state of one MSO controlling a state of another MSO
If you have a MSO that has the button grouped to the state so that when it is pressed a overlay pops up. Because the button is grouped you can no longer control other States in another MSO. The problem I am having is if one OL is open in one MSO and