miércoles, 30 de enero de 2013

ORACLE-DBA-DataPump-Taller 1: respaldo full BD.

Conceptualmente datapump es una herramienta del motor de oracle (RDBMS) que existe a partir de la versión 10g.  Su utilidad es la de generar respaldos de bases de datos y se inventó para reemplazar al comando exp/imp, el standar en las versiones anteriores del motor de datos.

La versatilidad de DataPump comprende muchos beneficios, siendo los más interesantes:

  • Respaldos de instancias completas (respaldo full DB)
  • Respaldos de esquemas completos (respaldo full esquema)
  • Respaldos de esquema con algunas tablas (respaldo selectivo de esquema).

LINUX-RHEL-checklist server.

lista de comandos para evaluar el estado de un server RHEL.

Disk usage.
# df -al

Memory information.
# free

Network information.
# ifconfig -a

Installed Modules information.
#lsmod

Currently mounted filesystems/shares.
# mount

Process tree
# pstree

System uptime information.
# uptime

Services running in different runlevels.
# chkconfig --list 

Generates hardware configuration report. (Not sure whether it is present in RH9)
# /usr/share/rhn/up2date_client/hardware.py

Installed RPMS.
# rpm -q --all
List of currently open files.
# lsof -b +M -n -l

Attached USB devices.
# lsusb

Routing table information.
# route -n

Partition table
# fdisk -l

System hostname
# hostname

IP Tables information
# iptables -t filter -nvL

Listing PCI Devices
# lspci
# lspci -n
# lspci -nv
# lspci -nvv



fuente:
http://h30499.www3.hp.com/t5/System-Administration/prtdiag-type-command-in-linux/td-p/3865609

lunes, 21 de enero de 2013

ORACLE-DBA: error ORA-16014: log 6 sequence# 156 not archived, no available destinations

el error ORA-16014: log 6 sequence# 156 not archived, no available destinations se produce porque los archivos de archivelog han llenado el espacio disponible por el motor de datos para este tipo de archivos. 


SQL> startup;
ORACLE instance started.

Total System Global Area  285212672 bytes
Fixed Size    2083368 bytes
Variable Size  184550872 bytes
Database Buffers   92274688 bytes
Redo Buffers    6303744 bytes
Database mounted.
ORA-16014: log 6 sequence# 156 not archived, no available destinations
ORA-00312: online log 6 thread 1: '/psva/oradata/psva/redo06.log'


SQL>