Problem with TOAD

Hi all,
I've problems with usage of Toad by developers deploying and monitoring on a production environment, that causes performance problems.
In particular addm reported that there is a statement (select from GV$SESSION) frequently launched by Toad that impacts on DB performance (even if i suppose that this kind of statement does not have great cost in terms of resource usage).
How can i prevent, if possible, this kind of problem (suggesting some good rules to my colleagues or changing toad settings)?
How can i block access to the database through toad?
Thanks a lot for responses!!
P.S.: sorry for my english :-P
Jacorobo

In addition to blocking access via TOAD, or any other tool, you can limit the user's access to the catalog. One way to do this...
Create a new role something like APP_DEVELOPERS
grant select on prod tables to APP_DEVELOPERS
grant any subordinate roles necessary to APP_DEVELOPERS
grant create session to APP_DEVELOPERS
grant select on DBA_ tables you wish the developers to see.
DO NOT grant any privileges on V$ views (or underlying tables).
Grant this role to your developers.
Revoke all system privileges and other roles from your application developers.
Now you have restricted the activities of your application developers in production, regardless of the tool they use.

Similar Messages

  • Arabic_lang characterset problem with Toad

    Hi there
    I have install oracle10g DB and Developer
    and also i install Toad 8.0 but i have problem the Arabic character its not showing in Toad but with the form and DB its ok i can read Arabic characters....
    anyone can help me in this?
    thanx in advance...

    What did you choose for character sets when creating the database?
    Please note that otn has a forum dedicated to discussion realted to Globalization Support features (language and character sets, etc.).

  • 11g: can connet using SQL*PLUS, not with TOAD

    Hi
    I run into a problem with TOAD. I can't connect with my 11g database using TOAD. I don't get any messages it just gives me a little waiticon for a split second and then nothing happens. I can however connect to my 10g database using TOAD. Using SQL*Plus I can connect to both.
    I use TOAD 8.6. Do I need a newer version maybe??...

    I can connect like:
    hr/pw@xe
    or
    hr/pw@O11R1
    or directly, no problem. I can connect from SQLplus to both databases any way I want

  • Strange problem with SQL query in toad.

    Guys,
    My colleague is up with a strange problem with an SQL query that if it is run in toad encounters the "ORA-03113: end-of-file on communication channel" problem,but if run in SQL plus executes just fine.
    Do anyone have thoughts about this strange error in toad?
    Thanks!!!!
    Regards,
    Bhagat

    Not sure what version of TOAD you have but it may have shipped with SQLMonitor which montiors SQL sent from Windows apps . Navigation should be similar to;
    Start~Programs~Quest Software~TOAD for Oracle~Tools~SQLMonitor
    or
    C:\Program Files\Quest Software\Toad for Oracle\SQLMonitor.exe
    To use it, start TOAD and connect, start SQLMonitor and click the checkbox for TOAD.exe, then execute the query. SQLMonitor will show you the actual query that TOAD sent to the client. It may be exactly what you sent or it may contain some extras.

  • Problem with dynamic LOV and function

    Hello all!
    I'm having a problem with a dynamic lov in APEX 3.0.1.00.08. Hope you can help me!
    I have Report and Form application. On the Form page i have a Page Item (Popup Key LOV (Displays description, returns key value)).
    When i submit the sql code in the 'List of vaules defention' box. I get the following message;
    1 error has occurred
    LOV query is invalid, a display and a return value are needed, the column names need to be different. If your query contains an in-line query, the first FROM clause in the SQL statement must not belong to the in-line query.
    When i excecute the code below in TOAD or in the SQL Workshop it returns the values i want to see. But somehow APEX doesn't like the sql....
    SELECT REC_OMSCHRIJVING d, REC_DNS_ID r FROM
    TABLE(CAST(return_dns_lov_fn(:P2_DNS_ID) AS dns_table_type)) order by 1
    returns_dns_lov_fn is a function, code is below;
    CREATE OR REPLACE FUNCTION DRSSYS.return_dns_lov_fn (p2_dns_id number)
    RETURN dns_table_type
    AS
    v_data dns_table_type := dns_table_type ();
    BEGIN
    IF p2_dns_id = 2
    THEN
    FOR c IN (SELECT dns_id dns, omschrijving oms
    FROM d_status dst
    WHERE dst.dns_id IN (8, 10))
    LOOP
    v_data.EXTEND;
    v_data (v_data.COUNT) := dns_rectype (c.dns, c.oms);
    END LOOP;
    RETURN v_data;
    END IF;
    END;
    and the types;
    CREATE OR REPLACE TYPE DRSSYS.dns_rectype AS OBJECT (rec_dns_id NUMBER, rec_omschrijving VARCHAR2(255));
    CREATE OR REPLACE TYPE DRSSYS.dns_table_type AS TABLE OF dns_rectype;
    I tried some things i found on this forum, but they didn't work as well;
    SELECT REC_OMSCHRIJVING display_value, REC_DNS_ID result_display FROM
    TABLE(CAST(return_dns_lov_fn(:P2_DNS_ID) AS dns_table_type)) order by 1
    SELECT REC_OMSCHRIJVING display_value d, REC_DNS_ID result_display r FROM
    TABLE(CAST(return_dns_lov_fn(:P2_DNS_ID) AS dns_table_type)) order by 1
    SELECT a.REC_OMSCHRIJVING display_value, a.REC_DNS_ID result_display FROM
    TABLE(CAST(return_dns_lov_fn(:P2_DNS_ID) AS dns_table_type)) a order by 1
    Edited by: rajan.arkenbout on 8-mei-2009 14:41
    Edited by: rajan.arkenbout on 8-mei-2009 14:51

    I just had the same problem when I used a function in a where clause.
    I have a function that checks if the current user has acces or not (returning varchar 'Y' or 'N').
    In where clause I have this:
    where myFunction(:user, somePK) = 'Y'
    It seems that when APEX checked if my query was valid, my function triggered and exception.
    As Varad pointed out, check for exception that could be triggered by a null 'p2_dns_id'
    Hope that helped you out.
    Max

  • Problem with Oracle SQL Developer 3.0.04

    1. Performing a "SELECT *" on an Oracle table with a SDO_GEOMETRY column locks up the tool and I have to use Task Manager to can it.
    2. Clicking the Data tab on a table with an SDO_GEOM col either locks up the tool, or taked forever to return.
    3. Performing a "SELECT" of a SDO_GEOM col either locks up the tool or takes forever to return.
    None of these issues occur in Toad.

    If you have a problem with SQL Developer, you'd be best off posting in the SQL Developer!

  • Problems with Java Dictionary Tables

    Hi Experts,
    I have some problems with the Java Dictionary tables that I have created for my
    application. There are around 15 dictionary tables, each one of them having
    several hundred records, added in due course.
    As much as I understand these tables (created using the dictionary perspective)
    are stored in the default schema of the J2EE engine where the dictionary project
    is deployed and there is no direct way to insert records into these tables, we have
    to separately write methods to insert, update and delete records.
    I've already done this. Now the problem is that i have moved my project DC from
    development to testing. Now here the tables are existing, but not the data that i
    inserted during development.
    NOW, the main question: IS THERE ANY WAY IN WHICH I CAN TRANSFER
    THE CONTENTS OF THESE JAVA DICTIONARY TABLES??
    I have tried solutions like creating a DBLINK between the databases, but it is
    tedious, and unpredictable in behaviour. Also Please do not advise to first
    download them to excel and then upload using jxlapi, etc.
    Thanx in Advance.
    Alka.

    Hi Alka,
    The dblink is a good solution, but just a bit slow. You can also use a SQL Loader, first export the data from the source table in a text file (i.e. using a tool like TOAD), then sql loader loads the data in the destination table. This is more fast.
    Hope this help,
    Vito

  • Oracle 11 can not connect with toad

    Hello to all,
    I just installed oracle 11 on my pc running vista. I can connect to the data base using sqlplus but not with Toad (version 8.6.1). I enter user and password and nothing happens. Not even an error message. I was using previously oracle 10g with toad and never had a problem.
    Can anybody tell me how to make toad work with oracle 11?

    hi,
    thanks for you answer. Since i was experiencing problems, i just rollbacked to version 10g but i'll try your suggestion later.
    Thanks again.

  • Problem with announcing a MobileMe gallery

    I got small problem for some time:
    Every time I hit the "announce" (don't know if it is called exactly like that, because i'm using the German Version) button, iPhoto and mail don't do anything at all.
    I tried to delete the preferences, once it seemed fine, but later did not continue to work.
    What could i do further, before contacting the technical support?!
    Thanks for your suggestions.

    Welcome to the Apple Discussions. Some others have had problems with the announce feature within iPhoto. Have you tried visiting the web gallery online and doing it from there with the Tell a Friend button? At least until the issue is resolved?
    TIP: For insurance against the iPhoto database corruption that many users have experienced I recommend making a backup copy of the Library6.iPhoto (iPhoto.Library for iPhoto 5 and earlier) database file and keep it current. If problems crop up where iPhoto suddenly can't see any photos or thinks there are no photos in the library, replacing the working Library6.iPhoto file with the backup will often get the library back. By keeping it current I mean backup after each import and/or any serious editing or work on books, slideshows, calendars, cards, etc. That insures that if a problem pops up and you do need to replace the database file, you'll retain all those efforts. It doesn't take long to make the backup and it's good insurance.
    I've created an Automator workflow application (requires Tiger or later), iPhoto dB File Backup, that will copy the selected Library6.iPhoto file from your iPhoto Library folder to the Pictures folder, replacing any previous version of it. It's compatible with iPhoto 6 and 7 libraries and Tiger and Leopard. Just put the application in the Dock and click on it whenever you want to backup the dB file. iPhoto does not have to be closed to run the application, just idle. You can download it at Toad's Cellar. Be sure to read the Read Me pdf file.
    Note: There's now an Automator backup application for iPhoto 5 that will work with Tiger or Leopard.

  • Obiee 11g problem with dimension time DATETIME

    Hi experts!
    I have a problem with a column of my time dimension. In my database I have a column called "DATE" and it has this format "01/12/2009 00:00:00" (property column is DATETIME) when I import this table in Oracle Administration I see the same format that my database but I want to see without any Hours,minutes...like this: "01/12/2009"
    How can I fix this??
    Thanks!!!

    Hi alex,
    check the column name your passing and then cast it....the error is not related to that i suppose as it is internal assertion.
    chk this http://tipsonobiee.blogspot.com/2009/06/error-nqserror-46036-internal-assertion.html
    UPDATED POST
    You can alternatively use oracle trunc function in the physical layer to trunc the timestamp.
    1) go to the table where the date column is coming in physical layer
    2) go to the general properties and select SQL and write the SQL of all the columns needed from that table like
    select x,y,z,trunc(date) from table_name.
    3) this truncates the timestamp
    UPDATED POST-2
    By the way which database are you using,if its oracle trunc works out....other databases it wont work
    select trunc(sysdate) from dual in your TOAD and check out.
    hope helps you,
    Cheers,
    KK
    Edited by: Kranthi.K on Jul 27, 2011 3:15 AM
    Edited by: Kranthi.K on Jul 27, 2011 4:01 AM

  • Problem with undesired rounding of entity attributes of type Number

    Hello,
    We have an entity object based on an oracle database table. Some of the columns of the table are of type NUMBER ( without specified precision and scale) and are mapped to attributes of type oracle.jbo.domain.Number as is the oracle recommendation and default behaviour. We have a view object based on this entity. We are using JSF <af:table> component to show and edit the contents of the view object.
    In the database table we have values in the NUMBER columns like:
    -.0000000000000696421833421346
    8029.19708029197
    -364.9641231232332
    The problems is that these values get rounded to the 3th digit after the decimal point, without to have specified any formatting. The numbers shown in the <af:table> look like:
    -0
    8029.197
    -364.964
    We tested the ViewObject with the Business Component Browsers and there the values looked fine. In the JSF page we tried to comment out the <af:converter> but the result is the same.
    The problem is where these values are rounded to the 3th digit after the decimal point. Is that an ADF configuration?
    Please reply ASAP, the case is urgent, we are waiting on that to move our system to production.

    Hi
    I have a similar problem.
    I want to load xml data into a table using the OracleXmlSave class.
    There are long numbers to import (7638286488771946140)
    When the destination field is of type NUMBER(38), everything is alright. But when there is no precision specified (just NUMBER) the numbers are rounded to 14 digits
    7638286488771946140 -> 7638286488771950000
    When i insert numbers with TOAD, everything's alright, even with "just-NUMBERs".
    Any ideas?
    Daniel
    Message was edited by:
    user548995
    Message was edited by:
    user548995

  • Problem with compiling a procedure in debug-mode

    ahoj all together!
    i have a small pl/sql function, which made big troubles yesterday, when i compiled it with debug-info. toad didn't finish compiling and when i canceled it, i got the following two error-messages in the oracle-trace file again and again till the harddisk was full. (file is now 17 gb)
    Probe:read_pipe: receive failed, status 3
    Probe:S:debug_loop: timeout. Action 0
    oracle-version: 9.2.0.4.0
    can someone tell me what's the problem? thx!
    bye,
    christian

    Hello,
    You may get more help raising this with Toad support, or on a Toad forum.
    Regards,
    AG

  • Problem with database job

    Good day.
    I am trying to help our DBA figure out the problem with the database job that I created. It runs perfectly in the database which we use for development purposes. However, when we put the job in the production database, we encountered some problems.
    The first problem we encountered was this: after the job executed at the scheduled time, the NEXT_DATE field for that job becomes 00/00/0000.
    After our DBA tinkered with some parameters in the db config, the next problem we encountered was this: the job executed every minute even if the interval specified is for it to execute once a day, everyday.
    We still have not resolved any of these problems. I am just doing a workaround, a manual one, just so we could proceed with our processing.
    Btw, we are using Oracle8.
    Thanks so much.

    Hello there.
    This is the code I used to submit the job:
    DBMS_JOB.ISUBMIT (1, 'my_storedproc;', trunc(SYSDATE)+(13.5/24), 'trunc(SYSDATE)+1+(13.5/24)', TRUE);
    Using Toad, I got these parameters pertaining to db job:
    job_queue_interval=60
    job_queue_keep_connections=FALSE
    job_queue_processes=8
    Any feedback?
    Thanks again.

  • Problems with iPhoto 7.1

    Hope someone may help me with this. I just downloaded the iLife update and the new iPhoto 7.1 (and of course Gargeband etc.) and by opening iPhoto it does load the library, but then some menu functions do not work. Preferences does not open, the slideshow button does not work. It only shows the busy icon and I'll have to do a force stop. The message reads: 'iPhoto not reponding'. Before the update I never had problems with iPhoto.
    Thanks! Edward from the Netherlands

    Edward:
    Welcome to the Apple Discussions. The slideshow button will work but it's very, very, very slow. Try again and let it sit for a while. It sometimes takes up to 30 seconds to open fully. It's the same with the Preferences. The latest update has made it slow to open the first time. After that it seemed to work OK for me. Be sure to post your problems at http://www.apple.com/feedback/iphoto.html. The more reports the better.
    Do you Twango?
    TIP: For insurance against the iPhoto database corruption that many users have experienced I recommend making a backup copy of the Library6.iPhoto database file and keep it current. If problems crop up where iPhoto suddenly can't see any photos or thinks there are no photos in the library, replacing the working Library6.iPhoto file with the backup will often get the library back. By keeping it current I mean backup after each import and/or any serious editing or work on books, slideshows, calendars, cards, etc. That insures that if a problem pops up and you do need to replace the database file, you'll retain all those efforts. It doesn't take long to make the backup and it's good insurance.
    I've written an Automator workflow application (requires Tiger), iPhoto dB File Backup, that will copy the selected Library6.iPhoto file from your iPhoto Library folder to the Pictures folder, replacing any previous version of it. It's compatible with iPhoto 08 libraries. iPhoto does not have to be closed to run the application, just idle. You can download it at Toad's Cellar. Be sure to read the Read Me pdf file.

  • Weird Problem with ADO Recordset on windows 7!!

    Hi ,
    I am facing a very weird issue , i am running a sql using the ADO recordset , but i get only one column value in the recordset.
    Other columns values are coming as Null.
    Using as below :
    Set objConnection=Createobject("ADODB.Connection")
    'connection String and query
    strConnString="Provider=OraOLEDB.Oracle.1;Data Source=<DBNAME>;User ID=<UNAME>;Password=<PSWD>;"
    'Establishing connection with DB
    objConnection.Open strConnString
    sql="select t1.colum1,t2.column2,t1.column3 from table t1,table t2 where t1.id=t2.id(+)"'sample sql
    Set rs= Createobject("ADODB.Recordset")
    rs.Open sql,strConnString
    msgbox rs.GetString()
    'rs.MoveFirst
    'msgbox rs(0).value
    'msgbox rs(1).value
    so , In the above code i am only getting the value for t2.column2 .
    It doesnt matter if i use GetString() or GetRows() or iterate throught the recordset.
    If i run the query in Toad i am getting values for all the column in the select clause.I have oracle 11g on windows7.
    Can anybody help with a solution here?

    I actually have a similar problem with my machine. I am running FrameMaker 9 with Windows XP on a 32bit machine.
    The problem is slightly different because on my machine the GDI Objects doesn't continue to increase over time it increases with the number of files I open and close. Every time I open a file the number of FrameMaker GDI Objects increase and when I close the file the number of GDI Objects decreases a little but not down to the original value, so when I open and close a lots of FrameMaker files the number continues to increase until it reaches 10 000 then my FrameMaker crashes.

Maybe you are looking for