in regards to oracle block size os and monobloc io call!

Hi all

My db(10gr2) block size is 8 k, and
the BP is on the file system raw device on an aix machine.

OS block size is 512 KB.

How block is read from disk when a call to io unique oracle occurs?
Which is current, 8K, or 512K?

If the block size for a single e/s call depends on the size of the bone (512 k) block,
I think that the os block size need to be tuned for oracle block size (8 k).

If we use the raw device file system, operating system level block size has no meaning?


Thanks in advance.
Best regards.

Hello
Please refer to the following oracle doc:

http://docs.Oracle.com/CD/B28359_01/server.111/b32009/appa_aix.htm

excerpt from it:

Setting the database block size

You can configure the Oracle database block size for a higher flow of input-output. On AIX, you can set the value of the initialization parameter DB_BLOCK_SIZE for between 2 KB and 32 KB, with a default value of 4 KB. If the Oracle database is installed on a journaled file system, then the block size must be a multiple of the block size in file system (4 KB on JFS, 16 K to 1 MB on GPFS). For databases on raw partitions, the Oracle database block size is a multiple of the physical block (512 bytes on AIX) operating system size.

Thank you and best regards,
Raj K.

Tags: Database

Similar Questions

  • OS and Oracle block size block size

    [Condition] If the size of the block of BONE [512 b - 64K] is greater than the size of block Oracle [2K - 16K]

    Assume: BONES Block Size: 32K and Oracle block size: 8K

    Quebec: One-to-many relationship will always be true? or block Oracle will use 8K to 32 K, and the rest will be unused? or it will return the error at the time of the creation of the data file?

    This will challenge the relationship "one to many".

    Leader: Oracle logical and physical storage diagram.svg - Wikimedia Commons

    Refer to the basis of the diagram.

    " --------------------< "="" show's="" one="" to="" many="" relation.="" one="" x="" can="" contain="" many="">

    ">-------------------<" show's="" many="" to="" many"="" i.e="" many="" x="" can="" contain="" many="">

    You don't seem to be read or understand what everyone says.

    There is NO such "one to many" relationship. Like I said above

    There is no 'validation of one to many '.

    1. the operating system uses a given block size

    2. you choose an Oracle block size

    All these "one to many" is just the result of the choices you made in #2 above. There isn't any 'validation' that occur.

    This likely diagram shows this relationship based on the recommendation of Oracle to select a block size that is a multiple of the block size of OS. If you do that this diagram will NOT reflect the case of NORMAL use.

    You can't believe everything you see on the internet. Articles/diagrams and others are often from unknown or reliable sources.

    2.

    'Validation' is not any process.

    I just wanted to write the Validation of the theory, the relationship.

    Re-read what I just said again above.

    There is NO validation. There is NO theory of validation.

    All there is is the reality of the block size, you choose and the reality of the OS block size you use. Any relationship between these two values is just a reflection of these two values.

    If you choose two different values, they have a completely different relationship to each other.

    Oracle works with blocks of the Oracle. The operating system works with the BONE blocks. Oracle does not care really what size a block of BONE is in connection with an Oracle block.

  • Oracle query of relay and access function call does not return the list

    Thanks to aid in a previous post, I received, I created an oracle 10 g feature that returns the list after you run the sql code it contains. It works in oracle, using sql developer.

    I need to have the list that he returned to see the place in MS Access via a relay request. It does not work so far. The string for connection etc is ok, I'm able to use passthrough queries to run sql strings correctly. But when I try to call the function through the request of relay and access initially nothing seems to happen (IE no list) and if I try to run again, there is an "ongoing call odbc error. Current operation cancelled "." There are only three records in the table. I'm missing something, someone can he spot?

    The application of relay and looks like this

    Select * from fn_testvalues of the double

    Once that is running in oracle.

    To create the test table and 2 functions below.

    CREATE TABLE t_values (MyValue varchar2 (10));

    Table created
    INSERT INTO t_values)
    SELECT 'Merced' c1 FROM dual UNION ALL
    SELECT "Pixie" dual UNION ALL
    SELECT "452" DOUBLE);

    3 lines inserted
    FUNCTION to CREATE or REPLACE RETURN NUMBER IS fn_isnum(p_val VARCHAR2)
    n_val NUMBER;
    BEGIN
    n_val: = to_number (p_val);
    RETURN 1;
    EXCEPTION
    WHILE OTHERS THEN
    RETURN 0;
    END;
    /

    Feature created

    table test:
    SELECT val, isnum fn_isnum (MyValue)
    OF t_values;

    VAL ISNUM
    ---------- ----------
    Merced 0
    Pixie 0
    1 452

    Now the function that is called in the application of relay:

    create or replace function fn_testvalues
    sys_refcursor is back
    RC sys_refcursor;
    Start
    Open rc for
    Select t_values.*, fn_isnum (MyValue) t_values IsNum;
    Return (RC);

    end fn_testvalues;

    Why not?

    satyaki>
    satyaki>select * from v$version;
    
    BANNER
    ----------------------------------------------------------------
    Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Prod
    PL/SQL Release 10.2.0.1.0 - Production
    CORE    10.2.0.1.0      Production
    TNS for Linux: Version 10.2.0.1.0 - Production
    NLSRTL Version 10.2.0.1.0 - Production
    
    Elapsed: 00:00:00.00
    satyaki>
    satyaki>
    satyaki>create or replace view bb
      2  as
      3    select *
      4    from emp;
    
    View created.
    
    Elapsed: 00:00:00.00
    satyaki>
    satyaki>
    satyaki>select * from bb;
    
         EMPNO ENAME      JOB              MGR HIREDATE         SAL       COMM     DEPTNO JOB1      DOB
    ---------- ---------- --------- ---------- --------- ---------- ---------- ---------- --------- ----
          7521 WARD       SALESMAN        7698 22-FEB-81     226.88        500         30 SALESMAN
          7654 MARTIN     SALESMAN        7698 28-SEP-81       1815       1400         30 SALESMAN
          7788 SCOTT      ANALYST         7566 19-APR-87     598.95                    20 ANALYST
          7839 KING       PRESIDENT            17-NOV-81       7260                    10 PRESIDENT
          7844 TURNER     SALESMAN        7698 08-SEP-81       2178          0         30 SALESMAN
          7876 ADAMS      CLERK           7788 23-MAY-87     159.72                    20 CLERK
          7900 JAMES      CLERK           7698 03-DEC-81     1379.4                    30 CLERK
          7902 FORD       ANALYST         7566 03-DEC-81    5270.76                    20 ANALYST
          7934 MILLER     CLERK           7782 23-JAN-82     1887.6                    10 CLERK
          7566 Smith      Manager         7839 23-JAN-82       1848          0         10 Manager   23-JAN-89
          7698 Glen       Manager         7839 23-JAN-82       1848          0         10 Manager   23-JAN-89
    
         EMPNO ENAME      JOB              MGR HIREDATE         SAL       COMM     DEPTNO JOB1      DOB
    ---------- ---------- --------- ---------- --------- ---------- ---------- ---------- --------- ----
             1 boock
    
    12 rows selected.
    
    Elapsed: 00:00:00.00
    satyaki>
    satyaki>
    satyaki>select *
      2  from bb
      3  where empno = &eno;
    Enter value for eno: 7521
    old   3: where empno = &eno
    new   3: where empno = 7521
    
         EMPNO ENAME      JOB              MGR HIREDATE         SAL       COMM     DEPTNO JOB1      DOB
    ---------- ---------- --------- ---------- --------- ---------- ---------- ---------- --------- ----
          7521 WARD       SALESMAN        7698 22-FEB-81     226.88        500         30 SALESMAN
    
    Elapsed: 00:00:00.00
    satyaki>
    satyaki>
    

    Kind regards.

    LOULOU.

  • Oracle and the segment size of external storage block size

    Hi all.
    I have a storage which will host an instance of Oracle data files. The RAID should be configured and for this, my colleague needs set the segment size. Its options are 16 k, 32 k, 64 k.
    The db Oracle will essentially the size of block 8 k value. The oracle block size must be synchronized with the size of the minimum of 16 k segment?
    How this change may affect performance?
    Thank you.

    rp0428, nice answer.

    Balu, as I suggested use 64K and call it a day.

    HTH - Mark D Powell.

    Edited by: Mark D Powell on August 10, 2012 12:12

  • What is the best practice to block through several layers sizes: hardware and hypervisor VM OS?

    The example below is not a real Setup, I work with, but should get the message. Here's my example of what I'm doing as a reference layer:

    (LAYER1) Hardware: The hardware RAID controller

    • -1 TB Volume configured in the 4K block size. (RAW)?


    (Layer2) Hypervisor: Data store ESXi

    • -1 TB of Raid Controller formatted with VMFS5 @ block size of 1 MB.


    Layer (3) the VM OS: Server 2008 R2 w/SQL

    • -100 GB virtual HD using NTFS @ 4 K for the OS block size.
    • -900 GB virtual HD set up using NTFS @ 64 K block size to store the SQL database.

    It seems that vmfs5 is limited to only having a block size of 1 MB. It would be preferable that all or part of the size of the blocks matched on different layers and why or why not? What are the different block sizes on other layers and performance? Could you suggest better alternative or best practices for the sample configuration above?

    If a San participated instead of a hardware on the host computer RAID controller, it would be better to store the vmdk of OS on the VMFS5 data store and create an iSCSI separated THAT LUN formatted to a block size of 64 K, then fix it with the initiator iSCSI in the operating system and which size to 64 K. The corresponding block sizes through layers increase performance or is it advisable? Any help answer and/or explaining best practices is greatly appreciated.

    itsolution,

    Thanks for the helpful response points.  I wrote a blog about this which I hope will help:

    Alignment of partition and blocks of size VMware 5 | blog.jgriffiths.org

    To answer your questions here, will:

    I have 1 TB of space (around) and create two Virutal Drives.

    Virtual Drive 1-10GB - to use for OS Hyper-visiere files

    Virtual Drive 2 - 990 GB - used for the storage of data/VM VMFS store

    The element size of default allocation on the Perc6 / i is 64 KB, but can be 8,16,32,64,128,256,512 or 1024 KB.

    What size block would you use table 1, which is where the real hyper-visiere will be installed?

    -> If you have two tables I would set the size of the block on the table of the hypervisor to 8 KB

    What block size that you use in table 2, which will be used as the VM data store in ESXi?

    ->, I'd go with 1024KO on VMFS 5 size

    -Do you want 1024KO to match the VMFS size which will be finally formatted on top he block?

    -> Yes

    * Consider that this database would eventually contain several virtual hard drives for each OS, database SQL, SQL logs formatted to NTFS to the recommended block, 4K, 8K, 64K size.

    -> The problem here is THAT VMFS will go with 1 MB, no matter what you're doing so sculpture located lower in the RAID will cause no problems but does not help either.  You have 4 k sectors on the disk.  RAID 1 MB, 1 MB invited VMFS, 4 k, 8K, 64 K.   Really, 64K gains are lost a little when the back-end storage is 1 MB.

    If the RAID stripe element size is set to 1 024 Ko so that it matches the VMFS 1 MB size of block, which would be better practice or is it indifferent?

    -> So that's 1024KB, or 4 KB chucks it doesn't really matter.

    What effect this has on the OS/Virtual HD and their sizes respective block installed on top of the tape and the size of block VMFS element?

    -> The effect is minimal on the performance but that exists.   It would be a lie to say that he didn't.

    I could be completely on the overall situation of the thought, but for me it seems that this must be some kind of correlation between the three different "layers" as I call it and a best practice in service.

    Hope that helps.  I'll tell you I ran block size SQL and Exchange time virtualized without any problem and without changing the operating system.  I just stuck with the standard size of microsoft.  I'd be much more concerned by the performance of the raid on your server controller.  They continue to do these things cheaper and cheaper with cache less and less.  If performance is the primary concern then I would consider a matrix or a RAID5/6 solution, or at least look at the amount of cache on your raid controller (reading is normally essential to the database)

    Just my two cents.

    Let me know if you have any additional questions.

    Thank you

    J

  • restore the block size of buffer on ASM journal

    I know that redo logs are not written using oracle block size but with OS block size.

    When we put our recovery logs in ASM what is the block size used for redo?

    Thanks in advance

    Please see below link

    http://www.DBA-Oracle.com/t_redo_logs_multiple_disk_blocksize.htm

    I hope this should help,

    Concerning
    http://www.oracleracexpert.com
    Compatibility matrix and Oracle version support
    http://www.oracleracexpert.com/2012/05/Oracle-version-compatibility-and.html
    ORA-01427: einreihig subquery returns multiple rows
    http://www.oracleracexpert.com/2012/05/ora-01427-single-row-subquery-returns.html

  • Why the block size is multiple of 2?

    Hi all

    Sorry if I am at the base, I question why the Oracle block size is a multiple of 2?

    Rgds,
    Lherault

    Oracle is a software written to run on binary computers. Everything is built in the end between the lines, Word and double word boundries.

    Early block IO sizes have been built on the collections of sectors of 512 bytes then you end up with 1024, 2048, 4096, 8192 blocks IO sizes. Corresponding to the Oracle block size to the size of the OS IO seems logical.

    It has been possible to set Oracle block size to be 5K and 10K. I do not recommend it, but I've seen on older versions of Oracle. I don't know if technically you can always do.

    HTH - Mark D Powell.

  • block size / real-time

    Hello

    I know that some of you have already had this kind of problem, and I tried to solve the mine with your solutions, but it work yet... My problem is the following: I have to stop acquisition with a global variable of pre-definied. At the beginning of the program to choose the acquisition (in second) time, thanks to the action module. Then begins as and when the program notice a variation of the input (defined), he begins to write values to a folder and save the data.

    After the relay module, I put a module based on the time and choose "measurement in second time. The statistical module take the max and min and then do a subtraction (max - min) to get the real acquisition time (which begins with the combi-relaxation). I use the formula In (0) > global variable (pre-definied) and then an action that stops the measurement when the variable global (acquisition time) is more than.

    I want to have 2 seconds of time of acquisition, but the routine often stops around s 2.047, but is not specific enough (with the size (512) to block automatically to 1000 Hz)... So, I tried to change the basics of time for block size = 1 and sample rate = 1000 (for all: driver, dasylab and acquisition card). But now the acquisition time doesn't seem to match with the real time...!

    For more information, I use:

    USB 1608G (MCC - DRV)

    DASYLab 12 (evaluation version).

    If you have an idea of what I need to do... An accuracy of 1 ms would be great (as a block size of 1 with sampling frequency of 1000 Hz...)

    I joined the worsheeet below for a better understanding.

    If it could be useful to others... (Fortunately ^^) I found the solution!

    I used the Basic module of time, I chose "time of day" and then, I put the module 'statistics statistical values' and I take the max, min. After that, I put an arithmetic module and "max - min".

    I hope it's ok, but it looks like the right way to find what I was looking for...

  • storage on the block sizes and vmfs5 issue

    We just bought a new table with a feature called FlashDisk SSD read caching.

    the implementation of suppliers of this technology is the following: it basically puts cached applications frequently read blocks that are 16 KB or smaller in dedicated controller SSD, up to 1.6 TB per controller.

    We worry about what we paid extra money for SSD read cache and I was wondering if it will ever come into play because VMFS5 file system uses the block size of 1 MB.

    WE have Oracle DB currently set to use 8 k block size.  Now if VMFS collects the Oracle 8 KB please and puts them in blocks of 1 MB, then Im I right to believe that the read SSD cache pool will never be used?  y at - it a way to allow the Oracle 8 KB blocks to get to take advantage of the SSD cache using file vmfs5 reading system?  or is the necessary RDM here?

    Thank you!

    Now if VMFS collects the Oracle 8 KB please and puts them in blocks of 1 MB, then Im I right to believe that the read SSD cache pool will never be used?

    No, your assumption is incorrect. The size of the block VMFS is only for the sake of allocation/address of the files on the will. The size of the block VMFS has no influence IO issued by the virtual machines.

    This means that a request for/o 8 k of a VM will arrive as an application of e/s of the same 8 KB on the backend storage.

    The VMFS block size is completely independent and transparent to both, the back-end storage device and the behavior of the computers own IO virtual.

  • Invalid block size Stored - Oracle 12 c DB in OEL6 installation error

    Hi guys,.

    I got the below error message when installing on DB Oracle 12 c in OEL6.

    "Block size stored invalid." And the installation completes.

    All the pre - req got passed and now I got sucked at this stage.

    Can someone help me on this please...

    Thank you

    Sunil

    Hi guys,.

    Solved the problem, I made the cksum files downloaded and it is not equal to the cksum mentioned in the oracle download site.

    I have re downloaded and Setup is complete.

    Thank you

    Sunil

  • dependent on the block size of oracle on the block o/s size

    Dear all,


    What is dependent on the block size of oracle on the size of block o/s?

    Concerning

    Oracle data block is the smallest logical unit to store oracle data and that's usually multiple o/s block size.

  • data from the buffer before graph it and block size

    I hope you can help me with this situation because I was collapsed in this situation for two days and I think I see the light in the short time and time is a scarce resource.

    I want to use a NI DaqCard-HAVE-16XE-50 (20KS/sec accordig to the specifications). For data acquired by DasyLab, I use OPC DA system but when I try to get a graphic from the signal I get ugly results.

    I guess the problem is that the PC is not powerful to generate a graph in real time, is if there is a block to save the data, then graph the data without using "write data" block to avoid to write data on the disk?

    Another cause of the problem, it might be an incorrect value for adjusting the size of block, but in my piont of view with the 10 kHz and 4096 block size is more than necessary to acquire a signal of 26 [Hz] (showing the photo). If I reduce the size of the block to 1 signal showing in the graph is a constant in the first acquisition value. Why might this situation?

    Thanks in advance for your answers,

    You don't want to use OPC DA for a device installed with the material. OPC DA is designed for industrial devices low speed, not for cards installed 20 kHz!

    Rerun setup of DASYLab and select the OR-DAQ driver, deselect the NOR-DAQmx driver.

    You must use the analog input OR-DAQ module for talking directly to the camera. You will get the full speed of the device, and the buffering is managed properly.

    I have this card somewhere in a box, and when I used it, it worked perfectly with the NOR-DAQ driver.

  • The current block size for a store of data in VMFS3 is 4 MB. Must upgrade thedatastore to VMFS5 and wants to change the block size of 1 MB

    The current block size for a store of data in VMFS3 is 4 MB. Must upgrade thedatastore to VMFS5 and wants to change the block size of 1 MB

    help me on this

    Create a new data store VMFS5 with a block size of 1 MB. Migrate all virtual machines store data to the new data store, and then delete the VMFS3 data store.

  • Block size and cannot run the snapshot-

    Hello

    I have the following LUNS carved to my windows 2008 r2 SQL box.

    ESX 4.0

    Lun1 - size - 230GB of OS 1 MB size block

    LUN2 - DataUn 4 MB block size - 950 GB

    LUN2 - size - 500 GB of block DataB 4 MB

    LUn3 - records the block size of 1 MB - 200 GB

    When I try to run a backup, veeam, got the following error

    < Unspecified file name > file is larger than the maximum size supported by the data store ' < indeterminate datastore >

    What could be the cause and how to fix it so I can run a backup on this virtual machine. How big a LUN should I create?

    Joe.

    Check this KB, would be useful

    http://KB.VMware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalID=1012384

    -A

  • RAID block size and Lightroom

    I setup Raid 1 (mirrored) on two drives of 1 TB and in the choice of block size, this issue was raised. What size of block is best when using raid drives for Lightroom catalogs and dng, jpg and tiff files associated with each catlg? Currently, I selected 128 k because 90 percent of the cases are from 1 to 20 mb in size with a 6-9 mb avg. There are a few files to 20 k - 500 k.   Any suggestions or ideas? I'm on the right track for the use of space and a good performance? I do not seek for its remarkable performance space is use is my main concern.
    Steve

    Size of allocation RAID will affect the use of the space.  Use of the space is determined by the size of allocation unit file system.  For a file system that is for the most part, image, size files important allocation (64 +) is a good thing.

    Distribution RAID size must be at least the file system allocation unit size.  128K is a reasonable size for images for the performance.

    Keep it defragmented.

Maybe you are looking for

  • How can I configure multiple users on iOS 9.3

    I've heard say that one of the improvements in iOS 9.3 support multi-user for an iPad.  I couldn't find any "How to" documentation to implement.  I saw that this refers to a parameter of 'class', so: This means that the multiuser support is only for

  • To restore all of my previous Firefox Favorites?

    I uninstalled Firefox and installed again. I want that my old favorites in my newly installed Firefox. I had almost 90 bookmarks. Can you help me find my old profile folder and copy my favorites in my current profile folder?

  • site does not dispay column in one line (line feed) would but properly in IE8.

    When I upgraded to FF23, the display on a single page will break as followsSummaryNewsChartsResearchValue AnalyzerTechnicalInsightEstimatesCompany ProfileFinancialsOptionsbut in IE8, it displays asSummaryNewsChartsResearchValueAnalyzerTechnicalInsigh

  • OfficeJet 4500n will not scan

    I used this in a printer successfully for over a year.  Recently moved and now I can't scan only.  All other functions work. I reinstalled the driver software (full) twice.  Do not HP Solution icon on the desktop. Cannot set display scan button. Use

  • LaserJet 3055: General failure on HP Scan and Capture for LJ 3055

    In need of an application to scan to PDF with my LJ 3055 (used to have a great HP application when it was released for Windows 95), I downloaded HP Scan and Capture. It worked once, scanning photos, but it now still gives me the message "General fail