# cat /etc/redhat-releaseI don't check much oracle document, just read about configuration.
Red Hat Enterprise Linux Server release 5.3 (Tikanga)
Choose disk:
# fdisk -l /dev/sdcset Oracle initialization parameters:
Disk /dev/sdc: 24.5 GB, 24575868928 bytes
255 heads, 63 sectors/track, 2987 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk /dev/sdc doesn't contain a valid partition table
# chmod 777 /dev/sdc
$ sqlplus / as sysdbaStop/Start database
SQL> alter system set db_flash_cache_file='/dev/sdc' scope=spfile;
System altered.
SQL> alter system set db_flash_cache_size=10G scope=spfile;
System altered.
SQL> shutdown immediateI found above error, then asked ... and find out. I found (oracle docs):
SQL> startup
ORA-00439: feature not enabled: Server Flash Cache
ORA-01078: failure in processing system parameters
Your database is running on the Solaris or Oracle Enterprise Linux operating systems. The flash cache is supported on these operating systems only.So, I had plan to install OEL. But... I'd like to figure out on Redhat as well.
Thank You Kevin Closson for figure me out. He is helpful me. I can use flash cache feature on Redhat.
SQL> startup;-)
ORACLE instance started.
Total System Global Area 7549435904 bytes
Fixed Size 2214456 bytes
Variable Size 4026533320 bytes
Database Buffers 3489660928 bytes
Redo Buffers 31027200 bytes
Database mounted.
Database opened.
SQL> show parameter db_flash_cache_file
NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
db_flash_cache_file string /dev/sdc
SQL> show parameter db_flash_cache_size
NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
db_flash_cache_size big integer 10G
Remark:
Using db_flash_cache_file =/dev/sdc, Check -> A device name is Flash Cache File, isn't it?
$ dd if=/dev/sdc count=1024 | strings
Oracle RDBMS Flash Cache File
orcl
1024+0 records in
1024+0 records out
524288 bytes (524 kB) copied, 0.008165 seconds, 64.2 MB/s
Just Idea.