Use the Sys user to log on to the system as sysdba
View the sga_max_size and sga_target size before modification.
Show parameter sga_max_size;
Show parameter sga_target;
Modify parameters
Alter system set sga_max_size = 1600 m scope =
-- Select deptno, count (1), sum (count (1) over (order by deptno DESC rows between unbounded preceding and unbounded following) as AAA, sum (count (1) over () as AAAA from EMP group by deptno; -- select empno, Sal, rank () over (order by Sal DESC)
Due to the lock mechanism, when execution of a DML or ddl SQL statement is blocked, you need to find out why the SQL statement is blocked. The following describes the common diagnostic methods:
Suppose there is a table: Table T (ID int primary key,
We often hear that in Oracle, when a role is granted user permissions, the user must log on again to obtain the permissions granted. How can this problem be solved? Let's take the following steps to understand the meaning of this sentence.
1. DBA
Document directory
Environment:
Beginner notes environment:
Vbox Virtual Machine oel6 oracle10.0.2
1. precautions for installing OEL. For Linux, you must install the development kit or check the kernel option. Otherwise, no kernel crashes.
James was shocked to learn that shengyang was bought by Oracle yesterday. The IT industry has had such a big problem. If you don't take the opportunity to gossip about it, it seems a bit difficult to say. The following is a brief introduction to my
Basic Concepts
The Oracle database is divided into logical regions called tablespaces-forming the logical structure of the Oracle database. I
Oracle databases can have one or more tablespaces, while one tablespace corresponds to one or more physical
1. What is the initial password after oracle is installed?
Internal/Oracle
Sys/change_on_install
System/Manager
Scott/Tiger
Sysman/oem_temp
2. What is the initial Default User and password of Oracle9iAS Web Cache?
Administrator/Administrator
3. How
In fact, the most important thing for hackers to attack is their ideas. I think no one can say that they are the best and the latest technology!
Hichina's embarrassment-hichina Oracle injection vulnerability exposureSome time ago, after my project
According to the results of a recent survey conducted by the Independent Oracle user organization (ioug), the accidental interruptions to Oracle databases over the past year are mostly caused by hardware faults rather than hackers.
Ioug (the
Document directory
Create an index for an appropriate Oracle Database
Creating an index for an appropriate Oracle Database in an Oracle database is simple. However, it is difficult to create an index reasonably. I believe that three appropriate
Oracle Auto-incrementing sequence Sequence
In Oracle, sequence is the so-called serial number, which is automatically increased every time it is obtained. It is generally used in places where the sequence numbers need to be sorted.1. Create
SQL> set autot trace
SQL> select owner, object_name from
2 (select a. *, rownum as rn from
3 (select owner, object_name, rowid from t_test1 order by owner, object_id)
4 where rownum 5 where rn> = 11;
10 rows selected.
Execution Plan
-----------
Document directory
Oracle learning Summary (2)
Oracle learning Summary (2)
The main content of this article includes: Implement Auto-incremental ID in Oracle and delete repeated records in the data tableI. Auto-incrementing Id 1. First create
In pl SQL, collection is an object composed of a group of ordered elements. The types of these elements must be consistent.
Pl SQL divides collection into three types: associative arrays (also called index-by tables), nested tables, and
Index plays an important role in Oracle SQL-TUNNING, index is divided into B-TREE index, bitmap Index two categories, but need to emphasize particularly is the index organization table, clustering these two most Special Indexes! Where the most used
In Oracle databases, tables are the most basic content. It can be said that the quality of table design is directly relatedDatabasePerformance. Therefore, when designing a table, in addition to complying with its inherent database principles, you
Using system; using system. data; using system. collections. generic; using system. configuration; using system. data. oracleclient; using system. text; using system. io; // /// Oracle database operation class /// internal static class
First_value and last_value: return the first and last values of the specified column.
Syntactically, there are differences between 9i and 10g:
9i:
FIRST_VALUE ( expr ) OVER ( analytic_clause )
10g:
FIRST_VALUE (expr [ IGNORE NULLS ]) OVER
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