How to identify the SQLs which are using the tables and new columns

Hi
I m using oracle 10G Database in windows. Developers have added some columns in some of the database tables and were asking to check whether there is some impact on performance or not. I have not done this performance tuning before. Kindly help me how to proceed further.
How to obtain the sqls which are touching the tables and the new columns? It would be really great if you can help me with this.
Thanks

You can try to use DBA_DEPENDENCIES to get PL/SQL objects using tables: http://download.oracle.com/docs/cd/B19306_01/server.102/b14237/statviews_1041.htm#i1576452.
However if SQL code is not stored in database in a trigger, a procedure, a function, a package or a view, it is impossible to retrieve all SQL code referencing some table from database dictionary: for this you would have to analyze application source code.

Similar Messages

  • Find out the SQLs which are using a full table scan

    Hello all , how can i to find out the queries which are using a full table scan ? Any idea ?

    In general, though, why would you want to tune SQL statements that aren't causing problems? Statspack will tell you what the most resource-intensive SQL statements on your system are. A SQL*Net trace of sessions that are performing poorly will indicate which statements are the most resource-intensive for that session. If a statement is incorrectly doing a full-table scan, but it is not causing a problem, why spend time tuning it? If you're not focusing your tuning attention on identifying statements that are causing problems, you'll also miss out on 90% of tuning opportunities which involve rewriting (or eliminating) code to make it more efficient. I can simulate a join on two tables with nested cursor loops, which won't generate a single full table scan, but replacing that code with a real join, while it will cause at least one full table scan, will be orders of magnitude faster.
    As an aside, full table scans aren't necessarily a bad thing. If a statement needs to retrieve more than a couple percent of the rows of a table, full table scans are the most efficient way to go.
    Justin
    Distributed Database Consulting, Inc.
    http://www.ddbcinc.com/askDDBC

  • How to find reports which are using sales tables

    Hi Guys,
    we are using OBIEE 10g version.Here i need to identify the the reports which are using sales tables.
    Table names are given but how to find which report is using these tables.Is there any method to find
    or we have to check all reports manually?
    Could any one pls suggest me here!
    Regards,
    sk
    Edited by: 912736 on Jun 8, 2012 1:24 PM

    Hi SK,
    You can run a report from catalog manager that willl give you all answers requests and the subject area columns in use, you can map these back to the sales tables either manually or by linking (vlookup) to an RPD report that you can run from the Admin tool.
    The Usage Tracking method is pretty good but you will have to match up the reports using the Logical SQL.
    I'd do both methods and cross ref your results to ensure nothing slips the net.
    Regards
    Alastair

  • Hi I shoot on a canon 5d mk11 and I record my audio on an external device yet when I open up my footage in final cut pro x I can't find my external audio files only the ones attached to the clip which are off the camera mic

    I shoot on a canon 5d mk11 and I record my audio on an external device yet when I open up my footage in final cut pro x I can't find my external audio files only the ones attached to the clip which are off the camera mic

    What device?
    What format?
    How are you importing it?
    Can you find the external audio with Finder?
    Where is your destination file when you import it?
    Andy

  • How do you know when you are using the internet?

    If I am using an app that requries internet, and I press the middle button to get out of it am I still using part of my data plan?

    While you are using the app if you are not on WiFi you are using the internet. If the app is one of the few that can run in the background you need to close it to stop it from using your data plan. Double click the home (middle) button, hold down your finger on the app, when you see a red circle with a dashed white line next to the app icon tap it, press the home button.

  • How to idtentify web services which are used in the web application?

    Hi All,
    We need to identify all the web services that a web application is using. We need them so that we can use test them. We are a group of independent testers. We have access to IIS server's on which the application is hosted. Is there any way we can identify
    them other than seeking out the DEV team to give out the list?
    Thanks in advance.
    Regards,
    Umesh

    Hello,
    You have posted your query in the Project / Project Server forum, is this related to Microsoft's Project / Project Server? If not, you are better off posting this in one of the development forums. If you are unsure where to post, try here first:
    https://social.technet.microsoft.com/Forums/en-US/home?forum=whatforum
    In the mean time, you could look at using something like Fiddler:
    http://www.telerik.com/fiddler
    Paul
    Paul Mather | Twitter |
    http://pwmather.wordpress.com | CPS

  • How to get the Objects which are used in the webi Report.

    Hi Expert,
    I am trying to get the list of  WebI reports and Objects which are present in the report at  BO 4.0.
    I can able to get details  for only the list of reports and universes.
    Could  any one help me to get those details.
    Regards,
    Murali S

    With 4.0, there is no longer a way to do this using just the .NET SDK because the ReportEngine SDK no longer exists for .NET.  Instead, you'll have to look at using the RESTful Web Services SDK for Webi which runs in the Web Application Container Server on your report server (NOT on the web server!)
    RESTful web services are platform-independent and don't require the installation of any SDK files.  Everything is done through standard HTTP Get, Put, and Post commands and the results are returned in either XML or JSON format.  You don't mention which service pack of 4.0 you're on, but the RESTful web services have evolved over the course of the 4.0 service packs, so more recent is definitely better.
    You can find the documentation for this in the "Development Information" section at help.sap.com/bobip40.  There is also a "space" on SCN for this at http://scn.sap.com/community/restful-sdk and there are some links on this page for various resources and sample code.
    -Dell

  • How can I install downloads which are IN the download file, but not accessible or usable?

    I often get the message to download a new flash player.
    I click on the download button and nothing happens.
    I tried disabling the firewall on Firefox. I still couldn't get the flash player to download.
    Other, minor downloads have downloaded, and are in the download file. But they do not work, or are not installed, or somehow they are not usable or accessible to use.'''bold text'''

    Drag/drop the picture you want to add on the area with the other thumbs.

  • Updates in the App-store are using the wrong apple-id.

    Hi
    My daughter has an Ipod touch.
    At first we used the apple-id of my office.
    But now we use our own. The apple-id of the office is deleted. That emailadress is not valid anymore.
    Now is it possible to download new apps. Even iOS6 is downloaded perfectly.
    But updating is another issue.
    It keeps asking for the deleted apple-id.
    What way can I reset this?
    Thank you.

    In order to update apps you have to sign into the account that purchased them. Apps are permanently locked to the account that purchased them. If there are apps that need updating yo have to update then one at a time until the remaining apps were purchased from one account.

  • In iPhoto, how can I find the videos which are used in iMovie?

    My overall goal is to split my iPhoto library, because it's taking up half my HD. (Proud dad, taking too many burst photos and videos of the little guys). I'll put the videos and older-year photos onto an external drive.
    Problem is - I can't figure out which iPhoto video clips are in my Huge Home Movie, which has about 5 minutes from every month from 2008-2011.
    Is there a way that I can find them? Perhaps I can flag or rate them in iMovie? Perhaps a smart album in iPhoto?
    Details:
    iMovie '11 (9.0.9)
    iPhoto '11 (9.4.3)
    Willing to upgrade to newer versions if they solve the problem.

    Restore solved it!

  • My iPhone was stolen and I have contacted the police who are using the meid number to locate.  How does this work and what are my chances of getting the phone back?

    My iPhone was stolen.  I used Find My iPhone app to lock it and display a message.  The phone has not connected to the internet to locate it.  I contacted the police and they have taken my meid number.  How does this work and what are my chances of getting the phone back?  Are there other ways the theif can use it.  I was told once they put in a new sim card and use it, whatever software the police have, it will show up.

    Honestly? In the US (I can't speak to other countries, though I doubt it works much differently in a lot of the world) The police took your report and filed it either in their computers or, on paper. They will now not think of this again. The only time it will cross anyones mind is if, in the course of entering information into evidence about items recovered or seized at a crime scene, the serial number of an iPhone that was found/seized happens to match yours, in which case you will be contacted.
    The police in the US can and will do nothing to 'blok' the phone and it's not worth their time to try and locate it unless you know for a fact that it was stolen by a big time drug lord, master criminal, or some other such prime target and they can get a court order to track the location of the phone in order to locate this individual for your own purposes.  If they do that, they'll probably keep him under surveilance for a year or so before they act.
    Basically, the police don't care about your phone. If they find it, they will give it back to you. They are not, however, going to go looking for it. They have better things to do.
    I'm sorry, but that's the way it is.

  • How to add byte[] array based Image to the SQL Server without using parameter

    how to add byte[] array based Image to the SQL Server without using parameter.I have a column in table with the type image in sql and i want to add image array to the sql image column like below:
    I want to add image (RESIM) to the procedur like shown above but sql accepts byte[] RESIMI like System.Drowing. I whant that  sql accepts byte [] array like sql  image type
    not using cmd.ParametersAdd() method
    here is Isle() method content

    SQL Server binary constants use a hexadecimal format:
    https://msdn.microsoft.com/en-us/library/ms179899.aspx
    You'll have to build that string from a byte array yourself:
    byte[] bytes = ...
    StringBuilder builder = new StringBuilder("0x", 2 + bytes.Length * 2);
    foreach (var b in bytes)
    builder.Append(b.ToString("X2"));
    string binhex = builder.ToString();
    That said, what you're trying to do - not using parameters - is the wrong thing to do. Not only it is insecure due to the risk of SQL injection but in the case of binary data is also inefficient since these hex strings are larger than the original byte[]
    data.

  • How to find the LoginNames which are only having the special chars %, @, .

    I have a table called LoginTable in that I have a column called LoginName
    I want to select only the LoginNames which are having the special charecters like %, @ and . how to write the query
    Please help me out.
    it is some thing like select LoginName from LoginTable where LoginName like (%, @, .) please correct my query

    Please use regexp_like, if your database is Oracle10g 10.1 or higher.
    Otherwise...
    how to search for '%' in data
    select * from LoginTable
    where
    LoginName like '%\%%' escape '\'
    or
    LoginName like '%@%'
    or
    LoginName like '%.%'
    ;

  • You are using the obsolete 3.x authorizations in BW 7.X.

    Hello gurus,
    After system upgrade of our BW system from 3.5 to SAP Netweaver 7.0, EWA report is alerting the following problem in the system:
    You are using the obsolete 3.x authorizations in BW 7.X. SAP does no longer support this feature.
    Could you please and provide additional details for it and how can we deal with this authorization issue?
    Thanks and regards

    Hi,
    After executing RSEC_MIGRATION, select the reporting authorization objects to be migrated. At the end of the migration run, check for the warings & errors. This should be your base to proceed further.
    Further, identify the InfoAreas, InfoProviders on which the queries are built-on, and InfoObjects which are to be made as authorization relevant.
    Create the analysis authorizations based on these inputs and assign them.
    You can use the below tables to prepare a matrix to understand the Role Vs, Infoarea, infoprovider, object and the queries that are included:
    - AGR_DEFINE
    - AGR_HIER
    - RSRREPDIR
    - RSDCHA
    Hope this information will make the migration a cake walk
    Warm Regards,
    Raghu
    Edited by: Raghu Boddu on Nov 18, 2010 5:23 PM

  • Migrating SP 2007 site which is using the template Project Workspace (Id 6215) to SP 2013

    Hi,
    We have our SharePoint 2007 with project server installed on it. It is only one server having all of the components including SQL server and SP 2007. We are planning to migrate one of the site which is using the
    Project Workspace Template(Id 6215)  to the SP 2013 environment using Database
    Attach Method.
    Questions:
    1) Is there any workaround available we can migrate the site to SP 2013 without
    installing project server? 
    2) If there is no other workaround, we may need the justification or supports articles to share with our management.
    Looking forward to hearing from you guys.
    Regards,
    Zulfiqar

    Hi,
    According to your description, my understanding is that the error occurred when you tested the database.
    I recommend to check if the site template exists in the folder located at C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\TEMPLATE\1033\XML.
    If yes, then restart the SharePoint machine and run the PowerShell command Test-SPContentDatabase again.
    If not, please re-install the template to see if the issue still occurs.
    If the sites with issue are no longer needed, then you can delete the sites with issue. Or you can
    rename the site template with a standard template id.
    More references:
    http://www.sharepointnadeem.com/2014/01/sharepoint-2013-missingsitedefinition.html
    http://red1s.wordpress.com/2012/08/16/sharepoint-2010-missing-site-definition-error/
    http://sharepointgeorge.com/2009/upgrading-content-db-sharepoint-2010-part-1-preupgradecheck/
    Thanks,
    Victoria
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Victoria Xia
    TechNet Community Support

Maybe you are looking for