If we use result_cache_mode=force in oracle 11gr2 database then we don't ..

If we use result_cache_mode=force in oracle 11gr2 database then we don't need QSEl (third party software).
is the result cache feature is work same as qsel.
I am not able to find anything regarding it..please help...
http://www.qsel4oracle.com/FramePage_files/FramePageData.htm

I don't know anything about QSEL, but can guess that it is some sort of caching solution sitting on Oracle.
Ideally, RESULT_CACHE_MODE should not be set to FORCE, as it will try to cache each and every SQL (and its results for different bind values).
But, if you have reasonably big SGA and within that SGA, if you have reasonably big result cache and you do RESULT_CACHE_MODE=FORCE, then you might not need third party caching solution.
Key question is, how big is reasonably big? that depends on size of data you are dealing with.
Good thing about result caching is, it works for user defined functions as well.
Also, you can enable result caching in certain sessions and disable it in certain session.

Similar Messages

  • Cannot connect to Oracle 11gR2 database from SQL Server 2005

    Both SQL Server (Windows) and Oracle (Linux) are in 64bit environments.
    I have done the following on a Windows 2008 R2 with SQL Server 2005:
    Install InstantClient from Oracle Database 11g Release 2 Client (11.2.0.1.0) for Microsoft Windows (x64) to C:\Oracle
    Install oledb from 64-bit ODAC 11.2 Release 3 (11.2.0.2.1) for Windows x64 by executing install.bat oledb c:\oracle odac
    Note: Not sure whether 11.2.0.2.1 version of ODAC will cause any problem since I cannot find 11.2.0.1.0 version.
    I have checked the Allow inprocess of OraOLEDB.Oracle provider in SSMS.
    I have executed sp_addlinkedserver @server = 'ORACLE_TEST', @srvproduct = 'Oracle', @provider = 'OraOLEDB.Oracle', @datasrc = '##.##.##.##:1521/TEST'
    The ##.##.##.## is the ip address of the Linux server which has the Oracle 11gR2 database TEST.
    I have executed sp_addlinkedsrvlogin @rmtsrvname = 'ORACLE_TEST', @useself = 'FALSE', @rmtuser = 'xxxx', @rmtpassword = 'yyyy'
    The xxxx is the oracle username and yyyy is the password for the oracle user xxxx.
    I know the oracle database TEST is up since I have setup connection in Oracle SQL Developer having:
    ##.##.##.## as the hostname
    1521 as the Port
    xxxx as the username
    yyyy as the password
    TEST as the service name
    When I click Test Connection for the linked server ORACLE_TEST in SSMS, it just hang.
    When I issue a query like select count(*) from oracle_test..xxxx.table1, it just run forever. I'm not so sure how to query an oracle table. I have also tried select count(*) from oracle_test.xxxx.xxxx.table1.
    When I retype the password in the Linked Server Properties, it just run forever.
    Do I need to create a tnsnames.ora on the Windows machine?
    Do I need to change the tnsnames.ora on Linux machine?
    I'm very new to Oracle.

    This forum is dealing with connections from an Oracle database to SQL Server - so the Oracle database is the driving site and this is the way round from your linked server set up.
    As you're suing the instant client you might post your issue in the instant client forum:
    Instant Client

  • Enable hyperthreading for virtualized Oracle 11gR2 database (OEL57 64-bit)?

    We are virtualizing our Oracle 11gR2 databases (running on OEL57 64-bit) on Vmware 5.1. I've read information at various locations that hyperthreading is not recommended for Oracle 11g database. One example is here, however, I seen many more:
    http://bryangrenn.blogspot.com/2011/08/hyperthreading.html
    My issue is that Vmware themselves recommends enabling hyperthreading for virtualized Oracle databases in their Oracle Databases on VMware Best Practices Guide.
    Does anyone have any practical experience with this issue that can be shared? What are the advantages and disadvantages of enabling hyperthreading for our virtualized Oracle 11gR2 on OEL57 64-bit virtual machines
    Thanks, Fred
    Edited by: 995752 on Mar 30, 2013 11:26 AM

    995752 wrote:
    We are virtualizing our Oracle 11gR2 databases (running on OEL57 64-bit) on Vmware 5.1. I've read information at various locations that hyperthreading is not recommended for Oracle 11g database. One example is here, however, I seen many more:
    http://bryangrenn.blogspot.com/2011/08/hyperthreading.html
    If you read the comments on that blog you will see that the results are highly dependent on the type of CPU.
    The effects can also be dependent on the nature of the workload: you may have CPUs that are fine with an OLTP workload, but don't scale as you might hope with a DW workload.
    Regards
    Jonathan Lewis

  • Oracle 11gr2 database installation using ASM on standalone Server.

    Hello Guys,
    Environment is as below:
    Oracle 11gr2
    ASM
    Enterprise Linux Server release 5.5 (Carthage)
    I never did oracle 11gr2 installation using ASM and I need to install Oracle software on standalone server and then create database 11g Release 2.
    I have following doubts:
    1. Do we need to install Grid infrastructure software for standalone server as well ?
    2. Does Grid Infrastructure software comes separately or alongwith DB software ?
    3.Is Grid software same for RAC and standalone server setup ?
    4.Do we need to create user Grid for installation of Grid for standalone server as well ?
    can anyone give me full steps from scratch ?
    Regards,
    Edited by: LazyDBA11g on Apr 10, 2011 12:44 AM
    Edited by: LazyDBA11g on Apr 10, 2011 12:47 AM

    Hello sb,
    Please find below the output of desired commands:
    [oracle@yyy ~]$ id
    uid=54321(oracle) gid=54321(oinstall) groups=54321(oinstall),54322(dba)
    [oracle@yyy ~]$ env | sort
    _=/bin/env
    G_BROKEN_FILENAMES=1
    HISTSIZE=1000
    HOME=/home/oracle
    HOSTNAME=yyy.in
    INPUTRC=/etc/inputrc
    LANG=en_US.UTF-8
    LD_LIBRARY_PATH=:/u01/app/oracle/product/11.2.0/db_1/lib
    LESSOPEN=|/usr/bin/lesspipe.sh %s
    LOGNAME=oracle
    LS_COLORS=no=00:fi=00:di=00;34:ln=00;36:pi=40;33:so=00;35:bd=40;33;01:cd=40;33;0 1:or=01;05;37;41:mi=01;05;37;41:ex=00;32:*.cmd=00;32:*.exe=00;32:*.com=00;32:*.b tm=00;32:*.bat=00;32:*.sh=00;32:*.csh=00;32:*.tar=00;31:*.tgz=00;31:*.arj=00;31: *.taz=00;31:*.lzh=00;31:*.zip=00;31:*.z=00;31:*.Z=00;31:*.gz=00;31:*.bz2=00;31:* .bz=00;31:*.tz=00;31:*.rpm=00;31:*.cpio=00;31:*.jpg=00;35:*.gif=00;35:*.bmp=00;3 5:*.xbm=00;35:*.xpm=00;35:*.png=00;35:*.tif=00;35:
    MAIL=/var/spool/mail/oracle
    ORACLE_HOME=/u01/app/oracle/product/11.2.0/db_1
    PATH=/u01/app/oracle/product/11.2.0/db_1/bin:/usr/kerberos/bin:/usr/local/bin:/b in:/usr/bin:/home/oracle/bin
    PWD=/home/oracle
    SHELL=/bin/bash
    SHLVL=1
    SSH_ASKPASS=/usr/libexec/openssh/gnome-ssh-askpass
    SSH_CLIENT=172.20.1.139 4320 22
    SSH_CONNECTION=172.20.1.139 4320 172.20.1.11 22
    SSH_TTY=/dev/pts/1
    TERM=xterm
    USER=oracle
    Regards,

  • Can I Use Designer 6i on Oracle 9i database

    Please can I use designer 6i on an Oracle 9i database.
    I tried it and I could not log on as user SYS .
    Are there any configurations I need to do. What is the order of installation.
    Designer 6i - Forms 6i - Oracle 9i database
    or
    Forms 6i - Designer 6i - Oracle 9i database
    or
    Oracle 9i database - Designer 6i - Forms 6i
    I want to be sure that my installation was not faulty
    Reply urgently.
    Gloria Akika

    Hi,
    I'm currently using Oracle 9i DB and Dev/Des 6i. In my case I installed the 9i DB first since in order for me to succesfully create a repository I need a working DB first.
    I hope this helps.

  • Error while connecting to Oracle 11gR2 database instance

    Dear All,
    I installed Oracle 11g R2 on my local machine (laptop) successfully. Using Sql Developer I tried to connect to the instance (ORCL) but not able to connect to the server. Please let me know hw to configure tnsnames.ora, listener.ora, and sqlnet.ora files. I tried to configure those three files using Net manager, but since I am novice, I could not do it..
    Here are the details of my windows services related to oracle installation..
    OracleOraDb11g_home1TNSListener (started)
    OracleServiceORCL (started)
    Listener.ora
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (GLOBAL_DBNAME = ORCL)
    (ORACLE_HOME = C:\app\Administrator\product\11.2.0\dbhome_1)
    (SID_NAME = ORCL)
    (SID_DESC =
    (GLOBAL_DBNAME = ORCL)
    (PROGRAM = extproc)
    (SID_NAME = ORCL)
    (ORACLE_HOME = C:\app\Administrator\product\11.2.0\dbhome_1)
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = tgsdl022)(PORT = 1521))
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = extproc))
    ADR_BASE_LISTENER = C:\app\Administrator\product\11.2.0\dbhome_1\log
    tnsnames.ora
    ORACLR_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
    (CONNECT_DATA =
    (SID = CLRExtProc)
    (PRESENTATION = RO)
    LISTENER =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
    (CONNECT_DATA =
    (SID = ORCL)
    (PRESENTATION = RO)
    ORCL =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = tgsdl022)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = ORCL)
    sqlnet.ora
    SQLNET.AUTHENTICATION_SERVICES= (NTS)
    NAMES.DIRECTORY_PATH= (TNSNAMES, EZCONNECT)
    ADR_BASE = C:\app\Administrator\product\11.2.0\dbhome_1\log
    As per my guess, entries in tnsnames.ora, and listener.ora are not appropriate. Please help to configure the correct values in those files.
    Thanks and Regards
    Santosh

    910192 wrote:
    Dear All,
    I installed Oracle 11g R2 on my local machine (laptop) successfully. Using Sql Developer I tried to connect to the instance (ORCL) but not able to connect to the server. Please let me know hw to configure tnsnames.ora, listener.ora, and sqlnet.ora files. I tried to configure those three files using Net manager, but since I am novice, I could not do it..
    Here are the details of my windows services related to oracle installation..
    OracleOraDb11g_home1TNSListener (started)
    OracleServiceORCL (started)
    Listener.ora
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (GLOBAL_DBNAME = ORCL)
    (ORACLE_HOME = C:\app\Administrator\product\11.2.0\dbhome_1)
    (SID_NAME = ORCL)
    (SID_DESC =
    (GLOBAL_DBNAME = ORCL)
    (PROGRAM = extproc)
    (SID_NAME = ORCL)
    (ORACLE_HOME = C:\app\Administrator\product\11.2.0\dbhome_1)
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = tgsdl022)(PORT = 1521))
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = extproc))
    ADR_BASE_LISTENER = C:\app\Administrator\product\11.2.0\dbhome_1\log
    tnsnames.ora
    ORACLR_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
    (CONNECT_DATA =
    (SID = CLRExtProc)
    (PRESENTATION = RO)
    LISTENER =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
    (CONNECT_DATA =
    (SID = ORCL)
    (PRESENTATION = RO)
    ORCL =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = tgsdl022)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = ORCL)
    sqlnet.ora
    SQLNET.AUTHENTICATION_SERVICES= (NTS)
    NAMES.DIRECTORY_PATH= (TNSNAMES, EZCONNECT)
    ADR_BASE = C:\app\Administrator\product\11.2.0\dbhome_1\log
    As per my guess, entries in tnsnames.ora, and listener.ora are not appropriate. Please help to configure the correct values in those files.
    Thanks and Regards
    SantoshError msg?

  • Opening OEM for two Oracle 11gR2 Databases in the same web browser automatically log out.

    Hi to everyone,
    I have an issue regarding Oracle Enterprise Manager in 11gR2. I have two database (SWPROD, PDPROD) in a single server. When I open the OEM URL for  SWPROD it is successfully logged on but when I open the OEM URL for PDPROD and successfully logged on the other tab for SWPROD will automatically logged out. And when I switch to the other tab for PDPROD it is also automatically logged out. Both OEM URL is open in a single web browser like Mozilla Firefox. What would be the reason why both OEM URL will be logged out when I open them at the same time?
    Thank you for your incoming response.

    Well it seems the only way to clear these out of EM was to shut BOTH RAC nodes down and power them up one at a time.  Now the updates aren't shown as required and my compliance score is where it should be.
    Is this a bug ?  Seems pretty stupid to have to shut down both RAC nodes to fix this.  Powering a single RAC node off and back on did not clear this.
    Unless i'm missing something??

  • How to integrate oracle 11GR2 Database with OEM 12C

    Dear experts,
    I have installed Oracle Enterprise Manager Cloud Control 12c Release 2 Plug-in Update 1 (12.1.0.2) on windows 2008 64-bit version.
    how can I integrate my Oracle 11G R2 database with OEM.
    Thanks.

    Refer the following documents for promoting (discovering/adding) target database to EM 12c.
    Understanding Database Discovery in Enterprise Manager 12c Cloud Control (Note 1400463.1)
    Cloud Control for Oracle Database Assistant: Setup of Cloud Control to Manage Database Targets (Search Helper) (Note 1569848.2)
    Discovering, Promoting, and Adding Targets:
    http://docs.oracle.com/cd/E24628_01/doc.121/e24473/discovery.htm#CBAEGHBH
    HTH
    Mani

  • When I use SSIS for extract from OLAP Database, then the error random occurred,Error Code = 0x80040E05

     I have tired for this!
    When I use SSIS for extract data from ssas, that means,I use mdx query.
    then random error occured.
    Hope some one can understand my poor English....
    And the Error Info show below.
    Code Snippet
    Error: 0xC0202009 at Data Flow Task - For Individual User Tech Points, OLE DB Source 1 1 [31]: SSIS Error Code DTS_E_OLEDBERROR.  An OLE DB error has occurred. Error code: 0x80040E05.
    An OLE DB record is available.  Source: "Microsoft OLE DB Provider for Analysis Services 2005"  Hresult: 0x00000001  Description: "Error Code = 0x80040E05, External Code = 0x00000000:.".
    Error: 0xC004701A at Data Flow Task - For Individual User Tech Points, DTS.Pipeline: component "OLE DB Source 1 1" (31) failed the pre-execute phase and returned error code 0xC0202009.

    I have had the same error on SQL2008 and now on SQL2012 SSIS, but have been able to eliminate / workaround.
    We have a Loop Container in our Control flow that contains a data-flow task with an MDX source. The MDX query for the data-flow source is dynamically built (via an expression) on each iteration of the Loop container (however it always returns the "same shaped"
    results - only the filters in the WHERE clause are different).
    We've found the error to be somewhat intermittent - sometimes the package will complete successfully, other times it will fail with the 0x80040E05 error at varying iterations thru the container loop.
    To alleviate the problem we setup the SQL Agent job-step for this package to re-try on failure for up to 5 retries - not an ideal workaround, but it helped to improve the success rate of the Job.
    We have no idea why this error is occurring or what is causing it, however it appears to be timing-related in some way and I have only seen the issue when using a SSAS OLE-DB data source with a dynamically generated MDX query. I have managed to virtually
    eliminate the error from occurring with a not ideal workaround in the SSIS package - no idea why this works/helps (hopefully Microsoft will be able to work it out and resolve the issue as it's been plaguing us since SQL2008 and is still here in SQL2012
    SP1...
    Workaround for MDX causing 0x80040E05 error:
    Within our loop container we have added a Script task with OnSuccess precedent constraint to the data-flow task that contains the dynamically generated MDX source query. The script task simply introduces a WAIT in the processing immediately after the
    data-flow task completes of about 5 seconds, before allowing SSIS to continue with the next iteration (e.g. System.Threading.Thread.Sleep(5000)).
    With this delay in place we have had much more stable SSIS package executions - dont know why, but that's what we havce observed. Also note that when we migrated to SQL2012 SSIS packages the 0x80040E05 error returned, however we were able to eliminate it
    once more by increasing the WAIT time to 10 seconds on this script task.
    Now waiting for 10 seconds is not an ideal solution / workaround to this problem - particularly when it is contained within a Loop Container (in our case it has added nearly 30 minutes of "WAIT time" to the package execution duration), however this workaround
    is better than having the package fail 80%+ of the time...
    regards,
    Piquet

  • Question regarding shared_pool sizes in Oracle 11gR2

    Hi! I administer an Oracle 11gR2 database that runs on IBM hardware, OS AIX 6.1. The LPAR has 44 Gb of available memory and 8 dual-core processors assigned.
    Normally, everything runs fine and we have no problems. Today the database started rejecting connections suddenly. The issue lasted for about 14 minutes and then cleared itself. When checking the alert log, it indicated an out of memory problem with the shared_pool, ORA-4031 error.
    I am utilizing the automatic memory management feature of 11g, and memory_max_target is set to 14 Gb. I am going to increase memory_max_target to 18 Gb as part of my solution, but will that also then increase the size of the shared_pool in the SGA? Is it best to let the database manage the size of the shared_pool, or can (and should) I set it to a minimum size?
    Any help, or links to documentation or MOS notes, is greatly appreciated. Thank you!
    Mark

    Before suggesting you change your memory managment in use I would want more information such as how long have your been running the system this way?  How long had the system been running since its last startup?
    If you have access to the AWR then what does the AWR report for the problem period show?  Any unusual activity?  Were any new features or major processing added to the application recently.
    When you look at the memory management views how frequently does Oracle move granules from PGA to SGA, from the buffer cache to the shared pool and so on.
    The following support note may help with trying to investigate what issues you face in relation to ORA-04031 providing the issue re-occurs.
    Oracle document# 1088239.1 Master Note for Diagnosing ORA-4031
    HTH -- Mark D Powell --

  • Oracle 11gR2 certification for Oracle Linux 6

    Hello,
    According to Oracle documentation, database certification and support for Oracle 11gR2 under Oracle Linux starts with 11.2.0.3.
    I was wondering if this might have anything to do with the i386 software prerequisites. Speaking of Oracle 11gR2 x86_64, the need for i386 libraries was removed with 11gR2 11.2.0.2. Or in other words, one can go straight to 11.2.0.2 without the need to install any 32-bit libraries.
    Under Oracle Linux 5 x86_64, the "oracle-validated" package triggers the installation of several i386 packages. Under Oracle Linux 6 x86_64, the oracle-rdbms-server-11gr2-preinstall package uses x86_64 only. Under Oracle Linux 6, i386 changed to i686.
    For what it's worth, I have installed Oracle 11gR2 database 11.2.0.1 under Oracle Linux 6.1 to 6.3, both x86_64, simply by using the oracle-rdbms-server-11gr2-preinstall package, and so far have not noticed any problems. Is there some information available, why 11.2.0.1 (x86_64) should not be used or is not certified for Oracle Linux 6 (x86_64)?
    Thanks.

    I was afraid of that. Since the question is Oracle Linux 6 specific, I thought I'd try my luck here, thinking that if I get an answer, then probably here. Maybe it was not very realistic to get an answer anyway.
    For what it's worth. Using "oracle-validated" under Oracle Linux 5, and "oracle-rdbms-server-11gR2-preinstall" under Oracle Linux 6, I was able to install Oracle 11gR2 11.2.0.1 just fine, both platforms x86_64 and 32-bit. I have not found any operational issues yet and it seems to run perfectly well.
    The only trouble I had was with Grid Infrastructure 11.2.0.1, and here 11.2.0.3 is indeed required for it to install. I made a custom patch, just a few lines and after that 11.2.0.1, both x86_64 and 32-bit installed just fine and is fully operational.
    I'm though I could post the patch. I guess it might make those people happy who do not have access to Oracle support and download 11.2.0.3. The patch will allow them to use the 11gR2 OTN version and install it under Oracle Linux 6. It won't be certified, but it is good enough for the purpose of education.
    I'm closing the thread.

  • Oracle 11gR2 on Oracle Enterprise Linux 6

    Hi,
    I have recently reconfigured by old PC as a Linux box use OEL 6 and have installed Oracle 11gR2 database on it. I can access the database control via firefox on this PC. I also have a laptop running 64-bit Windows 7.
    On this laptop I have installed putty, Oracle 11g Client, SQLDeveloper 3 and JDeveloper 11g. I have added an entry for my linux box to the hosts file in the c:\windows\system32\drives\etc directory.
    I can connect to the linux box using putty and the hostname value from the hosts file, however when I try to create a database connection in SQLDeveloper or Jdeveloper using the hostname, port and service name for my database I get the following error:
    "The Network Adapter could not establish the connection".
    Also when I try to access the database control via Google Chrome on my laptop it times out.
    Cheer,
    Cameron.

    barney wrote:
    Hey Ed,
    I proceeded to add the entry to the /etc/hosts file on the server and deinstalled oracle. The hosts file now looks like :
    127.0.0.1 localhost.localdomain localhost
    ::1 localhost6.localdomain6 localhost6
    192.168.2.3 ol6-112.localdomain ol6-112
    Once the deinstallation process completed I restarted the server added the following to the .bash_profile of the oracle user - "ORACLE_HOSTNAME=ol6-112.localdomain; export ORACLE_HOSTNAME" and then proceeded to run the oracle installer again reinstall oracle and create a database.
    The listener is now using the new entry in the hosts file but I still can't connect to the database via SQL Developer or JDeveloper on my laptop.
    And what - exactly - is the error message now?
    The listener.ora file now looks like:
    # listener.ora Network Configuration File: /u01/app/oracle/product/11.2.0/db_1/$
    # Generated by Oracle configuration tools.
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
    (ADDRESS = (PROTOCOL = TCP)(HOST = ol6-112.localdomain)(PORT = 1521))
    ADR_BASE_LISTENER = /u01/app/oracle
    Regards,
    Cameron.from the db server:
    lsnrctl statusfrom your laptop
    ping ol6-112
    tnsping orcl

  • Dataguard installation oracle 11gr2 on windows 2008 server

    Hi,
    I have oracle 11gr2 database on windows 2008 server. I have been given a primary and secondary server with the same setup.
    Now i want to install dataguard. AFter installing i need to test it for disaster recovery.
    Can anyone please suggest me a document for this? I searched in this forum but i couldnt get any.
    Please help.

    An obvious place to look at is our Online Documentation about Data Guard Installation:
    http://download.oracle.com/docs/cd/E11882_01/server.112/e17022/toc.htm
    See
    3 Creating a Physical Standby Database
    there.
    There is not much special-Windows for Data Guard - of course you need to create Windows Services for both Databases etc. as described here:
    http://www.oracle.com/pls/db112/portal.portal_db?selected=11&frame=#microsoft_windows_installation_guides
    Kind regards
    Uwe Hesse
    http://uhesse.wordpress.com

  • Oracle 11gr2 - change character set from utf-8 to weiso8859p15

    Hi guys,
    I've a new and empty oracle 11gr2 database for my test environment, during the installation i've choosed the UTF-8 character's set but now i've see that in the production environment there is the WEISO8859 character's set.
    I have a dump of the prod. env. (done with Exp function).
    How can I change the character set from utf-8 to weiso8859p15 ?
    I found this procedure:
    SHUTDOWN IMMEDIATE or a SHUTDOWN NORMAL;
    STARTUP MOUNT;
    ALTER SYSTEM ENABLE RESTRICTED SESSION;
    ALTER SYSTEM SET JOB_QUEUE_PROCESSES=0;
    ALTER SYSTEM SET AQ_TM_PROCESSES=0;
    ALTER DATABASE OPEN;
    ALTER DATABASE NATIONAL CHARACTER SET new_character_set;
    SHUTDOWN IMMEDIATE; -- or SHUTDOWN NORMAL;
    STARTUP;
    is it correct ?
    Thx.
    Kind Regards,
    Stefano.

    evil.stefano wrote:
    Hi guys,
    I've a new and empty oracle 11gr2 database for my test environment, during the installation i've choosed the UTF-8 character's set but now i've see that in the production environment there is the WEISO8859 character's set.
    I have a dump of the prod. env. (done with Exp function).
    How can I change the character set from utf-8 to weiso8859p15 ?
    I found this procedure:
    SHUTDOWN IMMEDIATE or a SHUTDOWN NORMAL;
    STARTUP MOUNT;
    ALTER SYSTEM ENABLE RESTRICTED SESSION;
    ALTER SYSTEM SET JOB_QUEUE_PROCESSES=0;
    ALTER SYSTEM SET AQ_TM_PROCESSES=0;
    ALTER DATABASE OPEN;
    ALTER DATABASE NATIONAL CHARACTER SET new_character_set;
    SHUTDOWN IMMEDIATE; -- or SHUTDOWN NORMAL;
    STARTUP;
    is it correct ?NO
    leave the character set alone.
    UTF-8 will not be a problem.

  • Issue after succesfully loading xml into 11gr2 database

    Hi All,
    I'm currently experiencing an issue with a project I'm working on at a customer:
    I have succesfully loaded multiple xml files into the Oracle 11gr2 database using sqlloader and since the intention is to be able to query the loaded data, it needs
    to be transferred from the xml table to a 'normal' table, which also went ok.
    Since most of the XML files contain multiple records, i've used the fn:string-join option in the insert into....select statement and used a ; as delimiter.
    This is where I've encountered the thing that I can't seem to find a solution for.
    When there's multiple records in the xml file it inserts all the records into one record.
    So say i've got an xml file containing info for a bunch of electricity meters consisting of the fields brand, supplier, type for 3 records (actual files can be uploaded if neccesary)
    inserting the data by using the above construction gives me the following data in the destination table:
    Brand
    BrandA;BrandB;BrandC
    Supplier
    Company1;Company2;Company3
    Type
    Type1;Type2;Type3
    How do I split up the above info so that every separate record from the imported xml file lands in its own record?
    Thanks in advance!
    Cheers,
    E.

    Thanks, I'm curious on how you'll demo it
    Here's the sample xml file:
    <?xml version="1.0" encoding="UTF-8"?>
    <!--XML file generated by Protocol Manager-->
    <tns:Main Company="Company" Supplier="Supplier" xmlns:tns="http://schema.dsmr22plus.com/delivery/v1.0.5" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://schema.dsmr22plus.com/delivery/v1.0.5 ..\..\..\xmllib\bla\DeliveryFile.xsd">
    <tns:Header DeviceType="ME382-D1 GPRS" BatchNumber="NC2043W_59" /><tns:DeviceAttributes YearOfManufactory="2011" CoreFirmwareVersion="14DA21B4B6F53C47613466AF8C263209" SerialNumber="50727236" OperationalFirmwareVersion="B330EBC763450ADC3E0C11F9BA0EA732" HardwareVersion="20611978">
    <tns:Emeter>
    <tns:DSMRAttributes DSMRVersion="2.3" BatteryType="Supercap type SG" EquipmentIdentifier=" KAL7005072723611" KemaGastecCode="KAL7" GOVersion="1" />
    <tns:GPRS>
    <tns:DlmsAttributes GlobalEncryptionKeyUnicast="xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" GlobalEncryptionKeyBroadcast="xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" P0Password1="12345678" AuthenticationKey="xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" HDLCPassword="12345678" MasterKey="xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" />
    <tns:GPRSCommunicationAttributes>
    <tns:SimCard MSISDN="" ICCID="8931084811080544999" CommunicationProviderBatchId="5765" IMSI="204080800339599" CommunicationProvider="KPN" />
    <tns:Modem IMEI="353471006235660" PPPPassword="xxxxxxxxxxxxxxx" PPPUsername="KAL7005072723611" />
    </tns:GPRSCommunicationAttributes>
    </tns:GPRS>
    </tns:Emeter>
    </tns:DeviceAttributes>
    <tns:DeviceAttributes YearOfManufactory="2011" CoreFirmwareVersion="14DA21B4B6F53C47613466AF8C263209" SerialNumber="50727237" OperationalFirmwareVersion="B330EBC763450ADC3E0C11F9BA0EA732" HardwareVersion="20611978">
    <tns:Emeter>
    <tns:DSMRAttributes DSMRVersion="2.3" BatteryType="Supercap type SG" EquipmentIdentifier=" KAL7005072723711" KemaGastecCode="KAL7" GOVersion="1" />
    <tns:GPRS>
    <tns:DlmsAttributes GlobalEncryptionKeyUnicast="xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" GlobalEncryptionKeyBroadcast="xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" P0Password1="12345678" AuthenticationKey="xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" HDLCPassword="12345678" MasterKey="xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" />
    <tns:GPRSCommunicationAttributes>
    <tns:SimCard MSISDN="" ICCID="8931084811080544981" CommunicationProviderBatchId="5765" IMSI="204080800339598" CommunicationProvider="KPN" />
    <tns:Modem IMEI="353471006235450" PPPPassword="xxxxxxxxxxxxxxx" PPPUsername="KAL7005072723711" />
    </tns:GPRSCommunicationAttributes>
    </tns:GPRS>
    </tns:Emeter>
    </tns:DeviceAttributes>
    </tns:Main>
    Edited by: user6357028 on 12-Nov-2012 04:55

Maybe you are looking for

  • [Openbox]xcompmgr(flickers) and cairo-compmgr(bug opera)

    Godd evening, I am facing problems with xcompmgr-git and cairo-compmgr under openbox. Let's start with xcompmgr-git: -flickers(the desktop) when I minimize, enlarge or close a window used command-line xcompmgr -cCfF -t-5 -l-5 -r4.2 -o.55 -D6 here's t

  • IDOC AND ALE

    Hi experts, I am new to IDOC and I want to learn IDOC AND ALE .So pls send me some scenario and process with screen shots to my mail id ([email protected]) so that i can learn. Thanks, DJREDDY.  ([email protected])

  • How to access last object in a Collection.

    Hello. I'm trying to figure out how to access the last element in a collection. This is how I have it coded now: Collection coll = someMethodThatReturnsACollectionOfMyTypes( ); Iterator It = coll.iterator( ); MyType myType = null; while ( It.hasNext(

  • Birthday year (Question)

    Hello! Do we really have to put the person(s) birthday year in the address book? Is there anyway, just have there month/date instead? Thanks, James

  • Kindly reply, its urgent

    hi all, i am creating a subscription site, i will send a mail to subscriber. So i want to know 1. weather he opened my mail or not 2. Which links he clicked. kindly send me the code if possible, or just explain how will it be possible my id is [email