Oracle 11g 无法启动的处理方式
Oracle 一般情况都不会无法启动,只有发生异常时才会出现。这时候一般都有提示信息,最常见的就是某个参数找不到,或者连接池/共
Oracle 一般情况都不会无法启动,只有发生异常时才会出现。这时候一般都有提示信息,最常见的就是某个参数找不到,或者连接池/共享池设置太小等等。这个时候你可以这么做:
首先在你的$Oralce_home/admin/orcl/pfile下找到此文件init.orc.xxxxx(后面的数字是系统生成的)
然后查看里面的参数,是不是符合你现在数据库的设定。特别是那些目录的设置。如果不符合,修改为符合的情况,然后进入sqlplus
执行如下语句: create spfile from pfile='$Oralce_home/admin/orcl/pfile/init.ora.xxxx' 这样默认会在你的$ORACLE_HOME/ORADATA/ORCL下创建为orclinit.ora名的文件
或者你想自己重定义spfile 路径: create spfile='xxxx' from pfile='xxx‘;
shutdown immediate;
startup;
成功!
如果是提示无法启动闪回数据库,可先mount数据库,,然后alter system set oracle_flash_back off;
然后再alter database open; ok!
补充:设置SPFILE可以改变Oracle9i启动的搜索路径。在Oracle9i中,请遵循SPFILE搜索的这些步骤:
1. 在缺省的路径下搜索spfile$ORACLE_SID.ora文件。
2. 查找spfile.ora。
3. 以名为init$ORACLE_SID.ora搜索PFILE。
指定SCOPE参数
一旦已经有了一个SPFILE,你就可以使用ALTER SYSTEM命令来改变任一初始化参数。然而,有一个相当重要的SCOPE参数你必须理解。
SCOPE参数具有三个值:SPFILE,MEMORY,以及BOTH。现在让我们看一看每一个值的范例。
Alter system set db_2k_cache_size=100m SCOPE=SPFILE;
如果你想在SPFILE中改变一个参数而不希望影响当前的例子,可以使用ALTER SYSTEM语句中的SCOPE=SPFILE选择。这对于从下一次启动中改变启动非常有好处。
Alter system set db_2k_cache_size=100m SCOPE=MEMORY;
在以上的范例中,SCOPE=MEMORY选择告诉Oracle9i从例子中改变到下一次数据库获得的缺省值。
Alter system set db_2k_cache_size=100m SCOPE=BOTH;
当你指定SCOPE=BOTH,Oralce9i立即执行改变,并永久地使用改变,即使在下一次被数据库使用

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics

Full table scanning may be faster in MySQL than using indexes. Specific cases include: 1) the data volume is small; 2) when the query returns a large amount of data; 3) when the index column is not highly selective; 4) when the complex query. By analyzing query plans, optimizing indexes, avoiding over-index and regularly maintaining tables, you can make the best choices in practical applications.

Yes, MySQL can be installed on Windows 7, and although Microsoft has stopped supporting Windows 7, MySQL is still compatible with it. However, the following points should be noted during the installation process: Download the MySQL installer for Windows. Select the appropriate version of MySQL (community or enterprise). Select the appropriate installation directory and character set during the installation process. Set the root user password and keep it properly. Connect to the database for testing. Note the compatibility and security issues on Windows 7, and it is recommended to upgrade to a supported operating system.

InnoDB's full-text search capabilities are very powerful, which can significantly improve database query efficiency and ability to process large amounts of text data. 1) InnoDB implements full-text search through inverted indexing, supporting basic and advanced search queries. 2) Use MATCH and AGAINST keywords to search, support Boolean mode and phrase search. 3) Optimization methods include using word segmentation technology, periodic rebuilding of indexes and adjusting cache size to improve performance and accuracy.

The difference between clustered index and non-clustered index is: 1. Clustered index stores data rows in the index structure, which is suitable for querying by primary key and range. 2. The non-clustered index stores index key values and pointers to data rows, and is suitable for non-primary key column queries.

MySQL is an open source relational database management system. 1) Create database and tables: Use the CREATEDATABASE and CREATETABLE commands. 2) Basic operations: INSERT, UPDATE, DELETE and SELECT. 3) Advanced operations: JOIN, subquery and transaction processing. 4) Debugging skills: Check syntax, data type and permissions. 5) Optimization suggestions: Use indexes, avoid SELECT* and use transactions.

MySQL and MariaDB can coexist, but need to be configured with caution. The key is to allocate different port numbers and data directories to each database, and adjust parameters such as memory allocation and cache size. Connection pooling, application configuration, and version differences also need to be considered and need to be carefully tested and planned to avoid pitfalls. Running two databases simultaneously can cause performance problems in situations where resources are limited.

In MySQL database, the relationship between the user and the database is defined by permissions and tables. The user has a username and password to access the database. Permissions are granted through the GRANT command, while the table is created by the CREATE TABLE command. To establish a relationship between a user and a database, you need to create a database, create a user, and then grant permissions.

Data Integration Simplification: AmazonRDSMySQL and Redshift's zero ETL integration Efficient data integration is at the heart of a data-driven organization. Traditional ETL (extract, convert, load) processes are complex and time-consuming, especially when integrating databases (such as AmazonRDSMySQL) with data warehouses (such as Redshift). However, AWS provides zero ETL integration solutions that have completely changed this situation, providing a simplified, near-real-time solution for data migration from RDSMySQL to Redshift. This article will dive into RDSMySQL zero ETL integration with Redshift, explaining how it works and the advantages it brings to data engineers and developers.
