Select dbms_metadata.get_dependent_ddl fails with ORA-31604 still exist for the object
Hello
In the DEPENDENCIES of DBA, I can see that I have (seen here) according to some a table objects:
-SQL > select type, name
-2 from dba_dependencies where REFERENCED_OWNER = upper ('stuff')
--3 and REFERENCED_name = upper ('st_tab') and type = "VIEW";
-NAME OF THE OWNER TYPE
-- ----- ----- ------------------
-VIEW STUFF STTAB_4MV_VW
-VIEW STUFF STTAB_VW
But trying to recover these definitions 2 times I get an error:
-SQL > select dbms_metadata.get_dependent_ddl ('VIEW', 'ST_TAB', 'STUFF') def double;
-ERROR:
-ORA-31604: NAME parameter invalid "BASE_OBJECT_NAME" for the type of VIEW object in the function SET_FILTER
-ORA-06512: at "SYS." DBMS_SYS_ERROR', line 116
-ORA-06512: at "SYS." DBMS_METADATA_INT', line 4705
-ORA-06512: at "SYS." DBMS_METADATA_INT', line 8582
-ORA-06512: at "SYS." Dbms_metadata", line 2882
For some objects, it works (triggers, index), but for others (views, procedures, packages), it still fails with ORA 31604.
If I make a direct call on dbms_metadata.get_ddl ('DISPLAY', 'STTAB_4MV_VW', 'STUFF'), it works fine.
Everyone has seen this behavior before? (tried this code on 10g and 11g)
Thank you very much.
Kind regards
SEB
For some objects, it works (triggers, index), but for others (views, procedures, packages), it still fails with ORA 31604.
Exactly! That's what he should do. Dependent on DOF is for objects that are actually part of the table.
If I make a direct call on dbms_metadata.get_ddl ('DISPLAY', 'STTAB_4MV_VW', 'STUFF'), it works fine.
Exactly! That's how you get the DDL for views and other types of distinct objects. Provide you with the type of object as the first parameter.
Everyone has seen this behavior before? (tried this code on 10g and 11g)
Sure! This is a normal behavior.
See chapter doc DBMS_METADATA packages and Types
http://docs.Oracle.com/CD/B28359_01/AppDev.111/b28419/d_metada.htm#i1019414
Notes on use
- These functions allow you to extract metadata for objects with a single call. They encapsulate calls to
OPEN
,SET_FILTER
, and so on. The function you use depends on the characteristics of the type of object and if you want the DDL or XML.
GET_xxx
is used to fetch named objects, especially schema objects (tables, views).GET_DEPENDENT_xxx
is used to extract dependent objects (audits, grants of the object).GET_GRANTED_xxx
is used to retrieve issued objects (System of subsidies, scholarships of role).- For certain types of objects, you can use more than one function. For example, you can use
GET_xxx
to fetch a name index, orGET_DEPENDENT_xxx
to fetch the same index by specifying the table on which it is defined.
See also table 74-11 in this doc for a table showing the types of objects.
http://docs.Oracle.com/CD/B28359_01/AppDev.111/b28419/d_metada.htm#BGBIEDIA
Tags: Database
Similar Questions
-
My husband doesn't like the itunes account is under my name. I have a way that he can have his own name and sign on with her and still exist on the family account? Also, have we HAVE two-step verification? It's a real pain.
Yes it can have its own ID and share your content via the family sharing, he needs to sign out of your ID and to create his own, then one of you needs to invite another family sharing.
You don't need to use 2 verification step, if you want you can disable to my Apple ID
-
I tried to create a window to test the activation of plans of RM. But I get this error.
SQL > EXECUTE dbms_scheduler.create_window.
> (-)
> window_name = > 'day ', -.
> resource_plan = > 'my_plan ', -.
> start_date = > systimestamp + 1 /(24*60).
> repeat_interval = > ' freq = > daily '.
> time = > ' 0 01:00:00 '.
> Comments = > ' C know if it works without a job "-"
>);
BEGIN dbms_scheduler.create_window (window_name = > 'day', resource_p)
LAN = > 'my_plan', start_date = > systimestamp + 1 /(24*60), repeat_interv
Al = > ' freq = > daily ', duration = > ' 0 01:00:00 ', comments = > ' C so she
works without employment '); END;
*
ERROR on line 1:
ORA-27481: 'SYS '. "' DAY ' has an invalid schedule
ORA-27418: syntax error in the interval of recurrence or calendar
ORA-06512: at "SYS." DBMS_ISCHED", line 486
ORA-06512: at "SYS." DBMS_SCHEDULER', line 1295
ORA-06512: at line 1
I have tried many tips found on the web, nothing works.
Any help would be greatly appreciated.
Also, can you pls tell me if this command run once automatically activates the my_plan after 1 minute, 1 minute, after which, it will disable the my_plan? So, you do not need to create a JOB for this. If you create a window, that is, as a job creation to enable an RM plan?
2734369 wrote:
Wow, discovered the issue: the repeat interval is broken (I use a database of 12.1 in Windows 7). It must be uppercase. Very surprising in the windows to be case-sensitive.
SQL >
SQL > EXECUTE dbms_scheduler.create_window.
> (-
> window_name-online 'day ', -.
> resource_plan-online 'my_plan ', -.
> start_date-online systimestamp + 1 /(24*60).
> repeat_interval-online ' FREQ = DAILY; BYHOUR = 10; BYMINUTE = 30', -.
> time-online ' 0 01:00:00 '.
> Comments => ' C know if it works without a job "-"
> );
PL/SQL procedure successfully completed.
Problem is, after 1 minute, always that the plan is not activated?
SQL > SEE THE RESOURCE_MANAGER_PLAN PARAMETER
VALUE OF TYPE NAME
------------------------------------ ----------- ----------------------
resource_manager_plan chain
Why the Plan is not activated after 1 minute. Have we not create a job (I don't think).
I think you misunderstand the meaning of "start_date". Please see the documentation on what this means exactly.
This attribute specifies the first date and time where it is scheduled to open in this window. If the value
start_date
specified is in the past or is not specified, the window opens, from its inception.To repeat windows using an expression of the calendar to specify the repetition interval, the value of
start_date
is a reference date. The first time the window opens depends on the specified repeat interval and the value ofstart_date
.(From Types and Oracle® packages of PL/SQL Database 11g Release 2 (11.2) reference E40758-03); dbms_scheduler, create_window. DBMS_SCHEDULER
Once you have done this, you will see that it is pretty useless to specify that you have.
Your repeat_interval said "every day at 10:30.
-
Hi guys,.
I am currently trying to deploy a complete installation (GI battery) of Oracle RAC 12.1.0.2 cool on OEL 7 (3.8.13 - 35.3.4.el7uek) with 2 nodes for validation purposes. However the installation itself went well, but 'Creation repository for Oracle Grid Infrastructure Management container' step fails with "ORA-01034: ORACLE not available / ORA-27102: out of memory / Linux-x86_64 error: 12: cannot allocate memory". The steps of runInstaller validation completed successfully, but I never take this step of configuration without jumping.
Here is my configuration which should normally avoid such errors ORA.
Host
-bash - $4.2 uname - a
Linux OELRAC1 3.8.13 - 35.3.4.el7uek.x86_64 #2 SMP Tue Jul 29 23:24:14 CDT 2014 x86_64 x86_64 x86_64 GNU/Linux
"Creation of repository database for Oracle Grid Infrastructure Management container" error in /oracle/base/cfgtoollogs/dbca/_mgmtdb/trace.log
From restoration to August 9, 14
allocated channel: ORA_DISK_1
channel ORA_DISK_1: SID = 12 type of device = DISK
channel ORA_DISK_1: from the restore backup set data file
channel ORA_DISK_1: specifying datafile (s) to restore from backup set
channel ORA_DISK_1: restore datafile 00003 to + GRID
channel ORA_DISK_1: backup /oracle/grid/12102/assistants/dbca/templates/MGMTSeed_Database.dfb piece reading
channel ORA_DISK_1: ORA-19870: error when restoring the backup /oracle/grid/12102/assistants/dbca/templates/MGMTSeed_Database.dfb piece
ORA-19504: could not create the file "+ GRID.
ORA-17502: ksfdcre:4 cannot create the file + GRID
ORA-15001: diskgroup 'GRID' does not exist or is not mounted
ORA-01034: ORACLE not available
ORA-27102: out of memory
Linux-x86_64 error: 12: cannot allocate memory
Additional information: 2663
Additional information: 1565392897
Additional information: 161480704
switch to the previous backup
Number of folder of the data file = 3 name = + GRID
RMAN-00571: ===========================================================
RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
RMAN-00571: ===========================================================
RMAN-03002: failure of the restore command at 09/08/2014 19:41:47
ORA-01119: error in creating file of database "+ GRID.
ORA-17502: ksfdcre:4 cannot create the file + GRID
ORA-15001: diskgroup 'GRID' does not exist or is not mounted
ORA-01034: ORACLE not available
ORA-27102: out of memory
Linux-x86_64 error: 12: cannot allocate memory
Additional information: 2663
Additional information: 1565392897
Additional information: 1614807040
RMAN-06956: create the data file failed; try again after removing + OS GRID
SHM / CPI (check the id of shm with previous information)
-bash - $4.2 ipcs - a
-Shared memory segments-
key shmid owner perms bytes nattch status
1565360128 0 x 00000000 grid 640 4096 0
1565392897 0 x 00000000 grid 640 4096 0
0xfba47600 1565425666 640 24576 29 grid
Memory of the ASM instance setting
SQL > see the memory settings
VALUE OF TYPE NAME
------------------------------------ ----------- ------------------------------
whole big memory_max_target 1076M
whole large memory_target 1076M
ASM disk groups
SQL > select NAME, STATE, TOTAL_MB, USABLE_FILE_MB from v$ asm_diskgroup;
NAME STATE TOTAL_MB USABLE_FILE_MB
------------------------------ ----------- ---------- --------------
RACK MOUNTED 6144 4868
/ dev/shm to memory_target (more than enough free space)
-bash - $4.2 df-h
Size of filesystem used Avail use % mounted on
tmpfs, 630M 2.4 G 3.0 G 21% / dev/shm
Kernel for SHM limits set to unlimited parameter
-bash - $4.2 sysctl - a | grep shm
kernel.shmall = 1152921504606846720
kernel.shmmax = 922337203685477580
User limits on unlimited for memory
-bash-4, $ 2 cat /etc/security/limits.conf
# Oracle settings
grid soft nproc 2047
grid hard nproc 16384
grid soft nofile 1024
grid hard nofile 65536
Oracle nproc 2047 soft
Oracle nproc 16384 hard
Oracle soft nofile 1024
Oracle hard nofile 65536
* hard memlock unlimited
* soft memlock unlimited
-bash - 4, $ 2 known - grid
-bash - $4.2 ulimit - a
the file size (blocks, - c) of base 0
(kbytes, - d) data seg size unlimited
scheduling priority (-e) 0
size of the file (blocks, f) - unlimited
pending signals (-i) 23953
Max locked memory (kbytes, - l) unlimited
size of the memory (k, m) max - unlimited
open files (-n) 1024
a size (512 bytes, - p) 8 hose
(Bytes, - q) POSIX message queues 819200
real-time priority (-r) 0
size (Ko, - s) 8192 battery
time processor (seconds,-t) unlimited
Max user process (-u) 2047
virtual memory (KB), - v) unlimited
the locks on files (-x) unlimited
So what the hell is wrong here? Why the instance ASM (+ ASM1) returns the error below, even if there is no memory limit / problem. The error with the disk group is also absolutely no sense.
------------------------------------------------------------------------------------------------------------------------
ORA-01119: error in creating file of database "+ GRID.
ORA-17502: ksfdcre:4 cannot create the file + GRID
ORA-15001: diskgroup 'GRID' does not exist or is not mounted
ORA-01034: ORACLE not available
ORA-27102: out of memory
Linux-x86_64 error: 12: cannot allocate memory
Additional information: 2663
Additional information: 1565392897
Additional information: 1614807040
------------------------------------------------------------------------------------------------------------------------
Someone at - he encounter the same problem with 12.1.0.2 by deploying the CDB for Grid Infrastructure Management repository? Is there something special with UEK3 (3.8.13 - 35.3.4.el7uek) on 7 OEL? Any necessary special kernel parameter (although the runInstaller controls do not mention)? I'm totally tapped by GI 12.1.0.2.
Thank you.
Best regards
Stefan
Hi guys,.
I was finally able to solve this problem.
She was related to a memory on the provisioning of problem in the virtual environment as both nodes are VMs. Unfortunately none of these errors of memory were populated / pushed somehow in the virtual machine.
Best regards
Stefan
-
Procedure failed with ORA-01403, associated with immediate execution, captured
This procedure compiles without error. Its purpose is to copy the sequence of one schema to another object. After it failed with ORA-01403, I added exception code of capture (see the comments in the code).
A few notes:
1. I started the proceedings with exec copy_sequence ('ADDRESS_SEQ', 'SST', 'TEST1');
2. the first sql string is built correctly since I can see in the console output:
Select last_number in the all_sequences where sequence_owner = upper('TSS') and upper('ADDRESS_SEQ') = sequence_name
I can run this SQL command, and returns a real value;
Here is the procedure
SET SERVEROUTPUT ON;
create or replace procedure copy_sequence (seq VARCHAR2, prod_schema VARCHAR2, VARCHAR2 test_schema)
as
Val number (21);
s_sql varchar2 (200);
Start
s_sql: = ' select last_number in the all_sequences where sequence_owner = upper('''|| prod_schema ||'') ') and sequence_name = upper('''||) Seq | " ')';
-immediate' select last_number in the Vale of all_sequences where sequence_owner = upper('''|| prod_schema ||'') ') and sequence_name = upper('''||) Seq | " ')';
Dbms_output.put_line ('sql 1 ' | s_sql);
execute immediate s_sql in val; ---!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! The code does not work here!
Dbms_output.put_line ('val' |) Val);
s_sql: = 'delete the sequence'. test_schema |'. ' || FF.;
Dbms_output.put_line ('sql 2 ' | s_sql);
-execution immediate s_sql;
s_sql: = 'create the sequence'. test_schema |'. ' || Seq |' minvalue maxvalue 1 999999999999999999999 begin by ' | Val | 'increment of 1';
Dbms_output.put_line ('sql 3 ' | s_sql);
-execution immediate s_sql;
-Add the following after procedure thown ORA-01403: no data found
exception when TOO_MANY_ROWS then DBMS_OUTPUT.put_line ('TOO_MANY_ROWS error');
When NO_DATA_FOUND then DBMS_OUTPUT.put_line ('error NO_DATA_FOUND');
While some other then raise_application_error (-20011, "Unknown Exception in this procedure");
end;
/
Hoek wrote:
The user (no SYSTEM, SYS, and SYSTEM are special, you should not use them unless you have TO) execution of the procedure must have the necessary privileges granted directly, bypassing a role...
??? There is nothing special about SYS or SYSTEM in what concerns them stored procedures. SYS by default is granted directly SELECT ANY SEQUENCE, so it does not work for the owner of MS by SYS. SYSTEM is therefore not:
Scott@pdborcl12 > create sequence s;
Order of creation.
Scott@pdborcl12 > create or replace
2 procedure system.p1
3 is
number of v_last_value 4;
5. start
6. Select last_number
7 in v_last_value
8 of all_sequences
9 where sequence_owner = 'SCOTT '.
10 and s = sequence_name ';
11 end;
12.Created procedure.
Scott@pdborcl12 > system.p1 exec.
BEGIN system.p1; END;*
ERROR on line 1:
ORA-01403: no data found
ORA-06512: at "SYSTEM. "P1", line 5
ORA-06512: at line 1Scott@pdborcl12 > grant select on s to the system;
Grant succeeded.
Scott@pdborcl12 > system.p1 exec.
PL/SQL procedure successfully completed.
SY.
-
Automatic failover with Transport and apply Lag fails with ORA-16798
Hello
I configured a physical database maximum Performance, accelerated failover mode standby. I set FastStartFailoverLagLimit to 3 hours (10800 seconds).If I understand the Oracle documentation, Fast-Start failover should work with Max Performance, as long the Transport timeout is whithin the FastStartFailoverLagLimit.
So I started a few scripts, generated some loading, so I have a Transport and apply the shift of 3-4 Minutes.
Then I killed pmon to cause an automatic failover.Failover failed with ORA-16798.
I know, there is Note 846087.1 , which describes the problem, but I thought that automatic failover should work in this configuration.
Is this a bug or am I wrong?Thank you very much in advance.
Configuration Data Guard standby:
-----------------------------------------------Role: STANDBY PHYSICS
State of destination: apply
Transport delay: 3 minutes 3 seconds (calculated two seconds ago)
Apply the Lag: 3 minutes 26 seconds (calculated 0 seconds ago)
Apply the rate: 23,52 MB/s
Real-time query: OFF
Occurrence (s):
...Properties:
...
LogXptMode = "async".
DelayMins = '0'
Binding = "optional."
MaxFailure = '0'
MaxConnections = '1'
ReopenSecs = "300"
NetTimeout = "15"
RedoCompression = "DISABLE."
...State of the database:
SUCCESSFast failover configuration:
-----------------------------------------------Fast-Start Failover: ENABLED
Threshold: 180 seconds
Target: < Targetname >
Observer: < servername >
Offset limit: 10800 seconds
Primary closure: TRUE
Auto-Rétablir: TRUE
Reconnection of the observer: (none)
Substitution of the observer: FALSE...
Messages of the DG - Log:
-----------------------------------------------
FAILOVER TO < DB >
Starting failover to the < DB > database
Notifying Oracle Clusterware to disassembly for the FAILOVER database
02/02/2015-13:38:04
Error running SQL = 604, sql = [ALTER DATABASE RECOVER MANAGED STANDBY DATABASE FI
ORA-00604: an error has occurred at the SQL level 1 recursive
ORA-00283: cool cancelled due to errors
ORA-16171: RECOVER... FINISHING not allowed away for thr 1, seq 34-37
Failed to retrieve Terminal.
Database error resource SetState (16798)
02/02/2015-13:38:08
Command FAILOVER < DB > completed with error ORA-16798The FastStartFailoverLagLimit property specifies the amount of data, in seconds, during which the standby database target can
delay on the main database on the recovery plan applied. If again applied Eve point database notes that many
seconds of the primary database redo point generation, accelerated tipping is allowed.
Errors show a gap for sequences 34-37, which is not optimal for a fast failover.
Even if FastStartFailoverLagLimit is set to 3 hours, there is too much data loss for the standby site because newspapers are not available on the backup server and the Broker cannot activate the Pb of the day before.
I recommend to to lean on increase the bandwidth network.
Concerning
-
OEM 12.1.0.3 Setup fails with ora-01017
Greetings,
I'm trying to upgrade my OEM 12.1.0.1 installation at 12.1.0.3. I'm following the instructions in the Oracle Enterprise Manager Cloud control Upgrade Guide and Support Oracle Note 1568143.1. I checked that all the prerequisites are met and have installed patch 11061801 in the repository. The repository and WHO are on different computers. The 12.1.0.1 installation is able to connect to the repository, it worked successfully for some time now. On the SGD server, quit the SGC and Agent and I invoke the 12.1.0.3 installation program. I followed the steps and when it gets to the login page, it fails with ORA-01017. Messages are displayed -
1. check if the SYS password you have entered is valid.
2. check if the REMOTE_LOGIN_PASSWORDFILE database initialization parameter is set to either shared or Exclusive.
3. check whether a file with the file name orapw < SID > password exists in the < ORACLE_HOME > / dbs directory.
All the conditions are met:
-bash-3, $ 2 echo $ORACLE_SID
oemrepos
SQL > connect sys as sysdba
Enter the password:
Connected.
SQL > connect sysman
Enter the password:
Connected.
SQL > show parameter remote_login_passwordfile
VALUE OF TYPE NAME
------------------------------------ ----------- ------------------------------
Remote_login_passwordfile string EXCLUSIVE
-bash-3, $ 2 ls-l $ORACLE_HOME/dbs/orapwoemrepos
-rw - r - 1 oracle dba 1536 January 30, 2013 /usr/local/oracle/app/oracle/product/11.2.0/dbhome_1/dbs/orapwoemrepos
I am able to connect remotely from another machine. sqlplus is not installed on the SGD server.
I am completely confused and need help. Web search indicates only that I need to make sure that the conditions listed above must be met, they are. If anyone has any suggestions I would appreciate the help.
Thank you.
Bill Wagman
The problem has been resolved by recreating the password file. I used the same password. I don't understand yet why however.
Thank you
Bill Wagman
-
Patch 3480000 fails with ORA-03114
While applying the patch 3480000 for the improvement of 11.5.9 to 11.5.10.2 patch fails with
ORA-03114: not connected to ORACLE
occurred while executing the SQL statement:
UPDATE fnd_install_processes
SET skip_flag = "
WHERE worker_id = 6
Error stolen pending transactions and closing Pro * C connection.
The error is:
FND-UT-CMT: ORA-01041: internal error. hostdef extension doesn't exist
Fate of AD worker suffering from failure.
When compiling packages such as ahl/11.5.0/patch/115/sql/AHLPUFSS.pls.
The database in 9.2.0.6 RAC.Hello
Please see if these documents help.
Note: 577534,1 - errors on FndXdfCmp.class: "ORA-03113: end of file on communication channel" and "FND-UT-CMT: ORA-01041: internal error." hostdef extension does not exist.
Note: 340238.1 - Patch 4143498 receives errors Ora-01041, Ora-03114 on Iscrf70b.Pls Ora-01041Kind regards
Hussein -
I want to spend a lot of photos (they are in order) but and do not want to have to click to move each photo. I know there is a simple control function that allows to select groups of files with ' two'clicks ', as opposed to the selection of each file. Suggestions? I know it's apple 101, but I don't remember what order to press the button command, or shift, or other. Thank you
Select the first file, then hold down the SHIFT key, and then click the last file. Or, select any file in the folder and then press command + A
-
Adobe Applications manage rin Yosemite Kaput. Advise redirects me here. An another evasive Adobe. CS5 Extended break with pipette when still moved to the desktop.
Ok.
-
I received this delicate task, and I can understand not just how to replace all parts.
I need to create a script that will be smartly decided what data store to deploy a virtual computer. We do not want to deploy in a data store that has the most space, we want to deploy to the data store that has the least space but can still account for the space for the (vm + 5%) and still leave 50 GB free on the lun after the move.
Thus, for example, if the virtual machine is 40 GB, we want the script to select the data store that has a close to 90 GB available without being under.
So my thought for this approach is:
- Create the query to get all the relevant LUNS. This excludes all the LUNS with the 'local' name in it and excludes all LUN owners (who have a slightly different naming convention then our general shared storage LUNS)
- This piece, which I partially understood
- Get-datastore. WHERE-object {($_.)} Name: corresponds to "PAR0 [1-4] _ [edp] * disk *")- and ($_.) "." Name - notmatch 'local')}
- Now, I need to get all of their total size and free space. Perhaps export this list to a CSV, however if I have to.
- Create a variable that contains: the size of the total virtual machine to the virtual machine that is deployed before its deployment.
- Deduct vm size against each data store size and pull in some way that that also close to 50 GB free on the data store and still facilitates the deployment of the vm.
- This piece, which I partially understood
I have a few other scripts, I scrounged on the internet that I tried to restore... but I just don't calm not having all the pieces...
- Get-Datastore. Where-Object {$_.} ParentFolder-match 'Internal'} ' | Select-Object - property data center, FreeSpaceMB, CapacityMB name, ' | Tri-objet-property FreeSpaceMB
- Select-Object Name,@{n="CapacityGB";e={[math]::round (($_.)) {{(CapacityMB/1024))}}, @{n = "FreeSpaceGB"; e = {[math]: round (($_.))}} {{(FreeSpaceMB/1024))}}, @{n = "FreeSpacePercent"; e = {[math]: round (($_.))}} FreeSpaceMB / $_. {{(CapacityMB*100))}} | Sort-Object FreeSpaceGB
Any help would be greatly appreciated!
-Knotz
Try something like this
# Get all data warehouses
$ds = get-Datastore. Where-Object {($_.)} Name: corresponds to "PAR0 [1-4] _ [edp] * disk *")- and ($_.) "." Name - notmatch 'local')} |
Select-Object Name,
@{n = "CapacityGB"; e = {[math]: round (($_.))}} {{(CapacityMB/1024))}}.
@{n = "FreeSpaceGB"; e = {[math]: round (($_.))}} {{(FreeSpaceMB/1024))}}.
@{n = "FreeSpacePercent"; e = {[math]: round (($_.))}} FreeSpaceMB / $_. {{(CapacityMB*100))}}
{foreach ($vm in Get - VM)
# Find possible candidates
$candidates = $ds | where {($_.)} FreeSpaceGB - $vm. (UsedSpaceGB-50) - gt 0}
# Find the best candidate
$target = $candidates | Tri-objet-property FreeSpaceGB-descending | Select - 1 first
Write-Output "VM $($vm.). Name) can go to $($target.) (Name) ".
}
- Create the query to get all the relevant LUNS. This excludes all the LUNS with the 'local' name in it and excludes all LUN owners (who have a slightly different naming convention then our general shared storage LUNS)
-
ashrpt - ORA-20200: samples of ASH NO exist for the DATABASE/Instance
Hello guyes,
Please could you help me with the generation of the report of ASHES? I have the stack on:
"ORA-20200: NO samples of ASH does exist for the DATABASE Instance / '.
I tried to find how to sample, but the only things I found is for statspack or awr.
Thanks a lot :)redy007 wrote:
sb92075:
SYS@PMBTEST > select * from v version $;BANNER
--------------------------------------------------------------------------------
Oracle Database 11 g Release 11.2.0.2.0 - 64 bit version of PL/SQL Production 11.2.0.2.0 - Production
CORE Production 11.2.0.2.0
AMT for Linux: Version 11.2.0.2.0 - Production NLSRTL Version 11.2.0.2.0 - ProductionThe active Session history exists only in the Enterprise edition.
-
ORA-00119: invalid specification for the system LOCAL_LISTENER parameter
I cloned database of MRC. (test for role transitions) and set up DR.
I tried to set up with no default port.
When I'm bouncing of the db, (stop and start), cannot connect to the db.
SQL > startup nomount;
ORA-00119: invalid specification for the system LOCAL_LISTENER parameter
ORA-00132: error syntax or network name not resolved "LISTENER_STBYCRMS."
> > tnsnames.ora
LISTENER_STBYCRMS
(ADDRESS = (PROTOCOL = TCP) (HOST = XXXX)(PORT= 1898))
STBY_CRMSDB =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP) (HOST = XXXX)(PORT = 1898))
)
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = stbycrms)
(UR = A)
)
)
LISTENER_CRMS =
(ADDRESS = (PROTOCOL = TCP) (HOST = XXXX)(PORT = 1698))
CRMSDB =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP) (HOST = XXXX)(PORT = 1698))
)
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = GCD)
(UR = A)
)
)
~
> > listener.ora
LISTENER11G =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP) (HOST = XXXX)(PORT = 1898))
)
SID_LIST_LISTENER11G =
(SID_LIST =
(SID_DESC =
(ORACLE_HOME = u01/app/oracle/product/11.2.0/dbhome_1)
(SID_NAME = stbycrms)
)
)
ADR_BASE_LISTENER11G = / u01/app/oracle
* I have an entry to the file for local_listener pfile.
* .db_name = "CRM".
db_unique_name = stbycrms
LOCAL_LISTENER = "LISTENER_STBYCRMS."
Thank you
Hello
LISTENER_STBYCRMS (ADDRESS = (PROTOCOL = TCP) (HOST = XXXX)(PORT= 1898))
Is the above entry is correct according to the syntax?
where give you "="?
LISTENER_STBYCRMS = (Description = (Address = (Protocol = TCP (port = 1898))(Host=Neptune)))
or
LISTENER_STBYCRMS =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP) (HOST = XXXx)(PORT = 1898))
)
)
-Pavan Kumar N
-
I have already uninstall the Prototype but... the tile in the Apps directory still exist under the games... I want to delete manually... Please help me...
You can reinstall the program, and then maybe you can uninstall correctly, via programs and features?
Programs folder delete The Program Files is not recommended as it leaves pieces in the registry and in other places.
If you cannot reinstall, or after any reinstallation successful, you cannot uninstall, then post back with you receive the exact error message.
-
ORA-19030: invalid method for the schema not based XML Documents
Hi everyone can u help me please when I am trying to execute query below his throw errror
DECLARE
doc xmltype.
BEGIN
SELECT
XMLAGG (XMLElement ("employee",
XMLAttributes)
' http://www.Oracle.com/emp_simple.xsd ' AS 'xmlns',
' http://www.w3.org/2001/XMLSchema-instance ' AS ' xmlns: xsi ",
' http://www.Oracle.com/emp_simple.xsd
http://www.oracle.com/emp_simple.xsd'
AS "xsi: schemaLocation").
XMLForest (e.employee_id LIKE "EmployeeId",
Select AS "name."
e.job_id AS "Job."
e.manager_id "MANAGER."
e.hire_date AS "Hire Date"
e.Salary AS "wages."
e.commission_pct AS 'The Commission',
XMLForest)
d.department_id AS "DeptNo."
d.department_name AS "DeptName",.
d.location_id AS 'Place') AS 'Dept')))
in the doc
E employees, departments d
WHERE e.department_id = d.department_id;
doc.schemaValidate ();
END;
/
The error I get is following
ORA-19030: invalid method for the schema not based XML Documents
Yes, Odie meant something like that.
See how the employee node can now occur more than once in the employees node.
Maybe you are looking for
-
What is the latest version of Firefox?
I keep seeing on my page of the firefox window that I need to upgrade to the latest version?I tried several times, but unable to upgrade to the latest version?
-
I can't download my mail to iCloud. I used my Apple mail for businesses since the first year, and it was always reliable. Today, I can not download my Mail from Apple. Whiskey Tango Foxtrot is the problem?
-
Increase the RAM of my laptop from Hewlett-Packard HP Pavilion g4!
Greetings! First of all, I can't find the model number of my laptop, even if I follow these steps here, http://support.hp.com/us-en/document/c00033108 But when I check my control panel > system and security > system, I found these details: Manufactur
-
How to read and scale of multiple analog input channels
Hello I'm reading the data of several types of sensors, with readings of 4-20mA. What I'm trying to do, is have a pressure transducer, a flow meter and a RTD sensor all connected on channels 1, 2 and 3 of my cDAQ using DAQmx. After channels are put o
-
I compressed to a10 acer a3, it came with android 4.2, I have notifications for updates or updates, and now it shows that the version is 4.4.2 is that kitkat? I was wondering also if that will cause problems because it came not at the origin of this