Saturday, June 11, 2016

Microsoft SQL Server 2016 DBA Training

DBA University is excited to announce MS SQL Server 2016 DBA Training online course. Each training schedule runs for a period of 40 hours spread over 7 weeks. The training sessions are held from 7:30 pm to 9:30 central time Monday, Tuesday and Sunday each week.

Course Highlights

1) 40 hours course duration.
2) Training will be on the latest Microsoft SQL Server 2016 version.
3) Monday, Tuesday, Sunday - 7:30 pm Central Time to 9:30 pm Central Time online.
4) Training materials available for download through Dropbox link.
5) Click here for a FREE DEMO session  (Name and Email only)

Lab work

1) Each student will get a remote lab computer to practice the course work.  
2) The training will be on Microsoft SQL Server 2016 version with Windows Server 2012 R2 as the operating system.
3) 10 hours Remote LAB access on Saturday, Sunday
4) 6 hours Remote LAB access on weekday evenings.
5) Students can use the Windows Remote Desktop Connection program to connect to the remote lab server.

Links and Resources

2) Click here for a FREE DEMO session  (Name and Email only)
3) Click here to register for the online training course

Friday, May 20, 2016

How to restart Oracle dbca after a failed database creation with ASM

Introduction

This article provides you the details how to clean up the files created by dbca tool as part of a partially created Oracle database using Oracle Automatic Storage Management (Oracle ASM). Let us assume the ASM instance name is +ASM, the ASM diskgroup name is +DATA, the Oracle database name that failed to be created successfully as SALESDB with 12c R1 version.

This article also provides the steps to remove all references that still exist for the SALESDB database before a retry.

Solution

1) .  oraenv  (Note the space after the DOT symbol. Set +ASM environment)
2) echo  $ORACLE_SID  (Must show +ASM)
3) sqlplus /  as  sysasm
4) select  name from  v$asm_alias;

Let us find the control file alias name of the failed SALESDB database. It starts with Current. For example, it may be Current.257.912291913. Therefore the full path of the control file in ASM diskgroup is +DATA/SALESDB/CONTROLFILE/Current.257.912291913

5) exit
6) . oraenv (Note the space after the DOT symbol. Set SALESDB environment.)
7) echo  $ORACLE_SID  (Must show SALESDB.)
8) cd  $ORACLE_HOME/dbs

9) Remove any existing initSALESDB.ora or spfileSALESDB.ora that was created during the initial execution of dbca.
10) vi initSALESDB.ora  (Add the below initialization parameters.)

db_name=SALESDB
control_files=+DATA/SALESDB/CONTROLFILE/Current.257.912291913
compatible=12.1.0

11) sqlplus / as sysdba
12) startup mount force restrict;
13) exit
14) rman
15) connect /
16) drop database;
17) exit
18) Delete the initSALESDB.ora
19) Remove the SALESDB entry in /etc/oratab file.
20) cd $ORACLE_BASE/fast_recovery_area
21) rm -rf SALESDB (Delete any files created by dbca in the Fast Recovery Area.)
22) cd $ORACLE_BASE/admin
23) rm -rf SALESDB
24) cd $ORACLE_BASE/diag/rdbms
25) rm -rf salesdb (Delete the diagnostic files directory structure for SALESDB.)
26) cd $ORACLE_BASE/cfgtoollogs/dbca
27) rm -rf SALESDB

Conclusion

Once the above steps are completed, the +DATA diskgroup should not have any more ASM files for the SALESDB database. Also, all SALESDB references on the database server will be removed. Finally, start the dbca tool again and this time, hopefully, your SALESDB database creation will be successful.

Wednesday, May 4, 2016

oracle training on demand

We are pleased to announce that DBA University is now offering all Oracle training courses on demand.

Highlights

1) Each student gets 3 months of on demand access to a recently concluded live training course through our high quality cloud based videos. 
2) Students also get all the training materials through Dropbox downloads.
3) Two months of dedicated access to our cloud based remote lab servers.

Registration  Please click here for registration.

Oracle on demand training courses

Sunday, April 24, 2016

ORA-00845: MEMORY_TARGET not supported on this system

Are you receiving the "ORA-00845: MEMORY_TARGET not supported on this system" error while issuing the startup command for an Oracle database ?  This error message is actually misleading because even though the MEMORY_TARGET initialization parameter (automatic memory management) may be supported on the server, the server may not have enough memory to startup one more database instance. 

So please review the already started Oracle database instances and shutdown one or more less priority Oracle database instances.


Short-term solution

1) Login to the Oracle database server
2) ps  -ef    |   grep  -i   "pmon"   (To find the running database instance names)
3) Then set the environment of one of these running database instances.
4) sqlplus  /   as   sysdba
5) shutdown immediate;   (After getting approval that it is OK to shutdown the instance.)
6) exit;
7) Now set the environment of the database instance that you wish to startup.
8) sqlplus  /  as   sysdba
9) startup   (This time you should not receive the ORA-00845 error.)
10) exit

Long-term solution

A long term solution is to assign more memory to the database server so that you do not have to shutdown some database instances to startup other database instances.

Sunday, April 17, 2016

beeline Error: Could not open client transport with JDBC Uri

Introduction

Are you receiving the Connection refused  error (or)  Error: Could not open client transport with JDBC Uri when you try to start the beeline command prompt as part of the Cloudera distribution for Apache Hadoop (CDH) ?

beeline –u jdbc:hive2://localhost:10000

Though the above syntax should work without any problem, this issue still exists in the Cloudera Quickstart VM 5.5 version.

Solution

Just put a  /  at the end of the syntax and the issue goes away. It is an easy solution.  So please try to start beeline with the beeline –u jdbc:hive2://localhost:10000/ syntax

Related Posts Plugin for WordPress, Blogger...