No use cases
Do we have a slide or any use case where oracle application big Big data happened or is happening.? I want to go through it and learning
Patricia
Hi Patricia,
Different use cases are described here (especially in the context of the Oracle): https://blogs.oracle.com/datawarehousing/entry/big_data_real_and_practical1
This blog has some more references to current customers and what they do (videos).
We also did a beautiful VM, that has a set of products and a set of use cases included and you can work through the practical things: Oracle Big Data Lite Virtual Machine
Let us know if there is more you want or if it's in the wrong direction.
JP
Tags: Database
Similar Questions
-
VMware Performance event triggers use case issues.
1) can event Performance adapter CPO VMware triggers and their
Attributes of the SAMPLE SIZE, INTERVAL and CONDITIONS be configured
for the following use cases?
(2) event VMWare Performance triggers may be CORRELATED? and if so it would take to satisfy the use case?
(3) an additional performance monitoring tool needed to satisy the use case? :
If a VM CPU or RAM was 80% for 2 hours then trigger a workflow
and
If a VM CPU or RAM was 60% for X days and then trigger a workflow
First, I will describe how you can instrument a correlation method, but in the end, I'm not sure it's really necessary for use cases described.
To correlate the performance VMware on a designated period events, you would create a process correlation that follows the underlying the performance event and decides to trigger the process wished triggered when correlated event is detected or not.
Here's how it works.
First, create a global table with three columns:
(1) virtual path Machine
(2) County of consecutive trigger
(3) latest trip time
Create a process that is triggered by a performance event VMware (for example memory Avg > 80%) where you can set the size of the sample and an interval that is logical view of the period of interest (2 hours or X days). For example, a sample of 10 and 30 seconds (5 minutes) are a slice of reasonable time to vCenter for 2 hours. As a result, requiring 24 consecutive triggers to trigger the real event of interest. (divided by 5 minutes to 2 hours)
In other words, the formula is:
Sample size * interval / calendar = consecutive trigger Count
The correlation process triggered by the gross VMware event does the following:
(1) if there is no existing entry in the overall table for the virtual machine, add the entry to table with count = 1 and current time
(2) if the entry exists, check the current time against the last trigger time
(a) if it is the next interval, for example, the time now is 12:15 and triggered last time was 12:10 (see note below).
Incrementing counter and trip together last time
If count = 24, then run the process that manages the "VM memory Avg > 80% for at least 2 hours' and remove the entry from the table.
If count< 24,="" the="" process="" exits="" having="" only="" incremented="" the="" counter="" and="" set="" the="" last="" trigger="">
(b) if the current time is > that last trigger time slice schedule (+ a little padding), set the counter to 1
Note: When comparing the time of w/last time running, you should cover to consider delay light treatment in order to compare now< last-time+(time="" slice*2).="" anything="" less="" than="" 10="" minutes="" in="" this="" case="" would="" be="" considered="" a="" consecutive="" trigger.="" you="" could="" also="" compare="" current-time="">< last-time+time-slice+1,="" which="" is="" probably="" also="">
Now, after going through all that, you don't have to the process of correlation after all. Simply adjust your sample size to be large enough to accommodate your deadline and you launch your handler directly without having to correlate. So for the 2 hour window, simply create a sample size 240 (* 30 seconds = 2 hours). This may or may not work depending on how performance indicators have been set up on the server (sample size, intervals and how much is saved). You can define your own samples and multiples of these configured values intervals (so be careful and see VMware documentation when he resorts to such measures)
You can see that I have described everything first correlation method is more reliable, especially for longer periods such as X days (where you need to taste every hour instead of every 5 minutes).
In any case, I think you can do what's needed without external control, but will require experimentation and a deeper knowledge of the works of performance for ESX metric sampling.
-
I have problem with value NULL when the use CASE statement please help this question
I have problem with value NULL when the use CASE statement please help this question
Table: digital_val
SNO cl C2
1 San1 11
2 22 San2
Actual result: expected to A B
A B 11 22
11 NULL
22 NULL
query:
Select case when c1 = "san1" then c2,.
case If c1 = "san2" then c2 B
of digital_val
I'm more curious why, when you select 2 rows, you expect a result of row?
WITH digital_val
AS (SELECT 1 AS 'Sno', 'San1"C1, c2 FROM DUAL 11)
UNION ALL
2 SELECT AS 'Sno', 'San2"C1, c2 FROM DUAL 22)
SELECT CASE WHEN c1 is "San1" THEN END AS A c2.
CASE WHEN c1 = "San2" THEN END AS B c2
OF digital_val;
With no other input, if you select 2 rows, you get 2 rows. One of the other solutions use a max function, but is this really what you want, does not specify?
-
Where Clause condition - using CASES in which clause
I generate data based on certain criteria of dates as below:
I need to create a report based on the CLOSE_DATE COLUMN,If SYSDATE < 15 of the month can generate report on CLOSE_DATE between the 1st to the 15th of the current month
If SYSDATE > 15th of the month and then generate report on CLOSE_DATE between the 16th of this month and the last day of the next month.I tried, but could not get to the query
SELECT scheme_code, MODEL_NAME, close_date
Plans OF
WHERE)
BOX WHEN to_number (to_char(close_date,'DD')) > 15
THEN close_date BETWEEN trunc (trunc (SYSDATE, 'MM') + 15) AND last_day (add_months(SYSDATE,1))
WHEN to_number (to_char(close_date,'DD')) < 15
THEN close_date BETWEEN trunc(SYSDATE,'MM') AND trunc (trunc(SYSDATE,'MM') + 15)
(END);where nearby date between the two cases when to_number (to_char (close_date, 'DD') > 15 then... else... end and case... when... then... else... end would be the right structure)
in other words, you can use cases coming with each of these two values for him between the comparison. Do not use case to inject arbitrary clauses
-
Use cases of chess - Support request
I set up a large document and submitted a request for assistance to help with the following non-functional use cases:USE CASE (in order of operational significance)
- Perform Actions of resources against any resource catalog of coffee through workflow vRO. (lack of ConsumerResourceOperations in the plugin inventory)
- Change owner of any coffee resource catalog via workflow vRO. (owner is read-only on the CatalogResource object)
- Ask a vCACCAFE:CatalogItem to run a program. (Object broken on workflow Library "request a catalog article"? CatalogItem missing in the library. AdminCatalogItem is correct in our environment)
We are either unable to perform actions due to defects in the product, the configuration of the environment or of misunderstanding. However, when I'm resolution... I'll let you guys know.
Kind regards
Sean
Well, unfortunately, the problems existed right under my nose, and I missed it. (I love those.) We even considered and discussed the actual resolution some time ago, but then I messed up the test to see if it solved the problems.
We do not yet have to answer to the evolution of the property of a CatalogResource using workflow vRO or action. (# 2)
But the two # 1 and # 3 were due to permissions issues with the service account of the VCAC plugin regarding the rights of business group. Fortunately, Steve became aware of the problem almost immediately. https://communities.VMware.com/message/2472092#2472092 If he was in my area, I would like to buy her several glasses of what he drinks.
I made this image which pretty much sums it up. I hope you can learn from my mistakes. (if you have a problem of similar configuration)
All the best,
Sean
-
Hello
I see in some references of documents to this laboratory HOL-SDC-1314 - vCloud Suite Use Cases - updated application in service (PaaS) - use of vFabric
However I find it.
I also tried to change the link to: http://labs.hol.VMware.com/hol/console/lab/hol-SDC-1414-hol
and 1514. Always without success.
What, please, can you
How can I find these old Labs?
Best regards Daniel
Hi Daniel,.
We do not keep the old versions in the HOL given the constraints of storage cloud. The current catalog HOL approximately 30 TB of storage and we have recently taken out of service about 20 TB of old pods in order to manage the development and preparation of new laboratories for the exchange of partner and VMworld 2015. You may be able to find the old pod, or something similar in one of the other clouds internal. I suggest you look in the catalogs of sandbox to see if something might meet your needs if HOL-SDC-1421 does not provide what you need.
All the manuals we have available can be downloaded in PDF format from the website of HOL Docs: docs.hol.vmware.com/catalog
There is a product search option. Unfortunately, we have more manuals before 2014 available here.
-Doug
-
Hello my friends
I have a table "encompasses": continent, country, percentage
now the update should change the continent field, all the 'Europe' that 'Asia' and all 'Asia' to 'America' and 'America', 'Europe' using cases and an update statement.
So I wrote and I got this error
Please give me advice, thanks.Error starting at line 2 in command: UPDATE encompasses SET continent= CASE WHEN continent='Europe' THEN 'Asia' WHEN continent='Asia' THEN 'America' WHEN continent='America' THEN 'Europe' END Error report: SQL Error: ORA-01407: cannot update ("intern"."ENCOMPASSES"."CONTINENT") to NULL 01407. 00000 - "cannot update (%s) to NULL" *Cause: *Action:
Thank you, im using oracle 11g and ubuntu12------------------------------------------------------- -- File created - Monday-May-13-2013 -------------------------------------------------------- -------------------------------------------------------- -------------------------------------------------------- CREATE TABLE "intern"."ENCOMPASSES" ("COUNTRY" CHAR(2), "CONTINENT" VARCHAR2(20), "PERCENTAGE" NUMBER) COMMENT ON COLUMN "intern"."ENCOMPASSES"."COUNTRY" IS 'the country code' COMMENT ON COLUMN "intern"."ENCOMPASSES"."CONTINENT" IS 'the continent name' COMMENT ON COLUMN "intern"."ENCOMPASSES"."PERCENTAGE" IS 'percentage, how much of the area of a country belongs to the continent' COMMENT ON TABLE "intern"."ENCOMPASSES" IS 'information to which continents a country belongs' REM INSERTING into intern.ENCOMPASSES SET DEFINE OFF; Insert into intern.ENCOMPASSES (COUNTRY,CONTINENT,PERCENTAGE) values ('cx','Asia',100); Insert into intern.ENCOMPASSES (COUNTRY,CONTINENT,PERCENTAGE) values ('eg','Asia',10); Insert into intern.ENCOMPASSES (COUNTRY,CONTINENT,PERCENTAGE) values ('ge','Asia',100); Insert into intern.ENCOMPASSES (COUNTRY,CONTINENT,PERCENTAGE) values ('id','Asia',100); Insert into intern.ENCOMPASSES (COUNTRY,CONTINENT,PERCENTAGE) values ('ad','Europe',100); Insert into intern.ENCOMPASSES (COUNTRY,CONTINENT,PERCENTAGE) values ('al','Europe',100); Insert into intern.ENCOMPASSES (COUNTRY,CONTINENT,PERCENTAGE) values ('at','Europe',100); Insert into intern.ENCOMPASSES (COUNTRY,CONTINENT,PERCENTAGE) values ('ba','Europe',100); Insert into intern.ENCOMPASSES (COUNTRY,CONTINENT,PERCENTAGE) values ('pa','America',100); Insert into intern.ENCOMPASSES (COUNTRY,CONTINENT,PERCENTAGE) values ('pe','America',100); Insert into intern.ENCOMPASSES (COUNTRY,CONTINENT,PERCENTAGE) values ('pm','America',100); Insert into intern.ENCOMPASSES (COUNTRY,CONTINENT,PERCENTAGE) values ('pr','America',100); Insert into intern.ENCOMPASSES (COUNTRY,CONTINENT,PERCENTAGE) values ('py','America',100); Insert into intern.ENCOMPASSES (COUNTRY,CONTINENT,PERCENTAGE) values ('sr','America',100); Insert into intern.ENCOMPASSES (COUNTRY,CONTINENT,PERCENTAGE) values ('sv','America',100);
best, david
Published by: 1003209 on May 13, 2013 10:12If the continent does not fit the clauses WHEN CASE returns NULL. Add on the OTHER:
UPDATE encompasses SET continent= CASE WHEN continent='Europe' THEN 'Asia' WHEN continent='Asia' THEN 'America' WHEN continent='America' THEN 'Europe' ELSE continent END
SY.
-
I read a bit about it, but I'm not sure that you understand the use case for this. Will be implemented 10Gbe connections with a Cisco Nexus switch that seems to be an example that I hear about VMDirectPath.
For the example of the Nexus, best practices was not to have a separate 10Gbe for VMS VMDirectPath card?
Multiple virtual machines can be set to use?
I guess that DRS and Vmotion by association would not work with the virtual machines configured to use this?
Just do not know, I see any strong case for it. Please respond with all the real benefits that I can be on.
VMDirectpath is used to provide exclusive access to a device by a single VM. It would normally be used to overcome some problems. Since it's a direct association of the virtual machine would be linked to a particular host and so not for HA, vMotion, etc..
-
vNetwork Distributed Switch use case?
Hi, I understand what a vNetwork Distributed Switch is, but I'm not sure if I know that all use cases. Is used only so that you don't have to create the same exchanges on each server in the cluster for Vmotion? Or are there other reasons? Why switch dist. vN would be a reason to between ORL more?
Thanks for your help.
This video might also be useful:
StarWind Software R & D
-
update TRG set C2=(using Case only Where ... 1).FOR C2 when TRG.K=SRC.K then SRC.B ELSE 0 a).TRG.K=SRC.K (Only one row for id = 300 then SRC.B) b).TRG.K=SRC.K & TRG.K!=SRC.K (two rows row for id = 100 then 0 for first row when TRG.K=SRC.K then 0 else SRC.B) Example: TRG K Id C2 201 100 3 202 100 4 201 300 5 Expected: TRG SRC.B K Id C2 30 201 100 0 30 202 100 30 42 201 300 42
It looks like, I was lucky to guess :), but this time I honestly don't know what you're after :(
If there is more than 2 ranks cnt > 1 and and rn = 1 will assign 0 to line 1 and b for the rest of the lines
Another assumption - you might be after
ranks cnt > 1 and and rn <> would assign 0 to all lines but the last (numbered cnt) and b on the last line has already been mentioned
There is another possible change: row_number() over (partition by order of identification by k desc) rn, i.e. reverse the order of numbering
Please provide the desired resultrn cnt c2 c2 c2 1 4 0 0 ? 2 4 b 0 ? 3 4 b 0 ? 4 4 b b ? | | | cnt > 1 and rn < cnt | cnt > 1 and rn = 1
Concerning
Etbin
-
How to write efficient code in pl/sql using case
Hi all
For all variables specified in the procedure, I have to do if the conditions as... one you suggest effective way of coding using case...
Thank you / kumar
Published by: kumar73 on August 17, 2010 05:56
Published by: kumar73 on August 17, 2010 05:58
Published by: kumar73 on August 17, 2010 09:55Hello
Sorry, I don't know of anyway to avoid making all these instructions IF, or their equivalents.
You can make the code easier to write, debug and maintain by putting common code in a function, like this:CREATE OR REPLACE FUNCTION zero_out (in_num IN NUMBER) RETURN NUMBER DETERMINISTIC IS BEGIN IF in_num NOT IN (-8E14, -7E14, -6E14, -5E14, -4E14, -3E14, -2E14, -1E14, -1E9) THEN RETURN in_num; ELSE RETURN 0; END IF; END zero_out;
See below for an example of how to call it.
Note that there is no point in trying to "in_num IS NULL"; the expression NOT IN never returns TRUE if in_inum is NULL.
This will probably not everything faster than you do now, but it will probably not significantly slower, either.If you want to make the procedure faster, try to use the COLLECTION in BULK.
Combine loops nested one. If you set the slider as... CURSOR finc_csr IS SELECT finc.* FROM pqr.finc JOIN abc.fmly ON finc.famid = fmly.famid;
then you can use it like this:
... FOR rec IN finc_csr LOOP v_temp_unemplx := zero_out (rec.unemplx); v_temp_unemplbx := zero_out (rec.unemplbx); v_temp_compsensx := zero_out (rec.compsensx); ... END LOOP;
-
Configuration and management use cases
Hello
In my opinion, this tool provides the ability to examine those corresponding to results that must be validated and then, I think, it helps the end user, take action. My question is: what are the actions that the user could take?, more precisely the user can manage the fields of candidates corresponding to generate a gold record?
In addition, I'm looking for resources/documentation to configure and use the management interface of the Disqualification case. I would like to know how to set up a process of Disqualification to trigger alerts on case management interface and assigning it to a user.
Thanks in advance for any help,
Kind regards
Daniel
Hi Daniel,.
Direct manipulation of data is not currently possible in the implementation of case management. The only actions are:
-Change the State
-Add a comment
-Add the attachment
-Change the value of the extended attribute
Kind regards
Nick
-
How use case to set a photo directory?
Hello guys,.
I designed 6 colours on the map. I want to use everything in a single report according to the place where the condition.
I have the following table:
Number of employe_id
Employee_name,
Employee_dept_number
________________
I have 6 departments
from 1 to 6
In the report, I want to search a picture according to the employee_dept_number.
If the employee_dept_number is 1
the image directory is for example
c:\orcle\1.bmp
If 2
c:\orcle\2.bmp
________________________
So far, I have create a report and I used a binding file. How can I program this file link as follows:
If dept_number = 1
then c:\orcle_\1.bmp
and so on...
And you know, I'm using oracle developer 6i
Thank you
CASE does not work in 6i. But you can use DECODE, as
DECODE (DEPTNO, 1, ' c:\oracle\picture1.bmp ', 2,'c:\oracle\picture2.bmp',...)
-
REGEXP_SUBSTR - how to use case-sensitive
I use REGEXP_SUBSTR with case-insensitive option
while I use as below
Select REGEXP_SUBSTR ("uk123 research", "UK", "i") double column;
It displays error: ORA-01722: invalid number
Help, please...
Oracle 11.2.0.1.0
You provide all the required parameters. See the http://docs.oracle.com/cd/B28359_01/server.111/b28286/functions138.htm#SQLRF06303 documentation
Here's the correct query:
select REGEXP_SUBSTR('search for uk123', 'UK',1,1,'i' ) col_name from dual;
-
Error number invalid when using case when
I have a table called NATIONAL_RARE_ECOSYSTEMS that contains 1 column called TEST_COLUMN (data type: varchar2):
TEST_COLUMN
rare ecosystem
rare
0
0
(null)
(null)
what I want is a query that will add a column called NRE_SCORE that will give each instance of line a score of 0 if it is null.
If it is 0, then the score should be 0.
If the line contains any text, partition should be 1
I wrote the request:
SELECT
(CASE WHEN test_column is null THEN 0)
WHEN test_column = 0 THEN 0
WHEN test_column > 0, 1
END) AS NRE_SCORE
OF NATIONAL_RARE_ECOSYSTEMS;
I get the error message:
ORA-01722: invalid number
01722 00000 - "invalid number."
I think it is because on the 2nd and 3rd line, trying to perform arithmetic operations on a column which is varchar2 which I know that I can't do.
How can I write a query that says: If the line contains text, then gives the score of 1?
I'm using oracle 11g.Hello
993451 wrote:
I have a table called NATIONAL_RARE_ECOSYSTEMS that contains 1 column called TEST_COLUMN (data type: varchar2):TEST_COLUMN
rare ecosystem
rare
0
0
(null)
(null)what I want is a query that will add a column called NRE_SCORE that will give each instance of line a score of 0 if it is null.
If it is 0, then the score should be 0.
If the line contains any text, partition should be 1Any text other than '0', you mean. I guess that doesn't matter if this text is all the numbers, like '9876 'or something with no numbers, as 'rare'.
I wrote the request:
SELECT
(CASE WHEN test_column is null THEN 0)
WHEN test_column = 0 THEN 0
WHEN test_column > 0 THEN 1
END) AS NRE_SCORE
OF NATIONAL_RARE_ECOSYSTEMS;I get the error message:
ORA-01722: invalid number
01722 00000 - "invalid number."I think it is because on the 2nd and 3rd line, trying to perform arithmetic operations on a column which is varchar2 which I know that I can't do.
You are not actually doing arithmetic, but you compare your VARCHAR2 column, so he tries to convert the string to a NUMBER, and that's why you get the error ORA-01722.
>How can I write a query that says: If the line contains text, then gives the score of 1?
I'm using oracle 11g.
Here's one way:
SELECT CASE WHEN NVL (test_column, '0') = '0' THEN 0 ELSE 1 END AS nre_score , ... -- you must want other columns, too FROM national_rare_ecosystems ;
Since you are not really care on the numerical value, do not use numbers anywhere; stick with VARCHAR2s, for example '0'.
I hope that answers your question.
If not, post a small example data (CREATE TABLE and only relevant columns, INSERT statements) and also publish outcomes from these data.
Point where the above query was to get erroneous results, and explain, using specific examples, how you get these results of the sample data in these palces.
See the FAQ forum {message identifier: = 9360002}
Maybe you are looking for
-
I have a Mac Mini (end of 2014) running OS 10.10.5 - Yosemite. Under Boot Camp, I installed Windows 7. The two OSs work fine, and the volume of Boot Camp (Windows) is visible and accessible to read only - in the Mac environment. However, the Macintos
-
My apologies if this isn't the appropriate forum. My question is mainly about the LabVIEW Core 1 - Core 3 and TestStand 1 classes. Stock content is the same in the 3 aforementioned formats? In stock, I mean 'to the exclusion of any other document su
-
Pavilion G6 1305sx: BCM20702A0 driver is missing
Hello Please help me to find the driver of BCM20702A0. In Device Manager, a yellow sign appears only in the front of this driver. I tried to install the driver that I downloaded on 08.01.2015, but it did not work. HP Pavilion 1305SX G6 Thanks in adv
-
Cannot install the update of security KB959426, all others are fine.
-
My Windows 7 Ultimate edition comes to start sending a message that I have 23 days to activate the product. Interesting, since I bought version 2 1/2 years and it turned on then. Is not clear why he began at this time, but it seems to be in conjuncti