Config NBU backup Database
NBU Installation
Environment:
Database:oracle 11.2.3
Os:oracle Linux 5.7 x86_64
Backupsoftware:nbu 7.5
Tape library:mhvtl-utils-1.4
A virtual band library that is commonly used in a production environment, or a
A use of EXP data migration, the customer and I said lost the table, I feel more strange, the analysis log found Exp-00104:datatype (binary_double) error, the single table to export, found that the problem recurs[oracle@app73 ~]$ exp system/oracle123
In the previous article wrote the file system library, in the exception recovery before the backup method (Oracle exception recovery before the backup protection site recommended-filesystem environment), for the ASM Library, because the ASM inside
Decimal conversion Binary
The code is as follows
Copy Code
CREATE OR REPLACE FUNCTION number_to_bit (v_num number)Return VARCHAR is V_rtn VARCHAR (8);--note returns the column lengthV_N1 number;V_N2 number;BEGINV_N1: =
ORACLE paging Query SQL statementThe following is a very inefficient
The code is as follows
Copy Code
SELECT * FROM (select A.*, rownum rn from (SELECT * to Ipay_rcd_fs_return ORDER BY id DESC) A) WHERE RN
There are netizens on QQ to find me, said Oracle 7.3 database, because redo abnormal consultation I can restore
Check the database for the following information
The code is as follows
Copy Code
Svrmgr> select *
Page query SQL statement for the Oracle database tutorialOracleSELECT *From (select RowNum r,t1.* from table name T1 where rownum where T2.R >= m
For example, from the table sys_option (primary key is sys_id) from 10 records or retrieve 20 records,
Problem:
Recently in the use of Geotools to import SHP files into an Oracle table, found an issue when an Oracle table name is underlined, the import fails, and the problem code line: Dsoracle.getfeaturewriterappend (oracletable,
Oracle database first creates a table and adds some data
1. First create a student table in the Oracle database:
CREATE TABLE Student
(
ID number (one) not null primary key,
stu_name varchar is not NULL, gender number
(1 1) default NULL,
Data is a central part of the application, the program has broken the replacement machine can be republished, but once the data loss, resulting in loss will be irreversible, the program released to production, data backup is particularly important,
In a recent security audit, one of the requirements is:
File integrity detection The corresponding database is the installed program files, configuration files (excluding data files, log files)
That is, the need for regular database software
Just arrived at the hotel, received a customer call said a database of data file IO error, through the VPN view found as follows:Sun Oct 23:19:27 beist 2016Trace dumping is performing id=[cdmp_20161030231927]Sun Oct 23:19:27 beist 2016Errors in FILE/
The database startup report ORA-600 kcrfr_update_nab_2 error due to the Controller drop line, resulting in the failure of the normal openDatabase version InformationORACLE v10.2.0.4.0-64bit Production vsnsta=0Vsnsql=14 vsnxtr=3Oracle Database 10g
One is the 32-bit and 64-bit versions. If the application we developed is 32-bit, we must use a 32-bit client, if it is a 64-bit application, it certainly corresponds to a 64-bit client. Note: in a 64-bit environment, use the vsdevelopment Web
1. MYSQL database1) create an indexCreate index index_name ON table_name (column_list)Create unique index index_name ON table_name (column_list)Modify the table to add an indexAlter table table_name add index index_name (column_list)Alter table
The use of SKIP_UNUSABLE_INDEXES is related to index failure. This parameter is introduced at 10 GB, and the default value of 11 GB is TRUE.If the value is TRUE, if an index in the usable state exists in the database, the new execution plan is
Recently, we helped customers configure the odbc transparent gateway to access IPVs db in oracle through DB link.A simple record:(1) configuration of listener. ora and tnsnames. ora:[Wsj81 @ localhost admin] $ cat listener. ora# Listener. ora
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.