To modify the Oracle10g port, you must modify two files. (Modified by Red Hat linux as4u6)
Listener. ora and tnsnames. ora
All files are in the/opt/oracle10g/product/10.2.0.1/db_1/network/admin directory.
Modify listener. ora as follows:
------------
Oracle determines whether the varchar2 type is null.VV_LIST: = 'dsssfdfdsfds ';IF (VV_LIST <> '') THENDBMS_OUTPUT.PUT_LINE ('ppppppppppppppp ');ELSEDBMS_OUTPUT.PUT_LINE ('bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb ');End if;
The result is printed with
There are two ways to store files in Mongodb in the GridFSB mode: 1. Command Line program files 2. client-side driver programming (using Java as an example)
Related reading:
MongoDB cluster configuration (sharding with replica set)
Add a shard
I have previously studied how to build a mongodb environment (see). Considering that the mongodb cluster environment will be used in the future and the multi-bit 32-bit OS environment, I have constructed a mongodb cluster environment. For details
1. Switch to the database user on the console: su-OracleIi. Input: lsnrctl start; start the listener;3. Start the database;4. operate databases, such as creating users, granting permissions, and creating tables;5. Shut down the database;6. Disable
1. Create an Oracle database (if any ).2. Create an OEM user and create a directoryMkidr-p/oracle/oem_12cChmod-R oem: oisntall/oracle/oem_12c3. modify Database ParametersSu-oracleSqlplus/AS SYSDBAAlter system set processses = 300 SCOPE =
First, change the lazy property to false.
Type 2: Add OpenSessionInViewFilter org. springframework. orm. hibernate3.support. OpenSessionInViewFilter flushMode AUTO OpenSessionInViewFilter /*
The above two methods have some problems.
Third,
SQL code
Create Or Replace ProcedureP_outputdebug (a varchar2, B varchar2, c varchar2)
Is
VFileName varchar2 (100 );
OutputFile UTL_FILE.FILE_TYPE;
Begin
Select 'Rfid _'| A. rfid |'. Log'
IntoVFileName
FromTbl_animal_infoWhereA. rfid ='123'
I decided to modify the name of the database when I was idle recently. I remember I learned how to modify the name of the database by recreating the control file, you can use the nid of Oracle to modify the database name. However, this method is
The error message is as follows:
SQL> startup
ORA-27102: out of memory
Linux-x86_64 Error: 28: No space left on device
Check
1. The memory size of the operating system. Make sure that the size of the configured SGA + PGA does not exceed the
1. After signing your process, temporarily declare authorization: authid current_user.
The Code is as follows:
Create or replace procedure proc_test_name authid current_user
As
Begin
Execute immediate 'create database link dblink_name connect
Change ORA Password Expiration problem: ERROR: ORA-28002: the password will expire after 7 days
1. putty Login Server
2. Perform sqlplus/as sysdba
3. Change the session garbled command: alter session set nls_language = american
4. view the user's
Install Oracle in Linux prompt ORA-27123 error when creating database, check various information, finally confirm for Kernel File Value configuration error, delete/etc/sysctl. replace the following content with all the original content of the conf
First, the previous image shows the truth.
Note:
1. Read a data table with more than rows, and then write data to the local table.
2. Tables of the big field type are not included.
Note:
1. I recently performed data import/export operations.
The amount of data in a table in the database is large at work, which is a log table. Under normal circumstances, there will be no query operation, but if there is not much data in the table sharding, it takes several minutes to execute a simple SQL
The method for starting Scott user in Oracle. In Oracle10g, (g stands for 'network') the Scott user in the database is locked during installation. When installing Oracle, you can directly unlock the user. If you forget to unlock the user, you can
In general, the foreign key of the Oracle sub-table needs to be indexed,
If no index is added to the foreign key, modifying the parent table will lock the child table.
1. Update the primary key of the parent table, and the child table will be
The following is an example of 10046, which can be used to analyze specific SQL Execution plans and make a record!
Set 10046 events for SQL tracking. You can set different tracking levels.
Level 0 disables SQL tracing, which is equivalent to SQL
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