No activity on oracle database but number of commits increasing

hiii everybody,
i need your favor,my question is --there is no activity on my database but number of commits increasing in my database when i checked "total number of commits" using v$sysstat.your help is higly appreciated.
sql query shown below:
select name,
value
from v$sysstat
where name in (
'user commits',
'user rollbacks'
thanks,
xyz.

938946 wrote:
hiii,
thanks again for the quick response,v$mystat gives stats about one session only,m i right?i want to know the total number of actual commits and rollbacks done by all users excepts commits done by oracle background sessions.query appropriate view from below
SQL> select view_name from dba_views where view_name like 'V%STAT%'
  2  ;
VIEW_NAME
V_$ARCHIVE_DEST_STATUS
V_$ASM_DISKGROUP_STAT
V_$ASM_DISK_IOSTAT
V_$ASM_DISK_STAT
V_$ASM_VOLUME_STAT
V_$BUFFER_POOL_STATISTICS
V_$CELL_STATE
V_$CLIENT_STATS
V_$CPOOL_CC_STATS
V_$CPOOL_STATS
V_$DATAGUARD_STATS
VIEW_NAME
V_$DATAGUARD_STATUS
V_$DNFS_STATS
V_$DYNAMIC_REMASTER_STATS
V_$ENQUEUE_STAT
V_$ENQUEUE_STATISTICS
V_$FILESTAT
V_$FLASHBACK_DATABASE_STAT
V_$FS_FAILOVER_STATS
V_$IOSTAT_CONSUMER_GROUP
V_$IOSTAT_FILE
V_$IOSTAT_FUNCTION
VIEW_NAME
V_$IOSTAT_FUNCTION_DETAIL
V_$IOSTAT_NETWORK
V_$IO_CALIBRATION_STATUS
V_$LOADISTAT
V_$LOADPSTAT
V_$LOBSTAT
V_$LOGMNR_STATS
V_$MYSTAT
V_$OSSTAT
V_$PGASTAT
V_$PQ_SESSTAT
VIEW_NAME
V_$PQ_SYSSTAT
V_$PQ_TQSTAT
V_$PX_PROCESS_SYSSTAT
V_$PX_SESSTAT
V_$QMON_COORDINATOR_STATS
V_$QMON_SERVER_STATS
V_$QMON_TASK_STATS
V_$RECOVERY_FILE_STATUS
V_$RECOVERY_STATUS
V_$RESULT_CACHE_STATISTICS
V_$RMAN_STATUS
VIEW_NAME
V_$ROLLSTAT
V_$RULE_SET_AGGREGATE_STATS
V_$SEGMENT_STATISTICS
V_$SEGSTAT
V_$SEGSTAT_NAME
V_$SERVICE_STATS
V_$SERV_MOD_ACT_STATS
V_$SESSTAT
V_$SGASTAT
V_$SQLSTATS
V_$SQLSTATS_PLAN_HASH
VIEW_NAME
V_$SQL_CS_STATISTICS
V_$SQL_PLAN_STATISTICS
V_$SQL_PLAN_STATISTICS_ALL
V_$STATISTICS_LEVEL
V_$STATNAME
V_$SUBSCR_REGISTRATION_STATS
V_$SYSSTAT
V_$TEMPSTAT
V_$UNDOSTAT
V_$WAITSTAT
V_$WLM_PC_STATS
VIEW_NAME
V_$LOGSTDBY_STATE
V_$LOGSTDBY_STATS
V_$STREAMS_POOL_STATISTICS
69 rows selected.
SQL>
i heard about oracle background processes.what is background session ?
thanks and regards,
xyz.when all else fails Read The Fine Manual
http://docs.oracle.com/cd/E11882_01/server.112/e25789/toc.htm

Similar Messages

  • Windows 7 64 bit, Access 2010 32 bit, Oracle 10G client 32 bit, Oracle database 10.2.0.4 64 bit

    I am trying to connect to an Oracle 10.2.0.4 database from Windows 7 OS - 64 bit using
    Access 2010 32 bit and Oracle 32 bit client version 10.2.0.1 installed on PC.
    My user requires a 64 bit Windows 7 OS for other needs.
    Oracle ODBC driver is 32 bit from Oracle 32 bit client.
    In Windows 7 OS 64 bit, ODBC DSN setup software is located in:
    C:\Windows\system32\odbcad32.exe for 64 bit drivers - all DSN types setup and
    C:\Windows\syswow64\odbcad32.exe for 32 bit drivers - USER DSN setup
    When I run the ODBC Data Source Administrator, I see the Version number is 6.1.7601.17632
    I setup a User DSN using the 32 bit odbcad32.exe with a 32 bit ODBC driver.
    Our Oracle TNSnames.ora file has our standard entries which have worked for years
    (Windows 7 OS 32 bit and everything 32 bit has connected for years too)
    So when I configure an ODBC User DSN and leave all the default settings and press the TEST Connection button, it says it works.
    But when I open the existng Access 2010 database (which does connect to Oracle in a Windows 7 32 bit PC environment),
    1. I go to Access External Data ribbon tab / Link to the Data Source by creating a linked table / press OK
    2. I select the Machine Data source = to the USER DSN name / press OK
    3. The Oracle ODBC Driver Connect Window opens with Service Name = USER DSN and User Name and it wants a Password
    4. I enter the correct password and I get the following error message:
    ODBC call failed
    [Oracle][ODBC]{Ora]ORA-12154: TNS: could not resolve the connect identifier specified
    (#12154) [Microsoft][ODBC Driver manager] Driver's SQLSetConnectAttr failed IM006 0
             [Microsoft][ODBC Driver Manager] Driver's SQLSetConnectAttr failed (#0)
    I have tried a quite a number of fixes:
    I have gone into the PC registry and cleaned out most or all off the Oracle client keys and
    reinstalled the Oracle 32 bit 10g client. It didn't fix the error.
    I read about the Oracle instantclient-basic-win32-10.2.0.4.zip with ODBC modules but I have Windows 7 64 bit.
    Anyone experienced a problem like this and have a fix?

    Thank you for your reply.
    I did not get to try it because after I entered my question, I did a lot more internet Googling.
    I found this small comment:
    “There's a known issue where you get a 12154 error message running 32 bit software on a 64 bit OS using client 10201, and
    It should be resolved by patching the client to 10204, which you do by applying the 10204 database patch to it.”
    I searched around for the 10.2.0.4 patch for 10.2.0.1 Oracle 32 bit client.
    When I contacted my Oracle DBA to ask if he had that patch, he said that I should try the 11g 32 bit client on the Win 7 64 bit PC.
    We have a 10.2.0.4 Oracle database but he said the 11g client should work fine.
    I tried it and it solved the problem!
    With so many settings, configurations and permissions involved in ODBC, I am inclined to think that I missed a setting but
    it was a bug in the 32 bit client 10.2.0.1.
    Solved.

  • Database locking using JSP and Oracle database

    Dear All
    I am reading about how to do database locking in general and i want to implement these mechanisms using JSP pages and oracle database, but i have the following questions:-
    1.If i write a “select for update” quesry in the JSP page will it locks the record ? or it will not lock the record because the connection between the JSP pages and the server will be stateless in most online systems?
    2.If i write all my jave code in transaction , something like this:-
    • Begin transaction
    • Commit or
    • Rollback
    Then should i be worried about the locking issues or the database manger will handle the locking mechanisms to insure data integrity(and what the default mechanism (if any) that the oracle database manger use to do the locking)?
    3. If the answer for question 2 is no, then how can i handle the optimistic and the pentemistic locking using JSP pages?
    BR

    One way to solve this issue is as follows:
    * You add a new column to each database table called 'version' which is of int type.
    * Each time you alter any field in a record, you increament the version number.
    * When you read a record and display it, you store the version number in your code
    * when you go to update the record, you write your sql something like this:
    update person set firstName=? where personId=? and version=?
    Where the version is whatever you stored locally. If someone altered the record in the database while your
    end user was looking at it, the version numbers will not match and the sql statement will
    return zero as the number of records it altered. If its zero, inform the end user someone altered the record
    while he was looking at it and weather or not he wants to proceed.
    The chances of two people altering the same record in a table while both are logged in and viewing the same set of data is small so such collisions will be few.
    You only need transactions if you are updating more than one record at a time (in the same table or multiple tables).
    You dont need it for reading records if you use a single sql statement to read (for example: to join multiple tables).
    In general, you get a (pooled) connection, use it, and close it as quickly as possible in a try/catch/finally block. You dont hold onto it for the duration of the user's session. A book on JDBC should help clarify this.

  • Oracle database Behind Postgresql License

    Dear all,
    If I have this configuration :
    Internet user --> WebApplication --> PostgreSQL Server --> Oracle Database
    Internet user access to web apps then access to Postgressql server, from postgresql server use something like dblink to Oracle database.
    How does we count the Named User Plus License? Based on access from Internet user or access from Postgresql server to Oracle database?
    Thank you.

    With the details supplied the named user plus would be counted as the number of internet users, this depends on how everything is constructed, a system where postgres scrapes data vi a batch schedule out of oracle you may be able to argue for a lower number of users for a system where postgres is activly executing queries against the oracle database but that is really discussion for your oracle account manager. In general for Enterprise Edition the crossover is 50 users per whatever definition of processor applies to your platform with most internet applications you hit this pretty fast.

  • Problem with Java and Oracle Database -  help !

    i keep getting a NullPointerException when trying to
    update a resultSet in a servlet. i am bringing in the data
    just fine from an Oracle database. but it chokes when trying
    to update it. can anybody tell me what is happening?
    thanks for any help
    Owen
    ResultSet rs = stmt.executeQuery( "select * from sw_assets" );
    rs.next();
    rs.updateString("name","XXX"); <--- BOOM !
    java.lang.NullPointerException
    at sun.jdbc.odbc.JdbcOdbcBoundCol.setRowValues(JdbcOdbcBoundCol.java:240)
    at sun.jdbc.odbc.JdbcOdbcResultSet.updateChar(JdbcOdbcResultSet.java:3767)
    at sun.jdbc.odbc.JdbcOdbcResultSet.updateString(JdbcOdbcResultSet.java:3257)
    at sun.jdbc.odbc.JdbcOdbcResultSet.updateString(JdbcOdbcResultSet.java:3848)
    at _0002fopen_0002ejspopen_jsp_3._jspService(_0002fopen_0002ejspopen_jsp_3.java:87)
    at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:177)
    at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:318)
    at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:391)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:404)
    at org.apache.tomcat.core.Handler.service(Handler.java:286)
    at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
    at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:797)
    at org.apache.tomcat.core.ContextManager.service(ContextManager.java:743)
    at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:210)
    at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
    at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:498)
    at java.lang.Thread.run(Thread.java:484)

    ResultSets based on a wildcard are generally treated as views by Oracle, meaning they are not updatable no matter how you create your statement. Try either "select swa.* from sw_assets swa" or "select all from sw_assets swa", that should get around the problem.
    Also (just being thorough) make sure that you specifically created your statement as being updatable (stmt = conn.createStatement(ResultSet.TYPE_SCROLL_INSENSITIVE, ResultSet.CONCUR_UPDATABLE) ).
    I would not normally expect a NullPointerException when encountering this "feature", but then I don't often use the ODBC bridge.
    Good luck! I hope this helps.

  • Error while making connection with remote oracle database

    Dear,
    I am trying to make connection with oracle database but when i run java file it's raise an error "classnotfoundexception oracle.jdbc.driver.oracledriver"
    DriverManager.getConnection(
      "jdbc:oracle:thin:@erp:1521:ORCL", "apps",
      "apps");
    Pls any body have idea.
    Thanks.

    Thanks for support.
    Below is error which i am getting while making connection with remote database.
    C:\Program Files\Java\jdk1.7.0_05\bin>java OracleJDBC
    -------- Oracle JDBC Connection Testing ------
    Where is your Oracle JDBC Driver?
    java.lang.ClassNotFoundException: oracle.jdbc.driver.OracleDriver
            at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
            at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
            at java.security.AccessController.doPrivileged(Native Method)
            at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
            at java.lang.ClassLoader.loadClass(ClassLoader.java:423)
            at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
            at java.lang.ClassLoader.loadClass(ClassLoader.java:356)
            at java.lang.Class.forName0(Native Method)
            at java.lang.Class.forName(Class.java:186)
            at OracleJDBC.main(OracleJDBC.java:13)
    Advice.

  • Connect to Oracle Database

    Hi
    I have used excel and vba to get data from an oracle database but now I have begin to use Visual Studio Express to do the same thing but with no luck.
    Here is the code i use in excel.
    Sub ConnetToOracle()
    Dim cn As ADODB.Connection
    Dim rs As ADODB.Recordset
    Dim strsql As String
        Set cn = New ADODB.Connection
        Set rs = New ADODB.Recordset
        cn.Open "Driver=Microsoft ODBC for Oracle;Server=SERVER;UID=USERNAME;PWD=PASSWORD;"
        strsql = "SELECT DESCRIPTION FROM TABLE"
        rs.Open strsql, cn, adOpenForwardOnly, adLockOptimistic
            Do While Not rs.EOF
                MsgBox rs.Fields(0)
            rs.MoveNext
            Loop
        If rs.State = adStateOpen Then
            rs.Close
            Set rs = Nothing
        End If
        cn.Close
        Set cn = Nothing
    End Sub
    Now I want to do the same in Visual Studio Express but no luck.
    I can connect to an SQL server but not to Oracle.
    Please giv me some help.
    Thanks in advance.

    Perhaps the answer here can help you:
    http://www.codeproject.com/Questions/509242/ConnectingplusVBplustoplusmyplusoracleplusDB
    This article also addresses your issue:
    http://support2.microsoft.com/kb/308071/en-us

  • Help: Creating a cluster for Oracle Database

    In school, we've been testing the grid infraestructure, ASM and oracle database
    but now, for a research, we should be able to install, Grid+Asm and oracle database Using at least 3 computers
    where should we start?
    we want to install all of them since the begining, I mean, A network. Operating system on each computer, disk slices for the ASM, and the Oracle database.
    thanks in advance!

    1. Install OS
    2. Set IPs on DNS
    3. Prepare the disk storage for ASM
    4. create users,groups and directory,
    5. install package requirements (see documentations or MOS)
    6. runclufy to verify if the systems are ready to be installed
    7. install grid infra
    8. create diskgroup in asm
    9. install oracle software
    10. create database
    11. verify installation
    and the last one is please read http://download.oracle.com/docs/cd/E11882_01/install.112/e17214/toc.htm for full details. post here if you encounter problems
    Cheers
    Edited by: FZheng on May 21, 2011 7:18 PM

  • Error  when  starting repository browser listener on Oracle Database

    I have successfully installed oracle database 11g release2 (11.2.0.2.0). The associated Oracle Warehouse Builder 11g Release 2 (11.2.0.3.0) Standalone Software works fine, everything is ok.
    Now I want to start Repository Browser. So, I must run the startowbbinst.bat file from directory oracle_home/owb/bin/win32 (oracle_home for oracle database ), but I receive this:
    - call setowbenv.bat
    *Error initializing server: Error initializing _logger for ../log/server.log: Access is denied*
    Fatal error: server exiting
    Please help me !!!!!!

    login to below url
    http:/hostname:port/webdynpro/dispatcher/sap.com/com.sap.xi.adminweb/AdminApp
    clcik on Java Web Start Administration and Click on Restore Archives
    and refer below thread:
    http://forums.sdn.sap.com/thread.jspa?threadID=1792753

  • SQL Developer can't connect  Oracle Database as SYSDBA

    Dear all,
    Recently,I installed SQL Developer3.0 on my machine,and try to create connection to local oracle database.But one problem confused me.When i login as normal role ,it can connect DB successfully; when i login as sysdba role named sys,it always failed and show" invalid username/password".I am sure the username and password are right ,because i haved connected the oracle DB by pl/SQL with the same username and password. And i also choosed the role as sysdba. Does SQL Developer3.0 not support connect as sysdba? I would very appreciate if someone could give me a hand .Thanks in advance.

    Hi 851634,
    Do you require a password file for remote sysdba (old link)?
    Cannot login as sysdba in Oracle Enterprise Management Console
    You may be trying to log in (loopback) over the network as sysdba which needs a password file.
    -Turloch
    SQLDeveloper team

  • DTrace probes for oracle database 10g in solaris 10

    Hi guys,since a mounth i`ve learnt about solaris DTrace and its D scripts and tried to look for probes for administrating oracle database but til now,nothing!so my question,does there DTrace probes for oracle application ?i really need it now,that`s my project:tracing oracle with DTrace in solaris 10 SPARC!anyone can help me pleaaase!!!

    Hey!!of course that's a great site but U know,i've already visit it and it doesn't talk about probes for oracle!!howeiver i thought about another option,how do u think about exploiting oracle instance...i mean,do u think it's possible to monitoring oracle processes (LWGR,PMON,DBWR,SMON,...) with DTrace by using providers?like fbt or io,i don't know much!!remember,the aim is monitoring oracle database performance !!
    regards!

  • How to merge data from SQL server to Oracle Database

    Dear Expert,
    I am having problem with SQL server with Oracle.
    Problem: I want to merge table records from SQL server to Oracle Table. Which License free tool I can use to achive the goals.
    If I able to make a free DB link from Oracle to SQL server , then we can select table and will be able to update.
    Right now I have made a DB link from SQL server to Oracle, Using that I can see the records from oracle database but I can't update them.
    Thanks,
    Sher

    Hi,
    What about using Oracle SQL Developer for migration
    http://www.oracle.com/technetwork/database/migration/sqlserver-095136.html
    HTH

  • Upload a file into Oracle database without using a temp file in the server.

    Hello.
    I need to upload a file into a Oracle database, but I have not permission to write a temp file in the aplication server. Because of this, I can't use a MultipartRequest object.
    Does anybody know how to do this?
    Thanks everybody for your help.

    You can still use a MultiPart request.
    Use the Apache FileUpload package.
    Get the InputStream of the file being uploaded.
    Now you can either store the file in memory by writing to a java.io.ByteArrayOutputStream or you can save the file to Oracle by writing it to a java.sql.Blob object using the Blob.setBinaryStream method. This Blob object can then be persisted to Oracle.
    Unfortunately I don't have sample code readily available.

  • Is there any oracle database for windows 7 64 bit

    hi,
    can any one tell me that is there any oracle database for windows 7 Home Basic 64 bit ( version 6.1).
    I have downloaded several versions oracle databases but none have worked.
    Thanks

    Hi;
    The answer is No as mention before. Please use certified platform which is mention in installation guide:
    Operating System Oracle Database for 32-bit Windows is supported on the following operating systems:
    Windows Server 2003 - all editions
    Windows Server 2003 R2 - all editions
    Windows XP Professional
    Windows Vista - Business, Enterprise, and Ultimate editions
    Windows Server 2008 - Standard, Enterprise, Datacenter, Web, and Foundation editions. The Server Core option is not supported.
    Note: Check My Oracle Support (formerly OracleMetaLink) for more information about Hyper-V support.
    Windows 7 - Professional, Enterprise, and Ultimate editions
    Windows Multilingual User Interface Pack is supported.
    Check:
    http://download.oracle.com/docs/cd/E11882_01/install.112/e16773/reqs.htm#CHDHGGFE
    Regard
    Helios

  • Error messages when sending date-time stamp to Oracle Database

      I have a complex application that communicates with an Oracle database.  One of the table values that gets written to the table is a date-time stamp.  Until recently, the user only required a date, and this was never an error. (The format String used was %d-%b-%Y)  Now they need a time-stamp as well, so I attempted to edit the format string input of the format date/time string function to include the time. I have tried numerous format strings, each of which returns an error on execution.  Depending on which format I use, I get one of 3 different error messages.  The really odd thing is that both the date and time always get stored in Oracle without any problem (regardless of what date-time I use, as long as I include the date and any part of a time stamp - I get the entire timestamp even if I only include %I for the hour).  The only issue is that LabVIEW generates an ODBC error if I try to include the time to the date-time stamp.  In other words, teh date/time stamp writes to the Oracle database, but an ODBC error occurs every time.  I've included a word doc with screen captures of the format strings used, the resultant date/time stamps written to Oracle and the error messages generated within LabVIEW. Any advice would be most appreciated.
    Attachments:
    Summary of ODBC Error messages related to date-time stamp.doc ‏65 KB

    Oracle has a standard date format: 12-Mar-2009 that it accepts as a string, but if you want more than that, you need to use the todate() function. I used this string going into the standard LabVIEW ''Format date/time sting vi' 
    to_date('%d-%b-%Y %H:%M:%S', 'DD-MON-YYYY HH24:MIS') to create the value needed for Oracle.
    Then I use standard format string to create SQL: insert into mytable (mydate) values(%s) and select * from my table where mydate = %s using the string above for %s.
    I think you can also define a global format for all time strings but I haven't bothered figuring that out.

Maybe you are looking for

  • Abstract class initialisation

    Hi, I have the following problem. What do you suggest? I have an interface A, abstract class B, B's subclasses C and D, and mainClass interface A abstract class B implements A {     B b;     public B(String desc)      if (desc.equals("C")) b=new C();

  • Session Usage

    Hi All, I have been assigned a job for an exsisting application where one of the problem is to make the proper usage of HTTPSession. I guess there has been a session leakage .i.e. Session are not invalidated properly when the user log outs of the app

  • Nokia 6300 firmware wishlist

    Hello! Let's give our suggestions for improving the Nokia 6300's firmware. Post feature requests, bugs and ergonomy issues. Contact list: * All the fields of a contact should be searchable (name, surname, phone number etc...) * The user should be abl

  • I have a copy of Photoshop 7.0 (I know...)

    I have a copy of Photoshop 7.0 (I know...) and I would like to install it on a Windows 7 PC -- will it?

  • Regarding SMS Feature

    Hi, Can anyone suggest how can we send sms through BPM. As per my knowledge, there is no API as such to support this feature in Oracle BPM10g. But, do we have any other way such including any external jars to send "SMS" through BPM. Please suggest. R