Problem oracle 11g -- Oracle xe
HI,
I have a problem.
I have this select into a stored procedure
select pkg_short_term_engine.f_check_tariff_type('V', pi_start_date => :P2_EXPECTED_START_date,
pi_end_date => :P2_EXPECTED_END_date,
pi_start_hour => :p2_start_hour,
pi_end_hour => :p2_end_hour,
pi_start_minute => :P2_START_MINUTE,
pi_end_minute => :P2_END_MINUTE)id
from dual
On oracle 11g work fine.
On oracle XE edition this syntax generate a error.
i must rewrite my select like this:
select pkg_short_term_engine.f_check_tariff_type('V', :P2_EXPECTED_START_date,
:P2_EXPECTED_END_date, :p2_start_hour,:p2_end_hour,
:P2_START_MINUTE,:P2_END_MINUTE)id
from dual
WHY!?!?!?
Thanks
Lorenzo Renzi
www.ithan.it
Hi,
This is not XE issue.
In 10G databases you can not use that syntax.
Use like this
select pkg_short_term_engine.f_check_tariff_type(
'V',
:P2_EXPECTED_START_date,
:P2_EXPECTED_END_date,
:p2_start_hour,
:p2_end_hour,
:P2_START_MINUTE,
:P2_END_MINUTE)id
from dualI assume parameters are in correct order.
If function have other parameters between those, pass NULL to those
Regards,
Jari
Similar Messages
-
Oracle 11g: "ORACLE initialization or shutdown in progress" problem.
Hello All,
We are using Oracle 11g (enterprise edtion) in Windows server 2008. Whenever we reboot the machine we are not able to connect the database.
Following output indicate the errors.
:\Users\Administrator.F1STD.000>sqlplus dbo/<password>@<connect string>
SQL*Plus: Release 11.1.0.7.0 - Production on Thu May 7 09:48:09 2009
Copyright (c) 1982, 2008, Oracle. All rights reserved.
ERROR:
ORA-01033: ORACLE initialization or shutdown in progress
Process ID: 0
Session ID: 0 Serial number: 0
Enter user-name:
To resolve the issue we have to connect the DB as sys user and shutdown and start the DB manually. As shown follows
C:\Users\Administrator.F1STD.000>sqlplus /nolog
SQL*Plus: Release 11.1.0.7.0 - Production on Thu May 7 09:49:03 2009
Copyright (c) 1982, 2008, Oracle. All rights reserved.
SQL> connect sys/<passowrd>@<connect string> as sysdba
Connected.
SQL> shutdown abort
ORACLE instance shut down.
SQL> startup pfile=<p file loaction.>
ORACLE instance started.
Any clue why this is happening.
Thanks
With Regards
Hemant.Hello,
Pls find attached alert log contents.
SYS auditing is disabled
Starting up ORACLE RDBMS Version: 11.1.0.7.0.
Using parameter settings in client-side pfile E:\SC\SC15.1\DATABASES\ORACLECONFIG\INITNM45.ORA on machine SC15RQTFS
System parameters with non-default values:
processes = 1400
resource_limit = TRUE
pre_page_sga = TRUE
dbwr_io_slaves = 1
memory_target = 900M
control_files = "E:\SC\SC15.1\DATABASES\ORACLECONFIG\CTL1NM45.ORA"
control_files = "E:\SC\SC15.1\DATABASES\ORACLECONFIG\CTL2NM45.ORA"
db_block_size = 8192
db_writer_processes = 1
compatible = "11.1.0.0.0"
log_archive_dest = "E:\SC\SC15.1\Databases\OracleConfig"
log_archive_format = "ARC%T.%S_%R"
log_buffer = 3145728
log_checkpoint_interval = 8000
log_checkpoint_timeout = 0
db_files = 1020
db_file_multiblock_read_count= 32
dml_locks = 200
undo_management = "AUTO"
undo_tablespace = "UNDOTSNM45"
undo_retention = 21600
sec_case_sensitive_logon = FALSE
O7_DICTIONARY_ACCESSIBILITY= FALSE
remote_login_passwordfile= "EXCLUSIVE"
db_domain = "SC15RQT.NSN.COM"
global_names = TRUE
service_names = "ENMSCSDB.SC15RQT.NSN.COM"
dispatchers = "(description=(address=(protocol=TCP)(PORT=1550))(dispatchers=1)(SDU = 2048))"
dispatchers = "(description=(address=(protocol=TCP)(PORT=1551))(dispatchers=1)(SDU = 2048))"
dispatchers = "(description=(address=(protocol=TCP)(PORT=1552))(dispatchers=1)(SDU = 2048))"
shared_servers = 20
max_shared_servers = 40
local_listener = "(ADDRESS_LIST=(Address=(Protocol=TCP)(Host=SC15RQTFS)(Port=1529))(Address=(Protocol=TCP)(Host=SC15RQTFS)(Port=1526)))"
session_cached_cursors = 100
utl_file_dir = "E:\SC\SC15.1\Temp"
utl_file_dir = "E:\SC\SC15.1\ArchiveData\AlarmArchive"
utl_file_dir = "E:\SC\SC15.1\ArchiveData\RuleAnalyzerData"
job_queue_processes = 7
cursor_sharing = "FORCE"
parallel_min_servers = 2
parallel_max_servers = 10
open_links = 8
db_name = "ENMSCSDB"
open_cursors = 150
os_authent_prefix = "EXT$"
diagnostic_dest = "E:\SC\SC15.1\DATABASES\ORACLECONFIG"
max_dump_file_size = "10240"
Tue May 12 21:28:32 2009
PMON started with pid=2, OS id=2396
Tue May 12 21:28:32 2009
VKTM started with pid=3, OS id=2424 at elevated priority
VKTM running at (20)ms precision
Tue May 12 21:28:32 2009
DIAG started with pid=4, OS id=2428
Tue May 12 21:28:32 2009
DBRM started with pid=5, OS id=2432
Tue May 12 21:28:32 2009
PSP0 started with pid=6, OS id=2436
Tue May 12 21:28:32 2009
DIA0 started with pid=7, OS id=2440
Tue May 12 21:28:32 2009
MMAN started with pid=8, OS id=2444
Tue May 12 21:28:32 2009
DBW0 started with pid=9, OS id=2464
Tue May 12 21:28:32 2009
LGWR started with pid=10, OS id=2468
Tue May 12 21:28:32 2009
CKPT started with pid=11, OS id=2472
Tue May 12 21:28:32 2009
SMON started with pid=12, OS id=2476
Tue May 12 21:28:32 2009
RECO started with pid=13, OS id=2480
Tue May 12 21:28:32 2009
MMON started with pid=14, OS id=2484
Tue May 12 21:28:32 2009
MMNL started with pid=15, OS id=2488
starting up 1 dispatcher(s) for network address '(description=(address=(protocol=TCP)(PORT=1550))(dispatchers=1)(SDU=2048))'...
starting up 1 dispatcher(s) for network address '(description=(address=(protocol=TCP)(PORT=1551))(dispatchers=1)(SDU=2048))'...
starting up 1 dispatcher(s) for network address '(description=(address=(protocol=TCP)(PORT=1552))(dispatchers=1)(SDU=2048))'...
starting up 20 shared server(s) ...
ORACLE_BASE from environment = D:\Oracle\Ora11G
Tue May 12 21:28:34 2009
alter database mount exclusive
Setting recovery target incarnation to 1
Successful mount of redo thread 1, with mount id 1796259074
Database mounted in Exclusive Mode
Lost write protection disabled
Completed: alter database mount exclusive
alter database open
Beginning crash recovery of 1 threads
parallel recovery started with 2 processes
Started redo scan
Completed redo scan
321 redo blocks read, 32 data blocks need recovery
Started redo application at
Thread 1: logseq 139, block 3789
Recovery of Online Redo Log: Thread 1 Group 4 Seq 139 Reading mem 0
Mem# 0: E:\SC\SC15.1\DATABASES\ORACLECONFIG\LOG4NM45.ORA
Completed redo application of 0.03MB
Tue May 12 21:28:40 2009
Running KSFV I/O slave I101 os pid=3100
Completed crash recovery at
Thread 1: logseq 139, block 4110, scn 1687662
32 data blocks read, 32 data blocks written, 321 redo blocks read
Thread 1 advanced to log sequence 140 (thread open)
Thread 1 opened at log sequence 140
Current log# 5 seq# 140 mem# 0: E:\SC\SC15.1\DATABASES\ORACLECONFIG\LOG5NM45.ORA
Successful open of redo thread 1
MTTR advisory is disabled because FAST_START_MTTR_TARGET is not set
Tue May 12 21:28:41 2009
Running KSFV I/O slave I201 os pid=3104
SMON: enabling cache recovery
Successfully onlined Undo Tablespace 2.
Verifying file header compatibility for 11g tablespace encryption..
Verifying 11g file header compatibility for tablespace encryption completed
Tue May 12 21:28:42 2009
SMON: enabling tx recovery
Database Characterset is WE8ISO8859P1
Opening with internal Resource Manager plan
Starting background process FBDA
Tue May 12 21:28:43 2009
FBDA started with pid=44, OS id=3112
replication_dependency_tracking turned off (no async multimaster replication found)
Tue May 12 21:28:44 2009
Starting background process QMNC
Tue May 12 21:28:44 2009
QMNC started with pid=46, OS id=3212
Completed: alter database open
Tue May 12 21:28:49 2009
Starting background process CJQ0
Tue May 12 21:28:49 2009
CJQ0 started with pid=50, OS id=3480
Tue May 12 21:38:32 2009
Starting background process SMCO
Tue May 12 21:38:36 2009
SMCO started with pid=55, OS id=2500
Tue May 12 21:40:04 2009
AUD: OS Error = 1717 encountered while writing audit record
AUD: OS Error = 1717 encountered while writing audit record
AUD: OS Error = 1717 encountered while writing audit record
AUD: OS Error = 1717 encountered while writing audit record
AUD: OS Error = 1717 encountered while writing audit record
AUD: OS Error = 1717 encountered while writing audit record
Tue May 12 21:48:24 2009
Starting ORACLE instance (normal)
LICENSE_MAX_SESSION = 0
LICENSE_SESSIONS_WARNING = 0
Picked latch-free SCN scheme 2
Autotune of undo retention is turned on.
IMODE=BR
ILAT =169
LICENSE_MAX_USERS = 0
SYS auditing is disabled
Starting up ORACLE RDBMS Version: 11.1.0.7.0.
Using parameter settings in client-side pfile E:\SC\SC15.1\DATABASES\ORACLECONFIG\INITNM45.ORA on machine SC15RQTFS
System parameters with non-default values:
processes = 1400
resource_limit = TRUE
pre_page_sga = TRUE
dbwr_io_slaves = 1
memory_target = 900M
control_files = "E:\SC\SC15.1\DATABASES\ORACLECONFIG\CTL1NM45.ORA"
control_files = "E:\SC\SC15.1\DATABASES\ORACLECONFIG\CTL2NM45.ORA"
db_block_size = 8192
db_writer_processes = 1
compatible = "11.1.0.0.0"
log_archive_dest = "E:\SC\SC15.1\Databases\OracleConfig"
log_archive_format = "ARC%T.%S_%R"
log_buffer = 3145728
log_checkpoint_interval = 8000
log_checkpoint_timeout = 0
db_files = 1020
db_file_multiblock_read_count= 32
dml_locks = 200
undo_management = "AUTO"
undo_tablespace = "UNDOTSNM45"
undo_retention = 21600
sec_case_sensitive_logon = FALSE
O7_DICTIONARY_ACCESSIBILITY= FALSE
remote_login_passwordfile= "EXCLUSIVE"
db_domain = "SC15RQT.NSN.COM"
global_names = TRUE
service_names = "ENMSCSDB.SC15RQT.NSN.COM"
dispatchers = "(description=(address=(protocol=TCP)(PORT=1550))(dispatchers=1)(SDU = 2048))"
dispatchers = "(description=(address=(protocol=TCP)(PORT=1551))(dispatchers=1)(SDU = 2048))"
dispatchers = "(description=(address=(protocol=TCP)(PORT=1552))(dispatchers=1)(SDU = 2048))"
shared_servers = 20
max_shared_servers = 40
local_listener = "(ADDRESS_LIST=(Address=(Protocol=TCP)(Host=SC15RQTFS)(Port=1529))(Address=(Protocol=TCP)(Host=SC15RQTFS)(Port=1526)))"
session_cached_cursors = 100
utl_file_dir = "E:\SC\SC15.1\Temp"
utl_file_dir = "E:\SC\SC15.1\ArchiveData\AlarmArchive"
utl_file_dir = "E:\SC\SC15.1\ArchiveData\RuleAnalyzerData"
job_queue_processes = 7
cursor_sharing = "FORCE"
parallel_min_servers = 2
parallel_max_servers = 10
open_links = 8
db_name = "ENMSCSDB"
open_cursors = 150
os_authent_prefix = "EXT$"
diagnostic_dest = "E:\SC\SC15.1\DATABASES\ORACLECONFIG"
max_dump_file_size = "10240"
Tue May 12 21:48:31 2009
ksuapc : ORA-1033 foreground process starts before PMON
Tue May 12 21:48:31 2009
PMON started with pid=2, OS id=2676
Tue May 12 21:48:31 2009
VKTM started with pid=3, OS id=2680 at elevated priority
VKTM running at (20)ms precision
Tue May 12 21:48:31 2009
DIAG started with pid=4, OS id=2684
Tue May 12 21:48:31 2009
DBRM started with pid=5, OS id=2696
Tue May 12 21:48:31 2009
PSP0 started with pid=6, OS id=2700
Tue May 12 21:48:31 2009
DIA0 started with pid=7, OS id=2704
Tue May 12 21:48:31 2009
MMAN started with pid=9, OS id=2712
Tue May 12 21:48:31 2009
DBW0 started with pid=10, OS id=2716
Tue May 12 21:48:31 2009
LGWR started with pid=11, OS id=2720
Tue May 12 21:48:31 2009
CKPT started with pid=12, OS id=2724
Tue May 12 21:48:31 2009
SMON started with pid=13, OS id=2728
Tue May 12 21:48:31 2009
RECO started with pid=14, OS id=2732
Tue May 12 21:48:31 2009
MMON started with pid=15, OS id=2736
Tue May 12 21:48:31 2009
MMNL started with pid=16, OS id=2740
starting up 1 dispatcher(s) for network address '(description=(address=(protocol=TCP)(PORT=1550))(dispatchers=1)(SDU=2048))'...
starting up 1 dispatcher(s) for network address '(description=(address=(protocol=TCP)(PORT=1551))(dispatchers=1)(SDU=2048))'...
starting up 1 dispatcher(s) for network address '(description=(address=(protocol=TCP)(PORT=1552))(dispatchers=1)(SDU=2048))'...
starting up 20 shared server(s) ...
ORACLE_BASE from environment = D:\Oracle\Ora11G
Tue May 12 21:57:09 2009
Fatal NI connect error 12170.
VERSION INFORMATION:
TNS for 32-bit Windows: Version 11.1.0.7.0 - Production
Oracle Bequeath NT Protocol Adapter for 32-bit Windows: Version 11.1.0.7.0 - Production
Windows NT TCP/IP NT Protocol Adapter for 32-bit Windows: Version 11.1.0.7.0 - Production
Time: 12-MAY-2009 21:57:09
Tracing not turned on.
Tns error struct:
ns main err code: 12535
TNS-12535: TNS:operation timed out
ns secondary err code: 12606
nt main err code: 0
nt secondary err code: 0
nt OS err code: 0
Client address: (ADDRESS=(PROTOCOL=tcp)(HOST=180.144.135.92)(PORT=63722))
WARNING: inbound connection timed out (ORA-3136)
Tue May 12 21:57:12 2009
Fatal NI connect error 12170.
VERSION INFORMATION:
TNS for 32-bit Windows: Version 11.1.0.7.0 - Production
Oracle Bequeath NT Protocol Adapter for 32-bit Windows: Version 11.1.0.7.0 - Production
Windows NT TCP/IP NT Protocol Adapter for 32-bit Windows: Version 11.1.0.7.0 - Production
Time: 12-MAY-2009 21:57:12
Tracing not turned on.
Tns error struct:
ns main err code: 12535
TNS-12535: TNS:operation timed out
ns secondary err code: 12606
nt main err code: 0
nt secondary err code: 0
nt OS err code: 0
Client address: (ADDRESS=(PROTOCOL=tcp)(HOST=180.144.135.92)(PORT=63736))
WARNING: inbound connection timed out (ORA-3136)
Tue May 12 21:57:15 2009
Fatal NI connect error 12170.
VERSION INFORMATION:
TNS for 32-bit Windows: Version 11.1.0.7.0 - Production
Oracle Bequeath NT Protocol Adapter for 32-bit Windows: Version 11.1.0.7.0 - Production
Windows NT TCP/IP NT Protocol Adapter for 32-bit Windows: Version 11.1.0.7.0 - Production
Time: 12-MAY-2009 21:57:15
Tracing not turned on.
Tns error struct:
ns main err code: 12535
TNS-12535: TNS:operation timed out
ns secondary err code: 12606
nt main err code: 0
nt secondary err code: 0
nt OS err code: 0
Client address: (ADDRESS=(PROTOCOL=tcp)(HOST=180.144.135.92)(PORT=63762))
WARNING: inbound connection timed out (ORA-3136)
Tue May 12 21:57:18 2009
Fatal NI connect error 12170.
VERSION INFORMATION:
TNS for 32-bit Windows: Version 11.1.0.7.0 - Production
Oracle Bequeath NT Protocol Adapter for 32-bit Windows: Version 11.1.0.7.0 - Production
Windows NT TCP/IP NT Protocol Adapter for 32-bit Windows: Version 11.1.0.7.0 - Production
Time: 12-MAY-2009 21:57:18
Tracing not turned on.
Tns error struct:
ns main err code: 12535
TNS-12535: TNS:operation timed out
ns secondary err code: 12606
nt main err code: 0
nt secondary err code: 0
nt OS err code: 0
Client address: (ADDRESS=(PROTOCOL=tcp)(HOST=180.144.135.92)(PORT=63766))
WARNING: inbound connection timed out (ORA-3136)
Tue May 12 22:32:56 2009
Fatal NI connect error 12170.
VERSION INFORMATION:
TNS for 32-bit Windows: Version 11.1.0.7.0 - Production
Oracle Bequeath NT Protocol Adapter for 32-bit Windows: Version 11.1.0.7.0 - Production
Windows NT TCP/IP NT Protocol Adapter for 32-bit Windows: Version 11.1.0.7.0 - Production
Time: 12-MAY-2009 22:32:56
Tracing not turned on.
Tns error struct:
ns main err code: 12535
TNS-12535: TNS:operation timed out
ns secondary err code: 12606
nt main err code: 0
nt secondary err code: 0
nt OS err code: 0
Client address: (ADDRESS=(PROTOCOL=tcp)(HOST=180.144.248.180)(PORT=54039))
WARNING: inbound connection timed out (ORA-3136)
Wed May 13 09:30:02 2009
Fatal NI connect error 12170.
VERSION INFORMATION:
TNS for 32-bit Windows: Version 11.1.0.7.0 - Production
Oracle Bequeath NT Protocol Adapter for 32-bit Windows: Version 11.1.0.7.0 - Production
Windows NT TCP/IP NT Protocol Adapter for 32-bit Windows: Version 11.1.0.7.0 - Production
Time: 13-MAY-2009 09:30:02
Tracing not turned on.
Tns error struct:
ns main err code: 12535
TNS-12535: TNS:operation timed out
ns secondary err code: 12606
nt main err code: 0
nt secondary err code: 0
nt OS err code: 0
Client address: (ADDRESS=(PROTOCOL=tcp)(HOST=180.144.248.179)(PORT=54835))
WARNING: inbound connection timed out (ORA-3136)
Wed May 13 10:09:59 2009
Fatal NI connect error 12170.
VERSION INFORMATION:
TNS for 32-bit Windows: Version 11.1.0.7.0 - Production
Oracle Bequeath NT Protocol Adapter for 32-bit Windows: Version 11.1.0.7.0 - Production
Windows NT TCP/IP NT Protocol Adapter for 32-bit Windows: Version 11.1.0.7.0 - Production
Time: 13-MAY-2009 10:09:59
Tracing not turned on.
Tns error struct:
ns main err code: 12535
TNS-12535: TNS:operation timed out
ns secondary err code: 12606
nt main err code: 0
nt secondary err code: 0
nt OS err code: 0
Client address: (ADDRESS=(PROTOCOL=tcp)(HOST=180.144.248.179)(PORT=56445))
WARNING: inbound connection timed out (ORA-3136)
Client address: (ADDRESS=(PROTOCOL=tcp)(HOST=180.144.248.179)(PORT=56445))
WARNING: inbound connection timed out (ORA-3136)
Wed May 13 11:16:06 2009
Shutting down instance (abort)
License high water mark = 3
USER (ospid: 5376): terminating the instance
Instance terminated by USER, pid = 5376
Wed May 13 11:16:09 2009
Instance shutdown complete
Wed May 13 11:17:37 2009
Starting ORACLE instance (normal)
LICENSE_MAX_SESSION = 0
LICENSE_SESSIONS_WARNING = 0
Picked latch-free SCN scheme 2
Autotune of undo retention is turned on.
IMODE=BR
ILAT =169
LICENSE_MAX_USERS = 0
SYS auditing is disabled
Starting up ORACLE RDBMS Version: 11.1.0.7.0.
Using parameter settings in client-side pfile E:\SC\SC15.1\DATABASES\ORACLECONFIG\INITNM45.ORA on machine SC15RQTFS
System parameters with non-default values:
processes = 1400
resource_limit = TRUE
pre_page_sga = TRUE
dbwr_io_slaves = 1
memory_target = 900M
control_files = "E:\SC\SC15.1\DATABASES\ORACLECONFIG\CTL1NM45.ORA"
control_files = "E:\SC\SC15.1\DATABASES\ORACLECONFIG\CTL2NM45.ORA"
db_block_size = 8192
db_writer_processes = 1
compatible = "11.1.0.0.0"
log_archive_dest = "E:\SC\SC15.1\Databases\OracleConfig"
log_archive_format = "ARC%T.%S_%R"
log_buffer = 3145728
log_checkpoint_interval = 8000
log_checkpoint_timeout = 0
db_files = 1020
db_file_multiblock_read_count= 32
dml_locks = 200
undo_management = "AUTO"
undo_tablespace = "UNDOTSNM45"
undo_retention = 21600
sec_case_sensitive_logon = FALSE
O7_DICTIONARY_ACCESSIBILITY= FALSE
remote_login_passwordfile= "EXCLUSIVE"
db_domain = "SC15RQT.NSN.COM"
global_names = TRUE
service_names = "ENMSCSDB.SC15RQT.NSN.COM"
dispatchers = "(description=(address=(protocol=TCP)(PORT=1550))(dispatchers=1)(SDU = 2048))"
dispatchers = "(description=(address=(protocol=TCP)(PORT=1551))(dispatchers=1)(SDU = 2048))"
dispatchers = "(description=(address=(protocol=TCP)(PORT=1552))(dispatchers=1)(SDU = 2048))"
shared_servers = 20
max_shared_servers = 40
local_listener = "(ADDRESS_LIST=(Address=(Protocol=TCP)(Host=SC15RQTFS)(Port=1529))(Address=(Protocol=TCP)(Host=SC15RQTFS)(Port=1526)))"
session_cached_cursors = 100
utl_file_dir = "E:\SC\SC15.1\Temp"
utl_file_dir = "E:\SC\SC15.1\ArchiveData\AlarmArchive"
utl_file_dir = "E:\SC\SC15.1\ArchiveData\RuleAnalyzerData"
job_queue_processes = 7
cursor_sharing = "FORCE"
parallel_min_servers = 2
parallel_max_servers = 10
open_links = 8
db_name = "ENMSCSDB"
open_cursors = 150
os_authent_prefix = "EXT$"
diagnostic_dest = "E:\SC\SC15.1\DATABASES\ORACLECONFIG"
max_dump_file_size = "10240"
Wed May 13 11:17:40 2009
PMON started with pid=2, OS id=4124
Wed May 13 11:17:40 2009
VKTM started with pid=3, OS id=652 at elevated priority
VKTM running at (20)ms precision
Wed May 13 11:17:40 2009
DIAG started with pid=5, OS id=5584
Wed May 13 11:17:40 2009
DBRM started with pid=4, OS id=5580
Wed May 13 11:17:40 2009
PSP0 started with pid=6, OS id=1880
Wed May 13 11:17:40 2009
DIA0 started with pid=8, OS id=4448
Wed May 13 11:17:41 2009
MMAN started with pid=7, OS id=4488
Wed May 13 11:17:41 2009
DBW0 started with pid=10, OS id=5068
Wed May 13 11:17:41 2009
LGWR started with pid=11, OS id=2332
Wed May 13 11:17:41 2009
CKPT started with pid=12, OS id=5432
Wed May 13 11:17:41 2009
SMON started with pid=13, OS id=5996
Wed May 13 11:17:41 2009
RECO started with pid=9, OS id=2376
Wed May 13 11:17:41 2009
MMON started with pid=15, OS id=4480
starting up 1 dispatcher(s) for network address '(description=(address=(protocol=TCP)(PORT=1550))(dispatchers=1)(SDU=2048))'...
starting up 1 dispatcher(s) for network address '(description=(address=(protocol=TCP)(PORT=1551))(dispatchers=1)(SDU=2048))'...
starting up 1 dispatcher(s) for network address '(description=(address=(protocol=TCP)(PORT=1552))(dispatchers=1)(SDU=2048))'...
starting up 20 shared server(s) ...
Wed May 13 11:17:41 2009
MMNL started with pid=14, OS id=4956
ORACLE_BASE from environment = D:\Oracle\Ora11G
Wed May 13 11:17:43 2009
ALTER DATABASE MOUNT
Setting recovery target incarnation to 1
Successful mount of redo thread 1, with mount id 1796242263
Database mounted in Exclusive Mode
Lost write protection disabled
Completed: ALTER DATABASE MOUNT
Wed May 13 11:17:48 2009
ALTER DATABASE OPEN
Beginning crash recovery of 1 threads
parallel recovery started with 2 processes
Started redo scan
Completed redo scan
1898 redo blocks read, 356 data blocks need recovery
Started redo application at
Thread 1: logseq 140, block 74382
Recovery of Online Redo Log: Thread 1 Group 5 Seq 140 Reading mem 0
Mem# 0: E:\SC\SC15.1\DATABASES\ORACLECONFIG\LOG5NM45.ORA
Completed redo application of 0.75MB
Wed May 13 11:17:50 2009
Running KSFV I/O slave I101 os pid=2044
Completed crash recovery at
Thread 1: logseq 140, block 76280, scn 1710686
356 data blocks read, 356 data blocks written, 1898 redo blocks read
Wed May 13 11:17:51 2009
Thread 1 advanced to log sequence 141 (thread open)
Thread 1 opened at log sequence 141
Current log# 1 seq# 141 mem# 0: E:\SC\SC15.1\DATABASES\ORACLECONFIG\LOG1NM45.ORA
Successful open of redo thread 1
MTTR advisory is disabled because FAST_START_MTTR_TARGET is not set
Wed May 13 11:17:51 2009
Running KSFV I/O slave I201 os pid=3140
Wed May 13 11:17:51 2009
SMON: enabling cache recovery
The problem is faced around 21:57:09 on 12 MAY.
Thanks
With Regards
Hemant. -
Oracle 11g: Oracle insert/update operation is taking more time.
Hello All,
In Oracle 11g (Windows 2008 32 bit environment) we are facing following issue.
1) We are inserting/updating data on some tables (4-5 tables and we are firing query with very high rate).
2) After sometime (say 15 days with same load) we are feeling that the Oracle operation (insert/update) is taking more time.
Query1: How to find actually oracle is taking more time in insert/updates operation.
Query2: How to rectify the problem.
We are having multithread environment.
Thanks
With Regards
Hemant.Liron Amitzi wrote:
Hi Nicolas,
Just a short explanation:
If you have a table with 1 column (let's say a number). The table is empty and you have an index on the column.
When you insert a row, the value of the column will be inserted to the index. To insert 1 value to an index with 10 values in it will be fast. It will take longer to insert 1 value to an index with 1 million values in it.
My second example was if I take the same table and let's say I insert 10 rows and delete the previous 10 from the table. I always have 10 rows in the table so the index should be small. But this is not correct. If I insert values 1-10 and then delete 1-10 and insert 11-20, then delete 11-20 and insert 21-30 and so on, because the index is sorted, where 1-10 were stored I'll now have empty spots. Oracle will not fill them up. So the index will become larger and larger as I insert more rows (even though I delete the old ones).
The solution here is simply revuild the index once in a while.
Hope it is clear.
Liron Amitzi
Senior DBA consultant
[www.dbsnaps.com]
[www.orbiumsoftware.com]Hmmm, index space not reused ? Index rebuild once a while ? That was what I understood from your previous post, but nothing is less sure.
This is a misconception of how indexes are working.
I would suggest the reading of the following interasting doc, they are a lot of nice examples (including index space reuse) to understand, and in conclusion :
http://richardfoote.files.wordpress.com/2007/12/index-internals-rebuilding-the-truth.pdf
"+Index Rebuild Summary+
+•*The vast majority of indexes do not require rebuilding*+
+•Oracle B-tree indexes can become “unbalanced” and need to be rebuilt is a myth+
+•*Deleted space in an index is “deadwood” and over time requires the index to be rebuilt is a myth*+
+•If an index reaches “x” number of levels, it becomes inefficient and requires the index to be rebuilt is a myth+
+•If an index has a poor clustering factor, the index needs to be rebuilt is a myth+
+•To improve performance, indexes need to be regularly rebuilt is a myth+"
Good reading,
Nicolas. -
Oracle 11G - Oracle AWR export import Query Statistics.
I have Oracle 11G, i have seen the sql statements through Historical AWR option from Top Activites in performance tab. Can i export all AWR query statistics from production machine so that i can analyze all logs after importing it.
How can i know all statistical sql ( information ) and performace of production machine ?
any help ?Hello,
have you checked the DBA_HIST* objects to see what / how was imported?
If the awr export dosn't get the contents of the rolling buffer, then you won't see any session statistics that are only there. If you want to get the contents of the rolling buffer you have to dump the contents of it with :
oradebug setmypid
oradebug dump ashdump 10
and load it into your "test" database.
But before doing this I suggest you read the related metalink documentation if any!!!
Regards,
Franky -
Oracle 11G - Oracle AWR query execution time in report
I have used AWR tool of oracle 11G. I have exported query historical statistics of production databaser using awrextr.sql and then load the exported dump file using awrload.sql script.
Then i used awrrpti.sql and awrsqrpi.sql for generating report of sql queries. Every thing is working fine and generated reports are also very helpful, but report does not show the exact time when the query was executed. How can i get the actual time when the query was executed ?
any help please ?If you would have consulted the Oracle Reference Manual to get the view descriptions, you should have your question is a rhetorical one with the answer NO.
This is because every statement can be executed one or more times, and Oracle would need to keep track of all individual executions.
I do agree most 'applications' do not use bind variables, and consequently only have unique statements, but Oracle didn't take that into account, and rightly so.
Sybrand Bakker
Senior Oracle DBA -
Oracle 11g "Oracle Database Configuration Assistant" failed
Hi
am trying to install oracle 10g databse .
am getting Configuration assistant "Oracle Database Configuration Assistant" failed
in log file i see
[Thread-19] [18:32:29:343] [BasicStep.execute:202] Executing Step : CLONE_DB_CREATION_RMAN_RESTORE
[Thread-19] [18:32:29:343] [StepErrorHandler.setFatalErrors:322] setting Fatal Error: ORA-01092
[Thread-19] [18:32:29:343] [StepErrorHandler.setFatalErrors:322] setting Fatal Error: ORA-01034
[Thread-19] [18:32:29:343] [StepErrorHandler.setFatalErrors:322] setting Fatal Error: ORA-03114
[Thread-19] [18:32:29:343] [StepErrorHandler.setFatalErrors:322] setting Fatal Error: ORA-12560
[Thread-19] [18:32:29:343] [StepErrorHandler.setIgnorableErrors:250] setting Ignorable Error: ORA-01109
i have created microsoft loop back adapator and configured TCP/IP.
what would be the problem?At the Oracle Support site https://support.oracle.com
To access the document, you will need a valid CSI (Customer Support Identifier), which is given when you purchase a support contract from Oracle.
If you do not have a CSI, I would recommend that you completely uninstall the product and reinstall again by following the Install Guide at http://www.oracle.com/pls/db102/portal.portal_db?selected=11
HTH
Srini -
Oracle 11g Quartz Scheduler 1.8.5 running under JBOSS 5.1
Basically I'm getting this error when running Quartz configured for the jobStore
org.quartz.jobStore.class = org.quartz.impl.jdbcjobstore.JobStoreCMT
I've got two data sources setup.
One data source is setup to be looked up via JNDI (presumably for the one that may participate in distributed JTA XA transactions) and one that
supposedly is not to participate in JTA transactions in which quartz can call commit/rollback on it's own.
The problem I'm seeing with the interaction of the two is the following exception:
05:21:27,292 ERROR [TxPolicy] javax.ejb.EJBTransactionRolledbackException: SqlMapClient operation; uncategorized SQLException for SQL []; SQL state [9
9999]; error code [29875];
--- The error occurred in XXXXX_COORDINATE_SqlMap.xml.
--- The error occurred while applying a parameter map.
--- Check the XXXX_COORDINATE.insert-InlineParameterMap.
--- Check the statement (update failed).
--- Cause: java.sql.SQLException: ORA-29875: failed in the execution of the ODCIINDEXINSERT routine
ORA-29400: data cartridge error
ORA-14450: attempt to access a transactional temp table already in use
ORA-06512: at "MDSYS.SDO_INDEX_METHOD_10I", line 720
ORA-06512: at "MDSYS.SDO_INDEX_METHOD_10I", line 225
; nested exception is com.XXXXXibatis.common.jdbc.exception.NestedSQLException:
--- The error occurred in XXXXX_COORDINATE_SqlMap.xml.
--- The error occurred while applying a parameter map.
--- Check the XXXXX_COORDINATE.insert-InlineParameterMap.
--- Check the statement (update failed).
--- Cause: java.sql.SQLException: ORA-29875: failed in the execution of the ODCIINDEXINSERT routine
ORA-29400: data cartridge error
ORA-14450: attempt to access a transactional temp table already in use
ORA-06512: at "MDSYS.SDO_INDEX_METHOD_10I", line 720
ORA-06512: at "MDSYS.SDO_INDEX_METHOD_10I", line 225
Has anyone seen this error before with the following configuration of Quartz 1.8.5, Oracle 11g, Oracle Spatial?
I've googled and seen reference to Oracle spatial using temp tables and not compatible with transactions... but not sure
exactly how to solve this problem.
Thanks in advacce.Hi;
Can any one advise me where and how can I download proper RPM packages and how do I resolve swap space requirement failure as mentioned above. Please let me know if further information required.You can find all related rpm from your DVD. For rpm please see below thread:
RPM confirmation
Re: Package install for oracle11gr2
For swap:
swap size increase-linux
How to increase swap size?
Regard
Helios -
Connection Problem When Using Oracle Developer Tools for Visual Studio
I tried to create an Oracle Connection in my Visual Studio 2008 after installing Oracle 11g, Oracle Data Access Components (ODAC) with Oracle Devleoper Tools for Vissual Studio version 11.1.0.6.20.
I followed the directions according to "Building .NET Applications Using Oracle Developer Tools for Visual Studio, when I click Test Connection, I keep getting the error message below.
Microsoft Visual Studio
ORA-12170: TNS:Connect timeout occurred
OK
---------------------------I solved the problem.
This is what I did for the benefit of the embryonic newbe like me.
On the Add Connection Dialog
1. For Data source name I selected Local Database
2. I clicked on the specific User Name and I typed SYSTEM
3. For Password, I typed orcl (the password I setup during the installation) (HR did not work for me for User name and Password according to the tutorial instructions)
4. For Role, I selected Default
5. Connection Name, I selected Local Database
6. Before proceeding any further went to Windows XP SP3 where I was operating from, under Start Menu, I selected Administrative Tools then Services
a. On the Windows Services (Local) Dialog, under name, I selected OracleServiceORCL and OracleOraDb11g_home1TNSListener. I clicked on them one at a time
b. On the presented Dialog, under Service Status, I Clicked on the Start Button to start the Services
c. Then I went back to the Add Connection Dialog. I clicked on Test Connection, it connected okay. I finally clicked on Okay to connect. -
Oracle 11g : UTL_FILE query
Hi,
I am having 2 server. One server has oracle database while on another one is application server where all the data files and application specific shell scripts are kept. We are connecting to database via the application server.
I am using Oracle 11g:
Oracle Database 11g Enterprise Edition Release 11.1.0.6.0 - 64bit Production
PL/SQL Release 11.1.0.6.0 - Production
CORE 11.1.0.6.0 Production
TNS for HPUX: Version 11.1.0.6.0 - Production
NLSRTL Version 11.1.0.6.0 - Production
I know that using UTL_FILE in PL/SQL procedure we can create file on the server (where oracle is installed).
My requirement is generated some report which will involve writing to more than 2 files simultaneously. I know I can easily do this in PL/SQL procedure.
But my issue is that due to space issue I cannot generate the files on database server and need to generate the same on the application one (client side)
Queries:
1] Is it also possible to create file on client machince instead of server in my case the application server via PL/SQL because I read that in Oracle 11g
UTL_FILE provides file access both on the client side and on the server side.
2] If yes any idea, how is this possible?
3] If not, is there any way by which I can write to 2 or more file simultaneously on the client using oralce. I know SQL*Plus can spool file on client. But it is only one file at a time.
Rgds,
AmolLooking at the 11g documentation you are probably referring to:
http://download.oracle.com/docs/cd/B28359_01/appdev.111/b28419/u_file.htm#BABDEJDH
where it says...
>
UTL_FILE provides file access both on the client side and on the server side. When run on the server, UTL_FILE provides access to all operating system files that are accessible from the server. On the client side, as in the case for Forms applications, UTL_FILE provides access to operating system files that are accessible from the client.
>
This is referring to client installed forms applications where it provides a local UTL_FILE functionality that accesses the local file system. It doesn't mean that UTL_FILE within PL/SQL that is running on the database server can access the client machine's file system as this would also be a breach of network security. -
Oracle 11g Installation problems
Hi there, Im a new Oracle's user, and I am trying to install Oracle 11g in my computer I have Windows Vista SP2 32bits, but I have a lot of problems.
The program send me various messages of Warnings and Errors so I couldnt finished the complete instalation and configuration.
Somebody can help me with some of this errors.
This are the errors: (In Spanish)
ORA-31011: Fallo en el analisis de XML
ORA-19202: Se ha producido un error en el procesamiento
ORA-06512: en "SYS.XMLTYPE", linea 272
ORA-06512: en "XDB.XDB_CONFIGURATION", linea 69
ORA-06512: en "XDB.DBMX_XDB", linea 209
ORA-06512: en "XDB.XDB_CONFIGURATION", linea 92
La configuración de Enterprise Manager ha fallado debido al
siguiente error:
Error al iniciar Database Control
Consulte el archivo log en C:\oraclecfgtoollogsdbca\orc\emConfig.log para obtener mas información
Posteriormente, puede reintentar la configuración de esta base de datos con
Enterprise Manager ejecutando manualmente el archivo de comandos C:\oracle\product\11.1.0\db_1\bin\emca
nstaller ha instalado productos en el grupo de componentes "Oracle Windows Interfaces".
Para soportar un desarrollo perfecto en Microsoft Visual Studio con la base de datos Oracle,
Oracle recomienda descargar e instalar la última versión de
"Oracle Developer Tools for Visual Studio .NET" de Oracle Technology Network.
I will aprecciatte your help.
Thank you!user12191943 wrote:
I have Windows Vista SP2 32bitsPlease specifiy WHICH edition of Vista. Oracle does have many problems with Vista Home. -
Installation problem oracle 11g R2 on oracle enterprise linux 5 update 5
hello support,
i've installation problems with oracle 11g R2 on oracle enterprise linux 5 update 5. In the section "ORACLE Net-Konfigurationsassisten" the failure "[INS-20802] Oracle NET-Konfigurationsassistent not success". What's wrong? I've followed the instructions on http://www.oracle.com/technology/pub/articles/smiley-11gr1-install.html
I've heard the problem can occur with problems in /etc/hosts? My /etc/hosts is configured:
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 oracle localhost.localdomain localhost
::1 localhost6.localdomain6 localhost6
is this ok? what can I do to bring the database-installation to success?
Thank's for help ;-)
Edited by: user5782904 on 09.05.2010 14:06Here I paste you the configuration of my latest linux box which has a similar environment like yours.
# hostname
vmrhel6032.quist.ch
# domainname
(none)
# cat /etc/hosts
192.168.1.205 vmrhel6032 vmrhel6032.quist.ch
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
# cat /etc/sysconfig/network
NETWORKING=yes
HOSTNAME=vmrhel6032.quist.ch
# cat /etc/sysconfig/network-scripts/ifcfg-eth0
# Advanced Micro Devices [AMD] 79c970 [PCnet32 LANCE]
DEVICE=eth0
HWADDR=00:0C:29:6A:98:70
ONBOOT=yes
NETWORK=192.168.1.0
NETMASK=255.255.255.0
IPADDR=192.168.1.205
#Thanks to your post I noted that the hostname consist already of my domain entry. Try your configuration first without domain entry. It should look like:
# hostname
vmrhel6032
# domainname
(none)
# cat /etc/hosts
192.168.1.205 vmrhel6032
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
# cat /etc/sysconfig/network
NETWORKING=yes
HOSTNAME=vmrhel6032
# cat /etc/sysconfig/network-scripts/ifcfg-eth0
# Advanced Micro Devices [AMD] 79c970 [PCnet32 LANCE]
DEVICE=eth0
HWADDR=00:0C:29:6A:98:70
ONBOOT=yes
NETWORK=192.168.1.0
NETMASK=255.255.255.0
IPADDR=192.168.1.205
#Otherwise use the first example and don't forget to restart your server resp. the network service. ;) -
ORACLE 11G INSTALLATION PROBLEM ON WIN7 32 bit
okay i intalled the 11g edition but quite unsuccesfully . This is the view of start menu entry
start->allprograms->oracle 11g express edition->empty
Well, it shouldn't be like this !
Can't figure out why ?
Edited by: 908289 on Jan 16, 2012 3:52 AM
Edited by: 908289 on Jan 16, 2012 7:59 AMi have the folder named oracleexe and app folder inside it . so this is what i should get as installed folders i guess !!Yes, that's what you can expect after a successful installation. Take a look in the direct ".\oracle\product\11.2.0\server" below the "app" directory. Do you see some url-link files there? (Despite several other subdirectories, of course...)
Two of them should be the "Database_homepage" and "Get_Started". Try to call them.
And Oracle XE service is started . Well, that's great. Sounds like all you lack is the links in you task menu.
i couldn't quite get you here . which software/ programs are you referring to ? The start menu entry created is shown already as it is in the problem above and installation folders are there as i mentioned above . what else ,you refferring to ?I just wanted to check whether the installer has registered the database in the Windows list. This is part of a successful installation and would offer you the opporunity to uninstall (and perhaps reinstall) the whole package.
Also , i am not sure which lOG file to check there because there are a lot of them !!As your database seems to be running as noted above, it doesn't seem to be necessary to go into these details.
You should be able to access your database, either by using the links mentioned above, or, if these failed to be created, by calling the URLs by hand, e.g.
http://127.0.0.1:8080/apex/f?p=4950 for "Get_Started" and
http://127.0.0.1:8080/htmldb for the "Database_homepage".
You should also be able to use the command line tool by calling sqlplus from a command window.
If that doesn't satisfy you or you face any errors, you could try to reinstall.
-Udo -
Oracle 11g for WinXP VirtualMachine install problem
Hi!
I have problem with installation Oracle 11g x32 on WinXP x32 which was installed into VMWare Player
When my installation goes to 60% i have an error em.ear file not found...
I looking for many issues on this forum, but i can't fix this error (i have been unzipped all 2 archives in the same folder, i have deleted all files in temp folders...), but i can't pass the oracle install test... all test is filed, but i ignor this screen, because i know, that all is right... so can any one help me with installation?957717 wrote:
Hi!
I have problem with installation Oracle 11g x32 on WinXP x32 which was installed into VMWare Player
When my installation goes to 60% i have an error em.ear file not found...
I looking for many issues on this forum, but i can't fix this error (i have been unzipped all 2 archives in the same folder, i have deleted all files in temp folders...), but i can't pass the oracle install test... all test is filed, but i ignor this screen, because i know, that all is right... so can any one help me with installation?What is the full path name to the directory where unzipped the files?
Do a system 'find' and locate 'em.ear'. What is the full path name to it? At acommand prompt, enter the following:
cd \
dir /s em.earcopy the entire session -- command and results, and paste back here.
Also, does the path to the installation files contain any spaces? Does the path to the installed ORACLE_HOME contain any spaces?
You have my condolences for having to work with Windows. To paraphrase a line from a popular movie . . "My momma always said Windows was like a box of chocolates."
Edited by: EdStevens on Sep 7, 2012 3:42 PM -
Problem with Application Login after upgrading to Oracle 11g
I have a home-grown application with Oracle 10g database running under Windows XP Pro. Recently, I installed Oracle 11g and imported the application database from 10g to 11g (still want to keep the 10g running for a while). However, I now having problem with the application logging into the new 11g database. (Keep getting invalid user/name message).
BTW, I have no problem accessing the 11g database through SQLPlus (logging in with the same name and password that I use for the application), and the connection test of NetManager (again using the same name and password that I use for the application) was successful.
The application itself uses the old Borland BDE (Borland Database Engine) to access the 10g and 11g database. Testing confirms that BDE can access Oracle 11g with no problems.
Any idea about the probable cause(s) of the problem?
Thanks in advance,
sg200011g by default is case sensitive username/password.
You can disable that with setting parameter SEC_CASE_SENSITIVE_LOGON to false.
SQL> SHOW PARAMETER SEC_CASE_SENSITIVE_LOGON
SQL> ALTER SYSTEM SET SEC_CASE_SENSITIVE_LOGON = FALSE; -
Tns problem with Oracle 11g ODAC 11.1.0.6.21 with Oracle Developer Tools
I installed the full
Oracle 11g ODAC 11.1.0.6.21 with Oracle Developer Tools for Visual Studio
now I am at the good old "[ORA-12154: TNS:could not resolve the connect identifier specified]" error.
I copied the same tnsnames.ora as used on the db server
onto the client "C:\Oracle\product\11.1.0\client_2\Network\Admin".
The host name is right since a normal ping works. TNSping is not available.
but I get the [ORA-12154: TNS:could not resolve the connect identifier specified] error.
The listener is running and the instance as well since it all works on the source server.
I tried it with
SET path=c:\oracle\product\11.1.0\client_2\bin
but tnsping is still not recognized.
sqlplus works on the other hand when I set it to
SET path=c:\oracle\product\11.1.0\client_2\
what is going on...hey
u can post your query here, and i think everyone here is to share opinion so do not hesitate to do so and please try to google before posting here,
and we know no one is expert like some people saying 'boring questions' you just try to overcome your problem and you will definitly get your problem solved .
some mpeople ar still there who answeres hopeless questions and say nothing about them but when a fresher askin a qustion is not tolarated by them they think everyone is born DBA here
they always tend to discouraging people here on forums,and i think they are vvolunteers to reduce crowd here on forums, inspite of there experience and people respect them they can not control their anger
so please post you tns here, i think there are ways to ask people to google and search docs first, but not like this
thanks and regards
VD
Edited by: vikrant dixit on Jun 29, 2009 4:33 AM
Maybe you are looking for
-
I don't know what might be wrong but I have tried everything possible I suppose. Configuration: 1 App Server SharePoint Standard 2013 + SQL Server. On App Server, I have installed Workflow Manager as well. Installed Sharepoint Designer 2013 on my la
-
Hello, i have a little image sequence of a dvd player opening its drive. I didn't create the animation myself, I've just received the png sequence and a shadow layer png sequence extracted from Lightwave. After importing both sequences into After Eff
-
HP S2031 Monitor connect to my Mac
I connect a HP monitor using a Mini DP to DVI adaptor. Work one time and after that my mac dont recognize the monitor. There is something that I can do?
-
Must I purchase an ADSL modem from my ISP
I have had adsl service for many years. I am currently using a modem purchased from my ISP. I am thinking that it is getting near the end of its useful life. Must I purchase the replacement from my ISP or can I buy an Airport Extreme base station?
-
How to block Ping requests in Solaris 10
Hello all, Could you pls let me know how to block icmp packets (ping) on solaris 10. thanks a lot tpiranav