General query
Hi,
i have set below parameter in production database.
.log_archive_dest_2='SERVICE=LOGSTDB LGWR ASYNC=20480 OPTIONAL REOPEN=15 MAX_FAILURE=10 NET_TIMEOUT=30'
currently archive log is transferred from prod database to standby database and it is applied in the standby database.
i want to know whether i have to create standby redo log in standby database.
if no,then when i should create standby redo log in standby database
Regards
Amit
Hi,
I'll make a pleasure to Dr. Paranoïd saying that it's better to create standby redo log on both side (standby and primary side).
In case of using a switchover/failover and other cool features.
So yes you have to create standby redo log for security and good practisre purpose.
Don't forget to create one group more of standby redo log then the number of redo log group.
Exemple: 3 group of redo on primary = 4 group of redo in standby side.
Mark question answered/hlepfull if it did.
Thanks,
Loïc
Similar Messages
-
General Query to identify parent columns and child columns in a table
Does anyone know a general query that can be run to identify the child records associated with the parent column within a single table.....and between other tables?
Am I correct in assuming the parent column is the 'primary key'?
Thanks.....I'm a new to oracle...and need some help understanding
my company's crazy DB structureYou can use
User_Constraints
User_Cons_Columns
views to identify parent and child table columns
SELECT * FROM User_Constraints WHERE Constraint_Type = 'R' AND Table_Name = '<TABLENAME>';
SELECT * FROM User_Cons_columns WHERE Constraint_Name = '<Name from Above query>';
will give you columns of the parent table (if you use value from constraint_name) and of child table (if you use value from r_constraint_name).
HTH.. -
Hi,
I have a general query in OSB. Whenever I try to add any expression through any message processing controls, there are three other tabs, comments, namespaces and variables. Can someone explain what is the use of namespaces and variables. If possible with the help of an example.
Thanks,
BalsHi Bals,
Comments allow the developer to put some lines regarding the functionality of that action/stage. This is same as putting comment in any programming language.
XML Namespaces provide a method to avoid element name conflicts in a XML. To know more please refer -
http://www.w3schools.com/xml/xml_namespaces.asp
Variables section refers to the message context variables like $header, $body, $inbound, $outbound etc. You may refer below link to know more -
http://download.oracle.com/docs/cd/E13159_01/osb/docs10gr3/userguide/context.html
Regards,
Anuj -
Hi
I want to write a query which takes a argument such as a number n.
The query is used to get any nth largest number from a table.
I could write it for only one say getting the second largest number. I wrote it as:
A= Select * from Emp where sal !=(select max(sal) from Emp);
select max(sal) from A;
It is very complex to make this query a General one.
Can any body suggest an idea.
thanksselect ename, sal from (select row_number() over (order by sal desc) r, ename, sal from emp) where r=&n;
Enter value for n: 5
ENAME SAL
BLAKE 2850
Please read the documentation about the differences between rank(), dense_rank() and rownumber()
Regards
Laurent Schneider
OCM DBA -
Need help on performing database queries with a general query
Dear experts,
I have two issues
1)
I have developed a software which connects to Oracle database
performing and executing DDL/DML statements.
I am using a Jdbc thin oracle driver.
When i perform a wrong syntax query or say a query using invalid column.I get exception accordingly.However,I want to know if there is any way by which i can know the exact position where i am making error
just as an asterik(*) comes in sql plus in case of invalid column or so.
2)
Whenever i minimize software window (made of swing components)
and again maximize it.It takes almost 12 secs to be visible otherwise it remains white.Is swing that much slow ???(1) No.
(2) It's possible to make Swing programs that slow. (I know, I have done it.) But usually the slowness is in application code (your code) and not in Swing itself. -
Idoc to file scenario general query
Hi All,
I know about the basic settings needed for the Idoc to file scenario.
My query is related the idoc /ALE settings.
I have a scenatio wrking in my system where we have configured the port for B type partner and also the port as XML-HTTP
I can not see any DM(BD64) created for it basically.I want to know that in what scenarios the BD64 configuration is required.
Or it is the case that if we define the BD64 then we do not need to configure we20 and we21, it will be auto configured?
Please let me know the use cases for these different configurations if any.
Thanks in advance.
Regards,
Rahul KulkarniHi Rahul,
BD64 uses mostly IDoc to IDoc scenarios because the IDoc consults the distribution model and determines whether any filter objects are specified for a receiver.
WE20 and WE21 (Partner Profile,Port Definition) we have to define in any scenarios where ECC included.
Thanks,
Seshu. -
General query regarding the implementation of a Flash Streaming Server
Hey lads,
I'm looking at setting up an Adobe Flash Streaming Server at
work. It will be used primarily to stream training videos across
our Intranet - we have ~1000 users at the moment, with the capacity
to expand to ~2000). We are looking at both filming with a camera
and screencasting (using either
Camtasia or Adobe
Captivate) and then encoding to .FLV
Camtasia can encode directly to FLV, however I'm not too sure
of the quality, so the Adobe Flash Media Live Encoder looks like a
good option too. For the time being we will just be concentrating
on the screencasting though.
The good thing is i can download a development server for
free from Adobe which gives me complete access with just a
restriction on the amount of users that can access the content
(10).
From what i can gather the (simple) way it works (and that
I want it to work) is that you have a standard template SWF
file containing relevant actionscript (sitting in most probably in
a html/php/asp/ect file on the webserver), which then calls the FLV
file from the flash server and streams the content to the clients
PC. I assume i will pass a variable to the SWF file (the video ID i
want), and that will then be used to call the corresponding FLV
file.
So effectively a YouTube website, i.e:
watch?
v=WjK6wNIWzts
I just wanted to know if anyone had any general tips on how i
should approach this? Obviously quality vs file size will be a big
point - deciding on a standard FLV format will be a mission,
however i do have the benefit of an internal network so can anyone
recommend some good encoding tips? I was actually thinking of
encoding a low quality and high quality version, but i don't think
that's really sustainable/effective.
There is a bit of documentation around for this, but they
tend not to answer the basic questions. Am i heading in the right
direction?
Thanks for your help :)If you are not able to find older version of connector on Metalink then raise an SR with Oracle and give proper Business Justification for the same.
-
JSF general query regarding UISelectItem and UISelectItems
I am seeing a couple of peculiar behavior and i have no explanation for them at the moment . It would be great if someone can explain the apparently different behavior of JSF in general.
Whenever there is 'n' number of UISelectItem components inside a UISelectOne component , the getter method of the property of the backing bean to which the UISelectOne component's value is bound is getting called "n" number of times when the page is rendered.
Whenever there is a single UISelectItems component inside a parent UIselectOne component , the getter method of the property(in my case a List of SelectItem components) of the backing bean to which the UISelectItems component's value is bound is getting called "2" times when the page is rendered.
The pattern is same for the first time when the page is requested and for any subsequent requests for the page.
What might be the possible reason for the afore mentioned behaviors of JSF?Getters and setters will be called different times in different Lifecycle phases.
This may help... http://www-128.ibm.com/developerworks/java/library/j-jsf2/
in particular, Select Components have some validation checks that loop over the items in the select component - I believe basically it loops over the selectItems and makes sure the selectItem.value "type" is the same as the selectComponent.value "type"
Also... I just posted this to another thread....
I found adding a Phase Listener with debug logging has helped enourmously with seeing when getter and setters were called in which phase.
public class DebugPhaseListener implements PhaseListener {
private static final Log LOGGER = LogFactory.getLog(DebugPhaseListener.class);
public PhaseId getPhaseId() {
return PhaseId.ANY_PHASE;
public void beforePhase(PhaseEvent event) {
LOGGER.debug("beforePhase(" + event.getPhaseId() + ")");
public void afterPhase(PhaseEvent event) {
LOGGER.debug("afterPhase(" + event.getPhaseId() + ")");
in your faces-config.xml... add
<lifecycle>
<phase-listener>com.mycompany.DebugPhaseListener</phase-listener>
</lifecycle> -
General query: What are HRFG views? How are they built?
I've been asked to look at my company's HRMS data with a view to setting up a new End User Layer for general reporting of HRMS data. I've seen talk here and elsewhere about various HRFG views but can't find any documentation about what they are, how they're refreshed, when they're built and what they're intended to contain.
Could someone please point me in the direction of some documentation on this subject? - I don't find it easy to find any in Oracle's online documentation, or on the web generally.
Or failing that could someone please give a brief overview here?
I'd be very grateful.
Keith H., London, UK.The SR I raised with Oracle mostly answered this question [SR #3-1885401571: Please explain use of HRFG% Vviews in e-Business HRMS]
They basically said (If I've understod correctly) that the views are internal system type views that are used as part of the Daily Business Intelligence or HR Intelligence views built for Discoverer. As such they can be used as long as they're rebuilt and kept up-to-date, but their direct use is not really supported. They are intended to include the custom configurations set up in flex fields and should be rebuilt after any flex field changes.
For me they're useful in that they can show how tables are joined together, even if I don't use them directly.
Oracle pointed me towards 2 notes that were instructive:
To setup HRi to use these Views, please see below documentation: Daily Business Intelligence for HRMS Implementation Guide Note 300655.1
For the seeded Workbooks which are delivered by HRi, please see the following documentation : Daily Business Intelligence for HRMS User Guide Note 300656.1
Keith. -
Hi,
Would the installed Products & relevant Components be present in the Database? How can we query the Database to obtain this information? Which DB Privileges would we need? would those privileges database specific like for oracle and ms sql?
Is there a way to obtain the same information that Easy Access shows, via Command Line? Is there a command that, given the relevant options, will query SAP, and return information in the stdout?
Regards,
MNAWould the installed Products & relevant Components be present in the Database?
-Yes, always...
How can we query the Database to obtain this information?
-By select statements on the tables already specified
Which DB Privileges would we need?
-All depends on the platform and db type. Means, you need enough authentication and authorizations to access the tools specific to the database vendor to run the query you want. So, database administrator user, like orasid (oracle on SAP), db2sid (db2 on sap) etc...should be able to login into sqlplus(oracle), db2 prompt(DB2), query analyzer(MSSQL) tools.
would those privileges database specific like for oracle and ms sql?
-Yes, refer to specific database guides for details. However, database administrator user is created automatically in all databases and this is normally referred as same in all DBs. But, theoritically speaking, actuall naming conventions are very specific the database vendor.
Is there a way to obtain the same information that Easy Access shows, via Command Line? Is there a command that, given the relevant options, will query SAP, and return information in the stdout?
in DB2, you use db2 command line processor db2clp. in MSSQL, you use the query analyzer. In Oracle, you use SqlPlus. To save the output of the query, you can use the SPOOL command. -
General Query About Freelance Designer Fees
I've always wondered what other freelancers charge for various websites. I've read where noobs are getting away with charging $1000 for a very simple 4 page static website (which they admit to using templates) - which I always feel obligated to email the website owner to tell them they got screwed (especially when half the website doesn't work).
The online reports I've read really are so scattered, they offer no insight. The websites I create are always built from scratch, everything is custom designed and coded (unless I use a 3rd party effect) - CSS, JavaScript, etc.
Just for the hell of it, what would you (assuming you are an actual designer and not a template noob) charge for something like:
6 page html website with mostly text and graphics (all graphic are supplied) - photo editing more than likely needed
Copy editing more than likely
E-Commerce cart linked to PayPal (I can custom build this without using any 3rd party software)
That's about the meat of it. If you throw in your quote, let me know where you are from (state/country). I'm interested in what people charge world wide. I'd also like to hear any other words of advise about how much others charge. I know I've been under charging for years, but once you get into that hole, it's hard to jump out of it knowing you are still being fair.I'm going to try and not lose my temper on this, but there is always one in the crowd that sets me off... I hate it when a simple question turns into someone trying to teach.
Rob Hecker2
what you are describing is the website of ten years ago. Virtually every potential client I talk to wants a CMS
Thanks for the backhanded comment. Just because whatever clientele you run into may want CMS doesn't mean everyone else in the world does. Each time a potential client mentions wanting to update their own website, the more I ask about the time they have to commit to it and their basic knowledge of what may be involved (photo editing, etc), they quickly realize it's not worth their time to learn basic skills and therefore allow me to continue to update the website. I mean, web design isn't JUST about creating the thing and severing the client's need for your services anymore. If you just focus on CMS websites, then you are losing out on the updates. Just because YOU don't do something doesn't mean the fact others may do it means they are any less experienced.First of all, online e-commerce didn't really take off until the very late 90's / early 2000, so I don't know how my description would be desribed as something 10 years ago as if it was already so outdated in these current times.
For one thing, the focus of my work is creating business logic with PHP/MySQL, not creating HTML layouts
Well good for you. I'm more on the graphical/context side of small business websites. While your focus is different, there is no need to assume my experience is any less in what I do. If you build websites in which you know there will be no follow-up money coming in (for updates), then it makes no sense for you to lower your rates based on that. That's just financial suicide.
You might turn up your nose to WordPress and template noobs
No, I don't turn my nose up to template noobs. I wanted to focus answers from the people who custom build.
If you are in the business of building websites that can be defined as "six page html website with mostly text and graphics" then I think you are operating at the lower end of the website industry. Pardon my bluntness, but you are trying to figure out where you fit in the industry. Right?
Backhanded comment #2. It was a general description to give a visual of what kind of content this scenario website pertains to. Pardon my bluntness, but your comments are not only arrogant, but also you have totally misread my topic and taken it to a level of insults. I thought I explained quite well I knew I was asking such a vague question and was simply looking for ranges of figures (whether it be hourly or simply based on there being an e-commerce cart). I'm NOT looking for comparisons (as someone else suggested). I simply wanted to get a range (even if it was wildly vague and random), and most seemed to misread what I was trying to ask. Everyone else at least offered "some" insight - while all I read from you was insults. You should have edited your response to just include your $600-$2000 range - since that's the only non-insulting thing I could pull out.
To everyone else, thanks for whatever insight you gave. I'm moving away from this thread before I lose my temper. -
Oracle 10g 64 bit general query
Hi,
I have installed the oracle 10g 64 bit server on a windows x_64 2003 server.
I did not find the 'ORacle.DataAccess.dll' at all in the bin directory.
Is it that i need to install another patch or package to get that as my client needs that DLL to connect to .
Any suggestions are welcome.
varunI did not find the 'ORacle.DataAccess.dll' at all in
the bin directory.
Is it that i need to install another patch or package
to get that as my client needs that DLL to connect toFor DataAccess.dll you need to install Oracle Data Provider for .NET
http://www.oracle.com/technology/software/tech/dotnet/odt_index.html
Cheers! -
Can DDL statements be run from Oracle reports
If yes how?
Thanks,
sagarhi;
Please check below link:
http://freshers-oracleapplications.blogspot.com/2008/06/reports.html
Regard
Helios -
General query using Nano as a iTunes Library back-up
Just wanted know if I used my Nano 3rd Gen solely as a back-up for my iTunes Library (currently also back-up my Library to both an external drive & CDs), how would this affect the Nano's battery life?
I would backing up to the Nano once a week but using it for nothing else (purchased a Touch 2nd Gen recently) - going by Apple's battery recommended guidelines, iPods require at least one full power cycle a month.
Given this, would I be seriously degrading my Nano's battery life with such limited usage?There's no way to know; theoretically, it should function like any other (battery operated) USB drive (which I wouldn't rely on for critical data). Why don't you just back it up on a different hard drive or burn it on a CD-R?? I actually back-up my iPod to an external hard drive and burn ALL my mp3's to CD-Rs.
-
General query to recurse through XML nested elements
Hi all,
Using 10g database...and I'm trying to parse XML (stored as clob, no registered schema) that handles nesting and reoccurring of the same element.
i.e.
<Policy ID="1">
<Risk ID="1.1">
<Risk ID="1.1.1">
<Risk ID="1.1.1.1">
</Risk>
</Risk>
</Risk>
<Risk ID="1.2">
</Risk>
<Risk ID="1.3">
<Risk ID="1.3.1">
</Risk>
</Risk>
</Policy>
The "Risk" element can be nested over and over again (and reoccur). Now, I want to combine each child, grandchild, great grandchild..... "Risk" element to the Policy element.
i.e resultset has two columns - policyID, riskID
Next, I'd like to be able to tie each Risk to it's parent Risk
i.e. resultset has two columns - parentRiskID, childRiskID
I know how to handle reoccurring and "known" hierarchies by using the XMLTYPE/PASSING techniques in the FROM clause but I'm struggling with the nesting part because I don't how deep it can go....This would seem to be fairly common in XML.
Any ideas ?
Thanks,
KevinDoes this help
SQL> var xmltext varchar2(4000)
SQL> --
SQL> begin
2 :xmltext := '<Policy ID="1">
3 <Risk ID="1.1">
4 <Risk ID="1.1.1">
5 <Risk ID="1.1.1.1">
6 </Risk>
7 </Risk>
8 </Risk>
9 <Risk ID="1.2">
10 </Risk>
11 <Risk ID="1.3">
12 <Risk ID="1.3.1">
13 </Risk>
14 </Risk>
15 </Policy>';
16 end;
17 /
PL/SQL procedure successfully completed.
SQL> select POLICY_ID, PARENT_RISK_ID, CHILD_RISK_ID
2 from xmltable
3 (
4 '/Policy'
5 passing xmltype(:xmltext)
6 columns
7 POLICY_ID number(4) path '@ID',
8 RISKS xmltype path '//Risk'
9 ) r,
10 xmltable
11 (
12 '/Risk'
13 passing RISKS
14 columns
15 PARENT_RISK_ID varchar2(40) path '@ID',
16 CHILD_RISK_ID varchar2(40) path 'Risk/@ID'
17 )
18 /
POLICY_ID PARENT_RISK_ID CHILD_RISK_ID
1 1.1 1.1.1
1 1.1.1 1.1.1.1
1 1.1.1.1
1 1.2
1 1.3 1.3.1
1 1.3.1
6 rows selected.
SQL> select POLICY_ID, PARENT_RISK_ID, CHILD_RISK_ID
2 from xmltable
3 (
4 '/Policy'
5 passing xmltype(:xmltext)
6 columns
7 POLICY_ID number(4) path '@ID',
8 RISKS xmltype path '//Risk'
9 ) r,
10 xmltable
11 (
12 '/Risk'
13 passing RISKS
14 columns
15 PARENT_RISK_ID varchar2(40) path '@ID',
16 CHILD_RISK_ID varchar2(40) path 'Risk/@ID'
17 )
18 where CHILD_RISK_ID is not null
19 /
POLICY_ID PARENT_RISK_ID CHILD_RISK_ID
1 1.1 1.1.1
1 1.1.1 1.1.1.1
1 1.3 1.3.1
SQL>
SQL> -
i have completed my training 4 months back and am looking for a break in sap sd . but unfortunately i am not getting interview calls even i have placed my profile in all the job sites, coming to my exp i have 6 yrs domain exp in marketing
Even i am ready to face interviews, am not getting a chance to expose myself
anyone can pls help me out in this situation , i will be thankful to you
also pls provide me solutions for
a) how do u create tasks and what are the min no of tasks one can create in a proj
what is the diff b/n change request and task.is it possible to release a change request without releasing a task
b)can we test global customization in dev or prod test systems
Any real time questions , if u can provide i will be thankful to you and hope you will provide me a good solution
kishoreHi,
Go through the some of the scenarios so that u can be more confident in facing interviews.
Try to acquire more knowledge on the scenarios and how configurations are done and if any customizations you had done,
Some of the scenarios are:
Duplicate customer purchase order
Default First Date is not Today
Auto proposed all the dates when creating Sales Order
Define Material used at which Sales and Distri. Process
Assign a Cost Center manually in a SO (VBAK-KOSTL)
Transfer of Requirements
Define Tax Determination Rules
Taxation Explain with an example
Return material From customer
SAP SD: Scheduling Agreement Vs Contract
Sales BOM Implementation
How to Know that Sales BOM is working or not?
Sales Order Mass Change
Release strategy for Sales order
How to do rebate processing
Rebate Process with Ref. to SO
Consignment Sales Process in SAP
Issue free goods to selected Customers
Supressing Fields in Sale Order
Some Light on Batch Determination
Diff. between Item Proposal and Material Determination
Steps for SD Variant Configuration
Process Flow for 3rd Party Sales
Configure Intercompany Stock Transport Order
Number Ranges In Sales Order
What is Debit note and Credit note
Mohan
Award points if it helps.
Maybe you are looking for
-
Using the IF function with a range of numbers
I am working with the IF function and trying to get it to work "if" the number I'm examining is within a range of numbers. Example: If a wigit costs between $1000 and $1999, then a discount of $100 is given If a wigit costs between $2000 and $2999, t
-
Burning several games onto 1 DVD?
I've been thinking alot. I have a couple of CD's to the same game, but now CD nr 3 is getting really scratchy, so I want to make a copy of it. I tried with a disc image but I need to have the CD injected to be able to play with it. So I was planning
-
Revision: 24027 Revision: 24027 Author: [email protected] Date: 2012-07-31 06:09:32 -0700 (Tue, 31 Jul 2012) Log Message: Removing weblogic.jar as it cannot be open sourced. Removed Paths: blazeds/branches/4.6_Apache/modules/opt/lib/weblogi
-
Adobe Muse Error # 3115 when attempting to open a Site
I created a Muse Site on my Desktop. When I attempt to open the site on my laptop I get the following message: "The adobe muse site file cannot be opened error #3115." I have Adobe CC installed on both machines and the file is on my dropbox folder. O
-
ok so im trying to set up my email on my bb8130 and it says that if i want to use an already existing email account than i need to type that into the user name spot and the password that goes with it in the password spot well i did and it is telling