FrameRate needs to be explained
Hi All,
My Flex application works fine at the rate of 25 frames per second. Especially spinning is moving steadily. It is an actionscript code using the fast repeating Timer.
Lately I have added some CPU consuming preloader function that disturbed my preloader spinner. It isn't spinning with a constant speed now. It stops even for a 3 seconds.
I think the problem is with the frameRate for my Flex application. I am thinking about rewriting my time consuming function. Perhaps there is some other solution to my problem. Please help.
Chris
I think that this type of animation should use the enterFrame event, rather than a Timer object. These links should answer your question:
http://livedocs.adobe.com/flex/3/html/help.html?content=05_Display_Programming_29.html
http://stackoverflow.com/questions/929749/actionscript-3-smooth-programmatic-animation
If this post answers your question or helps, please mark it as such.
Similar Messages
-
What privileges needed for producing explain plan for other user's object ?
Hi there,
What privileges needed for producing explain plan for other user's object (tables) ?
Cheers
SoheilExperiment: (public plan table exists)
create user bob identified by bob;
grant create session to bob;
connect bob/bob
start sample_plan
If will error off on the table being read in the plan
connect dba_or_privileged_user
grant select on the referenced_table(s) to bob;
connect bob/bob
start sample_plan
It will now work providing a public plan table exists or you give bob create table and create a bob.plan_table
I ran the experiment on Oracle version 9.2.0.6 running on AIX 5.3. Select privilege on all referenced tables in the explained SQL must exist
HTH -- Mark D Powell -- -
Need Business case Explaination about the Field in Customer Master
Hi all,
I have a doubt in Customer master Record
1. Customer Group
2. Price Group
3. Price list
4. Customer Stat.group
What I mentioned above fields i need business case explination, but all the above fileds are explaining about the Price and Statistics about the report. By using F1 Help i can understand but i need business case
Is there any link between those fields ?
@ Please dont close the thread if it is basic question please provide the details and link because i serached in Google but i couldn't able to findouthi
anuradha,
In my knowledge customer pricing group is the main in the customer master ,
you will one test case in customer pricing group in customer u can not fill it, the same customer u can rise the sale order , system sows earorr message, no customer master records maintain, it means when u create the sale order system take pricing procedure , pricing procedure determination ; sales area+customer pricing procedure +document pricing procedure assign to pricing procedure,(ovkk) ,
customer statical group
Sales Organization 0001 Sales Org. 001
Distribution Channel 01
Division 00
Cust.stats.grp 1 'A' Material
CustGroupMaterial 1 'A' Material
StatGrpSalesDoc 2 Returns, Credit Memo
StatGrpDocumentItm 1 Returns, Credit Memo
Update Group 1 SIS: Sales Document, Delivery, Billing Document
it is the static updating group for item level,
Sales Organization 0001 Sales Org. 001
Distribution Channel 01
Division 01
Cust.stats.grp 1 'A' Material
StatGrpSalesDoc 1 Order, Debit Memo
Update Group 1 SIS: Sales Document, Delivery, Billing Document
it is for static updating group for header level
it is use full in vov7 ,
price list and price group it is use full pricing to the customers, you can check it sale order header in sale tab u can find your required fields, -
Tuning needed for sql:EXPLAIN PLAN attached
DB Version:10gR2
The below sql was running slow, so i took an explain plan
SQL> explain plan for
2 SELECT COUNT(1) FROM SHIP_DTL WHERE
3 SHIP_DTL.PLT_ID = 'AM834'
4 AND SHIP_DTL.WHSE = '34' AND
5 SHIP_DTL.STAT_CODE != '845'
6 ORDER BY SHIP_DTL.LOAD_SEQ ASC;
Explained.
SQL> select * from table(dbms_xplan.display);
PLAN_TABLE_OUTPUT
| Id | Operation | Name | Rows | Bytes | Cost (%CPU)|
| 0 | SELECT STATEMENT | | 1 | 18 | 5 (20)|
| 1 | SORT AGGREGATE | | 1 | 18 | |
|* 2 | TABLE ACCESS BY INDEX ROWID| SHIP_DTL | 200 | 3600 | 5 (20)|
|* 3 | INDEX RANGE SCAN | SHIP_DTL_IND_4 | 203 | | 3 (0)|
Predicate Information (identified by operation id):
PLAN_TABLE_OUTPUT
2 - filter("SHIP_DTL"."WHSE"='34' AND "SHIP_DTL"."STAT_CODE"<>845)
3 - access("SHIP_DTL"."PLT_ID"='AM834')Why is there an INDEX RANGE scan where there is no BETWEEN operator in the query? What are various options(indexes, rewriting query) in tuning this query?james_p wrote:
DB Version:10gR2
The below sql was running slow, so i took an explain planCheck your plan, the optimizer estimates that the following query:
select count(*)
from SHIP_DTL
where "SHIP_DTL"."PLT_ID"='AM834';only returns 200 records. Is this correct? Please post the result of above query.
It probably isn't the case, because retrieving 200 records per index range scan and single row random table access shouldn't take long, at maximum a couple of seconds if you need to read each block actually from disk rather than from the cache.
If the estimate is wrong you need to check the statistics on the table and index that were used by the optimizer to come to that conclusion.
Are you sure that this plan is the actual plan used at execution time? You can check for the actual plans used to execute by using the DBMS_XPLAN.DISPLAY_CURSOR function in 10g if the SQL is still cached in the Shared Pool. You need to pass the SQL_ID and SQL_CHILD_NUMBER which you can retrieve from V$SESSION while the statement is executing.
Regards,
Randolf
Oracle related stuff blog:
http://oracle-randolf.blogspot.com/
SQLTools++ for Oracle (Open source Oracle GUI for Windows):
http://www.sqltools-plusplus.org:7676/
http://sourceforge.net/projects/sqlt-pp/ -
Need help to explain these codes!!! Urgently!!!
Hi anyone who's here to help...I am doing my Final year project report now...i dunno how to explain these codes in word...can anyone tell me what it means? what are these codes for...? what does each paragraph indicate?
thanks.
sorry, maybe i only insert pieces of the codes and its vague...ok, in this source code...what i dun understand is....i have cut and paste the sections of codes which i dun understand as below..
bcoz this codes are passed down from my seniors who had graduated...and my task is to explain these codes in the form of a report without me having any background on programming...i tried asking some frens...its either they dunno or forgotten...this is my last hope...thanks again...thanks..
* new added code */
Thread scroller; //for looping purpose
int loopcounter,count;
// thread is to allow the program to be called every and then.
public void init()
/*new added code */
loopcounter=0;[list]
**like whats does "thread scroller" means? Looping purpose? what's looping then?
**also, i've tried on changing the "Loopcounter = 0" to other numbers like 2 and 5...and when i run it on the appletviewer..my image simply runs out of my page...
[list]
*And this part...what does it mean?
/*new added code*/
public void start() {
if (scroller == null) {
scroller = new Thread(this);
scroller.start();
} [list]
for this section here, i really dunno what it says.. "public void start"--start what? scroller again? new Thread(this)?
[list]
public void stop() {
if (scroller != null) {
scroller.stop();
scroller = null;
} [list]
I dunno about this section also.. stops wat??
[list]
public void run() {
try {Thread.currentThread().sleep(100);}
catch (InterruptedException e){}
for (count=0; count <= 400; ) {
try {Thread.currentThread().sleep(20);}
catch (InterruptedException e){}
rm.load();
} [list]
wat is it runing here? try? catch? for? wat does it mean?????
[list]
public void destroy(){;}
public void update(Graphics g){paint(g);}
}[list]
now this.. wat is it destroying?? updateing wat???
[list]
this is my whole program like...
import java.awt.*; /*Contains all of the classes for creating user
interfaces and for painting graphics and images.*/
import java.applet.*; /*Provides the classes necessary to create an applet and the
classes an applet uses to communicate with its applet context.*/
/* Loadable is required for RealMedia so that it know that this code
can load images and sounds and has the startUp() method
/* HotSpotListener is required to let HotSpot call hotSpotEvent(HotSpot) when it
has been clicked
//runnable is for looping purpose ....to animate the text or images.
public class LibraryTest extends Applet implements Loadable, HotSpotListener, Runnable
// RealMedia will load and save images and sounds.
// It will also give information on the loading process.
RealMedia rm;
// Four buttons that can be clicked on.
HotSpot hs1,hs2,hs3,hs4;
// 1 will show image 0 and 1 will show image 1.
int x =0;
/* new added code */
Thread scroller; //for looping purpose
int loopcounter,count;
// thread is to allow the program to be called every and then.
public void init()
/*new added code */
loopcounter=0;
// We'll place the buttons ourselves.
setLayout(null);
setBackground(Color.white);
// create the RealMedia object
rm = new RealMedia(this);
//Start adding all image files you will use
// image0 called pic_black
rm.add("pic_black.jpg","image0");
rm.add("EG3165 Tutorial 1.jpg","image0_1");
rm.add("Question.jpg","image0_2");
rm.add("Solution.jpg","image0_3");
rm.add("Exercise.jpg","image0_4");
//rm.add("cute.gif","image0_5");
rm.add("mac-win.gif","image0_6");
rm.add("walking-floppy.gif","image0_7");
rm.add("eg3165_t001ver03_00.gif","image1");
rm.add("eg3165_t001ver03_01.gif","image2");
rm.add("eg3165_t001ver03_02.gif","image3");
rm.add("eg3165_t001ver03_03.gif","image4");
rm.add("eg3165_t001ver03_04.gif","image5");
rm.add("eg3165_t001ver03_05.gif","image6");
rm.add("eg3165_t001ver03_06.gif","image7");
rm.add("eg3165_t001ver03_07.gif","image8");
rm.add("eg3165_t001ver03_08.gif","image9");
// Start button with 4 images
// 1 Default state, mouseOver and mouseClick state.
rm.add("1st.gif");
rm.add("1st.gif");
rm.add("1st.gif");
// 2 Other button
rm.add("prev.gif");
rm.add("prev.gif");
rm.add("prev.gif");
// 3
rm.add("next.gif");
rm.add("next.gif");
rm.add("next.gif");
// 4
rm.add("last.gif");
rm.add("last.gif");
rm.add("last.gif");
// load the images now
rm.load();
public void startUp()
// button 1
hs1 = new HotSpot(this);
hs1.setImage(rm.get("1st.gif"),1);
hs1.setImage(rm.get("1st.gif"),2);
hs1.setImage(rm.get("1st.gif"),3);
hs1.setBounds(200,515,40,38);
// same for button 2
hs2 = new HotSpot(this);
hs2.setImage(rm.get("prev.gif"),1);
hs2.setImage(rm.get("prev.gif"),2);
hs2.setImage(rm.get("prev.gif"),3);
hs2.setBounds(250,515,40,38);
// same for button 3
hs3 = new HotSpot(this);
hs3.setImage(rm.get("next.gif"),1);
hs3.setImage(rm.get("next.gif"),2);
hs3.setImage(rm.get("next.gif"),3);
hs3.setBounds(300,515,40,38);
// same for button 4
hs4 = new HotSpot(this);
hs4.setImage(rm.get("last.gif"),1);
hs4.setImage(rm.get("last.gif"),2);
hs4.setImage(rm.get("last.gif"),3);
hs4.setBounds(350,515,40,38);
// Place them
add(hs1);
add(hs2);
add(hs3);
add(hs4);
// Repaint makes sure they are immediately visible.
hs1.repaint();
hs2.repaint();
hs3.repaint();
hs4.repaint();
// Here the images are drawn.
public void paint(Graphics g)
g.setColor(Color.white);
// When it is still loading show a loading message.
if (!rm.isLoaded())
g.drawString("loading file "+rm.getCurrent(),20,20);
g.drawString("of "+rm.getTotalFiles(),20,40);
g.drawString("Percent: "+rm.getPercent(),20,60);
g.fillRect(20,80,rm.getPercent(),20);
// Otherwise draw image1 or 2
else
if (x == 0)
//place images using x-coordinates, y-coordinates.
g.drawImage(rm.get("image0"),20,20,this);
g.drawImage(rm.get("image0_1"),80+loopcounter,100+loopcounter,this);
g.drawImage(rm.get("image0_2"),190+loopcounter,175+loopcounter,this);
g.drawImage(rm.get("image0_3"),240+loopcounter,220+loopcounter,this);
g.drawImage(rm.get("image0_4"),290+loopcounter,265+loopcounter,this);
//g.drawImage(rm.get("image0_5"),150+loopcounter,285+loopcounter,this);
g.drawImage(rm.get("image0_6"),400,370,200,100,this);
g.drawImage(rm.get("image0_7"),100,300,this);
loopcounter+=2;
if (loopcounter == 50)
loopcounter = 0;
// if loopcounter+=2, coordinate=x+loopcounter, y+loopcounter.
/* e.g. round 1, loopcounter=0, coordinate=1,3 */
/* e.g. round 2, loopcounter=2, coordinate=3,5 */
/* e.g. round 3, loopcounter=4, coordinate=7,9 */
else if (x == 1)
g.drawImage(rm.get("image1"),20,20,this);
else if (x == 2)
g.drawImage(rm.get("image2"),20,20,this);
else if (x == 3)
g.drawImage(rm.get("image3"),20,20,this);
else if (x == 4)
g.drawImage(rm.get("image4"),20,20,this);
else if (x == 5)
g.drawImage(rm.get("image5"),20,20,this);
else if (x == 6)
g.drawImage(rm.get("image6"),20,20,this);
else if (x == 7)
g.drawImage(rm.get("image7"),20,20,this);
else if (x == 8)
g.drawImage(rm.get("image8"),20,20,this);
else if (x == 9)
g.drawImage(rm.get("image9"),20,20,this);
// This method is called when a button has been clicked.
public void hotSpotEvent(HotSpot hs)
// if it was button 1 show image1.
if (hs == hs1)
x = 1;
// else show image2
else if (hs == hs2)
{x = x - 1;
if ( x <= 1 ) x = 1;
else if (hs == hs3)
{x = x + 1;
if ( x >= 9 ) x = 9;
else
x = 9;
// and repaint to show them.
repaint();
// Necessary for RealMedia to load your images
public Image loadImage(String file)
return getImage(getCodeBase(),file);
// Also required but not used this time.
public AudioClip loadAudio(String file)
return getAudioClip(getDocumentBase(),file);
/*new added code*/
public void start() {
if (scroller == null) {
scroller = new Thread(this);
scroller.start();
public void stop() {
if (scroller != null) {
scroller.stop();
scroller = null;
public void run() {
try {Thread.currentThread().sleep(100);}
catch (InterruptedException e){}
for (count=0; count <= 400; ) {
try {Thread.currentThread().sleep(20);}
catch (InterruptedException e){}
rm.load();
public void destroy(){;}
public void update(Graphics g){paint(g);}
}Thread scroller;//for looping purpose
**like whats does "thread scroller" means? Looping purpose? what's looping then?So, you don't know what a variable declaration is, and you don't know what looping is, and you're unable to find out other than by having somebody here tell you (your school has no library, no bookstore, and no access to google--only to the Java forums).
Either your school is absolutely backwards and useless, or you're a stupid lazy git who deserves to fail the course. Either way, somebody here posting an answer for you is not going to help you.
The following might.
Sun's basic Java tutorial
Sun's New To Java Center. Includes an overview of what Java is, instructions for setting up Java, an intro to programming (that includes links to the above tutorial or to parts of it), quizzes, a list of resources, and info on certification and courses.
http://javaalmanac.com. A couple dozen code examples that supplement The Java Developers Almanac.
jGuru. A general Java resource site. Includes FAQs, forums, courses, more.
JavaRanch. To quote the tagline on their homepage: "a friendly place for Java greenhorns." FAQs, forums (moderated, I believe), sample code, all kinds of goodies for newbies. From what I've heard, they live up to the "friendly" claim.
Bruce Eckel's Thinking in Java (Available online.)
Joshua Bloch's Effective Java
Bert Bates and Kathy Sierra's Head First Java. This one has been getting a lot of very positive comments lately. -
What are the permissions needed to run explain plans via sql develeper?
Are the permissions the same in Sql Developer to run explain plans like they are when you run them via sql*plus?
Yes same permission because the explain plan does not tie to the tools.
-
Need help understanding Explain Plan from 10046 trace
Below is a query and Explain Plan from a 10046 trace shown with trcanlzr.sql.
In the explain plan I don't understand what's happining at line ID 10 and 11. Specifically, is the result at line 11 rowids from lines 12 & 14? and then what? Are those rowids somehow used in line ID 10?
SELECT cp.cred_process_id, cp.provider_id,
brdg_credentialing.get_appl_specialist(cp.cred_process_id,'R') specialist_name,
brdg_cred_report_pkg.provider_name(cp.cred_process_id) provider_name,
ctc_apptype.description appl_type_desc,
TRUNC (brdg_credentialing.get_appl_received_dt(cp.cred_process_id)) init_received_dt,
brdg_code_util.code_descr(brdg_credentialing.get_appl_status_cd_ctc_id(cp.cred_process_id)) appl_status_desc,
brdg_credentialing.get_appl_prac_specialties(cp.cred_process_id,'Y') primary_specialty,
cwh.city practice_city,
UPPER (cwh.state) practice_state,
TRUNC (ch.event_dt) specialist_assign_dt,
DECODE (ctc_apptype.code,'INITPPO', TRUNC (brdg_credentialing.get_appl_received_dt(cp.cred_process_id)),
'REAPP', TRUNC (brdg_credentialing.get_appl_received_dt(cp.cred_process_id)),
'SPECCRED', TRUNC (brdg_credentialing.get_appl_received_dt(cp.cred_process_id)),
'TRANS', TRUNC (brdg_credentialing.get_appl_received_dt(cp.cred_process_id)),
'RECPPO', p.next_recred_dt,
'RECAPP', p.next_recred_dt, NULL) sort_date,
p.next_recred_dt
FROM brdg_cred_app_open_vw cp,
brdg_cat_type_codes ctc_apptype,
brdg_cred_work_history cwh,
brdg_cred_history ch,
brdg_providers p
WHERE cp.type_cd_ctc_id = ctc_apptype.cat_type_code_id
AND ctc_apptype.category_cd = 'CRED'
AND ctc_apptype.type_cd = 'APPTYPE'
AND cp.cred_process_id = cwh.cred_process_id (+)
AND cwh.primary_practice_flag (+) = 'Y'
AND cp.cred_process_id = ch.cred_process_id
AND ch.cred_history_id = (SELECT MAX(cred_history_id)
FROM brdg_cred_history
WHERE cred_process_id = cp.cred_process_id
AND event_cd_ctc_id = brdg_credentialing.get_event_ctc_id ('SEVENT','SPESTCHG'))
AND cp.provider_id = p.provider_id (+)
and brdg_credentialing.get_appl_specialist_id(cp.cred_process_id) = 5
ORDER BY 3 ASC, 3, 5, 12, 6
Explain Plan Operation
ID PID Card Rows Cost SearchCols / Indexed Cols Predicates
0: 1 36 SELECT STATEMENT
1: 0 1 139 36 SORT ORDER BY
2: 1 139 . FILTER [+]
3: 2 1 311 11 .. NESTED LOOPS OUTER
4: 3 1 311 10 ... NESTED LOOPS OUTER
5: 4 1 311 9 .... NESTED LOOPS
6: 5 1 311 8 ....+ NESTED LOOPS
7: 6 4 16 1 ....+. TABLE ACCESS BY INDEX ROWID CAT_TYPE_CODES
8: 7 4 16 1 ....+.. INDEX RANGE SCAN CAT_TYPE_CODE_UK 2/3 [+] [+]
9: 6 1 311 2 ....+. TABLE ACCESS BY INDEX ROWID CRED_PROCESSES [+]
10: 9 183 61927 1 ....+.. INDEX RANGE SCAN CDPR_CTCD_FK1 1/1 [+] [+]
11: 10 1 3 2 ....+... NESTED LOOPS
12: 11 1 16 1 ....+.... TABLE ACCESS BY INDEX ROWID CAT_TYPE_CODES
13: 12 1 16 1 ....+....+ INDEX UNIQUE SCAN CTCD_PK 1/1 [+] [+]
14: 11 1 3 1 ....+.... INDEX UNIQUE SCAN CAT_TYPE_CODE_UK 3/3 [+] [+]
15: 5 1 11 1 ....+ TABLE ACCESS BY INDEX ROWID CRED_HISTORY [+]
16: 15 1 311 1 ....+. INDEX UNIQUE SCAN CDHT_PK 1/1 [+] [+]
17: 16 1 311 ....+.. SORT AGGREGATE
18: 17 1 526 2 ....+... TABLE ACCESS BY INDEX ROWID CRED_HISTORY [+]
19: 18 23 9950 1 ....+.... INDEX RANGE SCAN CDHT_CDPR_FK 1/1 [+] [+]
20: 4 1 219 1 .... TABLE ACCESS BY INDEX ROWID PROVIDERS
21: 20 1 219 1 ....+ INDEX UNIQUE SCAN PROV_PK 1/1 [+] [+]
22: 3 1 311 1 ... TABLE ACCESS BY INDEX ROWID CRED_WORK_HISTORY [+]
23: 22 3 1057 1 .... INDEX RANGE SCAN CDWH_CDPR_FK 1/1 [+] [+]
24: 2 172 .. INLIST ITERATOR
25: 24 1 172 1 ... INDEX UNIQUE SCAN CAT_TYPE_CODE_UK 3/3 [+] [+]
26: 2 1 0 2 .. TABLE ACCESS BY INDEX ROWID CRED_HISTORY [+]
27: 26 23 2004 1 ... INDEX RANGE SCAN CDHT_CDPR_FK 1/1 [+] [+]
(1) X/Y: Where X is the number of searched columns from index, which has a total of Y columns.
(2) Actual rows returned by operation (average if there were more than 1 execution).
2 - filter( NOT EXISTS (SELECT 0 FROM "PPO"."CAT_TYPE_CODES" "BRDG_CAT_TYPE_CODES" WHERE
"CODE"="BRDG_CODE_UTIL"."ID_CODE"("BRDG_CREDENTIALING"."GET_APPL_STATUS_CD_CTC_ID"(:B1)) AND
("TYPE_CD"='APPROVAL' OR "TYPE_CD"='DENIED' OR "TYPE_CD"='INACTIVE' OR "TYPE_CD"='TERMED') AND
"CATEGORY_CD"='APPSTAT') AND NOT EXISTS (SELECT 0 FROM "PPO"."CRED_HISTORY" "BRDG_CRED_HISTORY"
WHERE "CRED_PROCESS_ID"=:B2 AND "EVENT_CD_CTC_ID"="BRDG_CODE_UTIL"."GET_ID"('CRED','SEVENT','MSODC
8 - access("CTC_APPTYPE"."CATEGORY_CD"='CRED' AND "CTC_APPTYPE"."TYPE_CD"='APPTYPE')
9 - filter("BRDG_CREDENTIALING"."GET_APPL_SPECIALIST_ID"("CP"."CRED_PROCESS_ID")=5 AND
("CP"."INS_DT">=TO_DATE(' 2007-12-20 17:00:00', 'syyyy-mm-dd hh24:mi:ss') OR
"CP"."TYPE_CD_CTC_ID"<>"BRDG_CODE_UTIL"."GET_ID"('CRED','APPTYPE','RECPPO')))
10 - access("CP"."TYPE_CD_CTC_ID"="CTC_APPTYPE"."CAT_TYPE_CODE_ID")
filter( NOT EXISTS (SELECT 0 FROM "PPO"."CAT_TYPE_CODES"
"CTC_APPTYPE","PPO"."CAT_TYPE_CODES" "CTC_TYPE" WHERE "CTC_TYPE"."CAT_TYPE_CODE_ID"=:B1 AND
"CTC_TYPE"."CODE"="CTC_APPTYPE"."CODE" AND "CTC_APPTYPE"."TYPE_CD"='APPSENT' AND
"CTC_APPTYPE"."CATEGORY_CD"='APPTYPE'))
13 - access("CTC_TYPE"."CAT_TYPE_CODE_ID"=:B1)
14 - access("CTC_APPTYPE"."CATEGORY_CD"='APPTYPE' AND "CTC_APPTYPE"."TYPE_CD"='APPSENT' AND
"CTC_TYPE"."CODE"="CTC_APPTYPE"."CODE")
15 - filter("CP"."CRED_PROCESS_ID"="CH"."CRED_PROCESS_ID")
16 - access("CH"."CRED_HISTORY_ID"= (SELECT MAX("CRED_HISTORY_ID") FROM "PPO"."CRED_HISTORY"
"BRDG_CRED_HISTORY" WHERE "CRED_PROCESS_ID"=:B1 AND
"EVENT_CD_CTC_ID"="BRDG_CREDENTIALING"."GET_EVENT_CTC_ID"('SEVENT','SPESTCHG')))
18 - filter("EVENT_CD_CTC_ID"="BRDG_CREDENTIALING"."GET_EVENT_CTC_ID"('SEVENT','SPESTCHG'))
19 - access("CRED_PROCESS_ID"=:B1)
21 - access("CP"."PROVIDER_ID"="P"."PROVIDER_ID"(+))
22 - filter("CWH"."PRIMARY_PRACTICE_FLAG"(+)='Y')
23 - access("CP"."CRED_PROCESS_ID"="CWH"."CRED_PROCESS_ID"(+))
25 - access("CATEGORY_CD"='APPSTAT' AND ("TYPE_CD"='APPROVAL' OR "TYPE_CD"='DENIED' OR
"TYPE_CD"='INACTIVE' OR "TYPE_CD"='TERMED') AND "CODE"="BRDG_CODE_UTIL"."ID_CODE"("BRDG_CREDENTIAL
ING"."GET_APPL_STATUS_CD_CTC_ID"(:B1)))
26 - filter("EVENT_CD_CTC_ID"="BRDG_CODE_UTIL"."GET_ID"('CRED','SEVENT','MSODC'))
27 - access("CRED_PROCESS_ID"=:B1)Welcome to the forums!
user11987210 wrote:
In the explain plan I don't understand what's happining at line ID 10 and 11. Specifically, is the result at line 11 rowids from lines 12 & 14? and then what? Are those rowids somehow used in line ID 10?
9: 6 1 311 2 ....+. TABLE ACCESS BY INDEX ROWID CRED_PROCESSES [+]
10: 9 183 61927 1 ....+.. INDEX RANGE SCAN CDPR_CTCD_FK1 1/1 [+] [+]
11: 10 1 3 2 ....+... NESTED LOOPS
12: 11 1 16 1 ....+.... TABLE ACCESS BY INDEX ROWID CAT_TYPE_CODES
13: 12 1 16 1 ....+....+ INDEX UNIQUE SCAN CTCD_PK 1/1 [+] [+]
14: 11 1 3 1 ....+.... INDEX UNIQUE SCAN CAT_TYPE_CODE_UK 3/3 [+] [+] The NESTED LOOPS operation (ID #11) has two children, ID #12 sometimes called the driving source, and ID #14 the inner loop. ID #14 is executed once for each row returned by ID #12. The results of ID #11 are then fed to ID #10 which performs an INDEX RANGE SCAN.
Hope this helps! -
Datadictionary (se11) why do we need view?explain?
hi
1 why do we need view?
2 .what is the difference between view & inner join?
3.tell me about view types?
regards
eswarUse of Views instead of base tables
Many times ABAP programmers deal with base tables and nested selects. Instead it is always advisable to see whether there is any view provided by SAP on those base tables, so that the data can be filtered out directly, rather than specially coding for it.
Not recommended
Select * from zcntry where cntry like IN%.
Select single * from zflight where cntry = zcntry-cntry and airln = LF.
Endselect.
Recommended
Select * from zcnfl where cntry like IN% and airln = LF.
Endselect.
Joins
Proper use of Inner Join
When multiple SAP tables are logically joined, it is always advisable to use inner join to read the data from them. This certainly reduces the load on the network.
Let us take an example of 2 tables, zairln and zflight. The table zairln has the field airln, which is the airline code and the field lnnam, which is the name of the airline. The table zflight has the field airln, the airline code and other fields which hold the details of the flights that an airline operates.
Since these 2 tables a re logically joined by the airln field, it is advisable to use the inner join.
Select aairln alnnam bfligh bcntry into table int_airdet
From zairln as a inner join zflight as b on aairln = bairln.
In order to restrict the data as per the selection criteria, a where clause can be added to the above inner join.
What is the Different Types and Usage of Views
This is often asked in an interview about the types of views:
The followings are different types of views:
- Database View (SE11)
Database views are implement an inner join, that is, only records of the primary table (selected via the join operation) for which the corresponding records of the secondary tables also exist are fetched. Inconsistencies between primary and secondary table could, therefore, lead to a reduced selection set.
In database views, the join conditions can be formulated using equality relationships between any base fields. In the other types of view, they must be taken from existing foreign keys. That is, tables can only be collected in a maintenance or help view if they are linked to one another via foreign keys.
- Help View ( SE54)
Help views are used to output additional information when the online help system is called.
When the F4 button is pressed for a screen field, a check is first made on whether a matchcode is defined for this field. If this is not the case, the help view is displayed in which the check table of the field is the primary table. Thus, for each table no more than one help view can be created, that is, a table can only be primary table in at most one help view.
- Projection View
Projection views are used to suppress or mask certain fields in a table (projection), thus minimizing the number of interfaces. This means that only the data that is actually required is exchanged when the database is accessed.
A projection view can draw upon only one table. Selection conditions cannot be specified for projection views.
- Maintenance View ( SE54 )
Maintenance views enable a business-oriented approach to looking at data, while at the same time, making it possible to maintain the data involved. Data from several tables can be summarized in a maintenance view and maintained collectively via this view. That is, the data is entered via the view and then distributed to the underlying tables by the system.
regards,
srinivas
<b>*reward for useful answers*</b> -
so far, i don't see any problems with the phone...as far as i know.
i have AT&T w/tethering.
if i understand my settings correctly, my phone will automatically use wifi for internet access whenever available...it seems to be doing that. wifi reception seems weak, but i have no experience to compare it to.
i'm impressed with the desktop software, i managed an OS update right off, and have removed the apps i was allowed to remove. i cannot go to (tethered) internet with bb software, but only with at&t software, i assume that's normal.
i was very confused thru the setup, what with ID's and registrations, and service books...seems like it's prolly good stuff for those who need everything, but i only want phone, internet, texting & email. how much of this other bb stuff do i need to have onboard?
i don't intend to use bb messaging, is it necessary that it remains active? and if it has to stay on, what exactly is it doing if i never use the services?
Solved!
Go to Solution.BBM, or BlackBerry Messenger is only active and using data if you have contacts who are messaging you. If you don't establish any contacts from whom you'll be getting messages, you don't have to worry about it. (It might use a VERY small amount of data, but that amount would be negligible.) In fact, if you want to get it out of your life, from your homescreen highlight the BBM icon with your cursor, press the menu key and select Hide. This will hide the icon so you don't see it. Because BBM is a core application, you can't delete it, but if you hide it and don't invite anybody to your contacts list, you'll be fine.
I hope that helps you.
- If my response has helped you, please click "Options" beside my post and mark it as solved. Clicking the "thumbs up" icon near the bottom of my response would also be appreciated. -
Need docs that explain Fibre Channel setup, getting I/O error on 2540 SAN
Sun T5220 Host running Solaris 10 5/09 as management host.
Qlogic 5602 FC Switch
Sun Storagetek 2540 - one controller tray with 9 300G SAS Hitachi drives. Firmware 7.35.x.
Sun branded Qlogic QLE2462 HBAs - PCI express, dual port. 3 in the T5220. qlcxxxx drivers for the HBAs.
Sun Common Array Manager software version 6.5.
I am a long-time Oracle DBA who has the task of setting up a Fibre Channel SAN. I am not a Solaris sysadmin, but have installed and maintained large databases on Solaris boxes where I had access to a competent sysadmin. I am at a classified site and cannot bring out electronic files with logs, configuration info, etc. to upload. Connecting the T5220 is the 1st box of many. This is my first exposure to HBA's, Fibre Channel, and SAN, so everything I know about it I have read in a manual or from a post somewhere. I understand the big picture and I have the SAN configured with 2 storage pools each with 1 volume in them on RAID5 virtual disks. I can see the LUN 0 on the T5220 server when I do a luxadm probe and when I do a format. I formatted one of the volumes successfully. Now I attempt to issue:
newfs /dev/rdsk/device_name_from_output_of_luxadm_probe
I get an immediate I/O error. I could be doing something totally naive or have a larger problem - this is where I get lost and the documentation becomes less detailed.
What would be great is if anyone knows of a detailed writeup that would match what I'm doing or a good off-the-shelf textbook that covers all of this or anything close. I continue to search for something to bridge my lack of knowledge in this area. I am unclear about the initiators and targets beyond the fundamental definitions. I have used the CAM 6.5 software to define the initiators that it discovered. I have mapped the Sun host into a host group also. I do not know what role the Qlogic 5602 Fibre Channel switch plays with respect to initiators and targets or if it has any role at all. Is it just a "pass through" and the ports on the 5602 do not have to be included? Maybe I don't have the SAN volume available in read/write. I find bits and pieces in blogs and forums, but nothing that puts it all together. I also find that many of the notes on the web are not accurate.
This all may appear simplistic to someone who works with it a lot and if you know of an obvious reference I should be using, a link or reply would be greatly appreciated as I continue to Google for information.Thanks for the reply. I had previously read the CAM 6.5 manual and have all the SAN configuration and mappings. Yesterday I was back at the site and was able to place a UFS filesystem on the exposed SAN LUN which was 0. I've not seen any reference to LUN 0 being a placeholder for the 2540 setup and when I assigned it, I allowed the CAM 6.5 software to choose "Next Available" LUN and it chose 0. LUN 31 on the 2540 is the "Access" LUN that is assigned automatically - perhaps it is taking the place of what you describe as the LUN 0 placeholder.
I was able to put a new UFS filesystem on LUN 0 (newfs), mount it, and copy data to it. The disk naming convention that Solaris shows for the SAN disks is pretty wild and I usually have to reference a Solaris book on the standard scsi disk name formats. My question/confusion at the moment is that I have 3 Sun branded Qlogic HBA's in the Sun T5220 server - QLE2462 (dual port) with one port on two of the HBAs cabled to the Qlogic 5602 FC switch which is cabled to the A and B controller of the SAN 2540 - there are only 2 cables coming out of the 5220; the 3rd HBA (for future use) has no cables to it. Both ports show up as active and connected on the server down to the SAN and the CAM 6.5 software automatically identified both initiators (ports) on the Sun 5220 when I mapped them. I had previously mapped them to the Sun host, mapped the host to a host_group, virtual disks to volumes, volumes to....etc.; and was able to put data on the exposed volume named dev_vol1 which is a RAID5 virtual disk on the SAN.
When I use the format command on Solaris, it shows two disks and I assumed this represented the two ports from the same host 5220. I was able to put a label on one of these disks (dev_vol1), format it, and put data on it as noted above. When I select the other disk in the format menu, it is not formatted, won't allow me to put a label on it (I/O error) and I can go no further from there. The CAM 6.5 docs stop after they get you through the mapping and getting a LUN exposed. I continue on the in a Solaris-centric mindset and try to do the normal label, format, newfs, mount routine and it works for the one "disk" that format finds but not for the other. The information from the format info on both the disks shows them as 1.09 TB and that is the only volume mapped right now from the SAN so I know it is the same SAN volume. It does not make sense that I would label it and format it again anyway, but is this what I am supposed to see - two disks (because of 2 ports?) and the ability to access it through one. I found out by trial an error that I could label, format, and access the one. I did not do it from knowledge or looking at the information presented....I just guessed through it.
I have not "bound" the 2 or HBAs in any way and that is on my list as next because I want to do multipathing and failover - just starting to read that so I may be using the wrong language. But I am wondering before I go on to that, if I am leaving something undone in the configuration that is going to hamper my success in the multipathing - since I cannot do anything with the 2nd "disk" that has been exposed to Solaris from the SAN. I thought, after I labeled, formatted and put a filesystem on the one "disk" I can write to that the other "disk" that shows up would just be another path to the same data via a 2nd initiator. Just writing that does not sound right, but I am trying to convey my thoughts as to what I logically expected to see. Maybe the question should be why am I seeing that 2nd "disk" in a Solaris format listing at all? I have not rebooted any time during this process also and can easily do that and will today. -
New to Java-Need book that explains OOP concepts
Hi-
This as a great forum!
I have been programming in VB for a while and now I'm trying to learn Java. Can someone please tell me which book is best for learning concepts like objects, classes, visibility etc; Most of the books I have seen go too fast or do not cover enough detail. I would like to find something that has lots of examples (diagrams are nice) and covers OOP thoroughly.
Thanks!
KenThe "Head First" books might be a good, gentle intro:
http://www.amazon.com/Head-First-Object-Oriented-Analysis-Design/dp/0596008678/ref=pd_bbs_sr_1/104-1237750-7651950?ie=UTF8&s=books&qid=1184865003&sr=8-1
% -
Help Needed - FusionFx Style - How do I remove the Dashboard Grey Box Section, so that Dashboard Background is Blank
We like FusionFx Style but would like to keep the background white like blafp style.Can you be a little more descriptive on what you need here and explain what exactly you want to be changed.
-
Hi,
From the SQL statement below, i need help in explaining what does the line "WHERE ( lims_sys.result.result_template_id = lims_sys.result_template_limit.result_template_id (+))" do?
This statement was written by a vendor and now i have problem displaying some new data. Only a portion of what i need is displayed.
SELECT "LIMS_SYS"."RESULT"."DESCRIPTION",
"LIMS_SYS"."RESULT_TEMPLATE_LIMIT"."NUMERIC_LIMIT",
"LIMS_SYS"."RESULT"."FORMATTED_RESULT",
"LIMS_SYS"."RESULT"."CONCLUSION",
"LIMS_SYS"."RESULT_USER"."U_RESULT_SEQUENCE" ,
"LIMS_SYS"."RESULT"."RESULT_ID"
FROM "LIMS_SYS"."RESULT",
"LIMS_SYS"."RESULT_TEMPLATE_LIMIT",
"LIMS_SYS"."RESULT_USER",
"LIMS_SYS"."ALIQUOT",
"LIMS_SYS"."SAMPLE",
"LIMS_SYS"."SDG",
"LIMS_SYS"."TEST"
WHERE ( lims_sys.result.result_template_id = lims_sys.result_template_limit.result_template_id (+)) and
( "LIMS_SYS"."RESULT"."RESULT_ID" = "LIMS_SYS"."RESULT_USER"."RESULT_ID" ) and
( "LIMS_SYS"."SDG"."SDG_ID" = "LIMS_SYS"."SAMPLE"."SDG_ID" ) and
( "LIMS_SYS"."SAMPLE"."SAMPLE_ID" = "LIMS_SYS"."ALIQUOT"."SAMPLE_ID" ) and
( "LIMS_SYS"."ALIQUOT"."ALIQUOT_ID" = "LIMS_SYS"."TEST"."ALIQUOT_ID" ) and
( "LIMS_SYS"."TEST"."TEST_ID" = "LIMS_SYS"."RESULT"."TEST_ID" ) and
( ( LIMS_SYS."SDG"."SDG_ID" = :sdg_id ) AND
( LIMS_SYS."RESULT"."STATUS" <> 'X' ) AND
( LIMS_SYS."RESULT"."REPORTED" = 'T' ) AND
( LIMS_SYS."RESULT_USER"."U_RESULT_CATEGORY" in ( 'Metal' , 'Mean Metal', 'Range Metal')) )
Thanks for all your help.Hi,
After WHERE .......... is indicates an OUTER Join condition.
In this type of join, system retrieves the data for matched and
as well as unmatched.
Example:
EMP table have a column DEPTNO with the data 10, 20, 30 (total rows=14)
DEPT table have a column DEPTNO with the data 10, 20, 30, 40, 50 (total rows=5)
If the WHERE clause contained EMP.DEPTNO(+) = DEPT.DEPTNO
then the output contain the data relative to 10, 20, 30, 40, 50 (total rows = 16)
i.e. 14 rows (with matching data) and 2 rows (with unmatching data)
Regards,
Sailaja -
HI There,
I have been struggling with JavaScript code for days now, and this is my last resort! Please help...send replies or futher information to [email protected]
I am trying to create a JavaScript slide show with links for Next Slide, Previous Slide and Home Slide.
Is it possible for you to view my page and tell me what I am doing wrong. I have looked at this page for hours and can't figure it out, I must be missing something or have something in the wrong order, but can't figure it out...please help....thanks...
I think I need someone to explain the EXACT code for this page as it would appear in the page so it displays correctly.
If you can figure this out, I have 2 more I need help with too...
Thanks so much, Much appreciated...but this is a URGENT request. Need a quick answer that will work!
Any ideas????
Here is my code:
<HTML>
<HEAD>
<TITLE>JavaScript Slide Show - PhotoAlbum</TITLE>
<SCRIPT LANGUAGE="JavaScript">
var PhotoAlbum = new
Array("bunny_lady.gif","business_lady.gif","running_lady.gif","color_lady.gif")
var PicIndex=1
var pictures=PhotoAlbum.length
function NextImage ( ) {
if (PicIndex < pictures) {
PicIndex++
document.ImgAlbum.src=PhotoAlbum[PicIndex-1]
function PreviousImage ( ) {
if (PicIndex > 1) {
PicIndex--
document.ImgAlbum.src=PhotoAlbum[PicIndex-1]
function home ( ) {
document.ImgAlbum.src=PhotoAlbum[0]
</SCRIPT>
</HEAD>
<BODY BACKGROUND=BACK02.jpg TEXT=Blue>
<CENTER>
<H1 ALIGN=Center> The Vacation Photo Album</H1><BR>
<H3 ALIGN=Center> Click on Previous or Next to view pictures in my Slide Show </H3><HR><HR>
<IMG SRC=bunny_purse.gif NAME= ImgAlbum Width=400 Height=270>
<BR>
<HR>
[First Image]
[Previous Image]
[Next Image]
</CENTER>
</BODY>
</HTML>And when you do post to the Javascript forum (you do know that Java != Javascript, right), you might want to try less of a "do my homework for me" approach. I don't know about those forums, but if they're anything like here, they'll expect more effort and more specific questions from you than just "this doesn't work, please fix it completely right now." I also doubt they'll be any more impressed with your urgency than folks here usually are.
ジ -
Switching to Mac from PC, need to transfer Library ?
OK, first time Mac user here, I need to transfer my entire iTunes Library from my PC and/or Windows configured iPod over to my new MacBook ? Help ! I need some simple explaination and assistance please....thanks so much
Is your " @#$load of movies, songs etc " all in the same folder, with iTunes default preferences?
Maybe you are looking for
-
My iphone 5 makes crackling sounds when calling using headset
when using headset to make phone calls or facetime, after a few mins or so crackling sounds can be heard from both sides of the call, ive tried various headsets and the same issue occurs, also tried a new sim card. this problem only occurs when using
-
Merge API stub for 'Generate Table API...'?
Hi, Has there been a request for a stub in the menu option 'Generate Table API...' that creates a merge procedure? If it generated the MERGE command for a given table that would be great and even better than trying to call the UPD procedure, trap the
-
Fixed layout epub displaying incorrectly on PC, but correctly on Mac
I have a fixed layout epub that I created in InDesign. The file displays correctly in ADE on Mac, but is a mess in ADE on Windows (the text is huge, the images are scattered, and most content is off the page). The file also displays correctly in iBoo
-
Dears, i use TLF in flash files, it make the file has a big size. for example classic Text size is 2-3 k and TLF size is 56 k, sure without the external tfl file which is exported during the publish. So, How can i reduce and control this difference i
-
Hi, How to upload Our own logo to Module Pool. In Module Pool we use ABTREE table . How to upload custom logos to ABTREE