How to find the Names of Most costly Views or Most Time consuming views
Hi All,
I had a database consisting of almost 200 views,as a part of Optimization process i want to find out the most costlier views.How to do that.Actually i want the names of the VIEWS,so that i can optimize that.Can any one help me out?
I had one more doubt in our Database a view is created like view A( which is created by joining several tables).so do i need to add index on this view separately or does it take the index of the tables which i joined? And in our Database i had created
a VIEW which is derived from other views(the Joining objects are views not tables),so while i select recoreds from this views which is derived from other views it is taking a lot of time.Is tehre any problem with that?
Please avoid such double post spread over several forums:
http://social.msdn.microsoft.com/Forums/en-US/bae4042a-10b8-4d12-aa46-88a05ea37a76/how-to-find-the-names-of-most-costly-views-or-most-time-consuming-views?forum=sqldataaccess
Olaf Helper
[ Blog] [ Xing] [ MVP]
Similar Messages
-
How to find the difference between Project costs & Cost center costs?
Hi all,
Can you please explain me ? What is project Cost & Cost center cost and which are the tables having those fields of project cost & cost center Costs? And how to find the difference between their costs ? And please give me the functional Idea about it?
Thanking you all in Advance...
Regards,
ChandruHi,
goto table COSP:
1) object-no. beginning with 'KS' refer to cost-centre
example: 'KSKOKA4711'
with KS, KOKA = controlling area and 4711 = cost centre
2) OBJNR beginning with 'PR' refer to projects / WBS-element
example PR00001234
Message was edited by: Andreas Mann -
How to find the name of the program of session in sm35 ?
I have some session in sm35.
How to find the name of the program of session in sm35 ?
Could you please help me ?In the list of sessions displayed -> double click the session that an error (i.e. Transaction Ended with errors).
Then it will take you to another screen, here you choose the Screens tab.
Check
Re: BDC session's program name
Re: BDC session's program name
Regards,
Santosh
Message was edited by:
Santosh Kumar Patha -
How to find the name of calling procedure or package?
Hi all..
Is it possible to find the name of the calling procedure or package?
I mean..if proc_1 is calling proc_2 How can i find in proc_2 that proc_1 is calling?
Proc_2 is being called from different procedures? I need to write to small code which needs to fire depends on the Proc it is calling?
Please help me to solve this.
ThanksNot sure, if this is what you're looking for
SQL> create or replace procedure p0 as
2 begin
3 dbms_output.put_line(dbms_utility.format_call_stack);
4 end;
5 /
Procedure created.
SQL> create or replace procedure p1 as
2 begin
3 p0;
4 end;
5 /
Procedure created.
SQL> create or replace procedure p2 as
2 begin
3 p1;
4 end;
5 /
Procedure created.
SQL> set serveroutput on
SQL> begin
2 p2;
3 end;
4 /
----- PL/SQL Call Stack -----
object line object
handle number name
3a7f2d618 3 procedure INV_ADM.P0
39abfeef0 3 procedure INV_ADM.P1
39c5ae7a0 3 procedure INV_ADM.P2
3a0f3a538 2 anonymous block
PL/SQL procedure successfully completed.
SQL> -
How to find the name of message mapping
Hi folks
i want to check the name of message mapping which is used at run time. i can find the name of Interface mapping name in trace of message in SXMB_MONI.
but i am not able to find the MM name.
can some one help me .....
Regards
Gagan> but i am not able to find the MM name.
You will find your message mapping name as class name in the pipeline step Request Message Mapping. Please search for interface mapping and below which you will find the mapping name as this format...
<Trace level ='"3" type="T"> Mapping steps 1 JAVA_JDK
com/sap/xi/tf/_<your mapping name> </Trace>
Example as similar below... -
How to find the Name of Infoset either from Query Name or Program Name
Hi,
I ahve got the program name from the Transaction code of the Query. I also found out the name of the Query but I could not find out the name of the "Infoset". Please help me to find out the name of the Infoset either from the Query Name or from the Program name.
Thanks,
JansHello Christian,
Thank you for your reply. Actually. We have got transaction name of report and from that we found out the name of the Program and from that Program we have utilised the FM to find out the Query name. But we are unable to find the name of Infiset as we have to Download this Infoset from DEV and it is to be uploaded into QUALITY.
But we are not sure about the Infoset.
I could not understand your sentence "When Open it".
Regards,
Jans -
How to find the name of query for a given report
Hi All,
I am having the name of a report and i need to find out the name of query for that report . Plz tell me how to find out the name of the query for a given report.
Thanks.
Regards,
Pooja Joshi.Use this FM
RSAQ_DECODE_REPORT_NAME
This FM takes program name as I/P and gives Query Name as O/P.
This FM uses the structure AQADEF to fetch the data.
Hope this helps.
Regards
Vinayak -
How to find the name of the main program in the SM35
Hi all,
I have problems to find which program a batch input belongs to: may I explain myself...I can see in transaction SM35 several session names but no trace of the name of the program which is being used...I tried to find it with table APQI but no results so far. Does anyone know how can I get this information?
Thanks a lot!Check table TBTCP
Regards,
Rich Heilman -
How to find the names of all current caches?
How can i find out what the names of the current caches are in a cluster in code?
Right now i'm looking at CacheFactory.getCluster(), but not sure where to go from there.
Thx.Hmm, it's not working. The only service i get back from the cluster is one called "Cluster".
Note that this is in a member that is NOT a storage node, would that make a difference?
I can get the caches via CacheFactory.getCache(), and issue commands against them no problem. And even after using the caches i still just get the one "Cluster" service, nothing that's a "CacheService".
Edited by: user9222505 on Aug 24, 2012 5:18 PM -
Need to know how to find the name of the classes for ABAP Objects
Hi Experts,
I am new in ABAP Objects. I do not now the best way to find the class which I want to use. Shall I search it using F4 search help, but many of the classes does not have a description with them.
I want to create a text field on my splitter container. Can anybody please tell me the class-name for the text field.
Regards,
Saurabh A. BukshHi,
Thank you for the helping me. But, I actually want something which we call a Text Box. I do not require a Text Edit Control.
Please tell me if you know any classes related to it and the parameters that I need to pass into it.
Thanks & Regards,
Saurabh A. Buksh -
How to find the Name of the BSP Application Being Invoked?
Hi ,
Is there any FM or method that would return the name of the BSP Application being invoked?
Say i have a method A which is being invoked by 2 BSP Application B and C. How do we determine which BSP is invoking the method A?
Any input on this regard will be of great help.
Thanks and Regards,
PavithraHi,
this methods are not 100% efective but you may try it:
On runtime:
set an external breakpoint in your method A and run your application. When it stops, the debugger has many folders, so press the one marked with "Standard" and in section ABAP stack you see the different call steps that have been executed, including the application that is calling the method.
For this you must activate the new debugger (Utilities --> settings --> ABAP editor --> Debugging)
On development time:
Click on method A and press button Where-used list. In the incomming window press BSP applications.
Hope it helps. -
How to find the name of the calling procedure
Hi,
Can anybody please help me out urgently. Inside one procedure or function,i want to get the name of the procedure calling this procedure. In other words, i want to get the name of the calling procedure inside the called procedure.
Please reply soon.Have a nice time.
Thanks & Regards
JogeshHi Rod West,
Thanks for your reply. Can you please give an example how to use this.just simple example where it will display the name of the calling proc in the called proc.Please help.
Thanks & Regards
Jogesh -
Where /How to find the incurred and relieved cost of an item?
Hi,
Can anybody help me to find the table/method to find the incurred /relieved cost of an item?
I checked few tables from INV, WIP and CST. But I could not succeed.
Thanks a ton in advance.
Regards
BalaKrishna.Hi Chinna,
In your landscape the TMS must have configured.Let assume that you have four six systems in the land scape.
DEV->DEV1->QUA->PRD and other two systems (TR1 ,TR2)are at different domain amd both are connected to QUA and the requests are forwarded from there.Here normally the flow willl be from DEV to DEV1, then DEV1 to QUA and QUA to PRD.For other two systems (TR1 ,TR2 )the source system will always be QUA.
Regards
Ashok -
How to find the name of the block and yours items at runtime
Hi, everybody.
I wonder if there is any way to list the name of a block and their respective items that forms at run time. for example, using a loop in wnfi.
Since already thank you.
Sorry for my bad English.Hi,
Try this code. It will travel through all block's items.
DECLARE
Str_First_Block VARCHAR2(100) := NULL;
Str_First_Item VARCHAR2(100) := NULL;
Str_Current_Block VARCHAR2(100) := NULL;
Str_Current_Item VARCHAR2(100) := NULL;
BEGIN
Str_First_Block := :SYSTEM.CURRENT_BLOCK;
LOOP
IF Str_Current_Block IS NULL THEN
Str_Current_Block := Str_First_Block;
END IF;
Str_First_Item := GET_BLOCK_PROPERTY(Str_Current_Block, FIRST_ITEM);
LOOP
IF Str_Current_Item IS NULL THEN
Str_Current_Item := Str_First_Item;
END IF;
MESSAGE('Item - ' || Str_Current_Block || '.' || Str_Current_Item);
PAUSE;
Str_Current_Item := GET_ITEM_PROPERTY(Str_Current_Block || '.' || Str_Current_Item, NEXTITEM);
EXIT WHEN Str_Current_Item IS NULL;
END LOOP;
Str_Current_Block := GET_BLOCK_PROPERTY(Str_Current_Block, NEXTBLOCK);
EXIT WHEN Str_Current_Block IS NULL;
END LOOP;
END;Regards,
Manu.
If my response or the response of another was helpful, please mark it accordingly -
How to find the names of Function Module used in the program
Hi all,
can you people help me with this issue.I want to the names of all the Function Module used in the program along with their parameters into an internal table.It will be helpful for your suggestions.
Kind Regards,
Edited by: Prasenjit Sengupta on Nov 20, 2008 7:39 AMTake structure of internal table as
TYPES : BEGIN OF TY_FM,
FUNCNAME TYPE RS38L_FNAM, "Name of Function Module
PARAMETER TYPE RS38L_PAR_, "Parameter name
PARAMTYPE TYPE RS38L_KIND, " Parameter type
R3STATE TYPE R3STATE, "ABAP: Program Status (Active, Saved, Transported...)
STRUCTURE TYPE RS38L_TYP, "Associated Type of an Interface Parameter
DEFAULTVAL TYPE RS38L_DEFO,"Default value for import parameter
REFERENCE TYPE RS38L_REFE, "Call by reference
OPTIONAL TYPE RS38L_OPTI, "Optional parameters
TYPE TYPE RS38L_TYPE, "Reference Structure is an ABAP/4 Type
END OF TY_FM.
DATA : IT_FM TYPE TABLE OF TY_FM WITH HEADER LINE.
Maybe you are looking for
-
How to delete the history on iPad in safari. Even if i delete the historie via the open book icon or via the preferences, even if the history seems blank if i click on the back arrow i CAN get all the previous visitée websites...how CAN i definitivel
-
Hi All, I am new to SAP BI. PLease tell me how to load excel files to BI.
-
I wanna convert a date from format yyyy/mm/dd to dd/mm/yyyy and make this code : Date v_fd = wdContext.currentContextElement().getV_fechadesde(); Date v_fh = wdContext.currentContextElement().getV_fechahasta(); String v_fechadesde = v_fd.toS
-
The default/generic CMYK of choice is described as U.S. Web Coated (SWOP) v2. That is also the CMYK space inclued in the North American General Purpose 2 sychronized color setting in Bridge. But - if you download the folder of ICC profiles from the A
-
Pink Tint 23" ACD (when compared to dell 2408WFP)
I purchased my 23" aluminum ACD back in 2005. I have the M9178LL/A model. I never thought I had a problem with this display. I am a video editor and it always seemed to serve me well. However, I recently purchased a secondary monitor, Dell 2408WFP (o