serving tables

Hello

How can we purge/reset tables (data) such as v$ sql, v$ sqlarea and all others outside the instance is restarted?

Thank you!

>
It is a good recommendation for a production environment? I mean... Is it necessary to play frequently?
>
Thanks for mentioning that. I should have told that should be used on a development/test instance. not on any instance shared and certainly not of production.

Tags: Database

Similar Questions

  • Loading a SQL Server table

    Hi all
    I develop a right source - target interface table of sql server in a sql server table. When executing the interface, I get an error - message
    "Cannot insert an explicit value for identity in the 'xxx' table column when IDENTITY_INSERT is set to OFF."

    After investigation, it appears that I need to run-

    SET IDENTITY_INSERT ON of xxx
    GO

    This performance is specific session, that is to say, I have to run this statement every time ODI inserts into the target table. Is it possible that I can have the tool run this statement?

    TIA


    MN


    Version of the ODI - 11 g
    Source - SQL Server 2008 R2
    Target - SQL Server 2008 R2

    Not exactly the IKM XML, but change in the designer required used IKM.

    for security reason provide a duplication of your IKM (right-click - duplicate) and to make the necessary changes to this copy, so that, even if something goes wrong. you will not alter the original.

    hope that I have answered your question.

  • Question: insertion of several lines in the MS Sql Server table using the DB adapter

    Hi all

    I managed to insert a single row in a table of MS SQL Server via the adapter DB to my process BPEL, but when I tried to insert in mutiple lines in the same table of MS SQL server, I encounter the error below.

    I use a DB SQL XA connection to connect to the server.

    Kindly help me to solve the problem. Thanks in advance.

    Error:

    " < bpelFault > < faultType > 0 < / faultType > < remoteFault xmlns =" http://schemas.Oracle.com/BPEL/extension "> < a name ="summary"part > < summary > exemption is is produced when the binding was used." Exception occurred during invocation of the JCA binding: "JCA binding run 'merge' reference operations have to: DBWriteInteractionSpec Execute Failed Exception." the merger failed. The descriptor name: [LoadCmpAggSpendStage.SapTable]. Caused by com.microsoft.sqlserver.jdbc.SQLServerException: incorrect syntax near ')'... Check the logs for the record output full DBAdapter before this exception. This exception is considered as reproducible, probably due to a communication failure. To be classified as not reproducible rather add property nonRetriableErrorCodes with the '102' value in the deployment descriptor (i.e. weblogic - RA.Xml). Auto retry a reproducible fault set composite.xml for this invoke these properties: jca.retry.interval, jca.retry.count and jca.retry.backoff. All properties are integers. ". The called JCA adapter threw an exception of resource. Please examine the error message above carefully to determine a resolution. < /Summary. (> < / piece > < part name = "detail" > < detail syntax > incorrect near ')'. < / details > < / piece > < part name = "code" > < code > 102 < / code > < / piece > < / remoteFault > < / bpelFault >

    Kind regards

    Balaji Rahmani

    It seems that in this case is called merge operation. If existing records (check primary key) are not there then it will be inserted on the other update. Check the syntax of the query that is created. It looks like she may have a supplement "). If you want to only insert then call insert operation and not merge.

  • ORA-28500 and ORA-02063 when querying sql server tables.

    Hello

    I am getting below error when querying (also with oracle reports) talbes of MS SQL 2008 database who have more lines. There is no problem with tables with less number of lines.
    ORA-28500: connection between ORACLE and a non-Oracle system has sent this message:
    ORA-02063: preceding line from SQLSERVER

    When I asked "select *"Areas"@sqlserver;", it is retriving 195 lines and then the display above error.» This table contains 10716 lines.

    Here are the details of our environment:

    Database Oracle 11 G RAC (2 knots) on RHEL 5 64 Bit, MS SQL 2008

    ODBC. INI
    [oracle@proddb1 ~] $ cat /etc/odbc.ini
    [ODBC data sources]
    MSSQL = MS SQL Server

    [mssql]
    Driver=/opt/Microsoft/SQLNCLI/lib64/libsqlncli-11.0.so.1790.0
    Database = Ksa_Fakieh_SFA
    LogonID = OracleUser
    Password=0r@cle999
    Server = SJSQLV01.fakiehgroup.com
    QuotedId = YES
    AnsiNPW = YES
    [ODBC]
    IANAAppCodePage = 4
    Trace = 0
    UseCursorLib = 0
    UseCursorLib = 0


    INIT FILE:

    [oracle@proddb1 ~] $ cat $ORACLE_HOME/hs/admin/initDG4ODBC.ora
    # This is an example of initialization file of the agent that contains the HS settings
    # necessary for the database to ODBC gateway

    #
    # HS init parameters
    #
    HS_FDS_CONNECT_INFO = mssql
    HS_FDS_TRACE_LEVEL = off
    HS_FDS_SHAREABLE_NAME = /usr/lib64/libodbc.so
    HS_FDS_SUPPORT_STATISTICS = FALSE
    HS_LANGUAGE = AMERICAN_AMERICA. AR8MSWIN1256
    HS_NLS_NCHAR = UCS2
    #
    # ODBC specific environment variables
    #
    Set ODBCINI=/etc/odbc.ini
    #


    Listener.ora:

    # ###############################################################

    #

    TRACE_FILE_LISTENER_PRODDB1 = fakieh1

    LISTEN_DG4ODBC =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP (PORT = 1511))(HOST = proddb1.fakiehgroup.com))
    )
    )
    SID_LIST_LISTEN_DG4ODBC =
    (SID_LIST =
    (SID_DESC =
    (ORACLE_HOME = u01/oracle/fakieh/db/tech_st/11.1.0) (SID_NAME = DG4ODBC)
    (ENV="LD_LIBRARY_PATH=/usr/lib64:/u01/oracle/fakieh/db/tech_st/11.1.0/lib')
    (PROGRAM = dg4odbc)
    )
    )

    #
    # Definition of RAC database listener
    #

    LISTENER_PRODDB1 =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADRESSE = (PROTOCOL = TCP) (HOST = proddb1 - vip.fakiehgroup.com) (PORT = 1521)(IP = FIRST)))
    (ADDRESS_LIST =
    (ADRESSE = (PROTOCOL = TCP) (HOST = proddb1) (PORT = 1521)(IP = FIRST)))
    )
    )

    SID_LIST_LISTENER_PRODDB1 =
    (SID_LIST =
    (SID_DESC = (ORACLE_HOME = /u01/oracle/fakieh/db/tech_st/11.1.0)(SID_NAME = fakieh1))
    )

    STARTUP_WAIT_TIME_LISTENER_PRODDB1 = 0
    CONNECT_TIMEOUT_LISTENER_PRODDB1 = 10
    TRACE_LEVEL_LISTENER_PRODDB1 = OFF

    LOG_DIRECTORY_LISTENER_PRODDB1 = /u01/oracle/fakieh/db/tech_st/11.1.0/network/admin
    LOG_FILE_LISTENER_PRODDB1 = fakieh1
    TRACE_DIRECTORY_LISTENER_PRODDB1 = /u01/oracle/fakieh/db/tech_st/11.1.0/network/admin
    TRACE_FILE_LISTENER_PRODDB1 = fakieh1
    ADMIN_RESTRICTIONS_LISTENER_PRODDB1 = WE
    SUBSCRIBE_FOR_NODE_DOWN_EVENT_LISTENER_PRODDB1 = OFF


    IFile=/U01/Oracle/Fakieh/DB/tech_st/11.1.0/Network/admin/fakieh1_proddb1/listener_ifile.ora


    Thank you
    Mohammed.

    Mohammed,
    Without seeing the tracing information, it is difficult to say why this problem occurs.
    However, could you add the following to the file initDG4ODBC.ora gateway -.

    HS_RPC_FETCH_REBLOCKING = OFF
    HS_FDS_FETCH_ROWS = 1

    and try to select it again again SLQPLUS session and see if the same problem occurs?

    Kind regards
    Mike

  • Oracle on the SQL Server tables dblinked query error ORA-00904

    Hello

    I created a dblink to a SQL from Oracle database using generic connectivity.
    The following query returns the error ORA-00904 invalid identifier in the (tblEmp.Empno) WHERE clause

    SELECT 'EmpNo', "EmpName", "DeptName".
    OF tblEmp@sqlserver.
    tblDept@sqlserver
    WHERE tblDept.DeptNo = tblEmp.Empno

    I had to include the column names between double quotes because of the case review of the columns, but I can't do the
    same thing for the WHERE clause.

    (1) so how can I fix this error?
    (2) also how can I include the Deptno column with the table alias in the columns list?
    (Deptno is ambiguous in the Emp and Dept tables)

    Kind regards
    Sam

    Looks like you have case-sensitive column names, try this

    SELECT "EmpNo","EmpName", "DeptName"
    FROM tblEmp@sqlserver e,
    tblDept@sqlserver d
    WHERE d."DeptNo" = e."Empno" --<--- are you sure this is the correct join condition
    

    What should we not

    WHERE d."DeptNo" = e."DeptNo"
    

    Published by: Alex Nuijten on September 22, 2009 13:28

  • List TABLE on the linked server?

    In SQL Developer, I can see a list of TABLEs in the list of connections and data and the TABLE definition.

    I have a link DB giving access to a number of TABLEs on a different server. Is it possible to see a similar list of the available on the linked server TABLE?

    N ° you'll have to ask the views of dictionary on the link (all_tables@db_link and all_tab_columns@db_link, among others)

  • Move the RAID5 array to another server

    Had a RAID failure on an old PE2850. looked like two disks of default at the same time, which makes me suspect the PERC, not drives - especially because I moved the disks as a unit to another PE2850 and was able to mount it as a second table RAID (the new server OS on disk RAID1 disks 0 and 1, this table 2-5) and he acknowledged the table.

    However, I can't mount a Windows partition.  I start the operating system on the new server and Disk Manager recognizes there is a drive, but I can't use it unless I format it, who will become the object of all the activity, which is at this stage to draw sort of useful data in the coast of the Bay.

    Anyone can suggest a way to get this recognized by a new server table or card PERC or something?

    You would be able to connect to a PERC 4 controller, otherwise it will not recognize the VD.

    You could try editing under linux... sometimes that has a better tolerance (or the less different) for corrupted partitions/file systems. If the table of partition/filesystem is corrupted, you can also try the tools to try to fix it. If the damage is superficial, as they often work.

    You said that you had two disks fail... describe how you got the table online. It is important and can determine whether or not the other attempts to retrieve data are futile.

  • ARP table corruption. Command alias

    We use a PIX 501 and we saw very odd behavior that I can not explain, and have never seen mentioned anywhere. We have a lot of following proceedings on our firewall:

    access-list 100 permit tcp any host 216.x.x.x eq www

    public static 216.x.x.x (Interior, exterior) 10.10.10.10 netmask 255.255.255.255 0 0

    alias (inside) 10.10.10.10 216.x.x.x 255.255.255.255

    216.x.x.x is a registered domain name. It all works very well with one exception. Every time that a server inside the firewall performs a DNS lookup on the name it's given the properly aliased internal IP address. However, as soon as this product to the entry in the arp on demand (Win 2 K Server) table for the named server becomes the value the MAC address of the firewall instead of the MAC address of the server. This means that this server cannot participate in the network more. To resolve this, we are obliged to perform an arp static mapping for any server with an alias on all servers in our network.

    Anyone has an idea why this happens?

    You may need to disable the proxy arp on the interface?

    Sysopt noproxyarp inside

  • Write in MS SQL server forms 6i

    For the needs of the company. We must write in MS SQL server forms 6i:

    We have the system of attendance in time using MS SQL Server. We treat data from oracle and data needs to be inserted directly to the MS SQL Server tables.

    Forms 6i allows us to treat the oracle data.

    It is desirable that one could help us solve this problem.

    Kind regards

    Shareef

    Thanks to you all.

    I found this post useful:

    ORA-28545: error diagnosed by Net8 when connecting to an URGENT agent error

    which includes the following ORACLE notes:

    Note.561033.1 how to Setup DG4ODBC on 64 bit OS Unix (Linux, Solaris, AIX, HP - UX)

    Note.466228.1 how DG4ODBC Setup on Linux x 86 32 bit

    Note.466225.1 How to Setup DG4ODBC (database gateway for ODBC Oracle) on 32-bit Windows

    For our case, we think in a workaround.

    Once again. Thanks to you all. Your efforts are appreciated.

  • Oracle <>- MS SQL server, problem with DATE

    HS current options are:

    HS_FDS_TRACE_LEVEL = 255

    HS_FDS_SHAREABLE_NAME=/usr/lib64/libodbc.so

    HS_FDS_FETCH_ROWS = 1

    HS_FDS_SQLLEN_INTERPRETATION = 32

    The following image contains 2 screenshots.

    http://maslovd.no-IP.org/public/doc/date_problem.PNG

    1. selection of table of MS SQL server.

    2 selection in Oracle DB link.

    Any suggestions?

    I asked here, that is why the DateForm column are returned as data type-(9)SQL_WVARCHAR).

    Could you please post the SQL Server table definition?

    What's the FreeTDS version and on which platform did you configure DG4ODBC?

    - Klaus


  • Base Table vs table of master...

    Hello Experts;

    Advised to start the new thread

    Re: Append hint hint Vs Pareall


    According to materialized, any difference between the TABLE of BASE of MASTER TABLE Vs LOCAL?

    -I know it's a question very very basic but get confused by referring to some articles from oracle.

    ********************************

    SQL > CREATE VIEW MATERIALISEE TEST_QUERY
    REFRESH THE COMMIT
    Did YOU SELECT COLUMN_1, COLUMN_2 from emp;

    Here, the EMP is BASE TABLE... A query from clause containing is the main table.
    So I think that master table is another name of the local base table / base table. but some links saying something different.
    Please provide details...

    Thanks in advance...

    >
    Thanks for the reply... what you mentioned in your response... I read the official documentation... I'm clear with the OFFICIAL DOCS
    >
    Then you should be clear that the official docs use the term of "old masters" as this quote from doc, I give to the States.
    >
    This reference uses tables of masters"for consistency
    >
    Who should explain that statement you just do it too
    >
    It is not explained any information on "basic tables".
    >
    Because the official docs do not use the term "base table" when discussing the materialized views.
    >
    Remember, I said to get confused when it comes to some blogs of oracle.
    >
    That's why I ask you to provide the links you were talking about. Because you have only provided a link is all I can comment on.
    >
    The START WITH clause indicates the database when performing the first replication of the main table of the local base table.
    >
    In this particular quote the author refers to the table that represents the materialized view (MV) itself. A MV defines a table and this author refers to this table (the table that contains the data of MV) as 'the table in the local database.

    The author uses the same term "base table" in other places in the article to view the tables in the source of the MV. There is nothing wrong with that as long as we don't know what table is mentioned but the Oracle documentation uses the term "master tables.
    >
    I need some information on 'base/local table base table' - what?
    >
    Often, these terms are used to designate the 'masters' paintings of a MV. A MV can be based on a "remote" Server tables these tables would be called 'remote master paintings' by the docs of the Oracle, but may be referred to as 'remote base tables' by other authors. Means of "remote" on another data base; means "local" on the same database.

    Oracle docs use the term "basic tables" to refer to the normal shooting, but not for materialized views source tables.

    See the doc of database Concepts
    http://docs.Oracle.com/CD/B28359_01/server.111/b28318/schema.htm
    >
    How the views are stored

    Unlike a table, a view is not attributed to any storage space, nor a view contains it actually given. On the contrary, a view is defined by a query that retrieves or derived tables that refer to the data view. These tables are called base tables. Base tables can be in turn the actual tables or can be seen themselves (including materialized views). Because a view is based on other items, a view requires no storage other than storage for the definition of the view (stored query) in the data dictionary.

  • SOA calling a MS SQL table to insert data.

    Hello
    I configured a XA driver to insert data into the MS SQL Server table. When I execute the stream with a SOAP user interface. I was able to insert the data from MS SQL table. But in the end, the transaction is rolled back.


    I would ask you
    < soapenv:Envelope xmlns:soapenv = 'http://schemas.xmlsoap.org/soap/envelope/' xmlns:mvn = "http://xmlns.oracle.com/MVNEIDM/MVNESelfRegistration/MVNESelfRegistration" >
    < soapenv:Header / >
    < soapenv:Body >
    < mvn:MVNESelfRegistrationRequest >
    < mvn:subscriberId > 12345 < / mvn:subscriberId >
    < mvn:Keyword > 456 < / mvn:Keyword >
    < mvn:completionDt > 2013-02-06 T 16: 24:06.952 < / mvn:completionDt >
    < mvn:expirationdt > 2013-02-06 T 16: 24:06.952 < / mvn:expirationdt >
    < / mvn:MVNESelfRegistrationRequest >
    < / soapenv:Body >
    < / soapenv:Envelope >


    Erros on SOAP UI are:

    < env:Envelope = "http://schemas.xmlsoap.org/soap/envelope/" xmlns:env >
    < env:Header / >
    < env:Body >
    < env:Fault >
    env:Server < faultcode > < / faultcode >
    incorrect object name < faultstring > [FMWGEN] [SQLServer JDBC Driver] [SQL Server] ' dbo. SelfRegistration'. < / faultstring >
    < faultactor / >
    < detail >
    < exception / >
    < / details >
    < / env:Fault >
    < / env:Body >
    < / env:Envelope >

    The managed server log the error is


    Form weblogic server: -.
    Error committing transaction:; nested exception is: Exception [EclipseLink-4002] (Eclipse - 2.1.3.v20110304 persistence Services - r9073): org.eclipse.persistence.exceptions.DatabaseException internal Exception: weblogic.jdbc.sqlserverbase.ddc: invalid object name [FMWGEN] [SQLServer JDBC Driver] [SQL Server] ' dbo. SelfRegistration'. Error code: 208


    The process ends with an error, but why he is rolling abck the transaction at the end. The table of the object was existing in the database and I traced the table to insert the data from the input variable reception to invoke the input variable. BPEL Instance he executed until the end, but in the end, the transaction is rolled back.

    Thank you
    Newcomer Raja

    Invalid object name ' dbo. SelfRegistration'

    I'm assuming you can see a SelfRegistration table in your database... So, I guess that BOD is not the name of the diagram on the right...

  • Data migration from Oracle to SQL Server

    Hello

    I have the Oracle database in one or several table, I also blob data, i.e. images are stored, now I want to move that data to the sql server database, which is the best way to do this?

    I would like to test for a migration of the table that contains the image data in the Oracle database and invade the SQL Server table.

    How to test for an Oracle table data to SQL Server migration?

    But the first thing I want to confirm is that if the Image from Oracle DB to SQL Server DB data are possible? is there something must be supported during the migration?

    Thanks in advance.

    Kind regards

    Vishal

    Published by: 968331 on October 31, 2012 02:31

    I think that it is supported. The equivalent data type in sql server is IMAGE/varbinary (max)

    See the bottom of the article for the mapping of data types:

    http://weblogs.sqlteam.com/jamesw/archive/2010/07/28/datatypes-translation-between-Oracle-and-SQL-Server-part-1.aspx

  • I am new to FDQM I need to connect from the table Source 'Oracle '...

    This is the first time for me to do this, you have any Document to the connection on the Source table in Oracle, to any table target using FDQM
    is it valid?
    If valid how can I make the integration with FDQM...?
    I called ODI,
    Can be defined from any source to any target,
    In FDQM I can set to take data from the Source of the table is Oracle to load in the EPM or any target system.

    Published by: Joe on December 10, 2011 19:52

    Please refer to paragraph "Example of Script integration" on page 200 of the FDQM 11.1.2 administration guide.
    This example connects to a SQL Server table (you may have to tweak it a little so you can connect to Oracle table), but the example can give you a good impression of what is necessary to establish a direct link.
    Kind regards
    Jeroen

  • Migration from SQL Server to Oracle database

    I have 2 questions:

    1. we intend to convert our sql server databases oracle OLTP databases. I tried to use SQL Developer to migrate a database of small sql server to oracle (size 5 GB) database. It was fine. When I tried to migrate to a different database (size 90G), it takes too much time. The problem with sql developer is I can not pick and choose tables. 250 paintings, I need to migrate tables abt 80 (the size will be abt 50 G). What is everyone can share their experiences, as appropriate, converting databases of size average sql server for oracle databases? other options?

    2. I intend to convert the sql server ddl to oracle ddl. I have tested bcp out and use sql loader to import the data. Right now I am manually creating the oracle tables sql server tables. I use http://download.oracle.com/docs/cd/E11882_01/gateways.112/e12069/apa.htm#BABCIIDI to convert the code. Are there other ways better to convert sql DDL DDL Oracle Server?

    Thanks in advance

    DDLS must be converted manually. Oracle is not SQL-Server.

    If for example, you have the option of partitioning, you should consider using the partitioning index and when it is possible. Not all tables must be hash tables. Do postpone you creation of segment or not? What type of tablespace? Set yourself free percentages and allows you to manage when the data block is on the free list and how much is reserved in the block of data to update rows in this block?

    There are many considerations to be taken with regard to the physical database design.

    Using BCP and SQL * Loader sound good. SQL * Loader is fast and scalable - use it to load up to 3.6 million lines every 60 seconds. Direct and parallel charges will give the best performance in this regard (assuming that the underlying table structure and use supports this approach).

Maybe you are looking for

  • How 'UNSYNC' 2 iPhones?

    Recently, I changed my phone and gave my old to my daughter to be used as a glorified iPod touch (iMessage, music games and face time) my problem is that my iMessages are provided both devices... And vice versa... How can I stop this? When I tried to

  • iPhone 6 won't play the custom ring tone, lack of parts only

    My husband 6 (v9.2) IPhone has stopped playing its purchased, custom ringtone in the last week.  He is certainly on the personalized ring, we have turned on/turned off the phone twice, and yet he won't play, despite being put on the custom ring tone.

  • Alpha 12 switch Acer display problem (model: SA5-271)

    As soon as I got my Acer switch Alpha 12, I noticed that it would sometimes be flash 1 or 2 black bars thin horizontally on the screen. It doesn't seem to be the faults of material visible outside the unit. I had rather not risk opening up to watch t

  • I was completely locked out of my msn e-mail account

    Because I typed the password wrong too many times I've been absolutely locked out of my msn account.  Even when I type the password, I get an error message.  How can I get that back?  I would like to talk to a live person to resolve this, how can he

  • White screen of blackBerry Smartphones.

    Hey guys,. I have a white screen on my blackberry 9780. I already tried the following:1. I have pulled the battery several times but it didn't work.2. I tried a hard reboot, which also did not work.3. I used apploader to try to bring it to life, whic