Cài đặt và cấu hình Oracle GoldenGate để đồng bộ dữ liệu


1. Tạo thư mục cài đặt cho Golden Gate : * Nguồn: root$node1>su – oracle oracle$node1> mkdir /u01/app/oracle/product/gg * Đích: root$node2>su – oracle oracle$node2> mkdir /u01/app/oracle/product/gg 2. Giải nén Golden Gate : * Nguồn: oracle$node1> unzip V 26188-01.zip –>Sau khi đã giải nén: Archive: V26188-01.zip inflating: fbo_ggs_Linux_x86_ora11g_32bit.tar inflating: OGG_WinUnix_Rel_Notes_11.1.1.1.0.pdf inflating: README.txt oracle$node1> tar -xvf fbo_ggs_Linux*…

SQL SERVER – Simple Example of Cursors


create proc sp_GetClassCursors as begin Declare @cID varchar(10) Declare @cName nvarchar(50) –Cursors Declare @cur_GetClass cursor Set @cur_GetClass = cursor for Select cID,Name from Class Open @cur_GetClass fetch next from @cur_GetClass into @cID, @cName while @@fetch_status = 0 begin print @cID+’-‘+@cName fetch next from @cur_GetClass into @cID, @cName end close @cur_GetClass deallocate     @cur_GetClass end Go…

Error dropping undo tablespace


Problem Description Drop undo tablespace fails with error Ora-01548 . SQL> drop Tablespace UNDOTBS1; drop Tablespace UNDOTBS1 * ERROR at line 1: ORA-01548: active rollback segment ‘_SYSSMU1$’ found, terminate dropping tablespace Cause of The Problem An attempt was made to drop a tablespace that contains active rollback segments. Solution of The Problem In order to…

ORA – 00202 Oracle Problem with Control File


ORA-00202: controlfile: ‘C:\ORACLE\ORADATA\ORACLE91\CONTROL02.CTL’ ORA-27091: skgfqio: unable to queue I/O ORA-27070: skgfdisp: async read/write failed OSD-04006: ReadFile() failure, unable to read from file O/S-Error: (OS 23) Data error (cyclic redundancy check). i find this problem on one of my server database. this problem will make oracle fail to mount and open. if you try to connect…

Error When exporting data from Oracle DB 9i 9.2.0.5


When exporting data from Oracle DB 9i 9.2.0.5, encountered by the error: . exporting pre-schema procedural objects and actions . exporting foreign function library names for user QLNS . exporting PUBLIC type synonyms . exporting private type synonyms . exporting object type definitions for user QLNS EXP-00008: ORACLE error 942 encountered ORA-00942: table or view…

Lệnh Init trong linux


init là cha của tất cả các process. Vai trò chính của init là tạo ra các process bằng chạy các chương trình được quy định trong tập tin /etc/inittab. Mỗi init sẽ có các process khác nhau. Trong linux có 6 mức khởi động (run level): – Run level 0 (init 0): chế độ…

Run level trong Solaris


Ở bài trước mình cũng có đề cập tới vấn đề quản lý Run level trên Linux, đó là bài Lệnh init trên Linux. Trong bài này, mình sẽ nói về việc sử dụng lệnh init, quản lý các Run level trên Unix, cụ thể ở đây là hệ điều hành Solaris. Chúng ta thường…