Command to find the linux installation is 32 bit or 64 bit os?
getconf LONG_BIT
:-)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
| [TEST] $ ./runInstaller -silent -force \ FROM_LOCATION="/mnt/backup/dba/software/oracle/database/10.2.0.5/Disk1/stage/products.xml" \ ORACLE_HOME="/oracle/product/10.2.0/db_2" \ ORACLE_HOME_NAME="db_2" \ TOPLEVEL_COMPONENT='{"oracle.patchset.db","10.2.0.5.0"}' \ DECLINE_SECURITY_UPDATES="true" ... skippppp ... Install successful Linking in progress (Wednesday, January 26, 2011 4:58:27 PM CET) .. 75% Done. Link successful Setup in progress (Wednesday, January 26, 2011 4:59:18 PM CET) ......... 100% Done. Setup successful End of install phases.(Wednesday, January 26, 2011 4:59:24 PM CET) WARNING: The following configuration scripts need to be executed as the "root" user. #!/bin/sh #Root script to run /oracle/product/10.2.0/db_2/root.sh To execute the configuration scripts: 1. Open a terminal window 2. Log in as "root" 3. Run the scripts The installation of Oracle Database 10g Release 2 Patch Set 4 was successful. Please check '/oracle/oraInventory/logs/silentInstall2011-01-26_04-56-13PM.log' for more details. [root@test ~]# /oracle/product/10.2.0/db_2/root.sh Running Oracle 10g root.sh script... The following environment variables are set as: ORACLE_OWNER= oracle ORACLE_HOME= /oracle/product/10.2.0/db_2 Enter the full pathname of the local bin directory: [/usr/local/bin]: The file "dbhome" already exists in /usr/local/bin. Overwrite it? (y/n) [n]: The file "oraenv" already exists in /usr/local/bin. Overwrite it? (y/n) [n]: The file "coraenv" already exists in /usr/local/bin. Overwrite it? (y/n) [n]: Entries will be added to the /etc/oratab file as needed by Database Configuration Assistant when a database is created Finished running generic part of root.sh script. Now product-specific root actions will be performed. |
Because dictionary tables and rollback segments are part of the database, the space that they occupy is subject to the same space management operations as all other data. | |
Locally Managed TablespacesA tablespace that can manage extent allocation by itself is called locally managed tablespace. These tablespaces maintain a bitmap in each datafile to keep track of the freed or used status of blocks in that datafile. Each bit in the bitmap corresponds to a block or a group of blocks. When an extent is allocated or freed for reuse, Oracle changes the bitmap values to show the new status of the blocks. These changes do not generate rollback information because they do not update tables in the data dictionary (except for special cases such as tablespace quota information).NOTE: The storage parameters NEXT , PCTINCREASE , MINEXTENTS , MAXEXTENTS , and DEFAULT STORAGE are not valid for extents that are managed locally .
Extent Allocation
Locally managed tablespaces can have uniform extent sizes or variable extent sizes that are determined by the system. Any of the options, UNIFORM or AUTOALLOCATE can be mentioned while creating the tablespace. For UNIFORM extents you can specify an extent size. The default size is 1MB. For AUTOALLOCATE extents you can specify the size of the initial extent and Oracle determines the optimal size of the additional extents, with a minimum extent size of 64KB. That is why these are called system-managed extents.
How Extents are Allocated
Oracle looks for free space to allocate to a new extent by first determining a candidate datafile in the tablespace and then searching the datafile's bitmap for the required number of adjacent free blocks. If that datafile does not have enough adjacent free space, Oracle looks in another datafile. When extents are deallocated, Oracle modifies the bitmap in the datafile.
Create A Locally Managed Tablespace
Advantages
Notes
Change normal tablespaces to locally managedCheck extent management of the tablespaces with following command:
Change SYSTEM tablespaces to locally managed
Steps to change SYSTEM tablespaces to locally managed
|