Disk Blocks, Oracle Blocks, Physical vs. Logical I/O

Hi,
I would like to request for some clarification. Sam Alapati states the following in his book “Expert Oracle9i Database Administration:”
“The storage disks on which the Oracle blocks reside are themselves divided into disk blocks, which are areas of contiguous storage containing a certain number of bytes—for example, 4096 or 32768 bytes (4KB or 32KB, because each kilobyte has 1024 bytes). Note that if the Oracle block size is smaller than the operating system file system buffer size, you may be wasting the capacity of the operating system to read and write larger chunks of data for each I/O.”
There are several questions stemming from the above discussion:
1.     Is the “file system buffer size” the same as the size of a disk block?
2.     Is the disk block the unit of physical I/O?
3.     Does there exist such a term as “logical I/O” in Oracle’s nomenclature? With the help of my limited knowledge of database administration, what I understand from the term “logical I/O” is “reading or writing of one Oracle block,” which, in turn, requires several physical I/O’s depending on how large a multiple of the OS block size the Oracle block size is. In that case, does setting the Oracle block size to, say, 8 KB, when the OS block size is, say, 2 KB then mean that one logical I/O would involve four physical I/O’s? Please correct me if I am mistaken.
Thanks,
Karim

I second that.
For all questions about the very basic concepts in the world of oracle db, you should read the, erhm, yes Concepts guide (read it back and forth a couple of times, then keep revisit).
Also via the tahiti page you can search or get books from libraries of the various server products from 8i, 9i, and 10g families.

Similar Messages

  • Oracle - ROWID (Physical and logical)

    Hi,
    Could you please clarify the below doubts?
    - Difference between Physical and Logical ROWID's
    - Difference between ROWID and UROWID datatypes
    Regards,
    Ragav

    Instead of an answer, may I suggest you go through following link?
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14220/datatype.htm#sthref3894

  • Oracle blocked process on vmstat

    Hello,
    I am getting oracle blocked process on the results of vmstat b column. The run queue is fine and but the blocked process are increasing . When I checked with the forums i found out that it waiting for an I/O.
    Hardware: IBBM blade
    SAN - Netapp
    The server is OEL 5 with Oracle 11g running on it. There is no local disk on the server everything configured as SAN with multipathing. Also along with the /boot and / partition are connected to the SAN.
    Also experiencing the issues with the cpu utilization as well and the cpu utilization become 100%. And it causes for the server load to reach 15 , 25, 30. The kernel parameters are set it up as recommend by the Oracle.
    This is causing issues for Oracle query. Is there any recommendation I can use to improve the performance?

    The numbers in vmstat alone won't help you, as they depend on workload. As far as I know, the values won't tell you if your system or processes are working efficiently. You may have a busy process or technical issue causing a performance bottleneck, or perhaps you are overloading the machine, have run out of physical memory, etc., etc.
    The bi and bo column in vmstat shows the data transfer between virtual memory and block devices. I don't see how these numbers could possibly tell you that something is wrong. Perhaps your database is performing a lot of full table scans or the DB cache is too small, etc. But then again, it depends on your tasks and workload.
    I suggest to find out which processes are causing the most I/O and then analyze the processes. Process that are waiting for I/O are typically in "D" state. What is your output of the following:
    <pre>
    # ps -eo state,pid,cmd | grep "^D"
    </pre>
    If you suspect that disk access is the issue, use the pid(s) of the previous command as following to see which files are affected.
    <pre>
    # lsof -p pid
    </pre>

  • How to collect physical and logical disk counters using query?

    Hai friends, i want to view physical and logical disk counters in sql server like Avg. Disk sec/Read, Avg.
    Disk Bytes/Read, Avg. Disk sec/Write, Avg.
    Disk Bytes/Write, etc.,  Can anyone tell me how to vies this by using query?
    Thanks in advance..

    Hai friends, i want to view physical and logical disk counters in sql server like Avg. Disk sec/Read, Avg.
    Disk Bytes/Read, Avg. Disk sec/Write, Avg.
    Disk Bytes/Write, etc.,  Can anyone tell me how to vies this by using query?
    Thanks in advance..
    Hello,
    Sys.dm_os_performance counter will only show counters related to SQL server not Physical disk if you run below query in SQL server it will not return any value so no disk counter is present.You will have to see it using perfmon.
    select * from sys.dm_os_performance_counters where counter_name like '%disk%'
    This can also be done through power shell but I dont have experience with that.You can search net for power shell query to see Windows perfmon counters
    Please mark this reply as the answer or vote as helpful, as appropriate, to make it useful for other readers

  • Oracle block corresponding to a given rowid.

    Hi all,
    When we know the rowid R of a row in a table named TABLE_TEST, how can we know the ID of the Oracle block containing this row?
    Thanks.

    SQL> select dbms_rowid.ROWID_BLOCK_NUMBER( rowid ), ROWID FROM A_NEW ;
    DBMS_ROWID.ROWID_BLOCK_NUMBER( ROWID
                             94826 AAASO/AABAAAXJqAAA
                             94826 AAASO/AABAAAXJqAAB
                             94826 AAASO/AABAAAXJqAAC
    SQL>

  • RV082 blocks Oracle forum :/

    Hello
    Lately we're having strange problems with our RV082. It blocks oracle forum site -
    http://forums.oracle.com/forums/
    If I want to enter a oracle forum it displays 403 Forbidden and nothing more :/
    If I try to connect from other router in our firm everything is all right.
    We tried to disable firewall but that didn't helped. We don't have ProtectLink.
    If anyone know the issue I'll be glad to hear you story.
    We're seeking solution to this but nothing came out by now ...
    Best regards
    piotr

    793619 wrote:
    Hi moderator
    Please put my question in the suitable section if it is not placed in the right one.Put it there yourself.
    Community Feedback (No Product Questions)
    The Java and Solaris moderators aka community moderators are not authorized to move content anywhere and everywhere on forums.oracle.com. In future, please check the forum listings and find the correct forum to post to.
    I'm locking this thread and it will be removed later.
    db

  • Query on Physical and Logical structures

    Hi All
    Please Open the following link that opens a figure a 12-1 Logaical and physical storage . Please explain me how an data file can have many extents ( An arrow between Data file and extent i.e one to many relation ship ) , as the data file stores data in operating system blocks .
    [http://download.oracle.com/docs/cd/E11882_01/server.112/e10713/logical.htm#i8531]
    Thank you
    Aravind

    user8709943 wrote:
    Hi
    can we upload the an image here . if yes , please tell me how to .
    Thank youI don't know of any way to upload images, but the url you provided is working for me.
    Let me try again.
    There is no concept of extents in the datafile at the OS level, at least not that has any bearing at all on oracle or any other application that would access a data file.
    A data file is created of some size, let's say 10gb. Remember that even this data file is an OS abstraction of sectors on a disk. If some app (be it Oracle, MS Word, Quicken, whatever) asks the OS to read a file, the OS translates that request to the disk controller, which figures out what sectors (cylinder,track,offset) have to be returned in what order to satisfy the request from the OS.
    When Oracle creates a tablespace, or adds a file to a tablespace, it simply asks the OS to create a file of some size. Oracle doesn't know or care how that happens. Oracle doesn't know or care how the OS keeps track of the parts of that file. Oracle doesn't know or care where that file is. Oracle doesn't know or care about OS blocks. All Oracle (or any app) knows is that there exists a file of 10gb. To Oracle, that file is nothing but an address space, beginning at zero and extending for 10gb from there. Whenever Oracle needs data from the file, it will ask the OS for 'x' bytes beginning at offset 'y'. It's up to the OS to figure out what that means. Conversly, the OS doesn't even know about tablespaces. As far as the OS is concerned, the file doesn't even 'belong' to oracle. It just exists, it can be opened/read/written by anyone.
    Now it's up to oracle to decide what to do with this file. First, he keeps track of its fully qualified name, its size, and what tablespace he is assigning it to. As part of the tablespace definition, we have a blocksize. This defines how many bytes Oracle will request from the os on any i/o operations. It will be up to the OS to decide what that means.
    Next, we create a table. Part of that request will include (explicitly or implicity) an amount of space to reserve in the tablespace. So oracle will create an extent. This simply means that Oracle will make note of the fact that a part of the file beginning with block 'x' and extending for 'y' blocks, will be reserved for exclusive use of that table. Again, these are oracle blocks. The OS neither knows nor cares about any of this.
    Now we insert a row into our table. Oracle looks for an available block in the extent reserved for that table, and reads it into the buffer. For this read operation, oracle simply asks the os for <oracle_block_size> bytes, beginning at offset 'x' from data file 'y'. Oracle's own internal bookkeeping is used to determine the value of 'offset x' before the request is passed to the os. Again, the OS knows nothing about any of this (tablespaces, segments, extents, even oracle blocks); all it knows is a request to get a specified number of bytes beginning at a specified offset of a specified file. <b><i><u>If</u></i></b> it (the os) does that by having a structure it calls an extent and/or a structure it calls a block, fine. But Oracle doesn't know or care about any of that.
    As for an oracle block equaling an OS block, or the rule that an oracle block must be an integer multiple of an OS block ... even that is not true. It is best for i/o efficiency if the oracle block is an integer multiple of the os block. But in strict terms, since neither knows or cares about the other, they do not have to be equal.

  • Separation of the physical and logical structures

    Hi,
    I am very new to Oracle database administration. While reading Sam Alapati's book "Expert Oracle9i Database Administration," I came across the concept of the separation of an Oracle database’s physical storage structures from its logical storage structures. In particular, Sam states the following in his book:
    “This logical defining of Oracle's database structure has another fundamental motive behind it. By organizing space into logical structures and assigning these logical entities to users of the database, Oracle databases achieve the logical separation of users (owners of the database objects, such as tables) of the database from the physical manifestations of the database in terms of data files and so forth.”
    I am not quite convinced about the value this separation of the physical and logical really adds to the task of database administration. Considering the way DBASE worked, i.e. each table used to be stored as a separate file, what would be lost if Oracle’s implementation were similar and each table (i.e. file) were to be assigned to a particular user. I am not sure of the value added by storing the data from more than one table in more than one file, effectively resulting in a many-to-many relationship between tables and files. Please enlighten me. I would really appreciate it.
    Karim

    and each table were to be assigned to a particular user. Don't know what you mean. In Oracle, every table has one and only one owner.
    I am not sure of the value added by storing the data from more than one table in more than one fileIf an application has a thousand tables, would you rather manage 1000 files or 1?
    In general, separating the physical from the logical allows the physical structure to change without affecting the logical (in theory at least). Even a table is a logical structure. We think of rows and columns, but it isn't stored the way we think of it. When we do a select statement, we don't have to write code to read each block, extract the contents, etc.
    With partitioned tables, it is sometimes a good idea to split up partitions in such a way to get a performance gain. Like placing the most recent (and most queried) month of data on the fastest storage device. If you stuffed everything in to one gigantic file, you would lose that ability.
    If you want to store each table as a separate file, you can do that with Oracle. For each new table, create a new tablespace, and then create a new file for the tablespace. Then come back to this forum in a year and tell us how it's going.

  • Error in reading (block 3, # blocks 8) of control file

    Hi All,
    My database experiencing this error :
    ORA-00204: error in reading (block 3, # blocks 8) of control file
    ORA-00202: control file: 'C:\ORACLEXE\ORADATA\XE\CONTROL.DBF'
    ORA-27091: unable to queue I/O
    ORA-27070: async read/write failed
    OSD-04006: ReadFile() failure, unable to read from file
    O/S-Error: (OS 23) Data error (cyclic redundancy check).
    Worst part we do not have latest backup and makes things weird.
    My Control file seem corrupted.

    Error: ORA 204
    Text: error in reading control file <name> block <num>, # blocks <num>
    Cause: A disk read-failure occurred while attempting to read the specified
    control file.
    The block location of the failure is given.
    Action: Check that the disk is online.
    If it is not, bring it online and shut down and restart Oracle.
    If the disk is online, then look for operating system reasons for
    Oracle's inability to read the disk or control file.
    Use the mutiplxed controlfile if you have already available to start your instance...
    SQL>show parameter control_files;
    Use above command

  • Export physical and logical details on ASA 5520 and 8.0 software

    Hello...does anybody know if there is any way to export details of the physical and logical interface details (including interface descriptions) to Excel, PDF or and other format from the command line or ASDM? 
    Thanks,
    John

    Export directly in xls, xlsx or pdf - no.
    The output of "show run interface" or "show interface" is pretty structured however and easily parsed by Excel - either manually or via a macro. See output below (you can omit the interface identifier to get all interfaces. I used one for brevity.)
    One can build a script to log in, perform an arbitrary command logging the output to a file which can then be massaged to extract the information you want in a suitable format (csv, etc.). Once in Excel it can be saved as pdf if you're so inclined.
    Of couse, some of the full-featured network management tools do a lot of this (and lots more) if you have them.
    ASA-1# sh run int eth0/0
    interface Ethernet0/0
    nameif outside
    security-level 0
    ip address x.x.x.x 255.255.255.224
    ASA-1#
    ASA-1# sh int eth0/0
    Interface Ethernet0/0 "outside", is up, line protocol is up
      Hardware is i82546GB rev03, BW 1000 Mbps, DLY 10 usec
    Auto-Duplex(Full-duplex), Auto-Speed(1000 Mbps)
    Input flow control is unsupported, output flow control is unsupported
    MAC address 0013.c480.6b50, MTU 1500
    IP address x.x.x.x, subnet mask 255.255.255.224
    14156274 packets input, 16095096189 bytes, 0 no buffer
    Received 44764 broadcasts, 0 runts, 0 giants
    0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort
    0 pause input, 0 resume input
    0 L2 decode drops
    8548524 packets output, 1006461151 bytes, 0 underruns
    0 pause output, 0 resume output
    0 output errors, 64 collisions, 6 interface resets
    95 late collisions, 627 deferred
    0 input reset drops, 0 output reset drops, 0 tx hangs
    input queue (blocks free curr/low): hardware (255/230)
    output queue (blocks free curr/low): hardware (255/125)
      Traffic Statistics for "outside":
    14156267 packets input, 15839536990 bytes
    8548619 packets output, 820243613 bytes
    39502 packets dropped
          1 minute input rate 2 pkts/sec,  349 bytes/sec
          1 minute output rate 2 pkts/sec,  425 bytes/sec
          1 minute drop rate, 0 pkts/sec
          5 minute input rate 2 pkts/sec,  2091 bytes/sec
          5 minute output rate 1 pkts/sec,  352 bytes/sec
          5 minute drop rate, 0 pkts/sec

  • Changing ip of physical and logical host

    I have a 2 nodes Sun cluster 2.2 working. I have to put it in another lan, so I have to change both Physical and logical host and terminal concentrator and console ip addresses. How can I do?
    Thanks

    I don't see a reply so I'll take a shot. Just like you have 0-9 for numbers and you can arrange them anyway you want, you still only have 0-9. You have the physical (system block and datafiles) which are somewhat static. Then you have the the logical (tablespace, segements, extents)which are volatile and connected by chaining (links) which may be all over the place in the physical but appears to be one whole unit in the logical. Just like an image on a TV screen wearing a red hat, you see a red hat (logical) but it is actual pixels which are chained or linked (data pointers) to each other by the color red. I hope that helps until someone comes by with a better answer.

  • RAC Create ORA-00206: error in writing (block 3, # blocks 1) of controlfile

    Why i am getting this error durint RAC DB Creation using dbca -datafileDestination /var/opt/oracle/oradata/orcl
    I cheek the directory and i am seeing 3 control files created in it. Out put of my alert.log file
    Any idea?
    =================================================
    Starting ORACLE instance (normal)
    Sun Apr 11 12:07:59 2004
    Global Enqueue Service Resources = 64, pool = 1
    Sun Apr 11 12:07:59 2004
    Global Enqueue Service Enqueues = 128
    LICENSE_MAX_SESSION = 0
    LICENSE_SESSIONS_WARNING = 0
    GES IPC: Receivers 1 Senders 1
    GES IPC: Buffers Receive 1000 Send 530 Reserve 300
    GES IPC: Msg Size Regular 396 Batch 2048
    SCN scheme 2
    Using log_archive_dest parameter default value
    LICENSE_MAX_USERS = 0
    SYS auditing is disabled
    Starting up ORACLE RDBMS Version: 9.2.0.4.0.
    System parameters with non-default values:
    processes = 150
    timed_statistics = TRUE
    shared_pool_size = 150994944
    large_pool_size = 33554432
    java_pool_size = 16777216
    control_files = /var/opt/oracle/oradata/orcl/control01.ctl, /var/opt/oracle/oradata/orcl/control02.ctl, /var/opt/oracle/oradata/orcl/control03.ctl
    db_block_size = 8192
    db_cache_size = 50331648
    compatible = 9.2.0.0.0
    db_file_multiblock_read_count= 16
    cluster_database_instances= 1
    thread = 1
    fast_start_mttr_target = 300
    instance_number = 1
    undo_management = AUTO
    undo_tablespace = UNDOTBS1
    undo_retention = 10800
    remote_login_passwordfile= EXCLUSIVE
    db_domain =
    instance_name = orcl
    local_listener = LISTENER_ORCL1
    remote_listener = LISTENERS_ORCL
    hash_join_enabled = TRUE
    background_dump_dest = /ora01/oracle/admin/orcl/bdump
    user_dump_dest = /ora01/oracle/admin/orcl/udump
    core_dump_dest = /ora01/oracle/admin/orcl/cdump
    sort_area_size = 524288
    db_name = orcl
    open_cursors = 300
    star_transformation_enabled= FALSE
    query_rewrite_enabled = FALSE
    pga_aggregate_target = 60817408
    Sun Apr 11 12:07:59 2004
    cluster interconnect IPC version:Oracle UDP/IP
    IPC Vendor 1 proto 2 Version 1.0
    PMON started with pid=2
    DIAG started with pid=3
    LMON started with pid=4
    LMD0 started with pid=5
    DBW0 started with pid=6
    LGWR started with pid=7
    CKPT started with pid=8
    SMON started with pid=9
    RECO started with pid=10
    Sun Apr 11 12:08:02 2004
    CREATE DATABASE orcl
    MAXINSTANCES 32
    MAXLOGHISTORY 0
    MAXLOGFILES 192
    MAXLOGMEMBERS 3
    MAXDATAFILES 1024
    DATAFILE '/var/opt/oracle/oradata/orcl/orcl/system01.dbf' SIZE 250M REUSE AUTOEXTEND ON NEXT 10240K MAXSIZE UNLIMITED
    EXTENT MANAGEMENT LOCAL
    DEFAULT TEMPORARY TABLESPACE TEMP TEMPFILE '/var/opt/oracle/oradata/orcl/orcl/temp01.dbf' SIZE 40M REUSE AUTOEXTEND ON NEXT 640K MAXSIZE UNLIMITED
    UNDO TABLESPACE "UNDOTBS1" DATAFILE '/var/opt/oracle/oradata/orcl/orcl/undotbs01.dbf' SIZE 20M REUSE AUTOEXTEND ON NEXT 5120K MAXSIZE UNLIMITED
    CHARACTER SET WE8ISO8859P1
    NATIONAL CHARACTER SET AL16UTF16
    LOGFILE GROUP 1 ('/var/opt/oracle/oradata/orcl/orcl/redo01.log') SIZE 5M REUSE,
    GROUP 2 ('/var/opt/oracle/oradata/orcl/orcl/redo02.log') SIZE 5M REUSE
    Sun Apr 11 12:08:02 2004
    lmon registered with NM - instance id 1 (internal mem no 0)
    Sun Apr 11 12:08:03 2004
    Reconfiguration started
    List of nodes: 0,
    Global Resource Directory frozen
    one node partition
    Communication channels reestablished
    Master broadcasted resource hash value bitmaps
    Non-local Process blocks cleaned out
    Resources and enqueues cleaned out
    Resources remastered 0
    set master node info
    Submitted all remote-enqueue requests
    Update rdomain variables
    Dwn-cvts replayed, VALBLKs dubious
    All grantable enqueues granted
    0 GCS shadows traversed, 0 replayed, 0 unopened
    Submitted all GCS remote-cache requests
    Sun Apr 11 12:08:03 2004
    Reconfiguration complete
    Post SMON to start 1st pass IR
    Sun Apr 11 12:08:24 2004
    Database mounted in Exclusive Mode.
    Sun Apr 11 12:08:35 2004
    Successful mount of redo thread 1, with mount id 1051001763.
    Assigning activation ID 1051001763 (0x3ea503a3)
    Thread 1 opened at log sequence 1
    Current log# 1 seq# 1 mem# 0: /var/opt/oracle/oradata/orcl/orcl/redo01.log
    Successful open of redo thread 1.
    Sun Apr 11 12:08:38 2004
    SMON: enabling cache recovery
    Sun Apr 11 12:08:38 2004
    WARNING: Default passwords for SYS and SYSTEM will be used.
    Please change the passwords.
    Sun Apr 11 12:08:38 2004
    create tablespace SYSTEM datafile '/var/opt/oracle/oradata/orcl/orcl/system01.dbf' SIZE 250M REUSE AUTOEXTEND ON NEXT 10240K MAXSIZE UNLIMITED
    EXTENT MANAGEMENT LOCAL online
    Sun Apr 11 12:10:08 2004
    Errors in file /ora01/oracle/admin/orcl/bdump/orcl1_ckpt_16649.trc:
    ORA-00206: error in writing (block 3, # blocks 1) of controlfile
    ORA-00202: controlfile: '/var/opt/oracle/oradata/orcl/control03.ctl'
    ORA-27072: skgfdisp: I/O error
    Linux Error: 5: Input/output error
    Additional information: 2
    ORA-00206: error in writing (block 3, # blocks 1) of controlfile
    ORA-00202: controlfile: '/var/opt/oracle/oradata/orcl/control01.ctl'
    ORA-27072: skgfdisp: I/O error
    Linux Error: 5: Input/output error
    Additional information: 2
    Sun Apr 11 12:10:08 2004
    Errors in file /ora01/oracle/admin/orcl/bdump/orcl1_ckpt_16649.trc:
    ORA-00221: error on write to controlfile
    ORA-00206: error in writing (block 3, # blocks 1) of controlfile
    ORA-00202: controlfile: '/var/opt/oracle/oradata/orcl/control03.ctl'
    ORA-27072: skgfdisp: I/O error
    Linux Error: 5: Input/output error
    Additional information: 2
    ORA-00206: error in writing (block 3, # blocks 1) of controlfile
    ORA-00202: controlfile: '/var/opt/oracle/oradata/orcl/control01.ctl'
    ORA-27072: skgfdisp: I/O error
    Linux Error: 5: Input/output error
    Additional information: 2
    Sun Apr 11 12:10:08 2004
    CKPT: terminating instance due to error 221
    Sun Apr 11 12:10:09 2004
    System state dump is made for local instance
    Sun Apr 11 12:10:09 2004
    Trace dumping is performing id=[cdmp_20040411121009]
    Sun Apr 11 12:10:13 2004
    Instance terminated by CKPT, pid = 16649
    =================================================

    dear karan & all
    i have copied "control file" from another location but now it generate an error
    SQL> startup
    ORACLE instance started.
    Total System Global Area  557842432 bytes
    Fixed Size                  1250140 bytes
    Variable Size             289410212 bytes
    Database Buffers          264241152 bytes
    Redo Buffers                2940928 bytes
    ORA-00211: control file does not match previous control files
    ORA-00202: control file: 'F:\ORACLE\IDS\SAPDATA1\CNTRL\CNTRLIDS.DBF'
    SQL>
    now tell me what can i do
    regard

  • ORA-00204: error in reading (block string, # blocks string) of controlfile

    dear all
    when i start db
    with command  sqlplus "/as sysdba" 
    at the end it generate an error
    C:\Documents and Settings\idsadm>sqlplus "/as sysdba"
    SQL*Plus: Release 10.2.0.1.0 - Production on Mon Oct 20 12:47:37 2008
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    Connected to an idle instance.
    SQL> startup
    ORACLE instance started.
    Total System Global Area  557842432 bytes
    Fixed Size                  1250140 bytes
    Variable Size             289410212 bytes
    Database Buffers          264241152 bytes
    Redo Buffers                2940928 bytes
    ORA-00204: error in reading (block 3, # blocks 50) of control file
    ORA-00202: control file: 'F:\ORACLE\IDS\SAPDATA1\CNTRL\CNTRLIDS.DBF'
    ORA-27091: unable to queue I/O
    ORA-27070: async read/write failed
    OSD-04006: ReadFile() failure, unable to read from file
    O/S-Error: (OS 23) Data error (cyclic redundancy check).

    dear karan & all
    i have copied "control file" from another location but now it generate an error
    SQL> startup
    ORACLE instance started.
    Total System Global Area  557842432 bytes
    Fixed Size                  1250140 bytes
    Variable Size             289410212 bytes
    Database Buffers          264241152 bytes
    Redo Buffers                2940928 bytes
    ORA-00211: control file does not match previous control files
    ORA-00202: control file: 'F:\ORACLE\IDS\SAPDATA1\CNTRL\CNTRLIDS.DBF'
    SQL>
    now tell me what can i do
    regard

  • Oracle database normalisation and logical design documnetation

    Hi ,
    Am a begginer on DB design , can anyone help me find Oracle database normalisation and logical design documnetation for reference.
    Thanks,
    Swaroop

    Database logical design and normalization are typically DBMS (Database Management System) independent. Meaning that you could do a whole LOGICAL design without regards to the platform in which it will be based. There are many, many resources on the internet if you search for them. if you used terms like "logical database design", or "database normalization" on Google or your search engine of choice I imagine you'll come up with many results.
    When it comes to the actual physical design of the database (as in tablespaces, datafiles, indexes, etc) I would first consult the "Oracle Concepts Guide", and then something like the "Application Developer's Guide." This documentation is all available at:
    http://otn.oracle.com
    Hope this helps!

  • Physical Vs Logical Partitioning

    We have 2 million records in the sales infocube for 3 years. We are currently discussing the pros and cons of using Logical partitioning Vs Physical Partitioning. Please give your inputs.

    hi
    there are two types of partitioning generally talked about with SAP BW, logical and physical partitioning.
    Logical partitioning - instead of having all your data in a single cube, you might break into separate cubes, with each cube holding aspecific year's data, e.g. you could have 5 sales cubes, one for each year 2001 thru 2005.
    You would then create a Multi-Provider that allowed you to query all of them together.
    A query that needs data from all 5 years would then automatically (you can control this) be split into 5 separate queries, one against each cube, running at the same time. The system automatically merges the results from the 5 queries into a single result set.
    So it's easy to see when this could be a benefit. If your queries however are primarily run just for a single year, then you don't receive the benefit of the parallel processing. In non-Oracle DBs, splitting the data like this may still be a benefit by reducing the amount of rows in the fact table that must be read, but does not provide as much value to an Oracle DB since Infocube queries are using a Star_Transformation.
    Physical Partitioning - I believe only Oracle and Informix currently support Range partitioning. This is a separately licensed option in Oracle.
    Physical partitioning allows you to split an Infocube into smaller pieces. The pieces, or partitions, can only be created by 0FISCPER or 0CALMONTH for an InfoCube (ODSs can be partitioned, but require a DBAs involvement). The DB can then take advantage of this partitioning by "pruning" partitions during a query, e.g. a query only needs data form June 2005
    The DB is smart enough to restrict the indices and data it will read to the June 2005 partition. This assumes your query restricts/filters on the partitioning characteristic. It can apply this pruning to a range of partitions as well, e.g. 0FISCPER 001/2005 thru 003/2005 would only look at the 3 partitions.
    It is NOTsmart enough, however, to figure out that if your restrict to 0FISCYEAR = 2005, that it should only read 000/2005 thru 016/2005 since 0FISCYEAR is NOT the partitioning characteristic.
    An InfoCube MUST be empty in order to physically partition it. At this time, there is no way to add additional partitions thru AWB, so you want to make sure that you create partitions out into the future for at least a of couple of years.
    If the base cube is partitioned, any aggregates that contain the partitioning characteristic (0CALMONTH or 0FISCPER) will automatically be partitioned.
    In summary, you need to figure out if you want to use physical or logical partitioning on the cube(s), or both, as they are not mutually exclusive.
    So you would need to know how the data will be queried, and the volume of data. It would make little sense to partition cubes that will not be very large.
    physical partitioning is done at database level and logical partitioning done at data target level.
    Cube partitioning with time characteristics 0calmonth Fiscper is physical partitioning.
    Logical partitioning is u partition ur cube by year or month that is u divide the cube into different cubes and create a multiprovider on top of it.
    logical Vs physical partitions ?

Maybe you are looking for