Edit the following two files to read as follows:[Email protected] ~]# Cat/etc/oratabHrdb:/opt/u01/app/oracle/product/11.2.0.3/db_1:y--originally N, changed to Y--this path is the installation path for the database[Email protected] ~]#
First step: Login After root login, switch to Oracle user, enter Su OracleStep Two: Connect Under Oracle user, enter Sqlplus/nologStep Three: Use Administrator privileges Input Connect/as SYSDBAFourth step: Start/Close service Input StartupStartup
1. CMD on the Oracle serverExecutive LsnrctlExecute startAfter a long time, the prompt listener has been started.Perform status againIt was a long time before the command was executed successfully.It is best to find the cause because the
1. Installing ORACLE-JDKTo open the terminal, use the following command:Java -version If you see output like the following, this means that you have not installed Java:The program 'java' can is found in the following packages: /c9> * default-JRE *
1. Ways to modify the maximum number of connections for Oraclehttp://my.oschina.net/shootercn/blog/11193A, landing in SYSDBA status of PL/SQL or WorksheetSqlplus SYS as SYSDBAB, query the current number of connectionsShow parameter processes;C,
The NVL () function is a function in Oracle/plpgsql in the form of: NVL (string1, Replace_with)Function: If the string1 bit is null, then the NVL () function returns the value of Replace_with, otherwise the value of STING1 is returned.Note: Sting1
In the Plsql developer,Create user username identified by "password" after creating a good users, you need to assign permissions:Role permissions: DBA can grant defaultSystem permissions: Unlimited tablespace can be granted,Create tablespace, table
There is a new feature in ORACLE 11G that does not allocate segment when the table has no data to save space.Workaround:1) Insert a row, and then rollback will produce segment.The method is to insert data into the empty table and then delete it,
First look at the literal meaning of undo and redo:Undo: Undo, that is, cancel the previous operation.Redo: Redo, perform the previous operation again.What is RedoRedo records transaction logs, divided into online and archived. For the purpose of
The dual table is generated by default when each database is created, and the table has only one row.1) Analysis dual table execution, as follows:2) Application:In an Oracle database, the dual table exists as a virtual table because Oracle's query
Today, while maintaining the Oracle database, view the status of the listener and execute#lsnrctl statusError:-bash:lsnrctl:command not found. Not before, think carefully, the problem found, I was rooted telnet to the server, the maintenance of
Solve:(1) Conn Sys/sys as sysdba;//logged in as DBA(2) Alter user Scott account unlock;//then unlock(3) Conn Scott/tiger//Popup A Password Change dialog box, modify the password can beThe following are the steps:C:> SqlplusPlease enter user name:
Sometimes you need to manipulate some tables in bulk, such as authorization, emptying data, and so on. You can do this using the concatenation of SQL statements.For example, you need to have all the tables in one user, grant the query permission to
Oracle learning database data is saved as a file, oracle Database
It is often necessary to generate documents from the data in the database. Because you prefer the script method, you need to set the format when using spool, the following is a simple
Add a disk to a data disk (asmexternal)
1. Create a disk and access both nodes. 2. Check the cluster status [grid @ rac1 ~] $ Crsctl status res-t release name target state server STATE_DETAILS restart Local Resources within ora. DATA. dg ONLINE rac1
Oracle scheduled quick useQuick use of Oracle scheduled task:
SQLServer has related scheduled tasks. You can directly open the task manager of SQL server to configure the scheduled tasks. The corresponding Oracle has a corresponding timing plan, but
Oracle Database foreign key operations, oracle Database Foreign keys
Racle uses a foreign key to limit the Field Values referenced in the subtable. The data in the subtable must exist in the primary table. When the record of the primary table
DBA problem-solving set: Learning dataWill you count? Many people may sneer at this problem, because when I was a child, my mom and dad taught us to count the stars and the sheep on the ground. Therefore, most people are the first to think: "Are you
Jdbc connection string for Oracle pluggable Databases
When I deploy a database of a third-party system on the server, the server database version is oracle 12c. I created an instance. Access is normal.
Later, the project owner told me that oracle12
Use a trigger to insert data into two tables with a primary-foreign key relationship.
Table: T_USERS, t_user_effect_work. The primary key ID in T_USERS and the foreign key in t_user_effect_work are the auto-incrementing series of
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