Storage Capacity of Oracle 11g

Hi,
What would be the max storage capacity of Oracle 11g ? Is it only limited by the capacity of the storage media or there is some inherent limitation or its will depend on the OS on which the DB is installed ?
Thanks

In fact there are limitations:
- max. 65536 Tablespaces
- max. 128 TB per Bigfile TS
=> 8 Exabyte
of course more an abstract limitation or at the moment a limitation by storage ;-)
Torsten

Similar Messages

  • SQL Server 2008 Express R2 exceeds the storage capacity of Oracle XE

    Hello, here is a novelty: SQL Server 2008 Express R2 exceeds the storage capacity of Oracle XE, XE you still limited to 4GB of data from, the competition gets better and offers a bit more, XE remains the same, hopefully Oracle 11g XE exceeds storage and memory to SQL Server.
    [http://www.microsoft.com/express/Database/]
    Roberto.
    Edited by: rober584812 on Apr 27, 2010 5:09 PM
    Edited by: rober584812 on Apr 27, 2010 5:09 PM

    Yes, I do good work is correct, I have not thought to migrate from Oracle XE to SQL Server Express because it could not work with the flexibility of PL / SQL and other Oracle features own, however, SQL Server 2008 R2 Express if takes the lead XE in storage, at which Oracle Corp. will match or exceed, offer more storage in response to competition and not only compensate for the limitation of 4GB with Excellency good features.
    Roberto.

  • How can I increase the storage capacity in Linux for installing Oracle 11g?

    Hi all,
    I've been searching in Internet information about how to increase the storage capacity of a Linux machine, so that it can help me with my problem without success. I tried to execute some command lines encountered in some tips in forums, but no one works.
    I want to install an Oracle 11g database, which needs 4 GB minimal for the installation. I can not continue with the installation because of this problem.
    I use a VMWare virtual machine, which I increased over its settings to 160 GB, but not its file systems or whatever in the machine.
    I did this:
    [root@localhost ~]# df -h
    Filesystem Size Used Avail Use% Mounted on
    /dev/sda3 18G 15G 1.9G 89% /
    /dev/sda1 190M 12M 169M 7% /boot
    none 506M 0 506M 0% /dev/shm
    /dev/hdc 699M 0 699M 100% /media/cdrom
    As far I understand the bigger storage capacity is used by the file system /dev/sda3. But what about the rest, I mean the 140 GB?. I've already increased the storage capacity over the settings. How can I tell the machine "please use the remaining 140 GB for the installation of the Oracle DB and other needed installations?.
    How can I increase here what?. Disk? File system? Volume Group? It can not be so difficult, can it?
    There are no volume groups in the machine:
    +[root@localhost /]# vgdisplay+
    +No volume groups found+
    Linux is too complicated. Unfortunately I have to do that in Linux :-(
    Can someone help me? I sit here since long hours without finding a solution :-(

    thanks for your answers.
    To Dude:
    You can address the problem in a number of different ways, but please post your version of Linux and provide more information about your current partitions
    The Version of Linux is Linux Red Hat Enterprise 5.
    Open Logical Volume Management from the System Administration menu.
    Select your volume from the logical view, edit properties and then use the slider to set your volume size, or click "remaining" to extend your partition.
    I've already opened the LVM from the System Administration menu, but there is no possibility to see the volume groups, because there is no one. There is no tabs like Volume Groups or something like that...
    I would try the procedure described above your answer and write you again. I hope it works...I will write you back in a few minutes...

  • Major performance trouble Oracle 11g  RHELx64, HP 8100 storage

    Hi hope some one can help me with this.
    We have a datawarehouse with this configuratuion
    Database
    RHEL5 u5 on 2* intel 5700 cpu, 36gb ram, emulex 4gb dual port hba, HP EVA 8100 san.
    Oracle 11g 11.1.7.
    Database 8 kblock
    Disks are
    /data 2.0TB 72 disks formated with ext3 4k block.
    /log 100GB 72 disks formated with ext3 4k block.
    ETL
    Informatica Power Center 8.6 on similar machine.
    My problem is vhen we try to load the database with data it takes forever so we tested this stuff
    iops script run
    SET SERVEROUTPUT ON
    DECLARE
    lat INTEGER;
    iops INTEGER;
    mbps INTEGER;
    BEGIN
    -- DBMS_RESOURCE_MANAGER.CALIBRATE_IO (<DISKS>, <MAX_LATENCY>, iops, mbps, lat);
    DBMS_RESOURCE_MANAGER.CALIBRATE_IO (72, 10, iops, mbps, lat);
    DBMS_OUTPUT.PUT_LINE ('max_iops = ' || iops);
    DBMS_OUTPUT.PUT_LINE ('latency = ' || lat);
    dbms_output.put_line('max_mbps = ' || mbps);
    end;
    Results
    Warehouse database about 600GB data in it
    max_iops = 82
    latency = 11
    max_mbps = 204
    LOW!!!
    I installed a new database with just the exaple schemas on same disk /data and got theese results
    max_iops = 25665
    latency = 8
    max_mbps = 517
    Any one have some ideas what i should test or change?
    /Jens Bäckström (Noob)Dba

    The second database IOTEST is a small test db.
    This is how i did the test
    i stopped the DWRPD01 wich is the dw database.
    i start the IOTEST DATABSE and run the iops script.
    after the run i stoped IOTEST and started DWPRD02 and run the same script.
    i am sure the database files was on the same san disk group . but ofc i can not besure that the data be on the same physical disk in the SAN cabinett.
    Ill check ur other questions as soon as i have some ansvers
    and thanks for helping me out.
    Below are my initfiles from the DB's
    /Jens
    IOTEST Database
    IOTEST.__db_cache_size=16106127360
    IOTEST.__java_pool_size=268435456
    IOTEST.__large_pool_size=268435456
    IOTEST.__oracle_base='/oracle_prod01'#ORACLE_BASE set from environment
    IOTEST.__pga_aggregate_target=6442450944
    IOTEST.__sga_target=21474836480
    IOTEST.__shared_io_pool_size=0
    IOTEST.__shared_pool_size=4294967296
    IOTEST.__streams_pool_size=268435456
    *.archive_lag_target=1800
    *.audit_file_dest='/oracle_prod01/admin/IOTEST/adump'
    *.audit_sys_operations=true
    *.audit_trail='db'
    *.compatible='11.1.0.0.0'
    *.control_file_record_keep_time=16
    *.control_files='/iotest/IOTEST/control01.ctl','/iotest/IOTEST/control02.ctl','/iotest/IOTEST/control03.ctl'
    *.db_block_checking='LOW'
    *.db_block_checksum='TYPICAL'
    *.db_block_size=8192
    *.db_create_file_dest=''
    *.db_domain=''
    *.db_file_multiblock_read_count=32
    *.db_files=200
    *.db_name='IOTEST'
    *.db_recovery_file_dest=''
    *.db_writer_processes=3
    *.diagnostic_dest='/oracle_prod01'
    *.dispatchers='(PROTOCOL=TCP) (SERVICE=IOTESTXDB)'
    *.filesystemio_options='setall'
    *.log_checkpoints_to_alert=true
    *.nls_language='AMERICAN'
    *.open_cursors=512
    *.optimizer_index_cost_adj=50
    *.parallel_io_cap_enabled=true
    *.parallel_max_servers=10
    *.parallel_min_servers=2
    *.pga_aggregate_target=6442450944
    *.processes=512
    *.recyclebin='off'
    *.remote_login_passwordfile='EXCLUSIVE'
    *.sga_target=21474836480DWPRD01.__db_cache_size=16106127360
    *.star_transformation_enabled='TRUE'
    *.undo_tablespace='UNDOTBS1'
    DWPRD01 Database
    DWPRD01.__java_pool_size=268435456
    DWPRD01.__large_pool_size=268435456
    DWPRD01.__oracle_base='/oracle_prod01'#ORACLE_BASE set from environment
    DWPRD01.__pga_aggregate_target=6442450944
    DWPRD01.__sga_target=21474836480
    DWPRD01.__shared_io_pool_size=0
    DWPRD01.__shared_pool_size=4294967296
    DWPRD01.__streams_pool_size=268435456
    *.archive_lag_target=1800
    *.audit_file_dest='/oracle_prod01/admin/DWPRD01/adump'
    *.audit_sys_operations=true
    *.audit_trail='db'
    *.compatible='11.1.0.0.0'
    *.control_file_record_keep_time=16
    *.control_files='/dbffast_prod01/control01.ctl','/oracle_prod01/control02.ctl','/log_prod01/control03.ctl'
    *.db_block_checking='LOW'
    *.db_block_checksum='TYPICAL'
    *.db_block_size=8192
    *.db_create_file_dest=''
    *.db_domain=''
    *.db_file_multiblock_read_count=32
    *.db_files=200
    *.db_name='DWPRD01'
    *.db_recovery_file_dest=''
    *.db_writer_processes=3
    *.diagnostic_dest='/oracle_prod01'
    *.dispatchers='(PROTOCOL=TCP) (SERVICE=DWPRD01XDB)'
    *.filesystemio_options='setall'
    *.log_archive_dest_1='LOCATION=/arch_prod01'
    *.log_archive_format='DWPRD01_%t_%s_%r.log'
    *.log_checkpoints_to_alert=true
    *.nls_language='AMERICAN'
    *.open_cursors=512
    *.optimizer_index_cost_adj=50
    *.parallel_io_cap_enabled=true
    *.parallel_max_servers=10
    *.parallel_min_servers=2
    *.pga_aggregate_target=6442450944
    *.processes=512
    *.recyclebin='off'
    *.remote_login_passwordfile='EXCLUSIVE'
    *.sga_target=21474836480
    *.star_transformation_enabled='TRUE'
    *.undo_tablespace='UNDOTBS1'

  • How to Create Manual Standby for a Oracle 11g RAC with ASM to Single Instan

    Hi All,
    I have a task to configure a Single Instance Standby Database with ASM for 2-node Primary RAC+ASM database.
    Version using : 11.1.0.6 Oracle 11g --- *" STANDARD EDITION "* Please note datagaurd will not be supported in standard edition.
    Primary database - 2 -Node RAC using ASM storage (All datafiles, redologs, controfile and archive logs)
    Need to setup a single instance standby database manually and than using scripts to transfer the archive logs from primary server to standby server to do recovery time to time.
    Please let me know if there are any configuration document(s) which can help me to set the manual standby? or need your kind help to give your valuable ideas how to go in above situation.
    Thanks in advance

    Niall Litchfield wrote:
    El DBA wrote:
    Well if the archive logs are stored in ASM on the primary nodes, you almost definitely want to be using RMAN to access them. Then to transfer between primary and standby there are many options, this is essentially the step that Data Guard takes care of - so if you (and I) are running Standard Edition, this is the part to "worry" about.
    I'm not really sure what you mean by this:
    As in standard edition the archive destination will be on ASMI don't think the Edition of Oracle (Standard or Enterprise) dictates where and how you store your archive logs, but it's possible I've misunderstood what you mean...SE dictates that database storage for RAC will be ASM, including archive log files. Anything else is not officially supported. I haven't tested but it may be that you can use LOG_ARCHIVE_DUPLEX_DEST to specify a local filesystem for archive log files as well.
    If that doesn't work you'll have to script rman "backup as copy" jobs regularly and then transport the results of that.
    Niall Litchfield
    http://www.orawin.info/
    By the way, it seems Robert has been pretty helpful, it's polite to give him some points dude. And since this is your thread, not mine, give him a "helpful" from me too :p
    El DBA
    Incidentally if you are forced down the RMAN backup as copy route then this will likely throw your current backup retention strategy somewhat, you'll need to think carefully about when an archivelog can be deleted following backup, how many times it might be backed up and so on. I do understand, and have argued for, the use of SE RAC. I also understand and have argued for and implemented manually managed standby a number of times. However by the time your primary database is a RAC instance and you need a standby for DR etc then you really have to look very seriously at whether Standard Edition is still the right investment or not. You will be spending a lot of DBA time managing and troubleshooting this, and you will find that it is less reliable than the off the shelf solution. I suspect that you are very close to the point where an EE installation becomes a worthwhile investment here.
    Niall Litchfield
    http://www.orawin.info/

  • Regarding ASM in Oracle 11g

    Hi
    I would like to use ASM storage for my single instance oracle 11gR2 database. I am a little bit confused so that asking some question about Oracle 11g ASM.
    1. Does Grid Infrastructure mandatory for installation Oracle 11g  ASM instance?
    2. Without installation Grid Infrastructure can I full fill my requirements ?
    Regards
    Rabi

    "If you plan to use Oracle Restart or Oracle Automatic Storage Management (Oracle ASM), then you must install Oracle Grid Infrastructure before you install and create the database. " -- http://docs.oracle.com/cd/E11882_01/install.112/e47689/oraclerestart.htm#LADBI999

  • Oracle 11g RAC on Windows 2008 R2 VMware EXS 3.5 virtual machines

    Hi,
    We are planning to Install Oracle 11g R2 RAC on two VMware EXS 3.5 Windows 2008 R2 servers.
    Having trouble while assigning the storage to the servers, the Raw Device Mapping feature in the VMware is greyed out and we cannot assign the disks to the Virtual servers, the disks are allocated to the Vmware Host machine from the SAN (HP EVA).
    Please guide me the best approach for the RAC configuration on VMware EXS 3.5 Win 2008 R2 Guest servers.
    any help will be highly appreceiated.
    Thanks.

    Hi,
    Is this implementation to production environment?
    Be aware:
    Is Oracle RAC on VMware supported? No, we do not support Oracle Software including Oracle RAC on VMWare.
    Aside from the support restrictions for the database on VMWare outlined in Metalink Note 249212.1, there are technical restrictions that prevent the certification of Oracle RAC in a VMWare environment.
    *RAC: Frequently Asked Questions [ID 220970.1]*
    Having trouble while assigning the storage to the servers, the Raw Device Mapping feature in the VMware is greyed out and we cannot assign the disks to the Virtual servers, the disks are allocated to the Vmware Host machine from the SAN (HP EVA).Check if below can help you.
    http://vmzare.wordpress.com/2007/02/19/vmware-raw-device-mappingrdm/
    Regards,
    Levi Pereira

  • Query not considering function based index in oracle 11g

    I have a query which used Function Based Index when run in oracle 9i but when I run the same query
    without any changes, it does not consider index. Below is the query:
    SELECT distinct patient_role.domain_key, patient_role.patient_role_key,
    patient_role.emergency_contact_name,
    patient_role.emergency_contact_phone, patient_role.emergency_contact_note,
    patient_role.emergency_contact_relation_id,
    patient_role.financial_class_desc_id, no_known_allergies, patient_role.CREATED_BY,
    patient_role.CREATED_TIMESTAMP,
    patient_role.CREATED_TIMESTAMP_TZ, patient_role.UPDATED_BY, patient_role.UPDATED_TIMESTAMP,
    patient_role.UPDATED_TIMESTAMP_TZ,
    patient_role.discontinued_date
    FROM encounter, patient_role
    WHERE patient_role.patient_role_key = encounter.patient_role_key
    AND UPPER(TRIM(leading :SYS_B_0 from encounter.account_number)) = UPPER(TRIM(leading :SYS_B_1 from
    :SYS_B_2))
    AND patient_role.discontinued_date IS null
    AND encounter.discontinued_date IS null ;
    Index definition:
    CREATE INDEX "user1"."IX_TRIM_ACCOUNT_NUMBER" ON "user1."ENCOUNTER" (UPPER(TRIM(LEADING
    '0' FROM "ACCOUNT_NUMBER")), "PATIENT_ROLE_KEY", "DOMAIN_KEY", "DISCONTINUED_DATE")
    PCTFREE 10 INITRANS 2 MAXTRANS 255 COMPUTE STATISTICS
    STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
    PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1
    BUFFER_POOL DEFAULT)
    TABLESPACE "user1"
    Database : Oracle 11g (11.2.0.3)
    O/S : Linux 64 bit (the query does not consider index even on windows os)
    Any suggestions?
    -Onkar
    Edited by: onkar.nath on Jul 2, 2012 3:32 PM

    Onkar,
    I don't appreciate you posting this question in several forums at the same time.
    If I would know you also posted this on Asktom, I wouldn't even have bothered.
    As to your 'issue':
    First of all: somehow cursor_sharing MUST have been set to FORCE. Oracle is a predictable system, not a fruitmachine.
    Your statement the '0' is replaced by a bind variable anyway is simply false. If you really believe it is not false, SUBMIT a SR.
    But your real issue is not Oracle: it is your 'application', which is a mess anyway. Allowing for alphanumeric numbers is a really bad idea.
    Right now you are already putting workaround on workaround on workaround on workaround.
    Issue is the application: it is terminal., and you either need to kill it, or to replace it.
    Sybrand Bakker
    Senior Oracle DBA

  • Oracle 11g Migration performance issue

    Hello,
    There a performance issue with Migration from Oracle 10g(10.2.0.5) to Oracle 11g(11.2.0.2).
    Its very simple statement hanging for more than a day and later found that query plan is very very bad. Example of the query is given below:
    INSERT INTO TABLE_XYZ
    SELECT F1,F2,F3
    FROM TABLE_AB, TABLE_BC
    WHERE F1=F4;
    While looking at cost in Explain plan :
    on 10g --> 62567
    0n 11g --> 9879652356776
    Strange thing is that
    Scenario 1: if I issue just query as shown below, will display rows immediately :
    SELECT F1,F2,F3
    FROM TABLE_AB, TABLE_BC
    WHERE F1=F4;
    Scenario 2: If I create a table as shown below, will work correctly.
    CREATE TABLE TABLE_XYZ AS
    SELECT F1,F2,F3
    FROM TABLE_AB, TABLE_BC
    WHERE F1=F4;
    What could be the issue here with INSERT INTO <TAB> SELECT <COL> FROM <TAB1>?

    Table:
    CREATE TABLE AVN_WRK_F_RENEWAL_TRANS_T
    "PKSRCSYSTEMID" NUMBER(4,0) NOT NULL ENABLE,
    "PKCOMPANYCODE" VARCHAR2(8 CHAR) NOT NULL ENABLE,
    "PKBRANCHCODE" VARCHAR2(8 CHAR) NOT NULL ENABLE,
    "PKLINEOFBUSINESS" NUMBER(4,0) NOT NULL ENABLE,
    "PKPRODUCINGOFFICELIST" VARCHAR2(2 CHAR) NOT NULL ENABLE,
    "PKPRODUCINGOFFICE" VARCHAR2(8 CHAR) NOT NULL ENABLE,
    "PKEXPIRYYR" NUMBER(4,0) NOT NULL ENABLE,
    "PKEXPIRYMTH" NUMBER(2,0) NOT NULL ENABLE,
    "CURRENTEXPIRYCOUNT" NUMBER,
    "CURRENTRENEWEDCOUNT" NUMBER,
    "PREVIOUSEXPIRYCOUNT" NUMBER,
    "PREVIOUSRENEWEDCOUNT" NUMBER
    SEGMENT CREATION IMMEDIATE PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 NOCOMPRESS LOGGING STORAGE
    INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT FLASH_CACHE DEFAULT CELL_FLASH_CACHE DEFAULT
    TABLESPACE "XYZ" ;
    Explain Plan(With Insert Statement and Query):_
    INSERT STATEMENT, GOAL = ALL_ROWS               Cost=9110025395866     Cardinality=78120     Bytes=11952360
    LOAD TABLE CONVENTIONAL     Object owner=ODS     Object name=AVN_WRK_F_RENEWAL_TRANS               
    NESTED LOOPS OUTER               Cost=9110025395866     Cardinality=78120     Bytes=11952360
    TABLE ACCESS FULL     Object owner=ODS     Object name=AVN_WRK_F_RENEWAL_TRANS_1ST     Cost=115     Cardinality=78120     Bytes=2499840
    VIEW PUSHED PREDICATE     Object owner=ODS          Cost=116615788     Cardinality=1     Bytes=121
    SORT GROUP BY               Cost=116615788     Cardinality=3594     Bytes=406122
    VIEW     Object owner=SYS     Object name=VW_DAG_1     Cost=116615787     Cardinality=20168     Bytes=2278984
    SORT GROUP BY               Cost=116615787     Cardinality=20168     Bytes=4073936
    NESTED LOOPS OUTER               Cost=116614896     Cardinality=20168     Bytes=4073936
    VIEW     Object owner=SYS          Cost=5722     Cardinality=20168     Bytes=2157976
    NESTED LOOPS               Cost=5722     Cardinality=20168     Bytes=2097472
    HASH JOIN               Cost=924     Cardinality=1199     Bytes=100716
    NESTED LOOPS                         
    NESTED LOOPS               Cost=181     Cardinality=1199     Bytes=80333
    TABLE ACCESS BY INDEX ROWID     Object owner=ODS     Object name=INWARDSPOLICYDETAILS     Cost=159     Cardinality=1199     Bytes=39567
    INDEX RANGE SCAN     Object owner=ODS     Object name=IX_INWPOLDTLS_SYSCOMPANYBRANCH     Cost=7     Cardinality=1199     
    INDEX UNIQUE SCAN     Object owner=ODS     Object name=PK_AVN_D_MASTERPOLICYDETAILS     Cost=0     Cardinality=1     
    TABLE ACCESS BY INDEX ROWID     Object owner=ODS     Object name=AVN_D_MASTERPOLICYDETAILS     Cost=1     Cardinality=1     Bytes=34
    TABLE ACCESS FULL     Object owner=ODS     Object name=INWARDSPOLICYLOBMAPPING     Cost=741     Cardinality=288498     Bytes=4904466
    VIEW PUSHED PREDICATE     Object owner=ODS          Cost=4     Cardinality=1     Bytes=20
    FILTER                         
    SORT AGGREGATE                    Cardinality=1     Bytes=21
    TABLE ACCESS BY GLOBAL INDEX ROWID     Object owner=ODS     Object name=AVN_F_TRANSACTIONS     Cost=4     Cardinality=1     Bytes=21
    INDEX RANGE SCAN     Object owner=ODS     Object name=PK_AVN_F_TRANSACTIONS     Cost=3     Cardinality=1     
    VIEW PUSHED PREDICATE     Object owner=ODS          Cost=5782     Cardinality=1     Bytes=95
    SORT GROUP BY               Cost=5782     Cardinality=2485     Bytes=216195
    VIEW     Object owner=SYS     Object name=VW_DAG_0     Cost=5781     Cardinality=2485     Bytes=216195
    SORT GROUP BY               Cost=5781     Cardinality=2485     Bytes=278320
    HASH JOIN               Cost=5780     Cardinality=2485     Bytes=278320
    VIEW     Object owner=SYS     Object name=VW_GBC_15     Cost=925     Cardinality=1199     Bytes=73139
    SORT GROUP BY               Cost=925     Cardinality=1199     Bytes=100716
    HASH JOIN               Cost=924     Cardinality=1199     Bytes=100716
    NESTED LOOPS                         
    NESTED LOOPS               Cost=181     Cardinality=1199     Bytes=80333
    TABLE ACCESS BY INDEX ROWID     Object owner=ODS     Object name=INWARDSPOLICYDETAILS     Cost=159     Cardinality=1199     Bytes=39567
    INDEX RANGE SCAN     Object owner=ODS     Object name=IX_INWPOLDTLS_SYSCOMPANYBRANCH     Cost=7     Cardinality=1199     
    INDEX UNIQUE SCAN     Object owner=ODS     Object name=PK_AVN_D_MASTERPOLICYDETAILS     Cost=0     Cardinality=1     
    TABLE ACCESS BY INDEX ROWID     Object owner=ODS     Object name=AVN_D_MASTERPOLICYDETAILS     Cost=1     Cardinality=1     Bytes=34
    TABLE ACCESS FULL     Object owner=ODS     Object name=INWARDSPOLICYLOBMAPPING     Cost=741     Cardinality=288498     Bytes=4904466
    VIEW     Object owner=SYS     Object name=VW_GBF_16     Cost=4854     Cardinality=75507     Bytes=3850857
    SORT GROUP BY               Cost=4854     Cardinality=75507     Bytes=2340717
    VIEW     Object owner=ODS          Cost=4207     Cardinality=75507     Bytes=2340717
    SORT GROUP BY               Cost=4207     Cardinality=75507     Bytes=1585647
    PARTITION HASH ALL               Cost=3713     Cardinality=75936     Bytes=1594656
    TABLE ACCESS FULL     Object owner=ODS     Object name=AVN_F_TRANSACTIONS     Cost=3713     Cardinality=75936     Bytes=1594656
    Explain Plan(Only Query):_
    SELECT STATEMENT, GOAL = ALL_ROWS               Cost=62783     Cardinality=89964     Bytes=17632944
    HASH JOIN OUTER               Cost=62783     Cardinality=89964     Bytes=17632944
    TABLE ACCESS FULL     Object owner=ODS     Object name=AVN_WRK_F_RENEWAL_TRANS_1ST     Cost=138     Cardinality=89964     Bytes=2878848
    VIEW     Object owner=ODS          Cost=60556     Cardinality=227882     Bytes=37372648
    HASH GROUP BY               Cost=60556     Cardinality=227882     Bytes=26434312
    VIEW     Object owner=SYS     Object name=VW_DAG_1     Cost=54600     Cardinality=227882     Bytes=26434312
    HASH GROUP BY               Cost=54600     Cardinality=227882     Bytes=36005356
    HASH JOIN OUTER               Cost=46664     Cardinality=227882     Bytes=36005356
    VIEW     Object owner=SYS          Cost=18270     Cardinality=227882     Bytes=16635386
    HASH JOIN               Cost=18270     Cardinality=227882     Bytes=32587126
    HASH JOIN               Cost=12147     Cardinality=34667     Bytes=2912028
    HASH JOIN               Cost=10076     Cardinality=34667     Bytes=2322689
    TABLE ACCESS FULL     Object owner=ODS     Object name=AVN_D_MASTERPOLICYDETAILS     Cost=137     Cardinality=34667     Bytes=1178678
    TABLE ACCESS FULL     Object owner=ODS     Object name=INWARDSPOLICYDETAILS     Cost=9934     Cardinality=820724     Bytes=27083892
    TABLE ACCESS FULL     Object owner=ODS     Object name=INWARDSPOLICYLOBMAPPING     Cost=741     Cardinality=866377     Bytes=14728409
    VIEW     Object owner=ODS          Cost=5195     Cardinality=227882     Bytes=13445038
    HASH GROUP BY               Cost=5195     Cardinality=227882     Bytes=4785522
    PARTITION HASH ALL               Cost=3717     Cardinality=227882     Bytes=4785522
    TABLE ACCESS FULL     Object owner=ODS     Object name=AVN_F_TRANSACTIONS     Cost=3717     Cardinality=227882     Bytes=4785522
    VIEW     Object owner=ODS          Cost=26427     Cardinality=227882     Bytes=19369970
    HASH GROUP BY               Cost=26427     Cardinality=227882     Bytes=18686324
    VIEW     Object owner=SYS     Object name=VW_DAG_0     Cost=26427     Cardinality=227882     Bytes=18686324
    HASH GROUP BY               Cost=26427     Cardinality=227882     Bytes=25294902
    HASH JOIN               Cost=20687     Cardinality=227882     Bytes=25294902
    VIEW     Object owner=SYS     Object name=VW_GBC_15     Cost=12826     Cardinality=34667     Bytes=2080020
    HASH GROUP BY               Cost=12826     Cardinality=34667     Bytes=2912028
    HASH JOIN               Cost=12147     Cardinality=34667     Bytes=2912028
    HASH JOIN               Cost=10076     Cardinality=34667     Bytes=2322689
    TABLE ACCESS FULL     Object owner=ODS     Object name=AVN_D_MASTERPOLICYDETAILS     Cost=137     Cardinality=34667     Bytes=1178678
    TABLE ACCESS FULL     Object owner=ODS     Object name=INWARDSPOLICYDETAILS     Cost=9934     Cardinality=820724     Bytes=27083892
    TABLE ACCESS FULL     Object owner=ODS     Object name=INWARDSPOLICYLOBMAPPING     Cost=741     Cardinality=866377     Bytes=14728409
    VIEW     Object owner=SYS     Object name=VW_GBF_16     Cost=7059     Cardinality=227882     Bytes=11621982
    HASH GROUP BY               Cost=7059     Cardinality=227882     Bytes=6836460
    VIEW     Object owner=ODS          Cost=5195     Cardinality=227882     Bytes=6836460
    HASH GROUP BY               Cost=5195     Cardinality=227882     Bytes=4785522
    PARTITION HASH ALL               Cost=3717     Cardinality=227882     Bytes=4785522
    TABLE ACCESS FULL     Object owner=ODS     Object name=AVN_F_TRANSACTIONS     Cost=3717     Cardinality=227882     Bytes=4785522

  • Oracle 11g ASM - looking for some answers

    Hello,
    I reviewed a bunch of stuff about Oracle 11g ASM from various sources, but still haven't figured out some answers. Perhaps someone could help me to find the missing links please.
    Q1) ASMLib seems to require partitions. ASM recognizes partitions as well as disk devices. So why not using partitions in general? At least I could use ASMLib later without having to reconfigure the drives and loosing all data. Correct?
    Q2) The ASMLib driver is not installed by default, and unlike other ASM components is not available from the public yum repository for OEL 5.5. After some searching I found it available for download, but why is it not more obvious. Should it not be used anymore? http://www.oracle.com/technetwork/topics/linux/downloads/rhel5-084877.html
    Q3) ASM will not see drives or partitions unless the device ownership is set to Oracle. When Enterprise Linux starts, it resets all block devices to the owner of root. The solution is to create a udev rules file: e.g.:
    /etc/udev/rules.d/99-oracle.rules:
    KERNEL=="sda", OWNER="oracle", GROUP="dba", MODE="0660"
    KERNEL=="sdb", OWNER="oracle", GROUP="dba", MODE="0660"
    Before using ASMLlib, I need to configure the driver, which will ask me for the default user and group who owns the partitions (/etc/init.d/oracleasm configure)
    I conclude that using ASMLib will therefore not require a udev rules file, correct?
    Q4) The Oracle documentation outlines that ASMLIB is an application programming interface (API) developed by Oracle to simplify the operating system–to-database interface and to exploit the capabilities of vendors' storage arrays on Linux-based systems. What does this mean, examples? Isn't this what ASM does in general, why ASMLIB?
    Q5) I installed ASM and would like to re-configure it. Apparently ASM alone does not provide an interface other than sqlplus. In order use ASM with Enterprise Manager, I need to install a database or EM 11g (?) Grid control. Correct?
    Thanks,
    Markus

    Hi,
    So you got answers for 3 4 and 5
    Q1) ASMLib seems to require partitions. ASM recognizes partitions as well as disk devices. So why not using partitions in general? At least I could use ASMLib later >without having to reconfigure the drives and loosing all data. Correct?Using ASMLib, you can use your understandable disk partitions names rather than creating raw devices and adding entry in /etc/raw file and changing rights on every startup, so it makes life easier. Read post of "wcoekaer" from following thread
    ASMLib and Linux block devices
    Q2) The ASMLib driver is not installed by default, and unlike other ASM components is not available from the public yum repository for OEL 5.5. After some >searching I found it available for download, but why is it not more obvious. Should it not be used anymore? http://www.oracle.com/technetwork/topics/linux/downloads/rhel5-084877.html
    I am not sure about OEL 5, but i have seen it in OEL 4 and i can install this package during OEL 4 installation. But i believe you should be able to find this package in one of the Disks of OEL 5
    Salman

  • Oracle 11g express --- Wish list --- Match or beat IBM and Microsoft

    Oracle's significant competitors IBM and Microsoft have had support for XSLT and XQuery in their express editions for a while. My wish-list for Oracle 11g express is to match it or even beat it. With increasing adoption of XML a lot of innovation is happening. Oracle is a no-show here.
    I had to switch to DB2 from Oracle to be able to take advantange of the IBM Db2 express. Along the way, I will end up purchasing their high-end DB2 offering also.
    Later ...
    /rk

    I see Oracle in a dilemma here.
    Oracle 11g SE One Processor Perpetual costs $5,800 - dillute this over 3 years and you have a VERY GOOD database for a VERY affordable price. For small shops, this is a no-brainer over Standard Edition.
    But alas, suppose 11g XE supports 2 CPUs, 2 GB of RAM and 20 GB of storage!
    Let's think about it. A fast, robust, mature, fully-featured database - for FREE. But wait, there's more - APEX is FREE as well.
    XE and APEX make a killer combo. XE's hard-coded limits are cumbersome, but creative DBAs/developers manage to create impressive solutions nonetheless. Without Oracle making a single dollar in licenses.
    Simply put, I think 11g XE with 2 CPUs, 2GB RAM and 20 GB of storage would take away customers from Oracle - those currently buying Oracle 11g SE One Processor Perpetual. OK, XE comes with no support, but still, $0 is less than $5,800. The difference is even more significant in a scenario of economic downturn.
    It will be interesting to see how Oracle handles this.
    Regards,
    Georger
    rober584812 wrote:
    Hi, Oracle's significant competitors IBM and Microsoft, is true.      
    But Oracle does not seem to care because the niche is selling software. However, when entering the world of the express editions should confront its closest competitors by relaxing the limits on Oracle Database XE, remove certain restrictions to be at the level of competence DB2 Expreess C 9.5 which has no storage limits and uses up 2 processors and 2GB of RAM.
    As someone suggested in another thread, it is possible that Oracle Database XE is the leader of the Express editions, but must improve, I think it would be best to enter the world of the MacOS and relax the limits of storage, memory and CPU. We must offer competitive!.

  • How to generate TPC-E schema/data sets in Oracle 11g

    Hi,
    I want to use TPC-E schema in my Oracle 11g database (Standard) and also want to use DATA SETS from this benchmark for some kind of testing.
    I've download EGen v1.8.0 from this TPC website:
    http://www.tpc.org/tpce/default.asp
    but don't know who to implement this benchmark database into my computer's database. I'll appreciate if someone please suggest me how to do this...
    Thanks alot.
    Best Regards,
    Kamran

    kamran safdar malik wrote:
    I want to find Optimal size of a data block size as this is the one parameter which can increase the performance of a database or decrease it.If there is a single optimal size, that would surely be the default Oracle block size - as Oracle should know perhaps better than any of us, just what block size differences do as it is their code that uses it?
    Can I ask why you said that you would not have chosen this topic as a thesis?My leaning has always been to expert systems and A.I. Even designed and written my own expert system language years ago. One thing that is critical in such systems is how you structure data - and that has a nice database angle to it. One that I believe can still be exploited for research purposes.
    Don't you think that it'll benefit DBA's or database developer after I reach a successful conclusion?To be honest, in the real world of database systems, the least of my concerns are data block sizes. For example, we're busy putting together a storage array that should have a maximum I/O pipe size of 40Gb. In comparison, we currently use dual 2Gb fibre channels on most of our servers for our I/O.
    Technology moves fast. And perhaps there is an ideal block size for the standard storage array and Oracle instance today - but that could invalidated by new technology next year. Would I want to spend time and effort studying and analysing and researching a very specific technical subject, that perhaps is not considered as of that critical importance by DBAs and perhaps can be outdated with new technology and techniques?
    I honestly do not want to put you off studying db block sizes. Perhaps there's still some critical issues to uncover in that respect. But personally.. there are many other subject areas in database technology that peak my interest a lot more. But then you have your personal preferences and likes and dislikes - and data blocks could be your muse. :-)

  • How to uninstall Oracle 11g Database Options?

    I've come across a problem. A company that developed an application, installed Oracle 11g EE.
    I guess they would use all default options. Some of them are licensed separately, and are not used. So I need to uninstall them.
    For example, I see that it is installed "Advanced Compression". I tried to uninstall it from the Universal Installer, but there isn't an option.

    Good news for my company.
    There has never been used "Advanced Compression" and for everything else we are licensed.
    NAME                                                     VERSION     DETECTED_USAGES CURRENTLY_USED LAST_USAGE_DATE
    Active Data Guard - Real-Time Query on Physical Standby  11.2.0.2.0                0 FALSE                         
    ADDM                                                     11.2.0.2.0                0 FALSE                         
    Advanced Replication                                     11.2.0.2.0                0 FALSE                         
    Application Express                                      11.2.0.2.0                0 FALSE                         
    Automatic SGA Tuning                                     11.2.0.2.0                0 FALSE                         
    Automatic Storage Management                             11.2.0.2.0                0 FALSE                         
    Automatic Workload Repository                            11.2.0.2.0                0 FALSE                         
    AWR Baseline                                             11.2.0.2.0                0 FALSE                         
    AWR Baseline Template                                    11.2.0.2.0                0 FALSE                         
    Backup BASIC Compression                                 11.2.0.2.0                0 FALSE                         
    Backup BZIP2 Compression                                 11.2.0.2.0                0 FALSE                         
    Backup Encryption                                        11.2.0.2.0                0 FALSE                         
    Backup HIGH Compression                                  11.2.0.2.0                0 FALSE                         
    Backup LOW Compression                                   11.2.0.2.0                0 FALSE                         
    Backup MEDIUM Compression                                11.2.0.2.0                0 FALSE                         
    Backup Rollforward                                       11.2.0.2.0                0 FALSE                         
    Backup ZLIB Compression                                  11.2.0.2.0                0 FALSE                         
    Baseline Adaptive Thresholds                             11.2.0.2.0                0 FALSE                         
    Baseline Static Computations                             11.2.0.2.0                0 FALSE                         
    Bigfile Tablespace                                       11.2.0.2.0                0 FALSE                         
    Block Media Recovery                                     11.2.0.2.0                0 FALSE                         
    Change Data Capture                                      11.2.0.2.0                0 FALSE                         
    Change-Aware Incremental Backup                          11.2.0.2.0                0 FALSE                         
    Character Semantics                                      11.2.0.2.0                0 FALSE                         
    Client Identifier                                        11.2.0.2.0                0 FALSE                         
    Clusterwide Global Transactions                          11.2.0.2.0                0 FALSE                         
    Compression Advisor                                      11.2.0.2.0                0 FALSE                         
    Crossedition Triggers                                    11.2.0.2.0                0 FALSE                         
    CSSCAN                                                   11.2.0.2.0                0 FALSE                         
    Data Guard                                               11.2.0.2.0                0 FALSE                         
    Data Mining                                              11.2.0.2.0                0 FALSE                         
    Data Recovery Advisor                                    11.2.0.2.0                0 FALSE                         
    Database Replay: Workload Capture                        11.2.0.2.0                0 FALSE                         
    Database Replay: Workload Replay                         11.2.0.2.0                0 FALSE                         
    Deferred Open Read Only                                  11.2.0.2.0                0 FALSE                         
    Direct NFS                                               11.2.0.2.0                0 FALSE                         
    Dynamic SGA                                              11.2.0.2.0                0 FALSE                         
    Editioning Views                                         11.2.0.2.0                0 FALSE                         
    Editions                                                 11.2.0.2.0                0 FALSE                         
    EM Database Control                                      11.2.0.2.0                0 FALSE                         
    Encrypted Tablespaces                                    11.2.0.2.0                0 FALSE                         
    Exadata                                                  11.2.0.2.0                0 FALSE                         
    Extensibility                                            11.2.0.2.0                0 FALSE                         
    File Mapping                                             11.2.0.2.0                0 FALSE                         
    Flashback Data Archive                                   11.2.0.2.0                0 FALSE                         
    Flashback Database                                       11.2.0.2.0                0 FALSE                         
    GoldenGate                                               11.2.0.2.0                0 FALSE                         
    HeapCompression                                          11.2.0.2.0                0 FALSE                         
    Hybrid Columnar Compression                              11.2.0.2.0                0 FALSE                         
    Instance Caging                                          11.2.0.2.0                0 FALSE                         
    Internode Parallel Execution                             11.2.0.2.0                0 FALSE                         
    Label Security                                           11.2.0.2.0                0 FALSE                         
    Locator                                                  11.2.0.2.0                0 FALSE                         
    Long-term Archival Backup                                11.2.0.2.0                0 FALSE                         
    Materialized Views (User)                                11.2.0.2.0                0 FALSE                         
    Messaging Gateway                                        11.2.0.2.0                0 FALSE                         
    Multi Section Backup                                     11.2.0.2.0                0 FALSE                         
    Multiple Block Sizes                                     11.2.0.2.0                0 FALSE                         
    Object                                                   11.2.0.2.0                0 FALSE                         
    OLAP - Analytic Workspaces                               11.2.0.2.0                0 FALSE                         
    OLAP - Cubes                                             11.2.0.2.0                0 FALSE                         
    Oracle Database Vault                                    11.2.0.2.0                0 FALSE                         
    Oracle Java Virtual Machine (user)                       11.2.0.2.0                0 FALSE                         
    Oracle Managed Files                                     11.2.0.2.0                0 FALSE                         
    Oracle Multimedia                                        11.2.0.2.0                0 FALSE                         
    Oracle Multimedia DICOM                                  11.2.0.2.0                0 FALSE                         
    Oracle Secure Backup                                     11.2.0.2.0                0 FALSE                         
    Oracle Text                                              11.2.0.2.0                0 FALSE                         
    Oracle Utility External Table                            11.2.0.2.0                0 FALSE                         
    Oracle Utility SQL Loader (Direct Path Load)             11.2.0.2.0                0 FALSE                         
    PL/SQL Native Compilation                                11.2.0.2.0                0 FALSE                         
    Read Only Tablespace                                     11.2.0.2.0                0 FALSE                         
    Real Application Clusters (RAC)                          11.2.0.2.0                0 FALSE                         
    Real-Time SQL Monitoring                                 11.2.0.2.0                0 FALSE                         
    Recovery Area                                            11.2.0.2.0                0 FALSE                         
    Recovery Manager (RMAN)                                  11.2.0.2.0                0 FALSE                         
    Resource Manager                                         11.2.0.2.0                0 FALSE                         
    Restore Point                                            11.2.0.2.0                0 FALSE                         
    Result Cache                                             11.2.0.2.0                0 FALSE                         
    RMAN - Disk Backup                                       11.2.0.2.0                0 FALSE                         
    RMAN - Tape Backup                                       11.2.0.2.0                0 FALSE                         
    Rules Manager                                            11.2.0.2.0                0 FALSE                         
    SecureFile Compression (system)                          11.2.0.2.0                0 FALSE                         
    SecureFile Compression (user)                            11.2.0.2.0                0 FALSE                         
    SecureFile Deduplication (system)                        11.2.0.2.0                0 FALSE                         
    SecureFile Deduplication (user)                          11.2.0.2.0                0 FALSE                         
    SecureFile Encryption (system)                           11.2.0.2.0                0 FALSE                         
    SecureFile Encryption (user)                             11.2.0.2.0                0 FALSE                         
    Semantics/RDF                                            11.2.0.2.0                0 FALSE                         
    Server Flash Cache                                       11.2.0.2.0                0 FALSE                         
    Services                                                 11.2.0.2.0                0 FALSE                         
    Shared Server                                            11.2.0.2.0                0 FALSE                         
    Spatial                                                  11.2.0.2.0                0 FALSE                         
    SQL Access Advisor                                       11.2.0.2.0                0 FALSE                         
    SQL Performance Analyzer                                 11.2.0.2.0                0 FALSE                         
    SQL Plan Management                                      11.2.0.2.0                0 FALSE                         
    SQL Profile                                              11.2.0.2.0                0 FALSE                         
    SQL Repair Advisor                                       11.2.0.2.0                0 FALSE                         
    SQL Tuning Set (system)                                  11.2.0.2.0                0 FALSE                         
    SQL Tuning Set (user)                                    11.2.0.2.0                0 FALSE                         
    SQL Workload Manager                                     11.2.0.2.0                0 FALSE                         
    Streams (system)                                         11.2.0.2.0                0 FALSE                         
    Streams (user)                                           11.2.0.2.0                0 FALSE                         
    Transparent Data Encryption                              11.2.0.2.0                0 FALSE                         
    Transparent Gateway                                      11.2.0.2.0                0 FALSE                         
    Transportable Tablespace                                 11.2.0.2.0                0 FALSE                         
    Tune MView                                               11.2.0.2.0                0 FALSE                         
    Undo Advisor                                             11.2.0.2.0                0 FALSE                         
    Very Large Memory                                        11.2.0.2.0                0 FALSE                         
    Workspace Manager                                        11.2.0.2.0                0 FALSE                         
    XDB                                                      11.2.0.2.0                0 FALSE                         
    XStream In                                               11.2.0.2.0                0 FALSE                         
    XStream Out                                              11.2.0.2.0                0 FALSE                         
    XStream Streams                                          11.2.0.2.0                0 FALSE                         
    ASO native encryption and checksumming                   11.2.0.2.0                1 FALSE          20/10/12       
    Segment Advisor (user)                                   11.2.0.2.0                1 FALSE          08/03/13       
    SQL Tuning Advisor                                       11.2.0.2.0                2 FALSE          09/02/13       
    AWR Report                                               11.2.0.2.0                3 FALSE          09/02/13       
    Oracle Utility Datapump (Import)                         11.2.0.2.0                3 FALSE          26/05/12       
    EM Performance Page                                      11.2.0.2.0                5 FALSE          20/10/12       
    SQL Monitoring and Tuning pages                          11.2.0.2.0                5 FALSE          20/10/12       
    Job Scheduler                                            11.2.0.2.0                6 TRUE           13/04/13       
    Segment Shrink                                           11.2.0.2.0                6 TRUE           13/04/13       
    EM Grid Control                                          11.2.0.2.0               27 FALSE          15/03/13       
    Automatic SQL Execution Memory                           11.2.0.2.0               35 TRUE           13/04/13       
    MTTR Advisor                                             11.2.0.2.0               41 TRUE           13/04/13       
    Parallel SQL DDL Execution                               11.2.0.2.0               56 TRUE           13/04/13       
    Parallel SQL DML Execution                               11.2.0.2.0               56 TRUE           13/04/13       
    Parallel SQL Query Execution                             11.2.0.2.0               61 TRUE           13/04/13       
    Oracle Utility Datapump (Export)                         11.2.0.2.0               93 TRUE           13/04/13       
    Oracle Utility Metadata API                              11.2.0.2.0               93 TRUE           13/04/13       
    Automatic Segment Space Management (user)                11.2.0.2.0               95 TRUE           13/04/13       
    Automatic SQL Tuning Advisor                             11.2.0.2.0               95 TRUE           13/04/13       
    LOB                                                      11.2.0.2.0               95 TRUE           13/04/13       
    Partitioning (user)                                      11.2.0.2.0               95 TRUE           13/04/13       
    Audit Options                                            11.2.0.2.0               96 TRUE           13/04/13       
    Automatic Maintenance - Optimizer Statistics Gathering   11.2.0.2.0               96 TRUE           13/04/13       
    Automatic Maintenance - Space Advisor                    11.2.0.2.0               96 TRUE           13/04/13       
    Automatic Maintenance - SQL Tuning Advisor               11.2.0.2.0               96 TRUE           13/04/13       
    Automatic Memory Tuning                                  11.2.0.2.0               96 TRUE           13/04/13       
    Automatic Segment Space Management (system)              11.2.0.2.0               96 TRUE           13/04/13       
    Automatic Undo Management                                11.2.0.2.0               96 TRUE           13/04/13       
    Character Set                                            11.2.0.2.0               96 TRUE           13/04/13       
    Deferred Segment Creation                                11.2.0.2.0               96 TRUE           13/04/13       
    Locally Managed Tablespaces (system)                     11.2.0.2.0               96 TRUE           13/04/13       
    Locally Managed Tablespaces (user)                       11.2.0.2.0               96 TRUE           13/04/13       
    Logfile Multiplexing                                     11.2.0.2.0               96 TRUE           13/04/13       
    Oracle Java Virtual Machine (system)                     11.2.0.2.0               96 TRUE           13/04/13       
    Partitioning (system)                                    11.2.0.2.0               96 TRUE           13/04/13       
    SecureFiles (system)                                     11.2.0.2.0               96 TRUE           13/04/13       
    SecureFiles (user)                                       11.2.0.2.0               96 TRUE           13/04/13       
    Server Parameter File                                    11.2.0.2.0               96 TRUE           13/04/13       
    Virtual Private Database (VPD)                           11.2.0.2.0               96 TRUE           13/04/13 thanks again

  • Oracle 11g  to a MySQL system

    Hi,
    My server:
    - SLES 10SP2
    - Oracle 11g
    - unixODBC
    - MyODBC-unixODBC
    My listener.ora
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = metis-bis)(PORT = 1521))
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC))
    CONNECT_TIMEOUT_LISTENER = 0
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (PROGRAM = dg4odbc)
    (ORACLE_HOME = /u01/app/oracle/product/11gR1/db_1)
    (SID_NAME = opentime)
    (ENVS=LD_LIBRARY_PATH = /usr/lib:/usr/lib/unixODBC:/u01/app/oracle/product/11gR1/db_1/lib:/u01/app/oracle/product/11gR1/db_1/hs/lib)
    My tnsnames.ora
    HS_OPENTIME =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS =
    (PROTOCOL = TCP)
    (HOST = metis-bis)
    (PORT = 1521)
    (CONNECT_DATA =
    (SID=opentime)
    (HS=OK)
    My initopentime.ora
    HS_FDS_CONNECT_INFO = opentime
    HS_FDS_TRACE_LEVEL = off
    HS_FDS_SHAREABLE_NAME = /usr/lib/libodbc.so
    set ODBCINI=/etc/unixODBC/odbc.ini
    When i try
    "tnsping opentime" that return
    TNS Ping Utility for Linux: Version 11.1.0.6.0 - Production on 22-JUIL.-2008 14:45:08
    Copyright (c) 1997, 2007, Oracle. All rights reserved.
    Fichiers de paramètres utilisés :
    Adaptateur TNSNAMES utilisé pour la résolution de l'alias
    Attempting to contact (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP) (HOST = metis-bis) (PORT = 1521))) (CONNECT_DATA = (SID=opentime)) (HS=OK))
    OK (0 msec)
    next, I can create a dblink but the select no
    SQL> SELECT * from "v_hoursEconomie"@opentime;
    SELECT * from "v_hoursEconomie"@opentime
    ERREUR à la ligne 1 :
    ORA-28500: la connexion d'ORACLE à un système non Oracle a renvoyé ce message :
    [MySQL][ODBC 3.51 Driver][mysqld-4.1.11-Debian_4sarge2-log]You have an error in
    your SQL syntax; check the manual that corresponds to your MySQL server version
    for the right syntax to use near
    '"id",A1."idPersonne",A1."nomPrenomPersonne",A1."matriculePersonne",A1."idProjet
    _' at line 1
    ORA-02063: précédant 2 lines de OPENTIME
    someone can help me?

    thx for answer.
    the third solutions work with SELECT, but when i try to create a MV that use mysql database i've the same error. I show you the script to create my MV
    CREATE MATERIALIZED VIEW "MV_OPENTIME_HEURE"
    ORGANIZATION HEAP PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 NOCOMPRESS LOGGING
    STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
    PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
    BUILD IMMEDIATE
    USING INDEX
    REFRESH COMPLETE ON DEMAND
    USING DEFAULT LOCAL ROLLBACK SEGMENT
    DISABLE QUERY REWRITE
    AS select
         "id" as ID,
         "Personne" as PERSONNE,
         "Projet" as PROJET,
         SUBSTR("pilier", 1,1) as pilier,
         To_Date('01.01.1970','DD.MM.YYYY')+ "jour"/60/60/24+1 as JOUR,
         "nombreHeures"/60/60 as NOMBREHEURES
    from
         "Economie"@opentime;
    for the second solutions, i'm note the administrator of the mysql, i've only a read access on this base.
    Message was edited by:
    christopheF

  • Oracle 11g XE UNLIMITED!

    Oracle 11g XE must compete directly against DB2 Express C9:
    *Unlimited Storage.
    *2 CPUS.
    *Memory 4GB.
    *Unlimited instances
    *32 and 64 bits.
    *Optional Replication.
    If ORACLE wants to position itself as #1 in the world of the data bases free, must be AGGRESSIVE.

    Hi Gary,
    Because the only real advantage of 64bit over 32bit is the more memory it can address.That's not strictly true (saying that that is the only real advantage). One of the other significant advantages of 64bit over 32bit is the extended register size, allowing manipulation and calculations of large numbers (i.e. numbers that's are larger than would fit into a 32bit register) much easier and faster.
    A while ago I helped out on a (non Oracle related) scientific 'number-crunching' project where we basically gave some calculations to a cluster of AMD Opteron servers to churn through. We found that simply by recompiling the program as a 64bit executable rather than a 32bit executable led to around a 20% increase in speed (there were no other changes to the program, no other special GCC compiler options other than compiling as 64bit).
    This was a very 'edge case', since the program was a pure calculation engine (it typically ran for around 4 weeks over 24 CPU's, i.e. around 672 CPU days of calculation), so the 20% increase in speed resulted in a very good gain in terms of the number of days saved.
    So, in the case of the Oracle DB code you might not see anything noticibly faster about running in 64bit, I'm sure it probably helps out a few of those math calculations churning away inside to run a bit faster.
    I agree with you that the memory is probably the key advantage for the 64bit move, however it's not the only advantage.
    John.
    http://jes.blogs.shellprompt.net

Maybe you are looking for