Rank calculation in Oracle iSourcing.
Hi All,
I am facing a problem as users are not satisfied with the ranking shown for the bidders by the system. Here the ranking is calculated based on price only. Can some one help me out finding the process/procedure used by Oracle to calculate the overall ranking and awarding process.
Waiting for your response.
Regards
Prakash Kumar
HI ,
can you please explain the differnec between the two functionsTopN-- Ranks the highest n values of the expression argument from 1 to n
Rank -- Calculates the rank for each value satisfying the numeric expression argument,. If certain values are equal, they are assigned the same rank (for example, 1, 1, 1, 4, 5, 5, 7...)
I guess problem is with
RANK(col_name) <=@{p_top}{10}Use TOPN(measure,10) direclty it will pickup
where rownum<=10 like this
thanks,
saichand.v
Similar Messages
-
제품 : PL/SQL
작성날짜 : 2001-09-11
RANK FUNCTION IN ORACLE 8I
==========================
EXPLANATION
oracle 8i(8.1.6) 부터 가능한 rank function 입니다.
8.1.5 에서는 ora-923 error 가 납니다.
plsql 내에서는 oracle 9i 부터 가능합니다.
8.1.6에서는 ora-900 error가 납니다.
EXAMPLE
<RANK() OVER ( query_partition_clause ORDER_BY clause) >
- 중복 rank 값만큼 다음 순위는 생략
SQL>SELECT deptno, ename, sal, comm,
RANK() OVER (PARTITION BY deptno ORDER BY sal DESC, comm) as rk
FROM emp;
DEPTNO ENAME SAL RK
10 KING 5000 1
10 CLARK 2450 2
10 MILLER 1300 3
20 3500 1
20 SCOTT 3000 2
20 FORD 3000 2
20 JONES 2975 4
20 ADAMS 1100 5
20 SMITH 800 6
30 BLAKE 2850 1
30 ALLEN 1600 2
30 TURNER 1500 3
30 WARD 1250 4
30 MARTIN 1250 5
40 JAMES 777 1
9 1
<DENSE_RANK( ) OVER ( query_partition_clause ORDER_BY clause ) >
- 중복 rank 의 수와 무관하게 numbering
SQL>SELECT dname, ename, sal, DENSE_RANK()
OVER (PARTITION BY dname ORDER BY sal) as drank
FROM emp, dept
WHERE emp.deptno = dept.deptno
AND dname IN ('SALES', 'RESEARCH');
DNAME ENAME SAL DRANK
RESEARCH SMITH 800 1
RESEARCH ADAMS 1100 2
RESEARCH JONES 2975 3
RESEARCH SCOTT 3000 4
RESEARCH FORD 3000 4
RESEARCH 3500 5
SALES WARD 1250 1
SALES MARTIN 1250 1
SALES TURNER 1500 2
SALES ALLEN 1600 3
SALES BLAKE 2850 4
plsql 내에서 사용 가능 :oracle 9i 부터
SQL> create table
rank_emp(deptno number(2), ename varchar2(20), sal number(5), rk number(2));
테이블이 생성되었습니다.
SQL> create or replace procedure window_plsql AS
query_str VArchar2(1000);
begin
query_str := 'insert into rank_emp
SELECT deptno, ename, sal,
RANK() OVER (PARTITION BY deptno ORDER BY sal DESC, comm) as rk
FROM emp' ;
Execute Immediate query_str;
end;
2 /
프로시저가 생성되었습니다.
SQL> exec window_plsql
PL/SQL 처리가 정상적으로 완료되었습니다.
SQL> select * from rank_emp;
DEPTNO ENAME SAL RK
10 KING 5000 1
10 CLARK 2450 2
10 MILLER 1300 3
20 SCOTT 3000 1
20 FORD 3000 1
20 JONES 2975 3
20 ADAMS 1100 4
20 SMITH 800 5
30 BLAKE 2850 1
30 ALLEN 1600 2
30 TURNER 1500 3
DEPTNO ENAME SAL RK
30 WARD 1250 4
30 MARTIN 1250 5
30 JAMES 950 6
14 개의 행이 선택되었습니다.That's correct
The differences between Standard and Enterprise Edition are listed here:
http://www.oracle.com/technology/products/oracle8i/pdf/8i_fam.pdf -
Regarding Calculation in Oracle Incentive module of Oracle Application R12
Hi,
We are facing a problem during 'CALCULATION'in ORACLE INCENTIVE OCMPENTSATION MODULE version R12 (12.0.5) .
It takes long time to execute in a system and also doesn't show the Status as 'COMPLETE' in case of complete.
This issue occurs in perticular development instance and We have observed that the CALCULATION take place very short to complete the process in different dev instances.
We do 'CALCULATION' through Responsibility : - Compensation Manager--> Calcualte compensation
We need your valuble inputs and suggestions
Thanks and Regards,
DeepakDeepak,
The issue depends on many factors. One volume u are testing between instances, the way the plan is set up. if the plan is not set up right way or you have huge volumes, you may see these kind of issue.
You may want to analyze reuqirements and plan configuration. This may give somes ideas on how to fix this.
Regards
Srini -
Problem in a calculation in Oracle Answers
Hello experts.
I am facing some trouble in making a report.
Dimensions and Facts are like this.
Dimensions: Year Month, Quarter, Employee Name , Attribute Name (like A,B,C,D...I)
Facts : Attribute Fact1, Attribute Fact2, Attriute Fact3
Now we need to show DATA as follows
Columns:
Year | Month Quarter | Employee Name | (Attributes Name) A,B,C,D....J
Measure: (A calulation on Fact1,Fact3 and Fact3)
Eg. ((Fact1*Fact2)/Fact3)
We used a Pivot Table to draw this analysis:
In ROWS we put Year | Month | Quarter | Employee Name
In Measures_Lables We put 'Attribute Name'
In Measures we put an calulated column: ((Fact1*Fact2)/Fact3)
Now problem is there is one condition that if value of ((Fact1*Fact2)/Fact3) for Attribue 'A' is Zero then we need to multiply rest of Attributes with some Factor, lets day 10
I tried to put following Formulla/Expression:
CASE WHEN
IF NULL
(CASE WHEN Attribute.Name IN ('A') THEN ((Fact1*Fact2)/Fact3) END)
,0
) = 0
) THEN
((Fact1*Fact2)/Fact3)*10
ELSE
((Fact1*Fact2)/Fact3)
END
that is I am checking if Calculation for that Attribute ('A') is Zero then multiply by with 10 else just show calculation.
What happend is as soon as I apply CASE on Attribute 'A' value of other Attributes go out of scope for that particular CELL, so for these cells (except A) 'IF NULL' block is evaluated true
For example if data set is like this
Year | Month | Quarter | Employee Name | A | B |
2009 Jan Q1 Emp1 10 20
2009 Jan Q1 Emp2 0 20
THEN as per above my formulla resut it give is like this
Year | Month | Quarter | Employee Name | A | B |
2009 Jan Q1 Emp1 10 200
2009 Jan Q1 Emp2 0 200
So, for all other Attributes it muliplied by 10 because for all other cells it find value of A is 0 so it multiplies by 10
I am starting to think it might not be possible to do it this way.
Please suggest me a better way for this problem:You could write a view over the table that has the XML column and use Oracle XML DB functions to extract and represent the data in a table format. You can then map this view in Oracle BI Administration.
I think stuff like XML transformations and extraction etc. is no task for Oracle BI and is best left to the Oracle Database.
Thanks,
Nilanshu. -
Performing ranking calculations with the BEx Query Designer - ideas?
I have a scenario where I have a key figure with raw values. In the column beside this I want to rank the key figures by their raw values.
Something like this:
Amount Rank
0.11 2
0.05 3
0.22 1
0.03 4
I can do this no problem using the "Calculate Single Values as:" Ranked List.
For subsequent calculations I need to perform mathematical operations on the RANK column. For example say I want to make a 3rd column where I divide the rank by 2:
Amount Rank Rank by 2
0.11 2 1
0.05 3 1.5
0.22 1 0.5
0.03 4 2
I cannot figure out how to do this as SAP does not really STORE the values of the rank column for my next calculation. The "Rank by 2" column actually shows this:
Rank by 2
0.065
0.0025
0.11
0.015
which is dividing the original amount by 2 and not the actual RANK value.
Anyone have some suggestions on what I can do?I know what you are talking about, it will always return 1 or zero which is true or false, I don't think you can do anything much to this. Since, the value of Ranked is getting calculated at runtime.
thanks.
Wond -
APD - writing query result "rank calculation" to file or DSO
Hello,
I am trying to take a query result set where I am calculating a key figure as Rank and run it through an APD to write to a DSO.
This is a top 5 query for a dashboard. I keep getting an MDX failure on the query.
Any ideas?
My ultimate goal is to set up a process to take TopN query results and get them into a target that can be used in a Universe.
Thanks,
ChrisHi,
You want to store the data of query in to dso?Y
You can write a code in to routine for calulated key figure.
I also face the same problem but i solved using routine.
try this.
Regards,
Ganesh -
Memory and No. of Processor calculation for Oracle EBS R11 and R12
Can some one please tell me …. How to calculate required Memory and No. of Processors for Oracle EBS R11 and R12.
For example we have 50 Concurrent users and 100 named (i.e. the users which are doing only Data entry.), so how to How to calculate required Memory and No. of Processors
Please guide me on the same.
Thanks,Please refer to the following links, it may be helpful:
Oracle Applications Benchmark White Papers
http://www.oracle.com/apps_benchmark/html/white-papers-e-business.html
Oracle Applications Standard Benchmark White Papers
http://www.oracle.com/apps_benchmark/html/white-papers.html
Hardware requirements for Oracle APPS
Hardware requirements for Oracle APPS -
How to use "Rank" function in Oracle?
I need to display Top 15 records by using rank function.
Here is my query...I need to pull top 15 FAQ's using the below query.. How can I use RANK function to display the Top 15 FAQ"s in the list.
Select distinct SUb1.FAQ,Sub1.FAQ_Hits,GU.display_Name_FMLS as displayname,ev.ParentLinkrecordid,ev.userid from User GU
Join Event ev
ON LOWER (ev.userid) IN (LOWER (GU.lanid), LOWER (Gu.racfid))
Join (Select distinct sm.stem as FAQ,Sum(ev.Eventresults) as FAQ_Hits,ev.ParentLinkrecordid as Topic_ID from Event ev
Join SubjectMatter sm
ON (TO_CHAR (sm.smrecordid) = ev.eventdetail1) AND ev.eventdetail1 IS NOT NULL AND sm.smtype = 1
Where (Upper(ev.eventsubtype) in (Upper('FAQ'),Upper('OPENFAQ')))
AND TO_DATE (eventdatetime, 'yyyy-mm-dd hh24:mi:ss') >= TO_DATE ('20100601', 'yyyymmdd')
and TO_DATE (eventdatetime, 'yyyy-mm-dd hh24:mi:ss') <= TO_DATE ('20100831', 'yyyymmdd')
Group by sm.stem,ev.Parentlinkrecordid
order by FAQ )sub1
ON Sub1.Topic_ID = ev.ParentLinkrecordid)A few bits that I noticed in the query ...
in (Upper('FAQ'),Upper('OPENFAQ'))1) Do you really a upper for a string which is already in upper case.
Select distinct sm.stem as FAQ,Sum(ev.Eventresults) as FAQ_Hits,ev.ParentLinkrecordid as Topic_ID2) Do you need a distinct when you are using a GROUP function viz. SUM ?
You rank query is as follows, I am not very good at the ANSI style JOIN so changed it slightly ... :-)
Also notice the usage rank function in the "sub1" query.
select distinct sub1.faq,
sub1.faq_hits,
gu.display_name_fmls as displayname,
ev.parentlinkrecordid,
ev.userid
from user gu, event ev,
(select rank() over (order by sum(ev.eventresults) desc) rnk,
sum(ev.eventresults) as faq_hits,
sm.stem as faq,
ev.parentlinkrecordid as topic_id
from event ev, subjectmatter sm
where (to_char(sm.smrecordid) = ev.eventdetail1)
and ev.eventdetail1 is not null
and sm.smtype = 1
AND upper(ev.eventsubtype) in ('FAQ', 'OPENFAQ')
and to_date(eventdatetime, 'yyyy-mm-dd hh24:mi:ss') >= to_date('20100601', 'yyyymmdd')
and to_date(eventdatetime, 'yyyy-mm-dd hh24:mi:ss') <= to_date('20100831', 'yyyymmdd')
group by sm.stem, ev.parentlinkrecordid
order by faq) sub1
where lower(ev.userid) in (lower(gu.lanid), lower(gu.racfid))
and sub1.topic_id = ev.parentlinkrecordid)
and sub1.rnk <= 15;Like mentioned above, some sample data would have helped. -
in table t1 have data like
col1 col2 col3
a a1 10
a a2 15
a a3 30
b b2 37
b b1 30
c c1 42
d d1 32
i want to put these data along with the rank based on col1 and col3 value .
i want to put the data into another table t2 like this way
col1 col2 col3 col4
a a1 10 4
a a2 15 2
a a3 30 1
a a4 15 3
b b2 37 1
b b1 30 2
c c1 42 1
d d1 32 1
how to do this.
ThanksHi Solomon,
may be use dense_rank() over(partition by col1 order by col3 desc , col2) nstead
dense_rank() over(partition by col1 order by col3,col2)
SQL> with t as (
2 select 'a' col1,'a1' col2,10 col3 from dual union all
3 select 'a','a2',15 from dual union all
4 select 'a','a3',30 from dual union all
5 select 'a','a4',15 from dual union all
6 select 'b','b2',37 from dual union all
7 select 'b','b1',30 from dual union all
8 select 'c','c1',42 from dual union all
9 select 'd','d1',32 from dual
10 )
11 select col1,
12 col2,
13 col3,
14 dense_rank() over(partition by col1 order by col3 desc , col2) rnk
15 from t
16 order by col1,
17 rnk;
C CO COL3 RNK
a a3 30 1
a a2 15 2
a a4 15 3
a a1 10 4
b b2 37 1
b b1 30 2
c c1 42 1
d d1 32 1
8 ligne(s) sélectionnée(s).
SQL> -
Oracle deadlock - how to use "synchronised" keyword in a transaction?
Hi,
I use WL6.1 SP4, Oracle 8.1.6, with some Java objects which execute a
lot
of SQL queries (mixed update, insert and select) using plain JDBC
calls,
and Weblogic connection pools. These objects are called by servlets.
I experienced recently deadlocks when two users call the object at the
same
time (See error below).
I execute the queries using "synchronized" keyword in the following
way:
synchronized (this)
conConnection.setAutoCommit(false);
executeTransaction(myStatement);
conConnection.commit();
executeTransaction is overriden in sub-classes and is the method which
executes
all the queries.
It calls methods in other objects. These methods are not declared as
synchronized.
1) Should they?
2) Should I use the keyword "synchronized" in another way?
3) This part of code is also called when I do only "select"
statements. I guess
it should only be synchronized when we do "update" and "insert" which
could lead
to a deadlock?
4) Do you have any idea why this deadlock occurs as I use the
"synchronized"
keyword, and one thread should wait until the other one has finished?
Thanks for any idea,
Stéphanie
----------------- error:
<ExecuteThread: '4' for queue: 'default'> <> <> <000000> <SQL request
sent to database: UPDATE PARTICIPANT par SET par.PARTICIPANTLASTRANK =
4 WHERE par.IDPARTICIPANT = 8983566>
<ExecuteThread: '11' for queue: 'default'> <> <> <000000> <SQL request
sent to database: UPDATE PARTICIPANT par SET par.PARTICIPANTLASTRANK =
6 WHERE par.IDPARTICIPANT = 8983570>
ORA-00060: deadlock detected while waiting for resource
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134)
at oracle.jdbc.ttc7.TTIoer.processError(TTIoer.java:289)
at oracle.jdbc.ttc7.Oall7.receive(Oall7.java:573)
at oracle.jdbc.ttc7.TTC7Protocol.doOall7(TTC7Protocol.java:1891)
at oracle.jdbc.ttc7.TTC7Protocol.parseExecuteFetch(TTC7Protocol.java:1093)
at oracle.jdbc.driver.OracleStatement.executeNonQuery(OracleStatement.java:2047)
at oracle.jdbc.driver.OracleStatement.doExecuteOther(OracleStatement.java:1940)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:2709)
at oracle.jdbc.driver.OracleStatement.executeUpdate(OracleStatement.java:796)
at weblogic.jdbc.pool.Statement.executeUpdate(Statement.java:872)
at weblogic.jdbc.rmi.internal.StatementImpl.executeUpdate(StatementImpl.java:89)
at weblogic.jdbc.rmi.SerialStatement.executeUpdate(SerialStatement.java:100)
at bfinance.framework.EDBBLBean.executeSQL(EDBBLBean.java:299)Hi Stepanie,
I'd try to group update statement together. Usually it helps.
Regards,
Slava Imeshev
"Stephanie" <[email protected]> wrote in message
news:[email protected]...
Thanks for your answer.
In the case you describe, is there a way to ensure that tx-2 waits for
tx-1
to be finished before beginning?
My transaction which causes the problem is the following (simplified):
UPDATE tableA SET islast=0 WHERE externalid=myid;
for (int i=0; i< aVector.size(); i++) {
INSERT INTO tableA (id, islast, ranking, externalid) (SELECT
SEQ_tableA.nextval, 1, 0, myid);
UPDATE tableA SET ranking = /*calculated ranking */
WHERE externalid=myid AND islast=1;
UPDATE tableB ....
commit;
tx-1 and tx-2 execute this transaction at the same time. tx-1 begins
The deadlock appears when tx-2 executes the second UPDATE tableA
query.
I don't see how I can avoid to execute these two update queries, so if
I can find another way to prevent deadlock, it would be great!
Stéphanie
Joseph Weinstein <[email protected]_this> wrote in message
news:<[email protected]_this>...
Stephanie wrote:
Hi,
I use WL6.1 SP4, Oracle 8.1.6, with some Java objects which execute a
lot
of SQL queries (mixed update, insert and select) using plain JDBC
calls,
and Weblogic connection pools. These objects are called by servlets.
I experienced recently deadlocks when two users call the object at the
same
time (See error below).Hi. The error you are getting isn't necessarily from a lack ofsynchronization
of your java objects. It has to do with the order in which you accessDBMS
data. You are getting ordinary DBMS deadlocks, which are caused when
two DBMS connections each have a lock the other wants, in order toproceed.
The DBMS will quickly discover this and will kill one transaction inorder to
let the other one proceed:
time 0: tx-1 and tx-2 have started.....
time 1: tx-1: update tableA set val = 1 where key = 'A'
time 2: tx-2: update tableB set val = 2 where key = 'B'
time 3: tx-1: update tableB set val = 1 where key = 'B' (waitsbecause tx-2 has the row
locked)
time 4: tx-2: update tableA set val = 2 where key = 'A' (waitsbecause tx-1 has the row
locked)
This is a deadlock. The solution is to organize your application code sothat every
transaction accesses the data in the same order, eg: update tableAfirst, then update tableB.
This will prevent deadlocks.
Joe Weinstein at BEA
I execute the queries using "synchronized" keyword in the following
way:
synchronized (this)
conConnection.setAutoCommit(false);
executeTransaction(myStatement);
conConnection.commit();
executeTransaction is overriden in sub-classes and is the method which
executes
all the queries.
It calls methods in other objects. These methods are not declared as
synchronized.
1) Should they?
2) Should I use the keyword "synchronized" in another way?
3) This part of code is also called when I do only "select"
statements. I guess
it should only be synchronized when we do "update" and "insert" which
could lead
to a deadlock?
4) Do you have any idea why this deadlock occurs as I use the
"synchronized"
keyword, and one thread should wait until the other one has finished?
Thanks for any idea,
Stéphanie
----------------- error:
<ExecuteThread: '4' for queue: 'default'> <> <> <000000> <SQL request
sent to database: UPDATE PARTICIPANT par SET par.PARTICIPANTLASTRANK =
4 WHERE par.IDPARTICIPANT = 8983566>
<ExecuteThread: '11' for queue: 'default'> <> <> <000000> <SQL request
sent to database: UPDATE PARTICIPANT par SET par.PARTICIPANTLASTRANK =
6 WHERE par.IDPARTICIPANT = 8983570>
ORA-00060: deadlock detected while waiting for resource
at
oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134)
at oracle.jdbc.ttc7.TTIoer.processError(TTIoer.java:289)
at oracle.jdbc.ttc7.Oall7.receive(Oall7.java:573)
atoracle.jdbc.ttc7.TTC7Protocol.doOall7(TTC7Protocol.java:1891)
atoracle.jdbc.ttc7.TTC7Protocol.parseExecuteFetch(TTC7Protocol.java:1093)
atoracle.jdbc.driver.OracleStatement.executeNonQuery(OracleStatement.java:2047
atoracle.jdbc.driver.OracleStatement.doExecuteOther(OracleStatement.java:1940)
atoracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java
:2709)
atoracle.jdbc.driver.OracleStatement.executeUpdate(OracleStatement.java:796)
atweblogic.jdbc.pool.Statement.executeUpdate(Statement.java:872)
atweblogic.jdbc.rmi.internal.StatementImpl.executeUpdate(StatementImpl.java:89
atweblogic.jdbc.rmi.SerialStatement.executeUpdate(SerialStatement.java:100)
at bfinance.framework.EDBBLBean.executeSQL(EDBBLBean.java:299) -
Explain about the cost, bytes & cardinality calculation in oracle9i
Hi All,
Any one can explain about the cost, bytes & cardinality calculation in oracle 9i.
Actually I want to understand the behaviour of execution plan taken by oracle.
Here is one example.
Execution Plan
0 SELECT STATEMENT Optimizer=CHOOSE (Cost=51 Card=1 Bytes=424)
1 0 SORT (GROUP BY) (Cost=51 Card=1 Bytes=424)
2 1 TABLE ACCESS (BY INDEX ROWID) OF 'NBFC_ADDRESS_M'
3 2 NESTED LOOPS (Cost=43 Card=1 Bytes=424)
4 3 NESTED LOOPS (Cost=43 Card=1 Bytes=350)
5 4 NESTED LOOPS (Cost=43 Card=1 Bytes=296)
6 5 NESTED LOOPS (Cost=40 Card=1 Bytes=242)
7 6 NESTED LOOPS (Cost=15 Card=1 Bytes=193)
8 7 NESTED LOOPS (Cost=13 Card=1 Bytes=164)
9 8 NESTED LOOPS (Cost=10 Card=1 Bytes=138)
10 9 NESTED LOOPS (Cost=9 Card=1 Bytes=125)
11 10 NESTED LOOPS (Cost=7 Card=1 Bytes=57)
12 11 TABLE ACCESS (BY INDEX ROWID) OF 'NBFC_BRANCH_M' (Cost=2 Card=1 Bytes=20)
13 12 INDEX (UNIQUE SCAN) OF 'NBFC_BRANCH_M_PK' (UNIQUE) (Cost=1 Card=1)
14 11 TABLE ACCESS (BY INDEX ROWID) OF 'CS_ALLOCATION_HDR' (Cost=5 Card=1 Bytes=37)
15 14 INDEX (RANGE SCAN) OF 'CS_ALLOCATION_QUEING' (NON-UNIQUE) (Cost=2 Card=2)
16 10 TABLE ACCESS (BY INDEX ROWID) OF 'LEA_AGREEMENT_DTL' (Cost=2 Card=1 Bytes=68)
17 16 INDEX (UNIQUE SCAN) OF 'LEA_AGREEMENT_DTL_UQ' (UNIQUE) (Cost=1 Card=1)
18 9 INDEX (UNIQUE SCAN) OF 'SYS_C0016578' (UNIQUE) (Cost=1 Card=1 Bytes=13)
19 8 TABLE ACCESS (BY INDEX ROWID) OF 'LEA_ASSET_M' (Cost=3 Card=1 Bytes=26)
20 19 INDEX (RANGE SCAN) OF 'LEA_ASSET_M_CDX1'(NON-UNIQUE) (Cost=2 Card=1)
21 7 TABLE ACCESS (BY INDEX ROWID) OF 'NBFC_CUSTOMER_M' (Cost=2 Card=1 Bytes=29)
22 21 INDEX (UNIQUE SCAN) OF 'NBFC_CUSTOMER_M_PK' (UNIQUE) (Cost=1 Card=1)
23 6 TABLE ACCESS (BY INDEX ROWID) OF 'NBFC_CHEQUE_DTL' (Cost=25 Card=1 Bytes=49)
24 23 INDEX (RANGE SCAN) OF 'NBFC_CHEQUE_DTL_IDX1'(NON-UNIQUE) (Cost=3 Card=23)
25 5 TABLE ACCESS (BY INDEX ROWID) OF 'NBFC_ADDRESS_M' (Cost=3 Card=1 Bytes=54)
26 25 INDEX (RANGE SCAN) OF 'UK_BPID_BPTYPE_ADDTYPE'(NON-UNIQUE) (Cost=2 Card=1)
27 4 TABLE ACCESS (BY INDEX ROWID) OF 'NBFC_ADDRESS_M'
28 27 INDEX (RANGE SCAN) OF 'NBFC_ADDRESS_M_CDX1' (NON-UNIQUE) (Cost=2 Card=2)
29 3 INDEX (RANGE SCAN) OF 'NBFC_ADDRESS_M_CDX1' (NON-UNIQUE) (Cost=2 Card=2)
Statistics
1 recursive calls
0 db block gets
117 consistent gets
108 physical reads
0 redo size
2181 bytes sent via SQL*Net to client
1185 bytes received via SQL*Net from client
1 SQL*Net roundtrips to/from client
1 sorts (memory)
0 sorts (disk)
0 rows processed
Actully I don't know how to post the thread in proper format so example is not formatted.
Thanx.. RatanCardinality is the number of rows.
Cost -- think that is relative.
Bytes -- the amount of data?
Tom Kyte has a really nice explanation of this in Effective Oracle by Design -- but I left it at work. -
Oracle Database: productivity increase
Hi all,
in our company we use the three-tier architecture base on Oracle products:
client(web browser) - application server (Oracle AS 10g) - database server (Oracle database 10g).
and we plan to appreciably increase number of clients. And it is necessary for me to define how much it will be necessary to increase hardware units productivity (CPU speed in MHz and RAM capacity in MB) to support new clients on Oracle AS 10g and Oracle Database 10g side.
I've found AS Discoverer Sizing Calculator on oracle.com, but I can't find similar calculator for Database 10g.
Could anybody please advise how to calculate hardware sizing for Oracle Database 10g server?
Thanks a lotAgain - as the question you asked about the bandwidth - this cannot be answered without knowing the application, number of users, amount of data, etc.
I suggest you build an environment for a POC/Benchmark.
In this environment you can install your application and tweak the settings (various initialization parameters, etc) to see the impact on your system. Be sure to include enough data as most systems work well with 1 MB of test data but not with 5 GB of test data.
cu
Andreas -
how to use the RANK function in oracle data integrator??
Hi,
a little google could help you..
https://forums.oracle.com/thread/2158588
Let us know -
Urgent! Freight Calculation
Hi All,
Can someone tell me how is Freight (costs/charges) calculated in oracle?
Thanks in advanceI am not sure if this is what you are looking for, let me know if were looking something more specific.
Order Management applies Freight Charges to the customer invoice whereas Shipping captures all Freight Costs incurred on a shipment of goods.
Once the ship confirmation process completes, costs input are transferred to OM for storing on the order, and they can be converted to charges based on rules.Freight costs captured at shipping are not invoiced.
Pricing Modifiers are used to apply Charges, Pricing Qualifiers to model
Freight Charges based on the rules for applying those Charges And Pricing Formula for passing through of Freight Costs to Charges.
Prashanth -
Fast Formula in Oracle Report Developer
How I can use the fastformula calculation in oracle Report Developer
you cannot use the fast formula in reports but there are some seeded package-procedure/functions which get the same. Check for the package
pay_us_pto_accrualAlso check for the followng packages:
select * from dba_objects
where object_type = 'PACKAGE'
and object_name like '%PTO%ACCRUAL%';Edited by: 936671 on Jul 20, 2012 8:55 PM
Maybe you are looking for
-
Watching itune movies on a non-apple TV
When trying to watch an itunes tv episode or movie on my macbook (which is hooked up to my nice Sony monitor) I keep getting messages saying the video will not appear on both screens even though I have 'mirrored image' set. In fact, I couldn't get it
-
I am currently getting an iPhone 3G this Friday and I was wondering if this feature is on the current iPhone or possibly down the pipeline with Apps. Many years back when I had a Nokia it had a wonderful feature of changing the profiles and ringer vo
-
Read-Only can only be read ??
for instance, if I have an application which allows user to add/modify/delete/ready-intensive the customer entity bean. Can I use the same ejb which is read-only and also including create/store/remove ? Or I have to have 2 different entity bean for d
-
A very strange Safari problem... everything works fine except when I attempt to type in the url bar or the Google search window... then Safaru crashes. I can access sites from my bookmarks no problem... Just cant type a url. Tried all the usual stuff
-
Flash Builder fort All Devices
hello Am new for flash builder i want to create games for pc,iphone,ipod etc. it is possible in single project Currently am flash game developer using cs5 and as2,as3