Help Required to impliemnt the DataGuard Broker in 11.1.0.7
Hi,
We have standby setup in system with physical standby database.
We need to impliment the dataguard broker .Our database version is 11.1.0.7.
regards,
Hi,
Please refer to:
Oracle® Data Guard Broker 11g Release 1 (11.1)
http://download.oracle.com/docs/cd/B28359_01/server.111/b28295/toc.htm
Oracle® Data Guard Concepts and Administration 11g Release 1 (11.1)
http://download.oracle.com/docs/cd/B28359_01/server.111/b28294/toc.htm
Regards,
Hussein
Similar Messages
-
Help required in understanding the flow of control in working with EJB 3.0
*1. Can anyone help me in understanding the flow after getting an object of InitialContext in using Stateless/Stateful in EJB 3.0 from client i.e. what we are getting in the step Object ref=jndiContext.lookup("CalculateBean/Remote) .*
*2. What is the use of INITIAL_CONTEXT_FACTORY*
*3. PROVIDER_URL*
*4. Java.naimg.factory.url.pkgs*
*5. why org.jboss.naming and org.jnp.interfaces separated by semi colon.*
*6. Why we dont require INITIAL_CONTEXT_FACTORY, PROVIDER_URL and Java.naming.factory.url.pkgs if the client is a web client.*
Properties p=new Properties();
p.put(Context.INITIAL_CONTEXT_FACTORY, "org.jnp.interfaces.NamingContextFactory");
p.put(Context.PROVIDER_URL,"jnp://localhost:1099");
p.put("java.naming.factory.url.pkgs","org.jboss.naming:org.jnp.interfaces");
Context jndiContext = new InitialContext(p);
Object ref = jndiContext.lookup("CalculateBean/Remote");
Calculate c = (Calculate)ref;
int sum=c.add(3,4);
System.out.println(sum);
Thanx in advance........Annotations can also be processed at run time using the core reflection API (java.lang.Class & java.lang.reflect.*), so you might want to explore down that path. I have no idea how JBoss actually does it, but annotation processing at build time and core reflection at runtime are the two most obvious possibilities.
Bruce -
Help required in implementing the algorithm
Actually I am brand new to the java programming, and i need some help to implement the algorithm below in java.
I have the dataset required for the execution,
Can any body please help me?
Input: (1) a source database D,
(2) a min support,
(3) a min confidence,
(4) a set of recommended items Y
Output: a transformed database D, where rules containing
Y on RHS will be hidden
1. Find large 1-item sets from D;
2. For each hidden item y �� Y
3. If y is not a large 1-itemset, then Y := Y − {y};
4. If Y is empty, then EXIT;// no AR contains Y in RHS
5. Find large 2-itemsets containing items in Y from D;
6. For each y �� Y {
7. For each large 2-itemset containing y {
8. Compute confidence of rule U, where U is a rule likex �� y;
9. If confidence(U) �� min conf, then { //Calculate # of transactions required to lower the confidence of U
10. Calculate iterNumConf = _|D|∗(supp(xy) − minconf ∗supp(x))_;
//Calculate # of transactions required to lower the support of U
11. Calcualte iterNumSupp = _|D|∗(supp(xy)− min supp)_;
12. Calculate k = minimum (iterNumConf, iterNumSupp);
13. Calculate |TR| = |xy|; //|TR|: # of transactions inTR
14. if k > |TR|
15. Can not hide U;
16. else {
17. Find T kR = first k transactions that contain xy;
18. Sort T kR in ascending order by the number of items;
19. for i = 1 to iterNum do { 20. Choose the first transaction t from T kR ;
21. Modify t so that y is not supported, the RHS(U);
22. |xy| = |xy| − 1; // update support count of xy
23. confidence(U) = |xy|/|x|; // update confidence
24. Remove and save the first transaction t from T kR ;
25. }; // end for iterNum
26. }; // end if confidence(U)
27. }; // end of each large 2-itemset
28. Remove y from Y;
29. } // end of for each y
30. Output updated D, as the transformed D;The way you post that, it looks very much like "Do my work for me". Nobody around here likes that kind of post, they consider it lazy and selfish. But perhaps you didn't mean it that way? Why don't you explain what you have done and what parts of it you are having problems with. Explain those problems in detail.
-
Help Required in Migrating the Dev to Test Instance
Hi
Am very new to SOA platform, i developed one project in dev instance. now i would like to move this project to test instance.
can any one help me to migrating the project.
So I Need sample document with step by step instruction. i have 5 days only to migrate, i gone through so many blogs and post in metalink, but i didn't understand the concept exactly.
Santhosh Kumar. KHi K,
There are many ways to do it, it will all depend on your environment.
The way that works for me is:
1. Deploy your project to SAR (it will actually generate a jar file)
2. Copy the generated file to the environment where it will be deployed
3. Use the ant-sca-deploy.xml to deploy it
ant-sca-deploy.xml will be located at $BEA_HOME/Oracle_SOA1/bin
and you can call it from your own ant build.xml like this:
<target name="deploy-app">
<ant
antfile="${beaHome}/Oracle_SOA1/bin/ant-sca-deploy.xml"
target="deploy"
dir="${beaHome}/Oracle_SOA1/bin"
>
<property name="serverURL" value="${scaDeployUrl}"/>
<property name="sarLocation" value="${appEarDestDir}/${sca.jar}"/>
<property name="overwrite" value="true"/>
<property name="user" value="${domainUser}"/>
<property name="password" value="${domainPwd}"/>
<property name="failOnError" value="true"/>
<property name="partition" value="${partition}"/>
</ant>
</target>
Cheers,
Vlad
Give points - it is good etiquette to reward an answerer points (5 - helpful; 10 - correct) for their post if they answer your question. If you think this is helpful, please consider giving points -
Help required to recognize the correct language import package
Hi friends,
I am trying to import ukranian(UK) language to SAP system using SMLT transaction.Please help me to identify the correct 'language import package'
from the DVD dump.I cannot recognize the correct DVD .I am not clear how do I realize the exact package from the DVD dump.Kindly help me.
Regards,
Syam krishnanHi Syam
Please refer the TWO notes for clarity
Note 97476 - Language availability R/3 4.0x - 4.7x, ECC500
Note 517310 - Ukrainian language import has been filled w/ Russian
Cheers,
Shyam -
Help required to understand the concepts for data files in tablespace
Hi Guys!
Conceptual understanding for data files.
A tablespace is having 2 datafiles.
What once the data files will get full? I know we can create data files but what if there is no space on the server for any additional file to be created?
Do we require to make the oldest file offline and move outside the environment?
Thanks782790 wrote:
Hi Guys!
Conceptual understanding for data files.
A tablespace is having 2 datafiles.
What once the data files will get full? I know we can create data files but what if there is no space on the server for any additional file to be created?
Do we require to make the oldest file offline and move outside the environment?
ThanksIf the datafiles are full, there is not much that you would get from the "defragmentation" of the datafiles. It would be sort of like this in the start,
FFFFFFFFFFFFFFFFFFFFFFFFFF
Then it will be ,
FFFFFFFUUUUUFFFFFUUUUUU
So what you are going to get is something like this, (if would be done),
FFFFFFFFFFFFFUUUUUUUUUU
So that's how the datafile would like. But that won't give you much of the space anyways still. The option to add a storage must be there with you. The file being offline wont take away the space that it has already allocated. And moreover, doing so, would also impact the access to the data that it would be storing within it.
HTH
Aman.... -
Urgent help required to write the code in update routine
Hi all,
i want to calculate open purchase order qty in update routine
formula is
open purchase order qty = scl qty - rec qty
where schd line date is less then or equal to 90 days from the current date.
I have written one code : but its giving error that comm_structure is not defined in abap dictionary,can any body help to write appropriate routine. this calculation i am making for MM, and data source and cube are 2lis_02_scl and cube is zc_pur01 ( made by coping the 0pur_c01), data source scl has all fields required in the foumula...here is my code
DATA: COMM_STRUCTURE LIKE /BIC/CS2LIS_02_SCL.
DATA: SCL_QTY LIKE COMM_STRUCTURE-/BIC/ZK_SCLQTY.
DATA: GR_QTY LIKE COMM_STRUCTURE -/BIC/ZK_GRQTY.
DATA: SCL_DATE.
SCL_DATE = SY-DATUM + 90.
SELECT COMM_STRUCTURE -/BIC/ ZK_SCLQTY COMM_STRUCTURE -/BIC/ ZK_GRQTY FROM
/BIC/CS2LIS_02_SCL INTO SCL_QTY GR_QTY
WHERE
COMM_STRUCTURE -/0SCHED_DATE LE SCL_DATE.
IF SYSUBRC = 0
RESULT = SCL_QTY - GR_QTY.
ELSE = NOVALUE.
ENDIF.
Can any body help me soon its very urgent.
thanksHi Anupam,
I am not a very good ABAP Programmer, but found some things to notify u inyour code..
DATA: COMM_STRUCTURE LIKE /BIC/CS2LIS_02_SCL,
SCL_QTY LIKE COMM_STRUCTURE-/BIC/ZK_SCLQTY,
GR_QTY LIKE COMM_STRUCTURE -/BIC/ZK_GRQTY.
DATA SCL_DATE LIKE SY-DATUM.
SCL_DATE = SY-DATUM + 90.
SELECT COMM_STRUCTURE -/BIC/ ZK_SCLQTY COMM_STRUCTURE -/BIC/ ZK_GRQTY FROM
/BIC/CS2LIS_02_SCL INTO SCL_QTY GR_QTY
WHERE
COMM_STRUCTURE -/0SCHED_DATE LE SCL_DATE.
IF SYSUBRC = 0
RESULT = SCL_QTY - GR_QTY.
ELSE.
What should be the return value if you dont have to calculate the result."
ENDIF.
try it.. and see..
regards,
kishore. -
Urgent HELP required on forming the Matrix of data using PL/SQL
Hi All,
I'm new to this thread and require your urgent help in this regard.
I've got a requirement for building a 5000 X 5000 matrix using PL/SQL. My original data tables have 5000 rows each and I need to do a correlation analysis using this data and need to store in a physical table and not in-memory. Is this feat achievable using mere PL/SQL? I understand that Oracle DB has a limitation of 1000 columns(but not sure) and hence I'd like to know whether there is any work-around for such scenarios. If not, what are the other alternative method(s) to achieve this feat? Do I need to use any 3rd party tools to get this done? An early reply from the experts is highly appreciated.
Thanking you all Gurus in advance.
Rgds
SaiWelcome to OTN!
I'll get to your quesiton in a moment, but first some welcome information. Many OTN posters consider it impolite to mark threads as "urgent". We are volunteers and have jobs of our own to do without people we don't know making demands. You are brand new and deserve some patience but please understand this. It is very likely before I finish this post someone will complain about the word "urgent" in your subject.
On to more interesting things :)
You can do the matrix, but are out of luck with a 5000 x 5000 table because Oracle only allows 1000 columns per table. There are ways to work around this.
How do do the matrix depends on what you want to do. You can do this different ways. You can create a table beforehand and use PL/SQL or simple SQL to populate it, or use the CREATE TABLE AS syntax to create and populate it in one step if you can get the underlying SQL to work the way you want, something like
create table my_table as
select a.*, b.*
from table1 a, table2 bcan populate a matrix from 2 tables with an intentional cartesian join (the WHERE clause was left out intentionally, provided your data is already in the data base.
If not you can use a PL/SQL routine to populate the data.
There are a couple of ways to solve the 1000 column limit. The easiest way might be to have 5 collections of 1000 columns each. A more complicated but more elegant soltion would be to have nested collections, allowing 2 colliections that you can loop through - a collection of collections. Nested collections can be hard to work with. A third way would be to use nested tables in the database but I personally do not like them and the insert, update, and delete statements for nested tables are hard to use.
I'm not going to give a code example because I am not sure which solution is best for you. If you have further questions post them. -
Urgent Help required! - Storing the XML as String instead as a file
Hi,
I need urgent help on this.
I have an XML file. I have used org.w3c.dom to build dom and manipulate the XML file.
I have updated the values for some of the nodes and I have deleted some of the unwanted nodes.
I am able to save the output of the DOM as another XML file using
either transform class or XMLSerializer with OutputFormatter class.
But my requirement is to save the output of the DOM into a String instead of a file.
When I save it in String, I need to have the following XML decalration and DOCTYPE declration also with it.
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE Test SYSTEM "Test.dtd">
Can anyone pls help me in this??
Thanks in Advance. Expecting some inpputs pls....!
Regards,
Gayathri.hi,
i think this is what u want
public static String getXmlString(Document d) {
StringWriter strResponse = null;
try {
OutputFormat format = new OutputFormat(d);
strResponse = new StringWriter();
XMLSerializer serial = new XMLSerializer( strResponse, format );
serial.asDOMSerializer();
serial.serialize(d.getDocumentElement());
catch (Exception e) {
System.out.println(e.toString());
return strResponse.toString();
}HTH
vasanth-ct -
Help required in exectuting the Planning Function
Hello All,
I need help in fulfilling the following requirement through planning functions in IP:
I have 4 keyfigures as Actual Value,Actual Quan,Plan Value and Plan Quan.
Now what I want to do is to COPY:
1)Actual Value>>> PLan Value and then revaluate the Plan Value
2)Actual Quan>> Plan Quan and then revaluate the Plan Quan
How to Copy the values?????
Characteristic available are
1) RDS
2)Dealer
3)Material CategoryThe way you post that, it looks very much like "Do my work for me". Nobody around here likes that kind of post, they consider it lazy and selfish. But perhaps you didn't mean it that way? Why don't you explain what you have done and what parts of it you are having problems with. Explain those problems in detail.
-
Help required in retrieving the category1 & category2 values for CRM SR
Hi Friends,
We are currently working on a requirement where in we need to update the status of Service request having the external reference nbr that is coming from back end ECC System. This number is already stored in the CRM Service request document. The external reference field is added through AET Tool.
The backend application calls our CRM RFC FM and passes the external reference nbr as input parameter. We are trying to query the CRMD_ORDERADM_H table with the external reference number and get the list of all service requests having this number. Now we need to select only those service requests having the category1 as Order and category2 as block.
We have found the table CRMD_SRV_SUBJECT but not able to find the link table that connects the GUID of service request with GUID of CRMD_SRV_SUBJECT.
Any pointers on this would be of great help.
Thanks,
UdayaHello Udaya,
Welcome to Categories Search. I also faced this issue to retrieve all levels of categories for a Service Request.
I am glad I can share with you how this was resolved.
Use the following steps:
1. Pass SR GUID in field GUID of table CRMV_REPORT_SUBJ and get KATALOGART, CODEGRUPPE and CODE field values in lv_catalog, lv_codegrp and lv_code.
2. Now you need to concatenate these 3 fields values carefully like this:
CONCATENATE lv_catelog lv_codegrp ' ' lv_code into lv_category1.
*Remember there are 4 spaces between lv_codegrp and lv_code.*
3. Now pass this lv_category1 in field OBJEXT in table CRMC_ERMS_CAT_OK and get OBJGUID in field lv_objguid.
4. Pass this lv_objguid in field OBJ_GUID and *LNK_TYPE = 'IS_CODE'* in table CRMC_ERMS_CAT_LN and get value of CAT_GUID in lv_cat_guid.
5. Pass this lv_cat_guid in field CAT_GUID in table CRMC_ERMS_CAT_CA and get value of CAT_ID in field lv_cat_text.
Remember this lv_cat_text is the text value of your last level of category of SR.
6. To get its upper cateogry level value, simple use table CRMC_ERMS_CAT_HI and get parent guid value and pass this as CAT_GUID again in table CRMC_ERMS_CAT_CA to get its text.
Alternatively, you can also use class method cl_crm_ml_category_util=>get_parse_all to get all levels of categories.
I hope this helps.
Thanks
Vishal
Edited by: Vishal Kesar on Jul 30, 2010 5:12 PM -
Help require to get the XML output to design template- JDE
Hi Friends,
I am asking this question from JDE perspective.I want to design XMLP Template for R40572 Check Printing.
When I upload an blank template and after attaching RD, When ever I initiate a check from P04572 Application.RThe Write Row exit will lead to check printing which in turn will call a batch R04571 and this batch will call R04572(Which I require the XML output) since it is the second report and we cant direct it to local server I am not able to get the XML output..
Another think is since its running in server i think its not taking the RD modification we done in loacl because it always fires PDF .Hi,
I assume you're Using XMPOSA for generating the files locally. What I suggest is, you set the application to run with the report definition by default. That way, even when it is called, it will be called along with the report definition. You can take the resultant XML file from P95630
hope this helps,
-Domnic -
Help required in writing the query
I have the following level accounts
10000
11000
11100
11101
11200
11201
12000
12100
12101
12102
12103
20000
21000
21100
21101
22000
22101
21200
21201
I have to take the amount of the child account and sum it to the parent account as below:
11100 = 11101 + 11102 - 11103+.........
11000 = 11100 + 11200 + 11300+.........
10000 = 11000 + 12000 + 13000+.........
21100 = 21101 + 21102 - 21103+.........
21000 = 21100 + 21200 + 21300+.........
20000 = 21000 + 22000 + 23000+.........
Please help...
Thanks in advance.SQL> with t as (
2 select 10000 ACCOUNT, NULL BEG_BAL, NULL END_BAL from dual union all
3 select 11000,NULL,NULL from dual union all
4 select 11100,NULL,NULL from dual union all
5 select 11101,1750.00,4150.00 from dual union all
6 select 11102,1550.00,3150.00 from dual union all
7 select 11103,1650.00,3200.00 from dual union all
8 select 11200,NULL,NULL from dual union all
9 select 11201,800.00,1250.00 from dual union all
10 select 11202,1550.00,3150.00 from dual union all
11 select 12000,NULL,NULL from dual union all
12 select 12100,NULL,NULL from dual union all
13 select 12101,1200.00,5000.00 from dual union all
14 select 12102,1500.00,3000.00 from dual union all
15 select 12103,1550.00,2750.00 from dual union all
16 select 20000,NULL,NULL from dual union all
17 select 21000,NULL,NULL from dual union all
18 select 21100,NULL,NULL from dual union all
19 select 21101,2000.00,6500.00 from dual union all
20 select 21102,1500.00,3500.00 from dual union all
21 select 21103,1750.00,3550.00 from dual union all
22 select 22000,NULL,NULL from dual union all
23 select 22100,NULL,NULL from dual union all
24 select 22101,1550.00,3550.00 from dual union all
25 select 22102,2550.00,5550.00 from dual union all
26 select 21200,NULL,NULL from dual union all
27 select 21201,2550.00,6500.00 from dual union all
28 select 21202,3550.00,7500.00 from dual
29 )
30 select account,
31 beg_bal,
32 end_bal,
33 sum(beg_bal) over(order by account range between current row and grouping_window follow
ing) group_beg_bal,
34 sum(end_bal) over(order by account range between current row and grouping_window follow
ing) group_end_bal
35 from (
36 select t.*,
37 case
38 when account / 10000 = trunc(account / 10000) then 9999
39 when account / 1000 = trunc(account / 1000) then 999
40 when account / 100 = trunc(account / 100) then 99
41 when account / 10 = trunc(account / 10) then 9
42 else 0
43 end grouping_window
44 from t
45 )
46 order by account
47 /
ACCOUNT BEG_BAL END_BAL GROUP_BEG_BAL GROUP_END_BAL
10000 11550 25650
11000 7300 14900
11100 4950 10500
11101 1750 4150 1750 4150
11102 1550 3150 1550 3150
11103 1650 3200 1650 3200
11200 2350 4400
11201 800 1250 800 1250
11202 1550 3150 1550 3150
12000 4250 10750
12100 4250 10750
ACCOUNT BEG_BAL END_BAL GROUP_BEG_BAL GROUP_END_BAL
12101 1200 5000 1200 5000
12102 1500 3000 1500 3000
12103 1550 2750 1550 2750
20000 15450 36650
21000 11350 27550
21100 5250 13550
21101 2000 6500 2000 6500
21102 1500 3500 1500 3500
21103 1750 3550 1750 3550
21200 6100 14000
21201 2550 6500 2550 6500
ACCOUNT BEG_BAL END_BAL GROUP_BEG_BAL GROUP_END_BAL
21202 3550 7500 3550 7500
22000 4100 9100
22100 4100 9100
22101 1550 3550 1550 3550
22102 2550 5550 2550 5550
27 rows selected.
SQL> SY. -
Help required in optimizing the query response time
Hi,
I am working on a application which uses a jdbc thin client. My requirement is to select all the table rows in one table and use the column values to select data in another table in another database.
The first table can have maximum of 6 million rows but the second table rows will be around 9000.
My first query is returning within 30-40 milliseconds when the table is having 200000 rows. But when I am iterating the result set and query the second table the query is taking around 4 millisecond for each query.
the second query selection criteria is to find the value in the range .
for example my_table ( varchar2 column1, varchar2 start_range, varchar2 end_range);
My first query returns a result which then will be used to select using the following query
select column1 from my_table where start_range < my_value and end_range> my_value;
I have created an index on start_range and end_range. this query is taking around 4 millisseconds which I think is too much.
I am using a preparedStatement for the second query loop.
Can some one suggest me how I can improve the query response time?
Regards,
ShyamTry the code below.
Pre-requistee: you should know how to pass ARRAY objects to oracle and receive resultsets from java. There are 1000s of samples available on net.
I have written a sample db code for the same interraction.
Procedure get_list takes a array input from java and returns the record set back to java. You can change the tablenames and the creteria.
Good luck.
DROP TYPE idlist;
CREATE OR REPLACE TYPE idlist AS TABLE OF NUMBER;
CREATE OR REPLACE PACKAGE mypkg1
AS
PROCEDURE get_list (myval_list idlist, orefcur OUT sys_refcursor);
END mypkg1;
CREATE OR REPLACE PACKAGE BODY mypkg1
AS
PROCEDURE get_list (myval_list idlist, orefcur OUT sys_refcursor)
AS
ctr NUMBER;
BEGIN
DBMS_OUTPUT.put_line (myval_list.COUNT);
FOR x IN (SELECT object_name, object_id, myvalue
FROM user_objects a,
(SELECT myval_list (ROWNUM + 1) myvalue
FROM TABLE (myval_list)) b
WHERE a.object_id < b.myvalue)
LOOP
DBMS_OUTPUT.put_line ( x.object_name
|| ' - '
|| x.object_id
|| ' - '
|| x.myvalue
END LOOP;
END;
END mypkg1;
[pre]
Testing the code above. Make sure dbms output is ON.
[pre]
DECLARE
a idlist;
refc sys_refcursor;
c number;
BEGIN
SELECT x.nu
BULK COLLECT INTO a
FROM (SELECT 5000 nu
FROM DUAL) x;
mypkg1.get_list (a, refc);
END;
[pre]
Vishal V. -
Help required in changing the default page during server startup
I am using JSF 1.1 and BEA Workshop Studio 3.3 on WebLogic 9.2. When ever I start or restart my server, by default the application opens up in Internet Explorer with url http://localhost:7001/. I appreciate if someone can let me know if it is possible to change the url to open up my home page.
To be precise I would like to open http://localhost:7001/pages/home.jsf instead of http://localhost:7001/ when the server starts or restarts. Any help is highly appreciated.
Thanks.
~SirGSet the context root to "/" in application server's configuration and define a welcome-file in webapplication's web.xml.
Maybe you are looking for
-
Price difference in inovice(scheduling agreement)
Hello Gurus, Can anyone please suggest me on the systems unknown behaviour given below. We have scheduling agreement in currency GBP and Local currency EUR, when we post GR, it is getting posted perfectly i.e with proper accounting entries as Invento
-
Opening ASDocs in the browser window
It's a minor annoyance, but I need help changing a user preference setting that I've looked and looked for, but couldn't find the answer. How can I have the FB IDE open ASDocs of Flex4 documentation with the default browser? For instance, when I hi
-
Can't find Add a Device option Photosmart C4700
I have a Photosmart C4700 that I am trying to set up wirelessly. I had it working once before, and for some reason it no longer works. After MUCH trial and error, I have been able to set it up again to work while connected to my MacBook Pro (running
-
Saving an image file in phone memory
Hi everyone, I want to save a file (an image file) in my phone/ memory-card memory. i've infact captured it from camera and now want to save in the memory not in the RecordStore. What should i do ? Please help me. Thanks in advance
-
Buttons Add Not appear New Infotype personal profile
Dear experts I have add the infotype 0022 using the steps of the following Adding any Info Type IN ESS in EHP5/6 through WebDynpro Configuration However the system not show the button of Add new register for this Infotype, only show register created