This article uses two methods to solve this problem when I often encounter password loss when I use Oracle.
One method:
sqlplus "/ as sysdba"SQL>startupSQL>alter user system identified by root123;
Shutdown database (do not use shutdown abort to force shutdown), implement a file-level backup, back up all Oracle related files, including Windows system files, system status and Oracle program files and data files. This cold backup is critical for
No one would deny that Oracle is one of the most influential database products in the world; but good things do not seem to be so useful (it seems at first ), even a bit heartless-it always gives layman a heartless error number. My personal summary
At the same time, the online access volume continues to increase. For servers with 1 GB of memory, the server even crashes every day or gets stuck from time to time. This problem has plagued me for using MySQL for more than half a month. scalable
1. For a dual-host system, the code is installed on the local disk, and the database device is mounted on the array.By default, Sybase code is installed under/opt/sybase-12.5 Under the/opt directory, create the sybase-12.5 directory # Mkdir sybase-
Speaking of databases, most small and medium-sized enterprises use SQL server and MYSQL. SQL SERVER is developed by Microsoft. It works very well with IIS and ASP. However, SQL SERVER is charged, while MYSQL is completely free. On the one hand, it
The following describes how to back up a DB2 database:
Operate Under db2inst1.
Run the following command in the current directory where you want to save the data:
$ Db2stop force (stop database)
$ Db2start (start database)
* Run the following
1. Installation and Environment SettingsI installed MySQL5.0 + MySQL-Front3.2 + mysql-connector-java-3.1.14The default setting is used.I am mainly used to support JDBC (put the mysql-connector-java-3.1.14-bin.jar under the JDK directory \ jre \ lib \
After using MySQL for a long time, some problems may occur in the database. Most problems can be solved quickly through simple operations. The following describes two types of quick maintenance.
MySQL database method.
1. myisamchk
To use
The logrotate tool is a log rollback program that comes with the Linux system. It is started by the cron program of the System Planning Service tool and can be used to roll back various system logs. Due to the rapid growth of Oracle listener logs,
I. Overview
Object statistics describe how data is stored in the database. For example, how many rows of data exist in a table and the maximum value of a column. This information helps the query optimizer find the correct and efficient execution
Use of insert in Oracle stored procedures, including the use of cursors
Body section:
-- Obtain the plan type number and name of the specified number of modifications for the specified stage of the specified plan by shiwei -- Used in the change
Oracle's transfer tablespace refers to the ability to copy all data files in one or more tablespaces of a database to another database server, and load the tablespace as the target database through import.
The biggest advantage of using this method
Query statements for all table structures in the PostgreSQL Column
SELECT tablename FROM pg_tablesWHERE tablename not like 'pg %'AND tablename not like 'SQL _ %'Order by tablename;
Query the field information of the t_appointment_apply
About autonomous transactions resolve the trigger resulting in "ORA-04091: trigger/function cannot read it" unfeasible verification.
Some people often ask this question: "There is A problem where Table a has four fields: A, B, c, and d, modify the
During database maintenance recently, data cannot be stored into the database during data parsing. The reason is that MySQL transactions have deadlocked. I restarted MySQL several times before.
Recent frequent occurrences. So find a method.
SELECT *
Scenario: If the storage media is damaged and the control file is lost, you need to replace the hard disk and recreate the control file.(1) modify the initialization parameter control_files to change the location of the control file.SQL> ALTER
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