Today, a person in the department asked me how to trace data from a subnode record to a parent node in Oracle. For example, there is a table:
Guid parentguid
1 0
2 1
3 1
4 2
5 2
6 5
7 5
8 7
We can find all the sub-nodes under the guid
1. Create a table and run the utlxplan script SQL> @? /Rdbms/admin/utlxplantable created. 2. create a synonym so that multiple users can share one plan_table and authorize it to public SQL> Create public synonym plan_table for plan_table; synonym
First, PLSQL developer directly reports an error
Nls_lang Error
The first step is to test
C: \ Users \ xjy. xjy-PC> set nls_lang = simplified chinese_china.zhs16gbk
After set nls_lang is found
Then check the registry
1. When using Oracle, Oracle can run normally by starting oracleservicemyorcl and oracleoradb11g_home1tnslistener;
2. To allow hosts on the LAN to access your Oracle database, you must start the oracleora81homemanagermentserver service.
Note: myorcl
I am reading the Oracle 10 Gb documentation today and have noticed irreversible compatibility.
Starting with Oracle Database 10g, the compatible initialization parameter becomes irreversible; that is, it cannot be set to a value that is less than a
DBV indicates that database verify can be used to verify whether a data file in the database is faulty. You can check whether a data file contains bad data blocks, for example:DBV file = D:/oradata/demo. DBF blocksize = 8192
Enter BDV in command
Note: Sid-Database IDHome_name-Oracle Home Name, such as orahome92 and orahome81(1) oracleservicesidDatabase Service, which automatically starts and stops the database. If a database is installed, its default start type is automatic. The service
Use a simple SQL statement to restore a table or database to a previous time point.
On the eve of the New Year's Eve, John, the DBA of the vertex bank, is enjoying a carnival with his friends, countdown to the arrival of the new year. Just as the
For example, there is a student table:
Id student_name
1 S1
2 S2
03S3
04S4
05S5
06S6
07S7
08S8
09S9
These IDS are inconsistent. For example, I want to change IDs to 1, 2, 3 (instead of 03), 4, 5, 6, 7, 8, 9.
You can perform the following
1. ibatis automatically caches the column name ing of each query statement. If you dynamically generate a column name, it may cause invalid column names.
Ibaits caches the meta information to be queried. When generating dynamic columns, you must
The solution is to grant the logon as a batch job permission to the users you need in the user policy.
1. click on START => Programs => Administrative Tools => Local Security Policy (or also via START => Settings => Control Panel => Administrative
This document creates two database spaces: one for storing data and the other for storing indexes. Note that the index space is small. User: SA, password: liuxuezong, service name: rtsos.
1. Create a service name
2. Create a tablespace File
--------
Because the company wants to replace the advertising system and test the performance of the new system, the company's previous system uses Oracle, the new system is MySQL, and the table structure is not the same. Create a user in the local Oracle
Some users are locked by default after oracle is installed. For example, if Scott user is often lucked, we must first try to give her unluck to use her, this article will introduce how to manually unlock scoot users. Of course, you can also go to
1. Sessions
Among the restrictions set by initialization parameters, the most well-known estimates are sessions and processes.
The sessions parameter specifies the number of concurrent users that can exist in an instance at the same time, or the
Db_name: Unique identifier of a database (Oracle database. This expression is sufficient for a single database, but with the popularization of distributed databases composed of multiple databases, this method of Command database creates a certain
Method 1:
1. Both commit and rollback can be unlocked in the current session.
2. Pass
Search for user locks
Select S. username,
Decode (L. type, 'TT', 'table lock ',
'Tx ', 'row lock ',
Null) lock_level,
O. Owner, O. object_name, O. object_type,
S.
Note: Oracle is slow due to unknown reasons.
Recently, it is found that the Oracle server is super slow, and the slow speed is not caused by application performance. Even running proc precompiled programs is very slow. It can be seen that the
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