Oracle DBA manually creates a database through command line

When creating an Oracle database, we use dbca in most cases, which is simple, convenient, and automated; Today, we will try to create a database manually using the command line method. Oracle software version: 10gR2 Operating system version: win

Remove the digit 0 from the Oracle date.

SQL>SelectTo_char (hire_date, "Color: # ff0000 ;">'Yyyy-MM-dd')FromEmployeesWhereRownum TO_CHAR (HI ---------- 2017-06-21 2000-01-13 1987-09-17 1996-02-17 1997-0 1994-06-07 1994-06-07 1994-06-07 1994-06-07 "Font-family: Arial;

Read/write scalability is achieved for solutions other than Oracle RAC without rewriting

Editor's note: expansion of existing systems is a big or small challenge for each technical team. Especially for banking businesses, it is not easy to implement expansion by modifying the architecture or rewriting the system because we need to take

Use Xtrabackup to back up and restore MySQL

Xtrabackup is an open-source project of percona to implement the innodb Hot Backup function similar to InnoDB's official Hot Backup tool. It can quickly back up and restore mysql databases. Xtrabackup contains two tools: Xtrabackup is a tool used

Query SQL statements based on the Oracle process pid in the AIX System

1. Run the TOPAS command in the AIX system. It is found that the cpu in the user is too high, and the Oracle process CPU is relatively high. For example, the highest process pid in Oracle is 1138782, accounting for 27% of the CPU. 2. Identify sid

HandlerSocket, NoSQL solution under MySQL

Currently, most websites using MySQL use Memcache as the key-value cache at the same time. Although such an architecture is extremely popular and there are many successful cases, it relies too much on Memcache to virtually make Memcache the root

FAQs about Oracle client server connection

To eliminate the connection problem between the client and the server, first check whether the client configuration is correct (the client configuration must be consistent with the database server listening configuration), and then solve the problem

Create and test Oracle database links

Create and use Oracle DBLINK How to create? How to use it? Describes how to create and use Oracle database links. A simple application scenario for Oracle DBLINK If there are two Oracle databases, one day the business needs to make the data of one

Oracle 10g DG configuration on Windows

DataGuardAbbreviationDGIs a database-levelHAThe main functions of the solution are redundancy, data protection, and fault recovery,DGProduction database"Transaction consistencyCopy ",Use the physicalCopyAfter the slave database is created, the

Oracle Database entry-level tree statistics

Count the number of employees in the Department (number of employees = number of employees in the department + number of lower-level departments)Department table: Employee table: SQL statement: With Temp As( SelectT1.deptidAsId, t1.supdeptid

View the Oracle tablespace size and the remaining space size

Select f. tablespace_name,A. total,U. used,F. free,Round (u. used/a. total) * 100) "% USED ",Round (f. free/a. total) * 100) "% FREE"From (select tablespace_name, sum (bytes/(1024*1024) totalFrom dba_data_filesGroup by tablespace_name),(Select

Use sqlplus to track performance

Recently, there are a bunch of Delete statements to be executed. The 34 Delete statements are written as one PROCEDURE for execution, but the execution plan and time of a single DELETE statement cannot be seen during execution, think of using

ORA-00988: Password missing or invalid

Today, at the customer's request, the password for creating a user must be the same as that for the source database. However, I found that the source database password is 123456, which is very simple and starts with a number. This Oracle is not

Ora-27100: shared memory realm already exists error Solution

Database ora-27100: solution to shared memory realm already exists errors Environment:Operating System Platform Windows Service 2003 R2 x86Database Version: Oracle Enterprise 9.2.0.1 for windows x86 Today a customer database cannot start,

Delete rows with duplicate fields in big data files in Linux

A recently written data collection program generates a file containing more than million rows of data. The data consists of four fields, and the second field must be deleted as required, no suitable tool was found in linux. stream processing tools

Oracle online initialization parameter determination

When using spfile, you can use the v $ parameter. ISSYS_MODIFIABLE field to determine the initialization parameters that can take effect without restarting. V $ parameter. ISSYS_MODIFIABLE parameter Indicates whether the parameter can be changed

Oracle SQL Execution Plan

There are many ways to get the execution plan of Oracle. Here we only introduce a few of them.(1) To get plan from MemoryFor SQL ID:Select * from table (dbms_xplan.display_cursor ('& SQL _id '));Select * from table (dbms_xplan.display_cursor ('& SQL

Routine Management of Oracle tablespace and data files

1. Create a tablespace1. Create a common tablespace to specify the initial size, which is automatically expanded. Maximum Size:(The maximum size of a single smallfile data file allowed by Oracle is 4194302 * blocksize, and the maximum size of a

Oracle process view v $ session

Run the following command Sqlplus/as sysdba Create tablespace test datafile '/data/test01.dbf' size 10240 M; Quit; EOF Run the ps-ef | grep sqlplus command to obtain the process id of the Command executed above: 12345 (1) v $ process If the

Use of merge into in Oracle

This command uses a statement to update and insert data to a table from one or more data sources. in Oracle 9i, the UPDATE and INSERT keywords must be specified at the same time. ORACLE 10g has made the following changes.1. insert and update are

Total Pages: 1013 1 .... 741 742 743 744 745 .... 1013 Go to: GO

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.