Is there some time setting in sql*plus or Oracle9i

Hi guys,
I just run the following simple query in sql*plus in oracle 9i:
select * from pers ;
The table is around 190k rows. But it always stops running after 28-30minutes. No error message displayed and the whole sql*plus just hang on there.... The only thing I can do is to restart the sql*plus.
I got this problem when I run some other query, so I use this simple query just to test if it will stop after running 30m. Now it does. I'm thinking there is some setting in sql*plus or ORACL9i I need to do. Could someone help me to solve this problem?
Thanks in advance,

Hi,
you can check out this information in the user_resource_limits table.
select * from user_resource_limits;
COMPOSITE_LIMIT UNLIMITED
SESSIONS_PER_USER UNLIMITED
CPU_PER_SESSION UNLIMITED
CPU_PER_CALL UNLIMITED
LOGICAL_READS_PER_SESSION UNLIMITED
LOGICAL_READS_PER_CALL UNLIMITED
IDLE_TIME UNLIMITED
CONNECT_TIME UNLIMITED
PRIVATE_SGA UNLIMITED
Thanks.

Similar Messages

  • ''Well When i plug in my ipod touch the battery life is low..i let it sit a wyhle.And it starts up to the apple logo and it stay there some time then it restartsback over to the very low battery and repeat(Over&Over)?

    ''Well When i plug in my ipod touch the battery life is low..i let it sit a wyhle.And it starts up to the apple logo and it stay there some time then it restartsback over to the very low battery and repeat(Over&Over)

    Can you reset the device by holding the sleep and home button until the Apple logo comes back again?
    If this does not work, try to connect in recovery mode, explained here: iOS: Unable to restore

  • Set Up SQL*Plus Issue

    Folks,
    Hello. My Operating System is Oracle Linux 5. Database is Oracle DB 11gR1.
    I have tried to set up SQL*Plus in the following way:
    My directory: /home/myOracle/OracleDB_Home/bin
    SYSTEM_PASS=SYSTEM/SYSTEM
    export SYSTEM_PASS
    ./sqlplus SYSTEM/SYSTEM
    But this message comes up:
    Error 6 initializing SQL*Plus
    Message file sql<lang>.msb not found
    SP2-0750: You may need to set ORACLE_HOME to your Oracle Software directory.
    Where is message file sql<lang>.msb ? What is Oracle Software directory ?
    Can any folk help to solve this issue ?

    Duplicate post
    Re: Set Up SQL*Plus Issue

  • My mother buy one ipod for me,and now she give to me. Can i  replace an ipod for an iphone locked to use only of United States? I'm from Brazil and i go to United States(Orlando) in November to live there some time.can i change the ipod to iphone so you c

    My mother buy one ipod for me,and now she give to me.
    Can i  replace an ipod for an iphone locked to use only of United States?
    I'm from Brazil and i go to United States(Orlando) in November to live there some time.can i change the ipod to iphone so you can use in the United States.

    No.
    There are no trade ins at all.
    You would ahve to buy a new iphone if you want one.

  • Detecting clientside NLS_LANG setting in SQL*Plus script

    Our company has developed an application that uses an Oracle database as it backend. Companies can buy our application and run it against their own Oracle installation.
    A new version of our application often requires an update to the Oracle database schema.
    Together with new application files we send our customers an update.sql script they must run against their database using SQL*Plus.
    This update script may contain international characters like é for example:
    UPDATE SHOPS SET DESCRIPTION = 'Café'
    WHERE SHOP_ID=1We save the SQL-script file in windows-1252 encoding so the character é is encoded as 0xE9 in the script file.
    When the DBA running the upgrade script has set NLS_LANG=.WE8MSWIN1252 this works perfectly.
    When the DBA has set his NLS_LANG=US7ASCII the é gets replaced by an upside-down question mark. Other NLS_LANG settings can also be troublesome.
    To prevent this we give very clear installation instructions. However, nobody reads them. This leads to two questions:
    A) Is there a way to prevent this problem so I do not depend on the NLS_LANG setting by the DBA running the upgrade script?
    B) Otherwise: is there a way to test for the NLS_LANG setting inside the script and abort if it is not WE8MSWIN1252?
    Info:
    Database is 10.2.0.3/10.2.0.4 and sometimes 10.2.0.5, always database character set WE8MSWIN1252.
    Client software: I do not know what each DBA uses but it will be mostly 10g client software
    Client OS: Some DBA's will be running the script from Windows, others from some Unix variety. I cannot control that.

    I agree with Sergiusz. You're much better off if you can remove character set dependencies from your scripts by using commands like this.
    UPDATE SHOPS SET DESCRIPTION =  unistr( 'Caf\00E9' )
    WHERE SHOP_ID=1 ;If that's not possible however you can try this approach to determine the session's character set.
    SQL> column USERENV_LANGUAGE format a30
    SQL> column oracle_charset   format a20
    SQL> r
      1  select
      2    userenv_language
      3  , substr
      4    ( userenv_language
      5    , instr( userenv_language, '.' ) + 1
      6    ) as oracle_charset
      7  from
      8  ( select sys_context( 'USERENV', 'LANGUAGE' ) as userenv_language
      9    from dual
    10* )
    USERENV_LANGUAGE               ORACLE_CHARSET
    AMERICAN_AMERICA.AL32UTF8      AL32UTF8 --
    Joe

  • Can network setting cause sql*plus logon failure?

    During install of verizon service the techs had to alter some network setting to allow the cable connection to work. Afterwards I was unable to connect to oracle database using pl*sql, getting instead an ORA 12514 error.
    Is it possible the altered network settings caused this problem? I am running oracle 10g on XP windows.

    1. you're not using pl*sql to connect. you're using SQLPLUS to connect.
    2. ORA-12514: TNS:listener could not resolve SERVICE_NAME given in connect descriptor
    so, verizon changed something, perhaps the "windows\system32\drivers\etc\hosts" file, so that now your TNSNAMES.ORA has the wrong info. check tnsnames.ora, and see if it's using machine name, IP, or "localhost", then give the new, correct info.

  • Set up SQL*plus client

    Hi Friends,
    I download oracle10g release 2 and create a test database. I can connect to database by server side SQL*plus.
    However, I install oracle client 10.2.01.0 in other mechine. I could not connect server.
    TNS as
    # This file is actually generated by netca. But if customers choose to
    # install "Software Only", this file wont exist and without the native
    # authentication, they will not be able to connect to the database on NT.
    #SQLNET.AUTHENTICATION_SERVICES = (NTS)
    #NAMES.DIRECTORY_PATH= (TNSNAMES, EZCONNECT)
    DS02 =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = jimmy.mycompany>COM)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME =orcl)
    how to fix it?
    I am new person in DBA.
    Thanks
    JIm

    On your server side do
    lsnrctl status
    what's the result?

  • Login Error SQL Plus in Oracle9i

    I installed completely Oracle9i on my system. I have to make databases, make forms and generate reports for my scool project. I cannot login to sql Plus using scott tiger . I think the problem is with HOST STRING. Can anyone help please.
    Thank you
    Sharif Vohra

    it would help if you post the error message(s), if any, that you are receiving while connecting.
    Did you install the database part (or the client tools only), and did you also create a
    starter (or customized) database while installing Oracle?

  • Is there some file setting that prevents the Image Processor from resizing?

    Problem:
    Some jpg images can't be resized using the Image Processor. I'm guessing there may be some setting (?) that prevents resizing but i can't find it. The images run through the Image Processor but retain their original size.
    Platform:
    Windows XP Pro, SP2
    Photoshop CS4, Bridge CS4
    What i tried:
    - i looked at the file info in Bridge - nothing apparent there that would cause the problem
    - the file attributes in Windows only have the archive bit set (they are NOT read only)
    - when i run the Image Processor either from Bridge or Photoshop the picture remains its original size
    - i have tried many combinations in the Image Processor dialog box, e.g. Convert Profile to sRGB, Include ICC Profile, etc.  (i DO have the Resize to fit check box checked)
    - i can resize the photo manually in Photoshop
    - some photos work, some don't
    - many of the photos were edited on Roxio on my wife's computer, renamed in Bridge and then copied over to my computer
    Thank you very much!
    Steve
    Message was edited by: signcarver
    added one more thing i tried

    I did as you suggested.  Turned out to be a hardware problem.  Apple Store replaced it!
    Thanks

  • Is there a time setting that can be manipulated to prevent query TIMEOUT?

    Hello All,
    I was wondering if there is a timesetting that can be manipulated(increased/decreased) in order to prevent query time out.
    Thanks in advance
    Raj

    Thanks, but I was just wondering if there is a way to modify TIMEOUT settings while running
    query on query analyzer.
    Is there any setting for Visual composer analyzer?
    Edited by: Raj on Feb 11, 2008 2:51 PM
    Edited by: Raj on Feb 11, 2008 2:53 PM

  • I just recorded my first web-cast on my I-pad, but am unable to upload this no matter what - no luck uploading direct to my blog, or my 'box', it's too large to email and so on...is there some obvious setting I am overlooking?

    I am looking for some help on this one, please...

    What do you mean your "box"?
    You can't upload files from safari, but you can Upload a video on youtube using their app. And possibly on other video websites.
    There are also the solution to go through your laptop, via iTunes or a "Dropbox" like solution.

  • Question about setting column width in SQL*Plus using info retrieved w SQL

    Good morning,
    Is there a way to tell SQL*Plus to set the width of a column to the greatest width of the elements found in the column ? (as opposed to the default which is the width declared in the DDL)
    In other words, I'd like to do something functionally equivalent to this:
    COL <columname> format a[select max(length(<columnname>)) from <thetablethatcontainscolumname>]
    I'm doing the above manually in two steps
    1. select max(length(columnname)) from .....
    2. col columnname format a[resultofstep1]
    Is there a way of doing it in one step ?
    Thank you for your help,
    John.

    Hi Munky,
    >
    you should consider whther you are using the correct tool for the job, SQLplus isn't exactly ideal for doing presentation layer stuff
    >
    I'm not really doing presentation stuff, I asked because it would be very convenient for everyday stuff. I commonly query the tables that I am going to deal withm just to have a look at the column names and a few values, something like:
    select * from EMP where rownum <= 10; -- just to have a look at the table and some values
    when the table contains a wide column then the display gets all messed up. It would be nice to have an option or a mechanism to tell SQL*Plus to automatically use the width of the widest value, instead of having to determine the value and then manually set the column.
    thank you for your help, it's good to know that I didn't miss some trivial setting in the documentation that would do it ;)
    John.

  • SQL Plus Script Execution Time

    Anyone,
    Is there an easy way to start a timer inside a SQL Plus script that shows exact run time at end of script completion?
    Right now I use the TIME option and have a time as the prompt start and then one at end but would like if the SQL Plus script could simply put a begin/end/run time for me as last output. TIMING is to much since I have many things execute and do not wnat to see every individual runtime.
    Thanks in advance,
    Miller

    http://download-east.oracle.com/docs/cd/B19306_01/server.102/b14357/ch12047.htm#i2699704
    You can use TIMING with a named timer
    SQL> timing start script_time
    SQL> select 1 from dual;
             1
             1
    SQL> /
             1
             1
    SQL> /
             1
             1
    SQL> timing stop
    timing for: script_time
    Elapsed: 00:00:07.37
    SQL>

  • "ORA-1722 Invalid number" error while runing a SQL script in SQL*Plus

    Hello,
    I created a SQL script that is intended to populate tables with
    baseline data. When I run the script in the SQL*Plus program
    that comes with the Oracle 8.1.6 (client), I receive an "ORA-
    1722 Invalid number".
    The error always occurs when SQL*Plus tries to execute the
    following SQL statement:
    insert into components(db_ind,module_id,ext_compid,active) values
    ('cm',modules_seq.currval,1046682,'y');
    The datatypes for the columns on the components table are as
    follows:
    db_ind varchar2(2);
    module_id number;
    ext_compid number;
    active varchar2(1);
    It seems that for some reason Oracle is having trouble
    recognizing 1046682 as a number.
    I also tried the following INSERT statements to see if that
    would work:
    insert into components(db_ind,module_id,ext_compid,active) values
    ('cm',modules_seq.currval,to_number('1046682'),'y');
    insert into components(db_ind,module_id,ext_compid,active) values
    ('cm',modules_seq.currval,'1046682','y');
    but I still receive the same error message
    Is there some NLS setting(s) I need to modify so that Oracle
    does not give me this error? Does anyone know the answer to
    this problem?
    Your help is greatly appreciated.
    Oscar
    (NOTE: I also receive this same error when trying run the
    script in SQL Navigator and Toad programs)

    Please see the following docs.
    R12: JBO-27122 Error Message Clicking On Supplier Accounting Link With Unexpected Error [ID 1218903.1]
    Supplier Management Accounting Link Gives Unexpected Error and JBO-27122 at SELECT * FROM (select pvsa.ADDRESS_STYLE [ID 1340655.1]
    Adding Accounting Information or Operating Unit Information fails with APP-FND-1564: ORACLE error 1722 in FDFGVD [ID 364265.1]
    Thanks,
    Hussein

  • Change default settings and commands in sql plus

    everytime i execute sql plus I have to change environment commands maually
    (like linesize , wrap ...etc )
    is there is a way to load those defaults not to reexecute them every time I access sql plus
    Anyone have answer ????????

    glogin.sql (%ORACLE_HOME%/sqlplus/admin/glogin.sql) is executed whenever any user starts SQL*Plus on the machine. login.sql (on Windows, defaulted to %ORACLE_HOME%/bin but can be changed by setting the SQLPATH environment variable) is executed for a particular user.
    You change the default linesize, or execute any other SQL*Plus commands, in either of these files.
    Justin
    Distributed Database Consulting, Inc.
    http://www.ddbcinc.com/askDDBC

Maybe you are looking for

  • Can I take external disk imaage with me?

    I have been able to put some disk images on my external hardrive. I mount them sometimes in order to view via the DVD player. Here's my question. If I want to "load" a disk image of something I've made on my Macbook in order to show someone. How do I

  • Using Master templates

    I have a question about creating a new document using a template I have previously set up.  I created a catalog using master pages, a different sub-master spread for each section.  How do I take those master pages and open a new document where they a

  • Adobe application manager won't open

    I just subscribed to Adobe Cloud CC , but my download won't work because Adobe application Manager won't launch. Any suggestions ? Vic

  • Wireless: 802.1X support

    Hello as a student my university supplies me with wlan via the 802.1X standard. Sadly, PRS-T2 can't connect to that (I've read that it can after being rooted, as it's already supported by the given android version, but I want to avoid that). So I'd w

  • Is there an easier way to move pics taken on iPhone 3G to Album on iPhone?

    So, is there no quick way to put the Camera Roll pictures into an album on the iPhone 3g? Here is how I do it now: 1) Click on an image in Camera Roll 2) Send it to Mobile Me in an album I named Camera Roll 3) Then download from Mobile Me to my PC 4)