asm_diskstring - vague statement in docs
In the description of asm_diskstring, https://docs.oracle.com/cd/E11882_01/server.112/e40402/initparams011.htm#REFRN10248 , I see this statement:
It can be necessary to dynamically change ASM_DISKSTRING
before adding a disc so that the new drive will be discovered.
Thus, it "may" be necessary? Here again, it may not be necessary? What is crucial here?
EdStevens wrote:
In the description of asm_diskstring, https://docs.oracle.com/cd/E11882_01/server.112/e40402/initparams011.htm#REFRN10248 , I see this statement:
It may be necessary to dynamically change
ASM_DISKSTRING
before adding a disc so that the new drive will be discovered.Thus, it "may" be necessary? Here again, it may not be necessary? What is crucial here?
According to me, the path of your new drive to add, maybe the path of the new drive is part of ASM_DISKSTRING, maybe not. Each new disc must be discovered by ASM before adding to any disk group.
Kind regards
Juan M
Tags: Database
Similar Questions
-
I searched in the new TCP State ASA 8.2.1 bypass feature and I have a few questions that I can't find information about in the docs:
1 Bypass State TCP removes all stateful inspection? That is to say that I must allow traffic from response in the ACL
access-list on permit tcp any any eq www
access-list on permit tcp any eq www everything
access-list on permit udp any any eq field
access-list on permit udp any eq field all
2. the State of docs who are unaware of the TCP State can be enabled for some connections. Is request inspection disabled for all connections, or just for specific connections have been implemented for the avoidance of State TCP?
It removes all the statefull inspection. By default, all traffic that passes through the Adaptive security device is inspected using the Adaptive Security algorithm and either allowed to pass or a fall is based on the security policy. The Adaptive security device optimizes the performance of firewall to check the status of each package (what is a new connection or a connection?) and assigning the path of session management (a new connection SYN packet), the fast path (an established connection), or the path of control plan (Advanced inspection).
Inspection of the application is not supported in bypass State TCP as enforcement requires the incoming and outgoing traffic to pass through the same Adaptive security appliance, so control of the application is not supported with by-pass TCP State.
-
THIS bank statement open Interface
Hello
I ran with success of the bank statement Loader for open Interface.
Then I run the 2nd stage > Bank Import statement:
The docs said:
Can run query led, and I got this newspaper2. Bank Statement Import The required parameters to this job are the following: Bank Branch Name - Provide the bank branch name that you setup in the Bank Account Setup section. GL Date - Although this parameter is not marked as required, the import will often fail if you do not provide a value for this parameter. The date must in an open period in both AP and AR. Note: If you have multiple files loaded, but only want to import one of them, use the Statement Date or Statement Number range parameters to limit the import job. If successful, this program moves records from the CE_STATEMENT_HEADERS_INTERFACE and CE_STATEMENT_LINES_INTERFACE tables into the CE_STATEMENT_HEADERS and CE_STATEMENT_LINES tables.
Natural logarithm of output
View the journalExecution Report Report Date 26-MAR-09 20:28 Page 1 of 1 Statement Number - Statement Date - Bank Branch Name Rufino Bank Name Asia United Bank Bank Account Number - Bank Account Currency - Bank Account Name - ******* Program Ran Successfully, No Error Found. ********
Why does my+---------------------------------------------------------------------------+ Cash Management: Version : 12.0.0 Copyright (c) 1979, 1999, Oracle Corporation. All rights reserved. CEIMPERR module: Bank Statement Import Execution Report +---------------------------------------------------------------------------+ Current system time is 26-MAR-2009 20:28:57 +---------------------------------------------------------------------------+ +----------------------------- | Starting concurrent program execution... +----------------------------- Arguments ------------ P_BANK_BRANCH_ID='3104' P_SQL_TRACE='N' P_DISPLAY_DEBUG='N' ------------ Current NLS_LANG and NLS_NUMERIC_CHARACTERS Environment Variables are : American_America.US7ASCII '.,' Enter Password: Report Builder: Release 10.1.2.2.0 - Production on Thu Mar 26 20:28:58 2009 Copyright (c) 1982, 2005, Oracle. All rights reserved. +---------------------------------------------------------------------------+ Start of log messages from FND_FILE +---------------------------------------------------------------------------+ +---------------------------------------------------------------------------+ End of log messages from FND_FILE +---------------------------------------------------------------------------+ +---------------------------------------------------------------------------+ Executing request completion options... +------------- 1) PRINT -------------+ Printing output file. Request ID : 328310 Number of copies : 0 Printer : noprint +--------------------------------------+ Finished executing request completion options. +---------------------------------------------------------------------------+ Concurrent request completed successfully Current system time is 26-MAR-2009 20:29:00 +---------------------------------------------------------------------------+
CE_STATEMENT_HEADERS
and
CE_STATEMENT_LINES
have no lines?
Thank you very muchHello
See the log file simultaneous request for more details on this subject.
Trace file can be found under "user_dump_dest" (same query you have deposited in your previous answer).
Kind regards
Hussein -
Help.
I have problems to create this XML schema in the CVI.
In particular, the creation of
and tags throws an error. That is to say.
won't start not the container, start the container and there is no subsequent closing element (ie)Could provide example code to solve my problem?
TIA.
VALUE VALUE VALUE VALUE VALUE VALUE VALUE VALUE VALUE VALUE VALUE VALUE You get the exception because rline - chain read you your file has invalid character (0x0A) and you cannot create XML tags with this character. You can remove this by using the Toolbox RemoveSurroundingWhiteSpace function. Also, I noticed that your code does not really map to the schema in your comments - you use instead of Elem1 Elem2 as a parent to create elements of the slot. Here is the fixed code:
Sub CreateXML()
{
/ * XML schema desired
<>
<>
0
1
0
0
<>
1 <>
0
1
<>
1 <>
0
1
0
1
0
0
1
0
1
1
0
1
*/
Reading of files would be replaced by requests of microcontroller
to query variables/chassis in rack configurations
* Item XML pointer
char line [100], rline [100];
int a, b;
FILE * fp1;
FILE * fp2.
CVIXMLStatus stat.
Doc CVIXMLDocument.
CVIXMLElement rootElem, Elem1, Elem2, Elem3, Elem4;
Create XML file
Stat = CVIXMLNewDocument ('Rack', &doc);)
= stat CVIXMLGetRootElement (doc, & rootElem);
Get the header MF
for (a = 0;<>
{
Elements of fixed chassis #.
Stat = CVIXMLNewElement (rootElem,-1, "Châssis", &Elem1);)
Stat = CVIXMLNewElement (Elem1,-1, "Fan1Present", &Elem2);)
= stat CVIXMLSetElementValue (Elem2, '0');
CVIXMLDiscardElement (Elem2);
Elem2 = 0;
Stat = CVIXMLNewElement (Elem1,-1, "Fan2Present", &Elem2);)
= stat CVIXMLSetElementValue (Elem2, '1');
CVIXMLDiscardElement (Elem2);
Elem2 = 0;
Elements of chassis # read the #1 file variable
If the items do not present, do not write the XML key
FP1 = fopen ("file1.txt", "rt");
If (fp1! = NULL)
{
While (fgets(rline,50,fp1))
{
RemoveSurroundingWhiteSpace (rline);
Stat = CVIXMLNewElement (Elem1,-1, rline, &Elem2);)
= stat CVIXMLSetElementValue (Elem2, '1');
CVIXMLDiscardElement (Elem2);
Elem2 = 0;
}
fclose (FP1);
}
Elements of slot variable # read the #2 file, (2) slots per chassis
If the locations not occupy, do not write the XML key
for (b = 0; b<>
{
FP2 = fopen ("file2.txt", "rt");
If (fp2! = NULL)
{
Fmt(Line,"%s<%s%d","slot",b); < br / > stat = CVIXMLNewElement (Elem1,-1, online, &Elem3);) < br / > < br / > while (fgets(rline,50,fp2)) < br / > {< br / > RemoveSurroundingWhiteSpace (rline); < br / > stat = CVIXMLNewElement (Elem3,-1, rline, &Elem4); < br / > stat = CVIXMLSetElementValue (Elem4, '0'); < br / > CVIXMLDiscardElement (Elem4); < br / > Elem4 = 0; < br / >)} < br / > fclose (fp2); < br / > < br / > CVIXMLDiscardElement (Elem3);
Elem3 = 0;
}
}
CVIXMLDiscardElement (Elem1);
Elem1 = 0;
}
If (Elem1)
CVIXMLDiscardElement (Elem1);
If (Elem2)
CVIXMLDiscardElement (Elem2);
If (Elem3)
CVIXMLDiscardElement (Elem3);
If (Elem4)
CVIXMLDiscardElement (Elem4);
If (rootElem)
CVIXMLDiscardElement (rootElem);
CVIXMLSaveDocument (doc, 0, "test.xml");
CVIXMLDiscardDocument (doc);}
-
Contact access cascading pressure...
I want access to touch pressure in cascades of blackberry. Is there an API for that?
Thank you...
If you press harder, the patch of your finger with the screen contact is growing. Some devices to measure and interpret the size of this touch area under "pressure". The problem is that the angle of the finger usually changes as you slide it on the screen, change the shape and the size of the touch too.
The native SDK has a structure called mtouch_event that contains the width & height of the touch. You might be able to reconcile the region, assuming a circular touch fixed shape. It also contains a member of pressure, but the State of docs that it is not implemented. Not sure if there is something similar in the Cascades, or if you can access data raw native mtouch_event.
-
CAM in 4.5 component package
Hi guys,.
I m trying to run an application that I created that in a simulator of 4.5 (8120 JDE) is already working on 4.6 package (9000JDE). The problem comes when I m attempt to initialize the cam of the device. The code I m with (which leans on 4.6) is: private void initializeCamera() {}
try {}
Create a player for Blackberry camera.
A player = Manager.createPlayer ("capture://video"); ***
Set the player player to the State REALIZED (see docs.)
Player.Realize ();
Video control and set it to the current view.
videoControl = (VideoControl) player.getControl ("alarm");
If (videoControl! = null) {}
Create the video as a primitive GUI (as opposed to a field
direct video, which can be used on platforms
LCDUI support.)
videoField = (videoControl.initDisplayMode) (field)
VideoControl.USE_GUI_PRIMITIVE, 'net.rim.device.api.ui.Field');
Display the video control
videoControl.setVisible (true);
}Set the player player to the START State (see docs.)
Player.Start ();
}
catch (Exception e) {}
Dialog.Alert ("ERROR" + e.getClass () + ":"+ e.getMessage () ');
}
}When I m debug the problem comes from the line with * who launches a MediaException. Could someone help me with this please? Thank you in advance!
Please refer to the following.
What is - an appropriate version of the BlackBerry JDE
Article number: DB-00537 -
I get the error "AnyConnect is not enabled on the VPN server" when you try to connect. I guess that's because I never loaded the image on the SAA AnyConnect.
The State of docs Cisco to download on their website once logged in, but I can't find it anywhere... Can someone point me in the right direction?
Is not in the area of the ASA software, if you go to www.cisco.com/go/anyconnect, there is link to download software. You choose the * file pkg devices.
Tarik Admani
* Please note the useful messages *. -
More questions about registration of the plugin on a Production Server package
I tried to review other messages (as well as the documentation for VMware) regarding the plugins installation/registration on [the customer] production servers. Specifically, I was looking at this recent announcement:
The following response was a very good point, but I was looking for a little more in detail about how other developers are doing this installation/registration:
laurentsd: as a plugin developer, you are responsible to write an installer that customers will run to register your plugin package. You do not want to treat to run a java program directly :-) The installation program should be easy to use.
I was curious to know how many people have their customers to install a Web Client plugin.
The States of doc SDK - Tutorial.html in the 'record of your plugin...» "article for the mode of production (step 1), you can:"
Use a script program or installer to create the object of Extension data programmatically and enter this data object using the ExtensionManager.registerExtension method
This means that the .zip file must be placed on a server access with HTTPS access.
[Variant 1]: are most of the people having the client stores the .zip file in a HTTPS server in the customer environment? If Yes, then I guess that the installer prompts the user to specify the URL to the zip file, which is then rolled into the Extension data' things "programmatically.
[Variant 2]: or, most people hold their own on their own server HTTPS .zip file by using an installation program with hard coded URL value in the .zip file, and having the user simply launch the installer without entering any additional data?
Or maybe there is an Option of [3] that I have not yet thought?
It seems that [option2] is obviously easier for the customer, but makes it harder to make a plugin that everyone has access to. [Variant 1] requires a bit of work for the customer, but allows the developer to restrict access to the plugin for customers who have paid for the product. Certainly the installer can block based on the license key, but anyone with some knowledge of vSphere Client Web plugins as well as documentation 'Save your plugin package' could take a plugin .zip file and install it manually without an official Installer (when the .zip is hosted to the public).
You must take the URL of the ZIP file as an input for your script so that all options can be supported. If the zip file is hosted in the customer environment, then the URL should point to that. If you host the zip file on your own server, then the URL should point to your server.
You should code hard not URL that you have mentioned in the #2 option, because there are several companies and agencies Government which do not allow to connect outside of their network.
-
generate the file path with name required
Hi all
as a sys user I want to draw a user session. so, I'm using
SQL > EXEC DBMS_SYSTEM.set_sql_trace_in_session (sid = > 123, serial #= > 1234, sql_trace = > TRUE);
SQL > EXEC DBMS_SYSTEM.set_sql_trace_in_session (sid = > 123, serial #= > 1234, sql_trace = > FALSE);
track. but this track file is the mixture with an another udump trace files.
did a few google and found that we can use ALTER SESSION SET TRACEFILE_IDENTIFIER = "MY_TEST_SESSION." but it will generate a trace file for the user account sys not to the session of the user of your choice. How we can define the name of the user of your choice session trace file.
Please let me...
Thank you
Note how to track of database users specific to collect full DML statements Executed (Doc ID 309798.1) explains how to set the identifier for a specific user using a trigger. This may work for what you are looking for
Paul
-
According to Documents from the Oracle [http://docs.oracle.com/cd/B19306_01/server.102/b14200/statements_5003.htm | http://docs.oracle.com/cd/B19306_01/server.102/b14200/statements_5003.htm]
When you issue a CREATE CONTROLFILE statement, then Oracle database creates a new control file based on the information you specify in the statement. The control file is in the location specified in the CONTROL_FILES initialization parameter. If this parameter does not have a value, then the database creates a control file managed by Oracle in the destination of default control file, which is one of the following (in order of priority):
•A or several control files such as specified in the DB_CREATE_ONLINE_LOG_DEST_n initialization parameter. The file in the first directory is the main command file. When DB_CREATE_ONLINE_LOG_DEST_n is specified, the database does not create a control file DB_CREATE_FILE_DEST or DB_RECOVERY_FILE_DEST (the flash recovery area).
• If no value is specified for DB_CREATE_ONLINE_LOG_DEST_n, but the values are defined for the DB_CREATE_FILE_DEST and DB_RECOVERY_FILE_DEST, then the database creates a control file at each location. The location specified in the DB_CREATE_FILE_DEST is the main command file.
• If a value is specified only for the DB_CREATE_FILE_DEST, then the database creates a control file at this location.
• If a value is specified only for DB_RECOVERY_FILE_DEST, then the database creates a control file at this location.
If no value is defined for each of these parameters, then the database creates a control file to the default location for the operating system on which the database is running. This control file is not a file managed by Oracle.
Exit control_files pfile.txt parameter and set the parameter onlySQL> alter database backup controlfile to trace as 'D:\oracle\stuff\control.txt' 2 / Database altered. SQL> show parameter control_files NAME TYPE VALUE ------------------------------------ ----------- ------------------------------ control_files string D:\ORACLE\PRODUCT\10.2.0\ORADA TA\ORCL\CONTROL01.CTL, D:\ORAC LE\PRODUCT\10.2.0\ORADATA\ORCL \CONTROL02.CTL, D:\ORACLE\PROD UCT\10.2.0\ORADATA\ORCL\CONTRO L03.CTL SQL> create pfile='D:\oracle\stuff\pfile.txt' from spfile 2 / File created.
db_recovery_file_dest='d:\oracle\product\10.2.0\db_1
db_recovery_file_dest_size = 2147483648
As you can see the location of the OMF controlfile which is defined in the db_Recovery_file_dest,db_recovery_file_dest='D:\oracle\product\10.2.0\db_1\flash_recovery_area parameter 'SQL> shutdown immediate ORA-01109: database not open Database dismounted. ORACLE instance shut down. SQL> startup pfile='D:\oracle\stuff\pfile.txt' nomount ORACLE instance started. Total System Global Area 293601280 bytes Fixed Size 1290208 bytes Variable Size 218103840 bytes Database Buffers 67108864 bytes Redo Buffers 7098368 bytes SQL> CREATE CONTROLFILE REUSE DATABASE "ORCL" NORESETLOGS ARCHIVELOG 2 MAXLOGFILES 16 3 MAXLOGMEMBERS 3 4 MAXDATAFILES 100 5 MAXINSTANCES 8 6 MAXLOGHISTORY 292 7 LOGFILE 8 GROUP 1 'D:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\REDO01.LOG' SIZE 50M, 9 GROUP 2 'D:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\REDO02.LOG' SIZE 50M, 10 GROUP 3 'D:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\REDO03.LOG' SIZE 50M, 11 GROUP 4 'D:\ORACLE\ORCL\ONLINELOG\O1_MF_4_8MTJ10B8_.LOG' SIZE 100M 12 DATAFILE 13 'D:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\SYSTEM01.DBF', 14 'D:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\UNDOTBS01.DBF', 15 'D:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\SYSAUX01.DBF', 16 'D:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\USERS01.DBF', 17 'D:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\EXAMPLE01.DBF' 18 CHARACTER SET WE8MSWIN1252 19 / Control file created. SQL> select name from v$controlfile 2 / NAME ---------------------------------------------------------------------------------------------------- D:\ORACLE\PRODUCT\10.2.0\DB_1\FLASH_RECOVERY_AREA\ORCL\CONTROLFILE\O1_MF_8MTSRCWH_.CTL
But why his breaks down when trying to assert the statement by doc Oracle
If no value is defined for each of these parameters DB_CREATE_ONLINE_LOG_DEST_n, DB_CREATE_FILE_DEST, DB_RECOVERY_FILE_DEST. The database creates a control file to the default location for the operating system on which the database is running. This control file is not a file managed by Oracle.
SQL> CREATE CONTROLFILE REUSE DATABASE "ORCL" NORESETLOGS ARCHIVELOG 2 MAXLOGFILES 16 3 MAXLOGMEMBERS 3 4 MAXDATAFILES 100 5 MAXINSTANCES 8 6 MAXLOGHISTORY 292 7 LOGFILE 8 GROUP 1 'D:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\REDO01.LOG' SIZE 50M, 9 GROUP 2 'D:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\REDO02.LOG' SIZE 50M, 10 GROUP 3 'D:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\REDO03.LOG' SIZE 50M, 11 GROUP 4 'D:\ORACLE\ORCL\ONLINELOG\O1_MF_4_8MTJ10B8_.LOG' SIZE 100M 12 DATAFILE 13 'D:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\SYSTEM01.DBF', 14 'D:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\UNDOTBS01.DBF', 15 'D:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\SYSAUX01.DBF', 16 'D:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\USERS01.DBF', 17 'D:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\EXAMPLE01.DBF' 18 CHARACTER SET WE8MSWIN1252 19 ; CREATE CONTROLFILE REUSE DATABASE "ORCL" NORESETLOGS ARCHIVELOG * ERROR at line 1: ORA-01503: CREATE CONTROLFILE failed ORA-00600: internal error code, arguments: [kccbcf_omf_reuse], [], [], [], [], [], [], [] SQL> disconnect Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - Production With the Partitioning, OLAP and Data Mining options SQL>
>
But why his breaks down when trying to assert the statement by doc OracleIf no value is defined for each of these parameters DB_CREATE_ONLINE_LOG_DEST_n, DB_CREATE_FILE_DEST, DB_RECOVERY_FILE_DEST. The database creates a control file to the default location for the operating system on which the database is running. This control file is not a file managed by Oracle.
>
And now we can see what is your problem. You have mininterpreted documentation says.Your codes DOES NOT "say doc Oracle Education."
Your quote just above doc starts with "If no value is defined. But it's just part of the exact quote:
>
The control file is in the location specified in the CONTROL_FILES initialization parameter. If this parameter does not have a value, then the database creates a control file managed by Oracle in the destination of default control file, which is one of the following (in order of priority):
. . .
If no value is defined for each of these parameters, then the database creates a control file to the default location for the operating system on which the database is running. This control file is not a file managed by Oracle.
>
Your code example that fails SPECIFIES a value for CONTROL_FILES so nothing in this whole section even applies to your sample:*.control_files='D:\ORACLE\PRODUCT\10.2.0\DB_1\FLASH_RECOVERY_AREA\ORCL\CONTROLFILE\O1_MF_8MV1O4PY_.CTL'
For your sample that fails, you have specified the parameter CONTROL_FILES. Doc section you originally quoted tells you what is happening
>
If this parameter does not have a value, then the database creates a control file managed by Oracle in the destination of default control file, which is one of the following (in order of priority):
>
Which does not apply to you.It also seems that you posted the wrong code or bad for the first sample instance. That's what you have published the instance
>
control_files string D:\ORACLE\PRODUCT\10.2.0\ORADA
TA\ORCL\CONTROL01. CTL, D:\ORAC
LE\PRODUCT\10.2.0\ORADATA\ORCL
\CONTROL02. CTL, D:\ORACLE\PROD
UCT\10.2.0\ORADATA\ORCL\CONTRO
L03. CTL
>
But his is what you posted for the INIT file and commented out
>
#*.control_files='D:\ORACLE\PRODUCT\10.2.0\DB_1\FLASH_RECOVERY_AREA\ORCL\CONTROLFILE\O1_MF_8MV1O4PY_. CTL'
>
So why the file INIT have a totally different path? He has a way of DB_1\FLASH_RECOVERY_AREA. But the string of the parameter control_files has a path "ORADATA.Those who are not the same instance. If something is wrong with your test or that you have posted.
-
characters allowed in 11g password
Hello
where can I find a list or description of characters for a password of 10g?
Good bye
DPTHello
It is slightly described in the manual SQL for the Create User statement: http://docs.oracle.com/cd/B19306_01/server.102/b14200/statements_8003.htm
See the paragraph "WITH password".Herald tiomela
http://htendam.WordPress.com -
Hello
First I'll apologize I can't give too much information as my client is offline and remotely. The SQL I will discuss work on his test and my solution Oracle XE. But on live, we get the error shows:
ORA-00604: an error has occurred at the SQL level 1 recursive
ORA-01400: cannot insert NULL into ("SYS". «SUMINLINE$ '.» ("' TEXT ').
I have never posted on this forum but I do not understand what makes the table SUMINLINE$ and it has relevance. Please also excuse if there is a better way to write the SQL code), in any case any guideance would be useful.
I thought it may be down to how I use rownum (he is a complete proposal) but he materializes in the previous view, I don't see how it could be)
In any case if someone is good enough to spend a little time there, watching the SQL below I would be eternally grateful.
-----------------------------------------------------
STEP 1: I have a materialized view of base:
(he uses the 'rownum' as primary key as a primary key is needed more late and from this point of view does not
a primary key, as it is a view complex)
-------------------------------------------------------
Bo_socrates.baseCSIIdentPerPerson CREATE MATERIALIZED VIEW
TABLESPACE bo_socrates
PCTUSED 0
PCTFREE 10
INITRANS 2
MAXTRANS 255
STORAGE)
1040K INITIALS
MINEXTENTS 1
MAXEXTENTS UNLIMITED
PCTINCREASE 0
DEFAULT USER_TABLES
)
NOCACHE
NOLOGGING
NOPARALLEL
IMMEDIATE CONSTRUCTION
COMPLETE REFRESH
WITH THE PRIMARY KEY
AS
SELECT rownum iid,
csi.attendId,
csi.sceneId,
csi.caseId,
csi.identDate,
csi.identType,
csi.subIdenttype,
csi.suspectId,
CSI. Surname,
CSI. Data,
CSI. CRO,
CSI. ConfirmedIdent
OF bus_objects.v_factCSIIdentPerPerson csi
;
CREATE INDEX bo_socrates.ind_baseCSIIdentPerson_Id on bo_socrates.baseCSIIdentPerPerson (id)
TABLESPACE bo_socrates
STORAGE (INITIAL 64K MINEXTENTS 1 MAXEXTENTS UNLIMITED) NOLOGGING;
-----------------------------------------------------
STEP 2: This materialized view (my fact table) uses the previous view of the materilalized
as a point to calculate the date of fact. It is for example the background 'unit' people
but I also need to know what people came first, that people came first with blue hats, etc..
So I use one with instructions to discover these facts.
* PLEASE NOTE THAT IT IS THIS VIEW WHICH TRIGGERS THE ERROR WHEN THE SCRIPT IS RUN *.
If there is a simpler way to write so please let me know
This point of view basically uses the primary key (id) generated in the above view by using rownum
-------------------------------------------------------
Bo_socrates.factCSIIdent CREATE MATERIALIZED VIEW
TABLESPACE bo_socrates
PCTUSED 0
PCTFREE 10
INITRANS 2
MAXTRANS 255
STORAGE)
1040K INITIALS
MINEXTENTS 1
MAXEXTENTS UNLIMITED
PCTINCREASE 0
DEFAULT USER_TABLES
)
NOCACHE
NOLOGGING
NOPARALLEL
IMMEDIATE CONSTRUCTION
COMPLETE REFRESH
WITH THE PRIMARY KEY
AS
With
firstAttend like)
Select Attendid, Min (IdentDate) Identdate,
Min (ID) Id,
Min (case when identtype = 0 Then ID else null end) IPF,
Dnaid, min (case when identtype = 1 Then ID else null end),
Fwid, min (case when identtype = 2 Then ID else null end),
Min (Case When Confirmedident = 1 then end Id or Null) Idconfirm,
Fpidconfirm, min (case when identtype = 0 and Confirmedident = 1 Then ID else null end),
Dnaidconfirm, min (case when identtype = 1 and Confirmedident = 1 Then ID else null end),
Min (case when identtype = 2 and confirmedident = 1 Then ID else null end) FwidConfirm
Of Bo_Socrates.Basecsiidentperperson
Attendid GROUP),
firstInd AS)
Select Attendid, SuspectId, Identdate, Min (Id) Id, Min (IdentDate),
Min (case when identtype = 0 Then ID else null end) IPF,
Dnaid, min (case when identtype = 1 Then ID else null end),
Fwid min (case when identtype = 2 Then ID else null end)
Of bo_socrates. BaseCSIIdentPerPerson
Attendid group, Suspectid)
Select csi.id,
csi.attendId,
csi.sceneId,
csi.caseId,
csi.identDate,
CSI.identtype,
csi.subIdenttype,
csi.suspectId,
CSI. Surname,
CSI. Data,
CSI. CRO,
Csi.Confirmedident,
Case when Ind.Id is Null then 0 otherwise 1 end Firstindident.
Case when Ind.Fpid is Null then 0 otherwise 1 end Firstindidentfp.
Case when Ind.DNAid is Null then 0 otherwise 1 end FirstindidentDNA.
Case when Ind.FWid is Null then 0 otherwise 1 end FirstIndIdentFW.
Case when Att.Id is Null then 0 otherwise 1 end Firstattident.
Case when Attfp.Fpid is Null then 0 otherwise 1 end Firstattidentfp.
Case when AttDNA.DNAid is Null then 0 otherwise 1 end FirstattidentDNA.
Case when Attfw.Fwid is Null then 0 otherwise 1 end Firstattidentfw.
Case when Att.IdConfirm is Null then 0 otherwise 1 end FirstattidentConfirm.
Case when Attfpc.Fpidconfirm is Null then 0 otherwise 1 end Firstattidentfpconfirm.
Case when AttDNAc.DNAidconfirm is Null then 0 otherwise 1 end FirstattidentDNAconfirm.
Cases where AttFWc.FWidconfirm is Null then 0 otherwise 1 end FirstattidentFWconfirm
Of Bo_Socrates.Basecsiidentperperson Csi
Left outer join Firstind Ind Csi.Id = Ind.Id
Left outer join Firstind Indfp Csi.Id = Indfp.Fpid
Left outer join Firstind Inddna Csi.Id = Inddna.Dnaid
Left outer join Firstind IndFW Csi.Id = IndFW.FWid
Left outer join Firstattend Att Csi.Id = Att.Id
Left outer join Firstattend Attfp Csi.Id = Attfp.Fpid
Left outer join Firstattend Attdna Csi.Id = Attdna.Dnaid
Left outer join Firstattend Attfw Csi.Id = Attfw.Fwid
Left outer join Firstattend Attfpc Csi.Id = AttFPc.Fpidconfirm
Left outer join Firstattend Attdnac Csi.Id = AttDNAc.DNAidconfirm
Left outer join Firstattend Attfwc Csi.Id = AttFWc.Fwidconfirm
;
CREATE INDEX bo_socrates.ind_factCSIIdent_Id on bo_socrates.factCSIIdent (attendId)
TABLESPACE bo_socrates
STORAGE (INITIAL 64K MINEXTENTS 1 MAXEXTENTS UNLIMITED) NOLOGGING;
CREATE INDEX bo_socrates.ind_factCSIIdent_date on bo_socrates.factCSIIdent (identDate)
TABLESPACE bo_socrates
STORAGE (INITIAL 64K MINEXTENTS 1 MAXEXTENTS UNLIMITED) NOLOGGING;
CREATE INDEX bo_socrates.ind_factCSISubIdent_type on bo_socrates.factCSIIdent (subidentType)
TABLESPACE bo_socrates
STORAGE (INITIAL 64K MINEXTENTS 1 MAXEXTENTS UNLIMITED) NOLOGGING;
COMMIT;Details of the message of pl of the OS and database versions. It is probably a bug - pl see these Docs MOS
Error ORA-01400 creating MView ANSI join [ID 1495499.1]
While Alter Materialized View compilation then error ORA-01400 product [1377447.1 ID]As the State of docs, a fix is available in the next version of Oracle (12g) - I'd say you open an SR with Support
HTH
Srini -
Hi all!
I successfully ran a VMmark full test and is seeking more information about the results and how to improve them.
The numbers generated are very vague and the doc that I have does not say much about how the numbers are calculated. I'm looking for some kind of computation that VMmark uses to get the final result. I guess that's something like Ops ARE/s/total transactions... etc...
I have a quad core server CPU with 16 GB of Ram. I am using a back-end SAN and I try to really test the back-end SAN vs the other components of this.
If anyone has any advice they would be appreciated!
Thank you in advance!
ESX4 using esxcfg-module
-
Up-to-date collection data table
I need an example to insert / update the table using collections. The data in the collection must be from a query or a view.
Sanjay
Published by: user12957777 on 6 February 2012 22:40Hello
You can use the MERGE statement
http://docs.Oracle.com/CD/B28359_01/server.111/b28286/statements_9016.htmThis example assumes that you have 5 columns in APEX_COLLECTIONS and merge you those at table.
MERGE INTO my_table a USING ( SELECT seq_id, c001, -- Holding primary key c002, c003, c004, c005 FROM apex_collections WHERE collection_name = 'MY_COLLECTION' ) b ON (a.tbl_col1 = b.c001) WHEN MATCHED THEN UPDATE SET a.tbl_col2 = b.c002, a.tbl_col3 = b.c003, a.tbl_col4 = b.c004, a.tbl_col5 = b.c005 WHEN NOT MATCHED THEN INSERT (a.tbl_col2, a.tbl_col3, a.tbl_col4, a.tbl_col5) VALUES (b.c002, b.c003, b.c004, b.c005) ;
Kind regards
Jarihttp://dbswh.webhop.NET/dbswh/f?p=blog:Home:0
-
Hello
I use the native query to search results on my search page. One of my friends just told me that I better use the named query or time to get my search results will be too slow.
The query named you gives a native faster than query result?
Thanks in advance.
Kind regards
Hemen".. better use named query... "you mean probably a written request using the language of the framework of persistence (for example, HQL, JPA - QL)
Note that when you use a persistence query language, the query must be analyzed at a native SQL - the good advantage language
is that the persistence framework takes care of the creation of objects for you. When you use a native query, you must provide a mapping
(http://docs.jboss.org/hibernate/entitymanager/3.6/reference/en/html/query_native.html).The best thing to do is to compare the queries when they are run on the database. See what execution plan
creates the database (is there any full table scans in it that can optimized etcetera). It is not really possible
to directly answer the question if the request of persistence framework surpasses the native query or vice versa.
It highly depends on your recovery plan and extraction of strategies you applied to specific entities that are used.
To put it in other words, the if and how the associated objects charge must when owning object is loaded.A goal would be to reduce the number of SQL statements and simplify the SQL statements
-http://docs.jboss.org/hibernate/core/3.3/reference/en/html/performance.html (shows an example of Hibernate but there is probably also related to the JPA docs)
Maybe you are looking for
-
I have a number of folders in the bookmarks, and I frequently change it by clicking on "Show all bookmarks" and by opening a library.Earlier, after you click the Bookmarks button, "show all bookmarks" appeared on the top of the list, and now he's dow
-
Problems with external hard drive
Hi, please if anyone can help I really appreciate it! I just bought an external hard disk 320g this is a plug and play and when I connect directly to a USB in pop port and and said that your new hardware is ready to use. But it does show up as drive
-
Error message1706 InstantShareDevice
I get the following messages: 1 Windows install 2. 3 1706 error message. InstantShareDevices, then it prompts me to install using a disc. I have 2 printers installed on this PC, the photosmart 7550 and the DC5900. I don't have the diskettes of instal
-
Hello world!I would like to buy Lr 6 cc start and install it on Mac.I also have a Windows laptopCan I use the double license to install on Windows too?(without paying twice the product of course)Thank you!!
-
After importation, all 'frames' are present, but the picture is blank (gray). When I tried to edit in Photoshop CC, it opens correctly. Tried to delete CC with cleaning tool. Re-installed with the same question. Repeated twice with the same consisten