top of page
Search
Postgres Admin
Postgresql Admin 1. Stop/Start /usr/pgsql-12/bin/pg_ctl stop -D /var/lib/pgsql/12/data/ Connect to DB psql --host=hostname --port=5432...
Hanh Nguyen
Jun 17, 20241 min read
1 view
0 comments
Validate DB after migration
Validate Database after migration Validate Record select table_schema, table_name, (xpath('/row/cnt/text()', xml_count))[1]::text::int as...
Hanh Nguyen
Jun 17, 20241 min read
1 view
0 comments
Install Elasticsearch with Ansible
Install Elasticsearch with Ansible Download from github git clone git@github.com:hanhduynguyen/ansible_elasticsearch.git cd...
Hanh Nguyen
Jun 17, 20241 min read
3 views
0 comments
Elasticsearch Query
Elasticsearch Common Query ES Query Search query fdsa fdsa ES Installation dfa Clean up ES fdas fdas GET /_cluster/health GET...
Hanh Nguyen
Jun 17, 20242 min read
0 views
0 comments
How to find Obsolete Oracle12c parameters
Solution: SELECT name FROM v$parameter WHERE isdeprecated =’TRUE’ ORDER BY name;
Hanh Nguyen
Nov 24, 20151 min read
0 views
0 comments
12c Grid Infrastructure Quick Reference
This is a 12c Grid Infrastructure quick reference DETAILS “crsctl stat res -t” output example This example is from a 12c GI Flex Cluster...
Hanh Nguyen
Nov 24, 201536 min read
0 views
0 comments
How to Transport a Tablespace Using the DBMS_FILE_TRANSFER Package
The source database on Windows is PROD1 and the target database is a 11g RAC database RACDB1. 1) Create the tablespace and the test...
Hanh Nguyen
Nov 24, 20153 min read
1 view
0 comments
ORA-00257:Archiver Error, Connect Internal Only Until Freed and ORA-16014 and ORA-00312
Cause The flash_recovery_area is full. SQL> archive log list; Database log mode Archive Mode Automatic archival Enabled Archive...
Hanh Nguyen
Nov 24, 20151 min read
2 views
0 comments
TNS-12518 TNS listener could not hand off client connection
Step 1. Is listener version compatible to the database Check if you are using compatible listener version for your database version. If...
Hanh Nguyen
Nov 24, 20155 min read
3 views
0 comments
Exclude Partitions Through a DataPump Export (EXPDP) Backup
1. Create the environment SQL> connect / as sysdba Connected. SQL> drop user ebernal cascade; User dropped. SQL> purge dba_recyclebin;...
Hanh Nguyen
Nov 21, 20153 min read
0 views
0 comments
Transparent Data Encryption in Oracle 12c
1. Set the ENCRYPTION_WALLET_LOCATION in $ORACLE_HOME/network/admin/sqlnet.ora Example: oracle@seclindbs /u01/app/oracle/product/12.1.0.2...
Hanh Nguyen
Nov 21, 20152 min read
1 view
0 comments


Step by Step to install oracle RAC in Solaris LDOM
Step by Step to install oracle RAC 12c in Solaris VM ldm add-vcc port-range=5000-5100 primary-vcc0 primary Create the virtual disk server...
Hanh Nguyen
Nov 17, 20154 min read
1 view
0 comments
OCR – Vote disk Maintenace
Prepare the disks For OCR or voting disk addition or replacement, new disks need to be prepared. Please refer to Clusteware/Gird...
Hanh Nguyen
Nov 17, 20159 min read
1 view
0 comments
LDOM BASIC
1)How to Enable the Logical Domains Manager Daemon # svcadm enable ldmd # /opt/SUNWldm/bin/ldm list 2)Upgrading a System That Is Already...
Hanh Nguyen
Nov 14, 20157 min read
1 view
0 comments
Change hostname in Solaris 11
Change homename to dev svccfg -s system/identity:node setprop config/nodename=”dev” svccfg -s system/identity:node setprop...
Hanh Nguyen
Nov 13, 20151 min read
0 views
0 comments
An ORA-01157 is issued whenever Oracle attempts to access a file but cannot find or lock the file.
Oracle Error: ORA-1157 An ORA-01157 is issued whenever Oracle attempts to access a file but cannot find or lock the file. Error...
Hanh Nguyen
Nov 10, 201511 min read
0 views
0 comments
Recover database after disk loss
All Oracle support Analysts, DBAs and Consultants who have a role to play in recovering an Oracle database Loss due to Disk Failure...
Hanh Nguyen
Nov 10, 20157 min read
0 views
0 comments
Backup and Recovery Scenarios
BACKUP SCENARIOS a) Consistent backups A consistent backup means that all data files and control files are consistent to a point in...
Hanh Nguyen
Nov 10, 201510 min read
0 views
0 comments
Recover table from RMAN in 12c
% rman target / log recover_table1.log RMAN> RECOVER TABLE SMEDS.”RECTEST” OF PLUGGABLE DATABASE T12CPDB1 UNTIL SEQUENCE 48 THREAD 1 ...
Hanh Nguyen
Nov 9, 20158 min read
0 views
0 comments
How to Determine Shared Memory Usage within Solaris
To show system-wide shared memory allocations, use the following command: # ipcs -ma T ID KEY MODE OWNER GROUP CREATOR...
Hanh Nguyen
Nov 3, 20151 min read
0 views
0 comments
bottom of page