Simple queries OPA
(a) I am very new to the OPA. Have a few questions.(1) what is an interview?
(2) what is Web determinations?
Can someone provide me with the link to documentation on the basics of the OPA.
Hello
(1) short, an interview is really all of the questions that will be asked to reach a conclusion. OPA uses Web determinations to run his interviews (see answer to the next question). An interview using a series of screens in question to collect information. Each question screen that appears during an interview contains a question or series of questions. You enter the answers to these questions so that the determinations of the Web can reach a conclusion for the specific purpose of the evaluation (interview). For example, the purpose of an assessment may be to see if a person is eligible for a specific service. The interview contains questions which must be answered in order to determine the eligibility of a person. Once all questions are answered, determinations Web will inform you if the person is eligible.
(2) determinations of web is an online interface which presents the questions that are asked during an interview, as well as the summary of the results. The determinations of the Web port is configured during the installation of the OPA. Determinations Web URL looks like this: http://localhost: 8080/web-determinations. The 8080 is the port.
Regarding the documentation to better explain these topics, I suggest you help OPM Pages. OPM is downloadable from the site of delivery of Oracle (edelivery.oracle.com) and its help pages explain a lot about everything and have images, which I think will really help you to better understand.
Christine
Tags: Oracle Applications
Similar Questions
-
Optimization of simple queries
Hello
I use Oracle 10 g r2.
I have this simple query that seems to take too long to execute:
-Tables (about 11,000 records for the 'Operations' table) and 800,000 for the other 2:DECLARE nb_mesures INTEGER; min_day DATE; max_day DATE; BEGIN SELECT COUNT(meas_id), MIN(meas_day), MAX(meas_day) INTO nb_mesures, min_day, max_day FROM geodetic_measurements gm INNER JOIN operation_measurements om ON gm.meas_id = om.ogm_meas_id WHERE ogm_op_id = 0; htp.p(nb_mesures||' measurements from '||min_day||' to '||max_day); END;
"Operation_measurements" is the table that is the link between the other 2 (get the 2 keys).
-Explain the plan (I'm not familiar with the plans explain... command):SQL> DESCRIBE OPERATIONS Nom NULL Type -------------------- -------- ------------ OP_ID NOT NULL NUMBER(7) OP_PARENT_OP_ID NUMBER(7) OP_RESPONSIBLE NOT NULL VARCHAR2(10) OP_DESCRIPT VARCHAR2(80) OP_VEDA_NAME NOT NULL VARCHAR2(10) OP_BEGIN NOT NULL DATE OP_END DATE OP_INSERT_DATE DATE OP_LAST_UPDATE DATE OP_INSERT_BY VARCHAR2(50) OP_UPDATE_BY VARCHAR2(50) SQL> DESCRIBE OPERATION_MEASUREMENTS Nom NULL Type -------------------- -------- ------------ OGM_MEAS_ID NOT NULL NUMBER(7) OGM_OP_ID NOT NULL NUMBER(6) OGM_INSERT_DATE DATE OGM_LAST_UPDATE DATE OGM_INSERT_BY VARCHAR2(50) OGM_UPDATE_BY VARCHAR2(50) SQL> DESCRIBE GEODETIC_MEASUREMENTS Nom NULL Type -------------------- -------- ------------ MEAS_ID NOT NULL NUMBER(7) MEAS_TYPE NOT NULL VARCHAR2(2) MEAS_TEAM NOT NULL VARCHAR2(10) MEAS_DAY NOT NULL DATE MEAS_OBJ_ID NOT NULL NUMBER(6) MEAS_STATUS VARCHAR2(1) MEAS_COMMENT VARCHAR2(150) MEAS_DIRECTION VARCHAR2(1) MEAS_DIST_MODE VARCHAR2(2) MEAS_SPAT_ID NOT NULL NUMBER(7) MEAS_INST_ID NUMBER(7) MEAS_DECALAGE NUMBER(8,5) MEAS_INST_HEIGHT NUMBER(8,5) MEAS_READING NOT NULL NUMBER(11,5) MEAS_CORRECT_READING NUMBER(11,5) MEAS_HUMID_TEMP NUMBER(4,1) MEAS_DRY_TEMP NUMBER(4,1) MEAS_PRESSURE NUMBER(4) MEAS_HUMIDITY NUMBER(2) MEAS_CONSTANT NUMBER(8,5) MEAS_ROLE VARCHAR2(1) MEAS_INSERT_DATE DATE MEAS_LAST_UPDATE DATE MEAS_INSERT_BY VARCHAR2(50) MEAS_UPDATE_BY VARCHAR2(50) MEAS_TILT_MODE VARCHAR2(4000)
How to optimize this query?-------------------------------------------------------------------------------------------------------- | Id | Operation | Name | Rows | Bytes | Cost (%CPU)| Time | -------------------------------------------------------------------------------------------------------- PLAN_TABLE_OUTPUT -------------------------------------------------------------------------------------------------------- | 0 | SELECT STATEMENT | | 1 | 19 | 256 (10)| 00:00:02 | | 1 | SORT AGGREGATE | | 1 | 19 | | | | 2 | NESTED LOOPS | | 75 | 1425 | 256 (10)| 00:00:02 | |* 3 | TABLE ACCESS FULL | OPERATION_MEASUREMENTS | 75 | 600 | 90 (27)| 00:00:01 | | 4 | TABLE ACCESS BY INDEX ROWID| GEODETIC_MEASUREMENTS | 1 | 11 | 3 (0)| 00:00:01 | |* 5 | INDEX UNIQUE SCAN | MEAS_PK_2 | 1 | | 2 (50)| 00:00:01 | --------------------------------------------------------------------------------------------------------
Thank you.
Yann.Looks like you are missing a FK-index on the table in the Middle, for FK goes to OPERATIONS.
Currently this:
WHERE ogm_op_id = 0;
Is calculated by a followed by a filter operation full table scan. Assuming that OP_ID is pretty selective, an index on OGM_OP_ID might do the trick here.
-
Some simple queries on TimesTen
Hi, I am completely new to TimesTen, wondering just how he can interact with the standard Oracle databases
Q1. What is the connection to TimesTen method? i.e. it is Sql * Net?
Q2. What is used for the backup TimesTen databases? They are essentially a backup of the transaction logs, so no matter what backup file based method? for example installation standard backup of the operating system on which is deployed TimesTen?
Q3. I assume that tools such as Data Pump, Exim etc do not work with TimesTen?
Q4. TimesTen usable as Data Source for Oracle BI Server (i.e. OBIEE) or, in the alternative to hold the repository BI?Q5. Are the available DML and DDL Sql, basic commands to be used with TimesTen?
Thank you
JimHello, Jim. With regard to your questions:
Q1. What is the connection to TimesTen method? i.e. it is Sql * Net?
A1: When TimesTen communicates with Oracle, it regularly uses SQL * Net to mechanisms. For Oracle DB, it appears as just another customer.
Q2. What is used for the backup TimesTen databases? They are essentially a backup of the transaction logs, so no matter what backup file based method? for example installation standard backup of the operating system on which is deployed TimesTen?
A2: TimesTen offers it own backup and restore utilities (ttBackup/ttRestore) that allow you to create online, consistent, complete and incremental backups. These tools are the only supported way to back up a database TimesTen. Do not use OS level backup tools files to back up a database as a result "backup" will not be be consistent and probably won't be usable.
Q3. I assume that tools such as Data Pump, Exim etc do not work with TimesTen?
A3: Exact, however, TimesTen has its own set of tools that offer many opportunities.
Q4. TimesTen usable as Data Source for Oracle BI Server (i.e. OBIEE) or, in the alternative to hold the repository BI?
A4: Yes, TimesTen is supported as a data source for OBIEE. Actually TimesTen is one of the key technologies in OBIEE battery designed BI Exalytics system. It is not currently supported to store the repository of BI in TimesTen.
Q5. Are the available DML and DDL Sql, basic commands to be used with TimesTen?
A5: Yes, although there are differences in the syntax and features supported by TImesTen compared to Oracle DB. But TimesTen supports most of the usual SQL.
You can find to put much more detail on TimesTen by browsing the presentations, whitepapers and documents, available here:
http://www.Oracle.com/technetwork/database/database-technologies/TimesTen/Overview/index.html
Chris
-
Problem with the LG Media Center application
Hello.
Sory my English is not very good.I have the problem with my LG JM53 8 GB MP4 Player software on my Toshiba laptop L10-192. I canoe convert video files with application included on behalf of LG Media Center: convert the Format. This application does not correct it hang and turns off without reason. I try a lot of things like upgrading drivers widdows but nothings helping. I have windows XP Home SP2, and I thought that's the problem with windows and I activate return of restore cd provided with the laptop to have pure system - but this help too aplication hang again :( He sims as aplication or drivers have some conflicts? Can someone help me? or told me for is to turn this problem? The LG service people do answer my questions.
Greetings
Maciej F.Hello Maciej
Problem is that if you use a third party software in case of problems you have to ask the help of the software publisher. I can imagine that LG don t answer and perhaps that they don't deal with simple queries.
If no one can help you here check it please if you can find some support page or the FAQ section if exist. By the way: you'll be very happy if someone uses the same software.
-
I'm hooked up to an HP 54120 A and I can't seem to connect to it. I have sent simple queries based on the VISA and they all get expired. Max sees GPIB0::7 and I can choose it as a device ID in LabVIEW. But I can't seem to listen or talk to me. Someone I talked on the phone suggested that I switch the TALK/LISTEN mode on the front panel. All I see is a LOCAL touch and nothing happens when I press it. I have a program that I wrote a year ago and it worked at the time. But someone was playing with the buttons on the scope at the time and there is here no more.
Use the menu on the Panel before select HPIB > Mode = covered ('someone' probably thought that setting don't mind if she went) or wanted to print on an old plotter
-
Why are all my executeXMLQuery not in SoapUI calls?
OBIEE 11.1.1.7.140527 under linux.
SoapUI 5.1.3 running on my Windows 7 laptop.
Step 1: Call the logon service to authenticate and establish a session:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:v6="urn://oracle.bi.webservices/v6"> <soapenv:Header/> <soapenv:Body> <v6:logon> <v6:name>my_username</v6:name> <v6:password>my_password</v6:password> </v6:logon> </soapenv:Body> </soapenv:Envelope>
I get a satisfactory answer in step 1:
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:sawsoap="urn://oracle.bi.webservices/v6"> <soap:Body> <sawsoap:logonResult> <sawsoap:sessionID xsi:type="xsd:string">cusn6ah4m28ii4oi7a7q305ivrng9e1rsd457oa</sawsoap:sessionID> </sawsoap:logonResult> </soap:Body> </soap:Envelope>
Step 2: Call XMLViewService to run any request BI (I tried many simple BI applications in our catalog, they all fail the same way, see below):
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:v6="urn://oracle.bi.webservices/v6"> <soapenv:Header/> <soapenv:Body> <v6:executeXMLQuery> <v6:report> <v6:reportPath>/shared/Demo/Standard Library/Data Analyst/Requests/Account Revenues Trend</v6:reportPath> </v6:report> <v6:outputFormat>SAWRowsetSchemaAndData</v6:outputFormat> <v6:executionOptions> <v6:async>false</v6:async> <v6:maxRowsPerPage>50000</v6:maxRowsPerPage> <v6:presentationInfo>true</v6:presentationInfo> </v6:executionOptions> <v6:sessionID>cusn6ah4m28ii4oi7a7q305ivrng9e1rsd457oa</v6:sessionID> </v6:executeXMLQuery> </soapenv:Body> </soapenv:Envelope>
After trying to do step 2, I get this error returned to SoapUI:
Error getting response; java.net.SocketTimeoutException: Read Timed out
Then things start to get bad in my environment. I end with the blocked threads and restart services to make them disappear. Here are some log messages relevant I see when the problem occurs:
Jan 26, 2016 2:58:10 PM EST (Error) Message ID HTTP-503 Message Level 1 REMOTE_HOST 172.20.7.79 Component ohs1 Host asicbi01 Host IP Address 192.168.220.91 Message 172.20.7.79 - - [26/Jan/2016:14:58:10 -0500] "POST /analytics/saw.dll?SoapImpl=xmlViewService HTTP/1.1" 503 205
Jan 26, 2016 3:03:10 PM EST (Error) Message ID OHS-9999 Message Level 32 VirtualHost main rid 0 client_id 172.20.7.79 Relationship ID 0 Component OHS Module core.c Host asicbi01 Host IP Address 192.168.220.91 User oracle Thread ID 140348832077568 ECID 005A^8QsbbB2vHYVLq6UOA0007O900000l Message ap_proxy: trying POST /analytics/saw.dll at backend host 192.168.220.91/9704; got exception 'Backend Server not responding'; state: reading status line or response headers from WLS (wrote? Y read? N); not failing over because method not idempotent
Here's the kicker: if I call ExecuteSQLQuery instead of ExecuteXMLQuery I get a good answer. I even used ExecuteSQLQuery to run the exact logical SQL of the query path that I used in my ExecuteXMLQuery call. I even tried to launch ExecuteXMLQuery to several different requests for BI (all very simple queries that run immediately in the application itself).
I also have another environment OBIEE, same version and OS, where I can run ExecuteXMLQuery and get a good response.
Any ideas?
This problem was caused by him having this line in instanceconfig:
fake -
I am using 11.2.0.4.0 - oracle Version. I have underwear paremters on GV$ parameter
pga_aggregate_target - 8GB
hash_area_size - 128 KB
Sort_area_size - 64 KB
Now under query plan is running for ~ 1 HR and resulting in question tempspace. Unable to extend segment temp of 128 in tablespace TEMP.
We have currently allocated ~ 200GB at the tempspace. This query runs good for the daily race with Nested loop and the required index, but to run monthly that it changes the plan due to the volume I think and I went for the join of HASH, who believe is good decision by the optimizer.AFAIK, the hash join reverse to temp will slow query response time, so I need expert advice, if we increase the pga_aggregate_target so that HASH_AREA_SIZE will be raised to adequate to accommadate the driving table in this? howmuch size and should put us, it should be the same as the size of the array of conduct? or are there other work around the same? Note - the size of the driving table B is "~ 400GB.
----------------------------------------------------------------------------------------------------------------------------------- | Id | Operation | Name | Rows | Bytes |TempSpc| Cost (%CPU)| Time | Pstart| Pstop | ----------------------------------------------------------------------------------------------------------------------------------- | 0 | INSERT STATEMENT | | | | | 10M(100)| | | | | 1 | LOAD TABLE CONVENTIONAL | | | | | | | | | | 2 | FILTER | | | | | | | | | | 3 | HASH JOIN | | 8223K| 1811M| | 10M (1)| 35:30:55 | | | | 4 | TABLE ACCESS STORAGE FULL | A_GT | 82 | 492 | | 2 (0)| 00:00:01 | | | | 5 | HASH JOIN | | 8223K| 1764M| 737M| 10M (1)| 35:30:55 | | | | 6 | PARTITION RANGE ITERATOR | | 8223K| 643M| | 10M (1)| 34:18:55 | KEY | KEY | | 7 | TABLE ACCESS STORAGE FULL| B | 8223K| 643M| | 10M (1)| 34:18:55 | KEY | KEY | | 8 | TABLE ACCESS STORAGE FULL | C_GT | 27M| 3801M| | 118K (1)| 00:23:48 | | | -----------------------------------------------------------------------------------------------------------------------------------
Find plans by trial and error is not an efficient use of the time - and if it was a good idea to avoid joins and hash, then Oracle have set up their in the first place. I can understand your DBA with a yen to avoid, however, because any spill of a hash for disc often join a (relative) effect much more important than you might expect. In this case, however, you have a loop nested in A_GT which operates 39M times to access a table of 82 lines index - clearly (a) CPU work to achieve would be reduced if you included table columns in the index definition, but more significantly the cost of CPU of the A_GT/C_GT join would drop if you have built a hash in memory of A_GT table that is not a hash join.
What you ask for is a description of how to optimize a warehouse of data on Exadata machine - a forum is not the right place for this discussion; all I can say is that you and your databases need to do some testing to find out the best way to match queries to the Exadata has, so keep an eye on queries that produces the application in case of change of usage patterns. There are a few trivial generalities that anyone could offer:
(a) partitioning a day is good, so you can ensure that your queries are able to do partitioning to remove only the days where they want; even better is if there is a limited set of partitions that you can
(b) e/s for joins of large hash spilling to disk can be catastrophic compared to the underlying i/o for tablescans for the first access to the data, which means that simple queries can give the impression that Exadata is incredibly fast (especially when the index the flash cache and storage are effective), but slightly more complex queries are surprisingly slow in comparison.
(c) once you have passed the flash server cell cache, single block reads are very large and slow - queries that do a lot of single e/s (viz: big reports using nested against randomly scattered data loops joins) can cause very slow IO.
You must know the data types, know the general structure of your queries, be ready to generate of materialized views for derived complex data and understand the strengths and weaknesses of the Exadata.
Concerning
Jonathan Lewis
-
How and why I get lowered note version 4.1 to 3.2 SQL Developer?
First of all, I must say that I am a newbie. I know a little SQL to use it on my own over the years to build queries and reports outside the overview of the it Department. I'm at halfway through the first book Fundamentals SQL for Oracle Database 12 c Certification in the end.
A week ago when I started this journey, I downloaded Oracle 12 c and later SQL Developer 4.1 and was using SQL Developer 4.1 successfully. But when I tried to follow the examples of OE and HR in the book of preparation review making simple queries, I had to download the "examples of database" oracle.com/downloads. I downloaded the zip and run the setup.exe file. Now, I'm going to open the same exact shortcut, which I had used for SQL Developer 4.1 and it now opens instead of the SQL Developer 3.2! Why the hell should I suddenly have SQL Developer 3.2 an older version? Has anyone else got a happen to them? Do you know why it happened to me? And above all, it won't hurt anything if I returned to oracle.com/downloads and re - download SQL Developer 4.1 the latest version? Or do I somehow the old version of the SQL Developer to use the HR and OE schemas, tables, and data?
Thanks for any idea you may have in this weird situation.
Heather
You can install as many versions of SQL Developer you want, simply unpack each in its own empty directory.
"Examples of database" download & install must have diverted your shortcut. Probably version 4.1 is still installed and you just create a new shortcut. Better yet, 2 shortcuts: one for version 3.2 and one for version 4.1, as in the names of shortcut 'SQLDev32' and 'SQLDev41 '.
Edit: Using 3.2 for the examples in the book preparation will be easier because the SQL Developer can change from one version to another and no longer exactly correspond with them.
-
Hi gurus/masters.
Please advise on Oracle Text? I search in google. But getting junk info. Is this feature is there in oracle?
Concerning
SA
This is a change from what I previously provided, its replacement by the table and column names and values that you provided, so that if all goes well it will allow you to understand. I have also provided the text results simple separate query of the procedure that uses it. I have shown with a string of values and a unique value, you provided.
Scott@orcl12c >-table:
Scott@orcl12c > CREATE TABLE Entitlement_dnt
2 (order_number VARCHAR2 (15),)
3 customer_num VARCHAR2 (15).
4 generic_product_name_ext VARCHAR2 (25).
5 entitlement_ref_id VARCHAR2 (15).
6 device_asset_id VARCHAR2 (15))
7.
Table created.
Scott@orcl12c >-data:
Scott@orcl12c > INSERT ALL
2 INTO Entitlement_dnt VALUES ('1000345', '342345', ' laptop', '123', 'SDILK143')
3 INTO Entitlement_dnt VALUES ('1000345', '543243', 'portable', '321', '341KLIDS')
4 INTO Entitlement_dnt VALUES ('5430001', '342345', ' laptop', '123', 'SDILK143')
5 SELECT * FROM DUAL
6.
3 lines were created.
Scott@orcl12c > SELECT * FROM Entitlement_dnt
2.
ORDER_NUMBER CUSTOMER_NUM GENERIC_PRODUCT_NAME_EXT ENTITLEMENT_REF DEVICE_ASSET_ID
--------------- --------------- ------------------------- --------------- ---------------
1000345 342345 123 SDILK143 laptop
1000345 543243 portable 321 341KLIDS
5430001 342345 123 SDILK143 laptop
3 selected lines.
Scott@orcl12c >-multi_column_datastore:
Scott@orcl12c > START
CTX_DDL 2. CREATE_PREFERENCE ("your_datastore", "MULTI_COLUMN_DATASTORE");
CTX_DDL 3. SET_ATTRIBUTE
4 ("your_datastore", "COLUMNS",
5 "order_number customer_num, generic_product_name_ext, entitlement_ref_id, device_asset_id");
6 END;
7.
PL/SQL procedure successfully completed.
Scott@orcl12c >-extra column for indexing (optional):
Scott@orcl12c > ALTER TABLE Entitlement_dnt Add (search_cols VARCHAR2 (1))
2.
Modified table.
Scott@orcl12c >-text index Oracle using multi_column_datastore:
Scott@orcl12c > your_index CREATE INDEX
2 on Entitlement_dnt (search_cols)
3 INDEXTYPE IS CTXSYS. FRAMEWORK
4 SETTINGS ("your_datastore of the DATA store")
5.
The index is created.
Scott@orcl12c >-simple queries:
Scott@orcl12c > i_OpenSearchText VARIABLE VARCHAR2 (4000)
Scott@orcl12c > EXEC: i_OpenSearchText: = 1000345, 342345, laptop, 123, SDILK143'
PL/SQL procedure successfully completed.
Scott@orcl12c > SELECT *.
2 from Entitlement_dnt
3 WHERE CONTAINS (search_cols, REPLACE (: i_OpenSearchText, ', 'AND' ')) > 0
6 m
ORDER_NUMBER CUSTOMER_NUM GENERIC_PRODUCT_NAME_EXT ENTITLEMENT_REF DEVICE_ASSET_ID S
--------------- --------------- ------------------------- --------------- --------------- -
1000345 342345 123 SDILK143 laptop
1 selected line.
Scott@orcl12c > EXEC: i_OpenSearchText: = '1000345'
PL/SQL procedure successfully completed.
Scott@orcl12c > SELECT *.
2 from Entitlement_dnt
3 WHERE CONTAINS (search_cols, REPLACE (: i_OpenSearchText, ', 'AND' ')) > 0
6 m
ORDER_NUMBER CUSTOMER_NUM GENERIC_PRODUCT_NAME_EXT ENTITLEMENT_REF DEVICE_ASSET_ID S
--------------- --------------- ------------------------- --------------- --------------- -
1000345 342345 123 SDILK143 laptop
1000345 543243 portable 321 341KLIDS
2 selected lines.
Scott@orcl12c >-procedure that accepts the string of values separated by commas
Scott@orcl12c >- and returns ref cursor using the query:
Scott@orcl12c > prc_open_search CREATE OR REPLACE PROCEDURE
2 (i_OpenSearchText IN VARCHAR2,
3 o_result SYS_REFCURSOR to)
4 AS
5 BEGIN
6 - slider Ref that uses Oracle Text query using wil Oracle text index:
7 OPEN FOR o_result
8. SELECT *.
9 OF Entitlement_dnt
10 WHERE CONTAINS (search_cols, REPLACE (i_OpenSearchText, ', 'AND')) > 0;
11 END prc_open_search;
12.
Created procedure.
Scott@orcl12c > SHOW ERRORS
No errors.
Scott@orcl12c >-execution:
Scott@orcl12c > g_ref VARIABLE REFCURSOR
Scott@orcl12c > START
2 prc_open_search
3 (i_OpenSearchText-online 1000345, 342345, laptop, 123, SDILK143',)
4 o_result =>: g_ref);
5 END;
6.
PL/SQL procedure successfully completed.
Scott@orcl12c > g_ref PRINT
ORDER_NUMBER CUSTOMER_NUM GENERIC_PRODUCT_NAME_EXT ENTITLEMENT_REF DEVICE_ASSET_ID S
--------------- --------------- ------------------------- --------------- --------------- -
1000345 342345 123 SDILK143 laptop
1 selected line.
Scott@orcl12c > START
2 prc_open_search
3 (i_OpenSearchText-online '1000345',
4 o_result =>: g_ref);
5 END;
6.
PL/SQL procedure successfully completed.
Scott@orcl12c > g_ref PRINT
ORDER_NUMBER CUSTOMER_NUM GENERIC_PRODUCT_NAME_EXT ENTITLEMENT_REF DEVICE_ASSET_ID S
--------------- --------------- ------------------------- --------------- --------------- -
1000345 342345 123 SDILK143 laptop
1000345 543243 portable 321 341KLIDS
2 selected lines.
-
I've set up a monitor of Tomcat 6 and all aspects of the tomcat instance save correctly metrics * except * for availability.
What is HQ to test availability? How can I see if it works or solve this problem?Availability of Tomcat is verified through the PTQL declaration:
Java = State.Name.eq, Args.*.ct is catalina.home
What simple queries the table on process and covers a java.exe instance that includes the "catalina.home" string in its command line arguments.If that's not identify your server, perhaps because you run it via a wrapper on Windows service or executable install4j media that mask java.exe, then your server will report as unavailable. You can change the query in the configuration screen of the server for this resource of Tomcat in Hyperic. A handy application for windows is simple:
Pid.Service.eq =
On other platforms, it may take some trick to get to a query that uniquely identifies your server.Practical reference tool here:
http://support.Hyperic.com/display/Sigar/PTQLPost edited by: Matt5D
By the way, I do not draw attention to this metric of availability. I created the hot inside the TomCat Server Web service to check on the context which houses my remote gateways. This is because there are lots of ways for things to fail and the effective application to be unavailable which block the TomCat process. In my case, the availability of the bridge furthest on the web is a much more significant availability than to simply check if the tomcat process is still running on the server.
Post edited by: Matt5D -
I have two tables...
Table 1
origination_ip destination_ip
1 4
2 5
3 6
Table2:
endpoint IP
1 a
2B
3 C
3 C
5 e
6 f
I need the output as below:
Table of outputs:
orig_ip orig_endpoint dest_ip dest_endpoint
1 bis 4 d
2 b 5 e
3 c 6 f
I tried with the union, but the union does not work in my PB even for simple queries... so should I go with another as to the union. can somebody pls help?Hello
Attach two copies of table2, like this:
SELECT t.origination_ip , o.endpoint , t.destination_ip , d.endpoint FROM table1 t JOIN table2 o ON o.ip = t.origination_ip JOIN table2 d ON d.ip = t.destination_ip ORDER BY t.origination_ip ;
If you would care to post CREATE TABLE and INSERT statements for your sample data, and then I could test this.
If all of the appearances were in an array called o, and all destinations in another table, called d, you know then how do I join the 3 tables, right? He finds that o and d are really at the same table, but that doesn't really change the query.
Published by: Frank Kulash, November 21, 2012 10:43
Additional explanation -
How a value is to consider the change of dblink to the web service?
Implementation of SOA and OSB, how a value is to consider the change of dblink to the web service?
Where I work, there are a large number of dblink between databases. Some dblinks are intended to be the way to load the immense amount of data while others exist only to simple queries.
I wonder if it might be better to use web services as dblink. In principle, I think that simple queries may be suitable as a web service to improve reuse and governance but I find web service not apropriated for loads of data.
Obviously, the decision is more complex that just think tecnology. Despite this, it will be useful to hear if there are people around the world think about change dblinks to web services the same load so heavy querys with a small amount of data to be trafficked and this as the principles, models or reasons behind this decision.
Basically, we are implementing SOA and OSB and I'm looking for the best I can to rethink the way we used to do it so far. I heard from a friend of mine that we must avoid using dblinks and use only the web services. This seems strange to me because I wonder what level of overloading by the net, that we will face. Could someone give your personal opinion or propose an article? There are some pros and cons, formerly on this review?966355 wrote:
My question is: wouldn't I tend to turn the worst of communication when I change the dblink in scenario 1 and even more terribly worse in scenario 2?Yes, this is a drawback... You can't get better performance by adding more load, unless you bring better infrastructure...
One more detail: in scenario 1, there is a high probability to be reused by other systems.
It is one of the beneficial results you have to weight against your disadvantages...
In scenario 2, it is not reused, but we need to audit and traceability of the integrations like this.
This scenario looks more like ETL integration... It's a bulk data loading, you can take a look at ODI - Oracle Data Integrator (ODI is also part of the Fusion Middleware)
In my view, the main issue is to have systems so closely coupled... Systems get older, they get out of support, seller will declare a version is end-of-life, then you need to update. The system vendor has don't might not mind system B accesses its internal tables, but if they decide to change the internal database on the next version, they do... And then you're stuck with the vendor and version...
I hope this helps...
See you soon,.
Vlad -
OSB 11 g + adapter DB - best practices
Hi all
I create two bases of certain services of data using OSB 11 g + adapter Db to execute operations (salt, Ins, Upd). Most of them are simple queries, but some include complex operations of db
1. If I have two separate data sources for databases, y at - it an option to manage the transaction overall xa with the OSB service.
2 couple of interfaces consists of payload (Say xml with the 5,000 items - about 500ko - 1 MB) to be inserted to db. Are there tips for this kind of performance tuning operations.
Please let me know your opinion on this - any docs/blog will also help.
Thank you
ARPLYou can have multiple operations on single db adapter. Only with the operations below.
http://docs.Oracle.com/CD/E23943_01/integration.1111/e10231/adptr_db.htm
If you first time, you can select any operation you want only from below.
You can select Insert or update, insert only, update, delete, select, or any combination of the six.Note: You can not have a select statement and call a procedure in the same db adapter.
Thank you
Vijay -
Hi all
I have a table:
where the columns VALE_1 to VALE_12 represent the months... VALE_1 VARCHAR2(1) DEFAULT 'S', VALE_2 VARCHAR2(1) DEFAULT 'S', VALE_3 VARCHAR2(1) DEFAULT 'S', VALE_4 VARCHAR2(1) DEFAULT 'S', VALE_5 VARCHAR2(1) DEFAULT 'S', VALE_6 VARCHAR2(1) DEFAULT 'S', VALE_7 VARCHAR2(1) DEFAULT 'S', VALE_8 VARCHAR2(1) DEFAULT 'S', VALE_9 VARCHAR2(1) DEFAULT 'S', VALE_10 VARCHAR2(1) DEFAULT 'S', VALE_11 VARCHAR2(1) DEFAULT 'S', VALE_12 VARCHAR2(1) DEFAULT 'S',
How can I create a case in one where, according to the month that I give I can check the column for this month (VALE_month) and thus get or not to get these lines?
I'll try to explain better:
"for example, for a given DATE = 10/01/2012 (10 months, that means October), I create a simple query to only check the VALE_10 column and can have the line if its value is of."
Select * from
"Check if the VALE_10 column = s"
I hope that I was clear
Thanks in advanceHello
Vigilant Rosario wrote:
Thanks for your time.Very true, but she, the table, or up to 12 lines, because each row (transaction) can have 12 values (VALE_XX): has / for each month
(number of rows * 12)
It's true, then create a new table, fill it with 12 times the number of lines that are in your original table, and then move the columns from the original table.
If you cannot change the original table, you can create a view, which standardizes the columns:CREATE OR REPLACE VIEW notmalized_x AS WITH cntr AS ( SELECT LEVEL AS month_num FROM dual CONNECT BY LEVEL <= 12 ) SELECT x.primary_key , c.month_num , CASE c.month_num WHEN 1 THEN x.vale_1 WHEN 2 THEN x.vale_2 ... WHEN 12 THEN x.vale_12 END AS vale FROM table_x x CROSS JOIN cntr c ;
You will notice that the CASE expression in the view is very similar to the CASE expression that Solomon has suggested.
Then, you will be able to do ion of simple queries of life, like this:SELECT primary_key FROM normalized_x WHERE month_num = EXTRACT (MONTH FROM SYSDATE) AND vale = 'S' ;
If you don't want to create a view, you can do normalized_x a subquery.
-
Why does not my second query?
Two simple queries, one works, the other not. Any ideas?
Select dbms_crypto.hash (utl_raw.cast_to_raw ('HELLO'), 3) double;
C65F99F8C5376ADADDDC46D5CBCF5762F9E55EB7
Select dbms_crypto.hash (utl_raw.cast_to_raw ('HELLO'), dbms_crypto. HASH_SH1) twice;
[Error] Execution (01:54): ORA-06553: PLS-221: 'HASH_SH1' is not a procedure or is not defined
Thank you very much
Scott>
Two simple queries, one works, the other not. Any ideas?
>
dbms_crypto. HASH_SH1 is defined as a PLS_INTEGER so can only be used in PL/SQL not SQL.
Maybe you are looking for
-
How to make a backup of Windows Vista - Satellite A200-1UV?
Hi - I'm back with the same question that I do not see where to find Toshiba Recovery Disc Creator on my laptop as suggested by Lars? I can find one called Disc Creator, but I don't see how it can help me to make a backup of Windows Vista and after r
-
can I update/upgrade an unlocked AT &; T Atrix?
I have an AT & T Atrix shipping version Blur_Version.4.1.26.MB860.ATT.en.US. IM planning to SIM unlock and send it to the Philippines. Is it possible to update to version Blur_Version.4.1.57.MB860.ATT.en.US of Blur_Version.4.1.83.MB860.ATT.en.US and
-
IntelliMouse Explorer Windows is not be connected through blueooth.
Original title: intellimouse explore for bluetooth Hi I have an intellimouse windows explore for bluetooth. worked well, but has now ceased. Search Bluetooth is not find the device. I have windows automatic update. any ideas?. Thank you
-
Instilation Microsoft Flight problem (2012)
Whenever I try to install Microsoft Flight (2012), I get the 8007000D error code. Currently, I am running Windows XP and want to know what I can do to download?
-
What is the average of 62:10 error code? I have a HDR-CX260v
I just bought a camcorder HDRCX 260v, charge the battery, it works and see a flashing code E62:10. What does the code? Is this a serious question? I would return my new camera? Lee S.