Monday, May 4, 2020

How to increase Swap size

[root@ranesh ~]# swapon -s
Filename Type Size Used Priority
/dev/sda2                               partition 8191996 0 -1


[root@ranesh ~]# free -m
             total       used       free     shared    buffers     cached
Mem:          8441       7505        936          3         29       6890
-/+ buffers/cache:        585       7856
Swap:         7999          0       7999


[root@ranesh ~]# dd if=/dev/zero of=/swapfile11 bs=1024 count=2097152
2097152+0 records in
2097152+0 records out
2147483648 bytes (2.1 GB) copied, 5.87554 s, 365 MB/s



[root@ranesh ~]# mkswap /swapfile11
Setting up swapspace version 1, size = 2097148 KiB
no label, UUID=1c6935fa-efe3-42fb-bcca-81c6e656f885


[root@ranesh ~]# swapon /swapfile11


[root@ranesh ~]# free -m
             total       used       free     shared    buffers     cached
Mem:          8441       8386         55          3         28       7739
-/+ buffers/cache:        618       7823
Swap:        10047          0      10047



No comments:

Table import and export.

Create Data Pump Directory. The first step in Oracle Data Pump is to create an OS level directory which will be used by Oracle for perform...