Determining database limits

I am running a bunch of code through a batch process that we've created. I'm running into the oracle error ORA-01400 which is related to not null constraints. However, I've pretty much determined that this message does not directly relate to the problem I'm encountering since it does not happen consistently and for other various reasons. So, what I was thinking was that the problem we're having is the result of some sort of database limit that we're hitting. Unfortunately, I really don't know what kinds of limits to be looking for that might be causing this problem. A couple of suggestions might be that we're running out of memory, or we've hit the max number of open cursors and the batch processing isn't able to continue. Does anyone have any idea what limits I might be interested in and where I can find what the values are set to? I appreciate any help....
Thanks!
Vanessa

The odds are that what you are seeing is what you are getting. Somewhere in your code, you a producing a null value then trying to insert it into a not null field. Usually, especially in intermittent cases like yours, this will be caused by a math equation using a null value which will always return a null i.e 5+null=null, not 5.
Amend your code by placing an exception for this error, then run your code again. When you trap the error, you can dbms_output the appropriate variable and determine which one is giving you the problem.

Similar Messages

  • How to determine database growth for new B1 instalation

    Hello B1 people,
    I'm working on the capacity planning of my new business one project and must know how to determine database growth. Does anyone did something like that before?
    Wich tables should I consider?
    Thanks in advance.

    Hello Gabriel,
    I think it is difficult to make any predictions about database growth because this depends on the volume of your business transactions, the number of users, the continuity of your master data...
    For example a small number of users can create a lot of transactions (accounting, logistics) with big documents like sales orders with more than 100 items, or a lot of users who primarily look up things but only create small transaction won't create too much data and thus influence database growth in totally different ways.
    You should collect information about the volume of daily business to make any forecasts.
    If you start with an empty database, the first big growth will be when you upload your master data, but if only few business transactions follow, you shouldn't use that first increase for your calculation.
    Is this your very first B1 installation, or do you already have B1 systems running? If you use the EWA service on a running B1 installation on a regular basis, then you will get a good impression of database growth and transaction volume but you should only use this as a basis for your calculation if the business of the new installation is similar to already running company's.
    Hope that helps,
    Sandra

  • MS Access database limits which LabVIEW Supports

    MS Access database limits which LabVIEW Supports,
    When i fetch 10MB database,then LabVIEW shows some error. which i am attaching with this post. please guide me on this.
    Prashant Soni
    LabVIEW Engineer
    Attachments:
    1.jpg ‏3001 KB

    Ravens Fan wrote:
    How do people who don't know how the forum works and the basic standards of posting .png's or .jpeg's, ever figure out that they are capable of bypassing the .bmp ban by just renaming the file?  If people are smart enough to figure out that a bitmap file with .jpeg extension still opens, you'd think they were smart enough to realize what file format they should really be posting.
    They assume changing the file ending actually changes the format?
    /Y
    LabVIEW 8.2 - 2014
    "Only dead fish swim downstream" - "My life for Kudos!" - "Dumb people repeat old mistakes - smart ones create new ones."
    G# - Free award winning reference based OOP for LV

  • Problem in  Oracle EM (Database Limits - Current Open Cursors)

    Hi everyone,
    I have a problem in Oracle Enterprise Manager in All Metrics.
    When I select in All Metrics e.g. Health Check > Maintenance it work's fine and I see a chart.
    If I select in All Metrics > Database Limits > Current Open Cursors Count I got following error:
    Error
    oracle.sysman.dbTarget.db.emSDKOverride.page.mtrx.GetDataException: ORA-06550: Zeile 79, Spalte 16: PL/SQL: ORA-00942: Tabelle oder View nicht vorhanden ORA-06550: Zeile 51, Spalte 7: PL/SQL: SQL Statement ignored
    What's the problem?
    In this database instance i drop these users (schemas): dbuser, mddata, ordplugins, ordsys, si_informtn_schema!!
    Can this lack of user to cause an error?
    Oracle Enterprise Manager Database Control 10.2.0.0
    Database instance: myDB > All Metrics > Database Limits > Current Open Cursors Count
    Thanks.
    Mark

    Hello Mark,
    personally I don;t think it is a good idea to drop schema's from the database that have been installed as part of the activation of a certain Database Option. If you don't want the option, then don't instal it.
    For a complete description of the schema's you are refering to, check: http://download.oracle.com/docs/cd/E11882_01/server.112/e10575/tdpsg_user_accounts.htm#BABGIBBA
    Regards
    Rob
    http://oemgc wordpress.com

  • Database limits of oracle lite

    Could anyone please tell me the database limits(eg table
    size,number of columns etc) of oracle8i lite
    Thanks,
    Debu

    So - you are using Oracle Application Express to interact with the data stored in your Oracle Database - Express Edition.
    The only limits in the database Express Edition are:
    - it will not use more than 1 CPU
    - it will not use more than 1 GB RAM
    - it will not permit more than 4GB user data to be stored
    Any other limits or limitations are from the application (or application design) or from Application Express. You might want to move this discussion to either the Application Express forum or the Express Edition forum. (Both available from http://forums.oracle.com but you need to register for the Express Edition forum, as shown on the XE home page.)

  • Database Limits

    Windows Server 2008 - Oracle 11g 11.2.0
    I was checking Oracle Enterprise Manager.
    There is a warning as database limits saying that open cursors are at 2185.
    I checked some parameters :
    open_cursors : 12000
    session_cached_cursors : 50
    To me, it seems that the limit is far from overflowing...
    So I'm trying to understand why I had this warning.
    Could you please help me ?
    Ed

    You should be able to click on the warning link and get to an open cursors screen which will show you the warning and critical levels, as well as your recent history. On my machine it appears the default is 1200, which is far below my normal usage - it's kind of humorous that the warning message was sent at the time my usage was at its minimum. Why it checks the way it does is one of those mysteries of the universe. You might try setting the levels in the Manage Metrics screen, though on earlier versions on my platform that's been a challenge.
    Note there are EM fora: http://forums.oracle.com/forums/category.jspa?categoryID=70

  • URGENT PLEASE HELP - Source determination in Limits Carts not working

    Dear all,
    We have implemented SRM 4 on Server 5.0 and ECC 5 backend.
    We have in our environment service masters that have been catalogued and linked to Contracts. When one raises a cart and selects one on these catalogue service items, a backend PO correctly creates and references the contract as specified in the catalog.
    The problem we have discovered that if we raise a Limits order and specify the material group stipulated in the contract for a service, source determination fails to "pick up" this contract line. We are forced to enter a supplier all the time!
    Also if we raise a text service line and select from "internal Goods/Services" a Service Master record and add it tothe cart, surce determination also does not pick up the R3 contract/line that matched this service. This means that when POs are created in the backend, they are not referencing any contract (no call-off)
    Why is this happening? How come catalogue items linked to a service masters and contracts work and correctly and a Limits order do not?
    Please help, we need to resolve this issue today.
    Thanks,
    Grace.

    Hi Grace,
    The contracts that are created in SRM can only be refered as Source of supplies while creating shopping carts if your are working in Extended Classic scenario.
    In case you want to refer the back end contracts, Info. records for creating shopping carts you have to implement classic scenario.
    The standard SRM does not provide the functionality you needed where as if you want to use back end contracts for a particular product category you can implement "Controlled Extended Classic Scenario BADI " which makes the classic scenario active for that product category, there by a back end contract can be referred for that product category when ever a shopping cart is made.
    Hope this makes you clear. Clarifications are welcome.
    Award points for suitable replies.
    Rgds,
    Teja

  • How to determine database name I am connected to ?

    I would like as simply and fast as possible to determine the database name, which I am currently connected to. Maybe the property jbo.sql92.JdbcDriverClass would do, but how to get its value ? Thanks for any suggestions.

    Ricky,
    don't understand that, why you don't use the session, when you are in BC4J (AM.getSession()) - which will give you at least the URL you connect too (in case you use a datasource - bad luck, as it is defined within the container ..)
    thx clemens

  • Determine database character set

    How do I determine the database character set? Can look into
    v$parameter and v$system_parameter for NLS settings, but need to
    know the database character set. I am following other DBAs so I
    don't have the creation scripts. Am supporting databases from
    v7.3 through v8.0.5 in production with v8.1.5 planned.
    null

    Thanks, Mark
    Junaid (guest) wrote:
    : You can query the "sys.props$" table which gives you the
    details
    : of the database character set.
    : All the best!!!
    : Mark O'Brien (guest) wrote:
    : : How do I determine the database character set? Can look
    into
    : : v$parameter and v$system_parameter for NLS settings, but
    need
    : to
    : : know the database character set. I am following other DBAs
    so
    : I
    : : don't have the creation scripts. Am supporting databases
    from
    : : v7.3 through v8.0.5 in production with v8.1.5 planned.
    null

  • Database limits for Grid control repository?

    Document "Oracle® Database Licensing Information / 10g Release 2 (10.2)" [Part Number B14199-10] discusses the restricted use license of database for grid control repository and rman repository use.
    nfrastructure Repository Databases A separate Oracle Database can be installed and used as a Recovery Manager (RMAN) repository without additional license requirements, provided that all the Oracle databases managed in this repository are correctly licensed. This repository database may also be used for the Oracle Enterprise Grid Control repository. It may not be used or deployed for other uses.
    A separate Oracle Database can be installed and used as a Oracle Enterprise Manager Grid Control (OEM Grid Control) repository without additional license requirements, provided that all the targets (databases, applications, and so forth) managed in this repository are correctly licensed. This database may also be used for the RMAN repository. It may not be used or deployed for other uses.
    There is no discussion of licensing requirements for options of the database (RAC, partitioning, etc) when the database stays within these repository use restrictions. Therefore it is unclear whether the Grid Control can be configured to provide appropriate monitoring without additional licenses.

    This is the reply I received from release
    management:
    If they have deployed an EE edition of the database
    as an OEM repository, and then want to protect that
    with RAC or Data Guard, or make more Secure with ASO
    or Database Vault, or indeed get any of the
    additional benefits any of the options provide, then
    they will need to license the option.
    Let me know if that is still not clear, and I'll go
    back again.Thanks.
    There is a minor inconsistency in their response ... they say "if deployed on EE". However, as far as I know OEM repository required VPD, which is available only on Enterprise Edition (see http://download-east.oracle.com/docs/cd/B16240_01/doc/em.102/e10953/pre-installation_req.htm#CHDGIEAD)
    However, it is quite clear that 'they' are telling us that the RAC option is not inherent in the "Special Use Licensing" as described http://download.oracle.com/docs/cd/B19306_01/license.102/b14199/editions.htm#CJAHFHBJ .
    The implication (not necessarily a topic for this forum) is that the OEM is not guaranteed to be able to provide basic monitoring and reporting functionality without additional license fees to make OEM more highly available than the targets being monitored.
    It would be nice to have the information about which Oracle products (database and app server) have included licenses with a basic Grid Control install and which require additional licenses as part of Chapter 1 of http://download.oracle.com/docs/cd/B19306_01/license.102/b40010/toc.htm (That document goes into excruciating detail about the extra packs, but ignores the basics.)
    For that matter, since OEM Grid Control can not be purchased, it would be nice to have a list of products that provide license to install Grid Control, again in Chapter 1 of the Grid Control Licensing document listed above.
    I appreciate your time in having dug into this.

  • Determine databases that are being used sharepoint 2007

    I have a Sharepoint farm where I am moving all databases over to a new server and configuring sql mirroring. Is there a way to tell which database's Sharepoint is currently using I need a way to tell system and content databases. So with that said does
    anyone know of a way to check this? I've gone into Sharepoint and selected the backup option in order to see a list of database names however I would like another way to verify which dbs are used.

    This is in the wrong forum, 2007 questions should be posted in the legacy forum.
    You've got "stsadm -o enumcontentdbs" which should give you all the content DBs but i don't know of one that will list all the other Shared Service Provider databases.

  • Determine database read/write statistics

    From the following (in Oracle documentation)
    DB_WRITER_PROCESSES parameter is useful for systems that modify data heavily. It specifies the initial number of database writer processes for an instance.
    And from the "Deployment Guide for Oracle on Windows using Dell PowerEdge Servers.pdf" in http://www.oracle.com/technology/tech/windows/index.html
    RAID LEVELS I have heard that it is for disks where datafiles reside the following is true
    If I/O is <= 90% reads, then it is advisable to go for RAID 10. If I/O is > 90% reads, then RAID 5 could be considered.
    I would like to know
    1. How do we find out whether our database is "read heavy" or "write heavy"? Are there are scripts available please?
    2. In commercial environments, what sort of RAID Levels are normally used for "read heavy and write heavy databases?
    Edited by: sandeshd on Oct 14, 2009 3:11 PM

    We were in a similar situation some weeks ago, we decided to make a trigger (logout) for saving the butes for a specific schema, you can work with this data importing it with Excel or something similar.
    DROP TABLESPACE BYTES_USUARIOS INCLUDING CONTENTS AND DATAFILES;
    CREATE TABLESPACE BYTES_USUARIOS DATAFILE
    '/oradata/oradata/ewok/bytes_usuarios.dbf' SIZE 1024M AUTOEXTEND ON NEXT 25M MAXSIZE UNLIMITED
    LOGGING
    ONLINE
    PERMANENT
    EXTENT MANAGEMENT LOCAL AUTOALLOCATE
    BLOCKSIZE 8K
    SEGMENT SPACE MANAGEMENT MANUAL
    FLASHBACK ON;
    +++++++++++
    CREATE USER B1
    IDENTIFIED BY VALUES %password%
    DEFAULT TABLESPACE BYTES_USUARIOS
    TEMPORARY TABLESPACE TEMP
    PROFILE MONITORING_PROFILE
    ACCOUNT UNLOCK;
    -- 1 Role for B1
    GRANT CONNECT TO B1;
    ALTER USER B1 DEFAULT ROLE NONE;
    -- 2 System Privileges for B1
    GRANT CREATE TABLE TO B1;
    GRANT CREATE SESSION TO B1;
    -- 1 Tablespace Quota for B1
    ALTER USER B1 QUOTA UNLIMITED ON BYTES_USUARIOS;
    ++++++++++
    CREATE TABLE b1.BYTES_USUARIOS
    USERNAME VARCHAR2(30 BYTE),
    SID NUMBER,
    SERIAL# NUMBER,
    MACHINE VARCHAR2(64 BYTE),
    LOGON_TIME DATE,
    CLS VARCHAR2(53 BYTE),
    NAME VARCHAR2(64 BYTE),
    VALUE NUMBER
    TABLESPACE BYTES_USUARIOS
    PCTUSED 40
    PCTFREE 10
    INITRANS 1
    MAXTRANS 255
    STORAGE (
    INITIAL 64K
    MINEXTENTS 1
    MAXEXTENTS 2147483645
    PCTINCREASE 0
    FREELISTS 1
    FREELIST GROUPS 1
    BUFFER_POOL DEFAULT
    LOGGING
    NOCOMPRESS
    NOCACHE
    NOPARALLEL
    MONITORING;
    grant all on b1.bytes_usuarios to system;
    ++++++++++++++++
    grant select on v_$mystat to system;
    grant select on v_$session to system;
    grant select on v_$statname to system;
    DROP TRIGGER SYSTEM.TRG_LOGOFF;
    CREATE OR REPLACE TRIGGER SYSTEM.TRG_LOGOFF
    BEFORE LOGOFF
    ON DATABASE
    DECLARE
    --VAR_CADENA VARCHAR(20);
    begin
    --VAR_CADENA := "%bytes%";
    --execute immediate '       
    insert into b1.bytes_usuarios (
    select
    ss.username,
    ss.sid, ss.serial#, ss.machine, ss.logon_time,
    decode (bitand( 1,class), 1,'User ', '') ||
    decode (bitand( 2,class), 2,'Redo ', '') ||
    decode (bitand( 4,class), 4,'Enqueue ', '') ||
    decode (bitand( 8,class), 8,'Cache ', '') ||
    decode (bitand( 16,class), 16,'Parallel Server ', '') ||
    decode (bitand( 32,class), 32,'OS ', '') ||
    decode (bitand( 64,class), 64,'SQL ', '') ||
    decode (bitand(128,class),128,'Debug ', '') cls,
    name,(value/1024/1024) from sys.v_$statname m, sys.v_$mystat s, sys.v_$session ss
    where
    m.statistic# = s.statistic#
    and (name like '%bytes sent%' or name like '%bytes received%')
    and ss.sid = (select distinct sid from sys.v_$mystat)
    end;
    ++++++++++++
    TODO
    select username, name, sum(value)
    from b1.bytes_usuarios
    group by username, name
    order by username, name
    SOLO bytes enviados
    select username, name, sum(value)
    from b1.bytes_usuarios
    where
    and name like '%sent%'
    group by username, name
    order by username, name
    SOLO bytes recibidos
    select username, name, sum(value)
    from b1.bytes_usuarios
    where
    and name like '%received%'
    group by username, name
    order by username, name

  • Determine database started in spfile or init file

    Hi,
    Anyone got any idea how to check whether the database
    is started using spfile or initfile...Beside this anyway to set it to start by initfile. So that every time when i isued SQL>startup, it will startup using the init file..
    Thank You...

    Why shouldn't you use the spfile ?
    Anyway, you can remove (or rename) it, using an OS command. Normally it is in $ORACLE_HOME/dbs (Unix/Linux) or ORACLE_HOME\database (Windows). In the same directory you must have the initSID.ora file, if you don' want to specify it when starting the DB up.
    Of course you know that without spfile you cannot do any permanent changes to dynamic parameters.

  • Determining database name as non-privileged user

    Hi,
    Could anyone tell me if there is a way to query and find the name of a database when you are logged in as a non-privileged user who does not have select on V$database or any other V$ or DBA views?
    Thanks
    user932579

    As non privilege user you can't query DBA views
    Try to use SYS_CONTEXT funcation
    select sys_context('USERENV','DB_NAME') from dual;

  • THE DATABASE LIMITS FOR ORACLE ON NT

    제품 : ORACLE SERVER
    작성날짜 : 1997-06-16
    윈도우 NT 환경하에서 oracle database 의 제한 사항입니다
    Oracle7.3
    * Oracle block size: 8 KB
    * Maximum blocks per datafile: 4 million
    * Maximum datafiles per database: 1022
    * Largest datafile: 32 GB (assuming 8 KB Oracle block size)
    * Largest database: 32 TB (1022 * 32 GB)
    Oracle8.0
    * Oracle block size: 16 KB
    * Maximum blocks per datafile: 4 million
    * Maximum datafiles per database - depends on block size
    * 20,000 datafiles for 2 KB Oracle block size
    * 40,000 datafiles for 4 KB Oracle block size
    * 65,536 datafiles for >= 8 KB Oracle block size
    * Largest datafile: 64 GB (assuming 16 KB Oracle block size)
    * Largest database: 4 PB (65,536 * 64 GB)

    Please look at patch name EM_NT_1224539.
    null

Maybe you are looking for