Reopening the thread - fusion even people per ID adding another scenario
ORACLE VERSION: Oracle Database 11 g Enterprise Edition Release 11.2.0.2.0 - 64 bit ProductionSame Question is Solved By Frank in Here -- Thank you for helping me
When Testing With real data i came Across another Scenario, which i think the persons should me merged together.
i tried ti figure this my self , but this logic seems to be more complex.
also sorry for posting this multiple times
/* Formatted on 7/25/2012 8:41:48 AM (QP5 v5.115.810.9015) */
WITH merge_names AS (
/*SELECT 9000 We_pid,
99980000 We_addr_id,
'ROBERT' first_name,
'JOHN' last_name,
NULL middle_name,
NULL Suffix
FROM DUAL
UNION ALL
SELECT 9001 We_pid,
99980000 We_addr_id,
'ROBERT' first_name,
'JOHN' last_name,
NULL middle_name,
NULL Suffix
FROM DUAL
UNION ALL
SELECT 9002 We_pid,
99980000 We_addr_id,
'ROBERT' first_name,
'JOHN' last_name,
'H' middle_name,
NULL Suffix
FROM DUAL
UNION ALL
SELECT 9003 We_pid,
99980000 We_addr_id,
'ROBERT' first_name,
'JOHN' last_name,
'H' middle_name,
NULL Suffix
FROM DUAL
UNION ALL
SELECT 1000 We_pid,
999898989 We_addr_id,
'DONALD' first_name,
'BOATRIGHT' last_name,
'L' middle_name,
NULL Suffix
FROM DUAL
UNION ALL
SELECT 1001 We_pid,
999898989 We_addr_id,
'DONALD' first_name,
'BOATRIGHT' last_name,
'LARRY' middle_name,
NULL Suffix
FROM DUAL
UNION ALL
SELECT 1002 We_pid,
999898989 We_addr_id,
'DONALD' first_name,
'BOATRIGHT' last_name,
NULL middle_name,
NULL Suffix
FROM DUAL
UNION ALL
SELECT 33065 WE_PID,
99000000 We_addr_id,
'LUNA' First_name,
'JOSE' last_name,
NULL middle_name,
NULL suffix
FROM DUAL
UNION ALL
SELECT 8450527 WE_PID_LINK,
99000000 We_addr_id,
'LUNA' First_name,
'JOSE' last_name,
'A' middle_name,
NULL suffix
FROM DUAL
UNION ALL
SELECT 373453429 WE_PID_LINK,
99000000 We_addr_id,
'LUNA' First_name,
'JOSE' last_name,
NULL middle_name,
NULL suffix
FROM DUAL
UNION ALL
SELECT 442303062 WE_PID,
99000000 We_addr_id,
'LUNA' First_name,
'JOSE' last_name,
'S' middle_name,
NULL suffix
FROM DUAL
UNION ALL
SELECT 30088775765 WE_PID,
990000878 We_addr_id,
'BILL' last_name,
'RAY' first_name,
'M' middle_name,
NULL SUFFIX
FROM DUAL
UNION ALL
SELECT 30088775766 WE_PID,
990000878 We_addr_id,
'RAY' first_name,
'BILL' last_name,
NULL middle_name,
NULL SUFFIX
FROM DUAL
UNION ALL
SELECT 30088775767 WE_PID,
990000878 We_addr_id,
'RAY' first_name,
'BILL' last_name,
'MAX' middle_name,
NULL SUFFIX
FROM DUAL
UNION ALL
SELECT 30088775768 WE_PID,
990000878 We_addr_id,
'RAY' first_name,
'BILL' last_name,
'MICHEL' middle_name,
NULL SUffix
FROM DUAL
UNION ALL
SELECT 399998776 WE_PID,
9901111 We_addr_id,
'ELLISON' first_name,
'LAWRANCE' last_name,
NULL middle_name,
NULL SUFFIX
FROM DUAL
UNION ALL
SELECT 399998777 WE_PID,
9901111 We_addr_id,
'ELLISON' first_name,
'LAWRANCE' last_name,
'J' middle_name,
'JR' SUFFIX
FROM DUAL
UNION ALL
SELECT 399998778 WE_PID,
9901111 We_addr_id,
'ELLISON' first_name,
'LAWRANCE' last_name,
'JAMES' middle_name,
'SR' SUFFIX
FROM DUAL
UNION ALL
SELECT 399998779 WE_PID,
9901111 We_addr_id,
'ELLISON' first_name,
'LAWRANCE' last_name,
'JACK' middle_name,
'JR' SUFFIX
FROM DUAL
UNION ALL
*/
SELECT 4498 WE_PID,
77127945 We_addr_id,
'PIGGEE' first_name,
'AARON' last_name,
NULL middle_name,
NULL SUFFIX
FROM DUAL
UNION ALL
SELECT 4499 WE_PID,
77127945 We_addr_id,
'PIGGEE' first_name,
'AARON' last_name,
NULL middle_name,
'JR' SUFFIX
FROM DUAL
UNION ALL
SELECT 4450 WE_PID,
77127945 We_addr_id,
'PIGGEE' first_name,
'AARON' last_name,
NULL middle_name,
'JR' SUFFIX
FROM DUAL
UNION ALL
SELECT 4451 WE_PID,
77127945 We_addr_id,
'PIGGEE' first_name,
'AARON' last_name,
NULL middle_name,
'JR' SUFFIX
FROM DUAL
UNION ALL
SELECT 250 WE_PID,
77127950 We_addr_id,
'RODNEY' first_name,
'MONTGOMERY' last_name,
NULL middle_name,
NULL SUFFIX
FROM DUAL
UNION ALL
SELECT 251 WE_PID,
77127950 We_addr_id,
'RODNEY' first_name,
'MONTGOMERY' last_name,
NULL middle_name,
NULL SUFFIX
FROM DUAL
UNION ALL
SELECT 252 WE_PID,
77127950 We_addr_id,
'RODNEY' first_name,
'MONTGOMERY' last_name,
NULL middle_name,
'SR' SUFFIX
FROM DUAL
UNION ALL
SELECT 253 WE_PID,
77127950 We_addr_id,
'RODNEY' first_name,
'MONTGOMERY' last_name,
NULL middle_name,
'III' SUFFIX
FROM DUAL),
got_min_we_pid
AS (SELECT b.we_pid,
b.we_addr_id,
b.last_name,
b.first_name,
b.middle_name,
b.suffix,
MIN(b.we_pid)
OVER (
PARTITION BY
b.first_name,
b.last_name,
b.middle_name,
b.suffix
)
AS min_we_pid
FROM merge_names b),
possible_matches
AS ( SELECT CONNECT_BY_ROOT min_we_pid AS min_we_pid,
min_we_pid AS leaf_we_pid
FROM got_min_we_pid
WHERE CONNECT_BY_ISLEAF = 1
START WITH we_pid = min_we_pid
CONNECT BY first_name = PRIOR first_name
AND we_addr_id = PRIOR we_addr_id
AND last_name = PRIOR last_name
AND SUBSTR ('x' || middle_name,
1,
LENGTH ('x' || PRIOR middle_name)) =
'x' || PRIOR middle_name
AND 'x' || middle_name > 'x' || PRIOR middle_name
AND 'x' || suffix = 'x' || PRIOR suffix),
got_match_cnt
AS (SELECT DISTINCT
min_we_pid,
leaf_we_pid,
COUNT (DISTINCT leaf_we_pid)
OVER (PARTITION BY min_we_pid)
AS match_cnt
FROM possible_matches)
SELECT DISTINCT
we_pid,
we_addr_id,
first_name,
last_name,
middle_name,
suffix -- ***** CHANGED *****
,
MIN (we_pid) OVER (PARTITION BY NVL (p.leaf_we_pid, c.min_we_pid))
AS merge_wepid -- ***** CHANGED *****
FROM GOT_MIN_we_pid c
LEFT OUTER JOIN
got_match_cnt p
ON p.min_we_pid = c.min_we_pid AND p.match_cnt = 1
ORDER BY c.we_pid,
c.last_name,
c.first_name,
c.middle_name;
o/p required for the person PIGGEE AARON JR and RODNEY MONTGOMERY
ALl other Person Mergings Are working Great.
WE_PID WE_ADDR_ID FIRST_NAME LAST_NAME MIDDLE_NAME SUFFIX MERGE_WEPID
4450 77127945 PIGGEE AARON JR 4498
4451 77127945 PIGGEE AARON JR 4498
4498 77127945 PIGGEE AARON 4498
4499 77127945 PIGGEE AARON JR 4498
250 77127950 RODNEY MONTGOMERY 250
251 77127950 RODNEY MONTGOMERY 250
252 77127950 RODNEY MONTGOMERY SR 252
253 77127950 RODNEY MONTGOMERY III 253
Published by: new learning on July 25, 2012 05:50Published by: new learning on July 25, 2012 06:49
Published by: new learning on July 25, 2012 06:51
Hello
This example gets the results you requested on the sample data you posted:
WITH got_min_we_pid AS
(
SELECT merge_names.*
, MIN (we_pid) OVER ( PARTITION BY first_name
, last_name
, middle_name
, suffix
) AS min_we_pid
FROM merge_names
)
, possible_matches AS
(
SELECT CONNECT_BY_ROOT min_we_pid AS min_we_pid
, min_we_pid AS leaf_we_pid
FROM got_min_we_pid
WHERE CONNECT_BY_ISLEAF = 1
START WITH we_pid = min_we_pid
CONNECT BY first_name = PRIOR first_name
AND last_name = PRIOR last_name
AND SUBSTR ( 'x' || middle_name
, 1
, LENGTH ('x' || PRIOR middle_name)
) = 'x' || PRIOR middle_name
AND 'x' || middle_name >= 'x' || PRIOR middle_name -- ***** CHANGED *****
AND ( 'x' || suffix = 'x' || PRIOR suffix -- ***** CHANGED *****
OR PRIOR suffix IS NULL -- ***** NEW *****
) -- ***** NEW *****
AND ( 'x' || middle_name != 'x' || PRIOR middle_name -- ***** NEW *****
OR 'x' || suffix != 'x' || PRIOR suffix -- ***** NEW *****
) -- ***** NEW *****
)
, got_match_cnt AS
(
SELECT DISTINCT
min_we_pid
, leaf_we_pid
, COUNT (DISTINCT leaf_we_pid) OVER (PARTITION BY min_we_pid) AS match_cnt
FROM possible_matches
)
SELECT we_pid, we_addr_id, first_name, last_name, middle_name, suffix
, MIN (we_pid) OVER (PARTITION BY NVL (p.leaf_we_pid, c.min_we_pid)) AS merge_wepid
FROM GOT_MIN_we_pid c
LEFT OUTER JOIN got_match_cnt p ON p.min_we_pid = c.min_we_pid
AND p.match_cnt = 1
ORDER BY c.last_name
, c.first_name
, c.middle_name
;
It will give the results you want in view of all the data of your table, or data that can be added to your table in the future? It depends on what you want. It is impossible to everything that publish you current data, and it is impossible to display all of the data that you can obtain in the future. The best is you specify exactly what you want. For example:
"I want to group the lines and assign the we_pid lowest in the group like the merge_we_pid for all members of the group. Every row belongs to a group exaclty. The following rules define what a group is:
(a) last_name, first_name, middle_name and suffix identical lines are always in the same group.
(b) the lines with different name or last_name are never in the same group.
(c) two lines with different middle_names and/or suffixes can be in the same group, subject to the following conditions
(c1) One of the lines must be 'more complete' than the other
(c2) If row is "less complete" that line B, then A must not be "less complete" any line C less than B or C is "less complete" than the other, whereby all 3 ranks fall in the same group.
Line A is considered to be "less full" line B if and only if
(1) A middle_name matches the beginning of B middle_name (first name of B can be longer), and
(2) if A suffix is not NULL, then B has the same suffix. »
I think that the example above describes what you want now. I guess that a suffix simply cannot be less than a complete suffix; that would deal with "II" as a less complete form of 'III'
What you asked for in your previous thread differs only in the role of suffix. The query I posted yesterday treated suffix such as first and last name: it had to be exactly the same for all rows in the group, and suffix played no role in the condition (c) or the definition of the "complete".
In the above query, if CONNECT BY condition tests a child line is more comprehensive than its parent. In the version I posted today, I changed the CONNECT BY clause to match the new definition of the "complete". Obviously, there are requirement suffix had to change. Yesterday, the B line could be more complete that the line has only if its middle_name took longer; now, they can be the same. But we cannot tolerate a situation where a line is it's own parent: to avoid to connect BY loops, add a condition that the middle_name or the suffix must be different.
Published by: Frank Kulash, July 25, 2012 10:07
Added explanation.
Tags: Database
Similar Questions
-
Reopening the thread - fusion even people per ID
ORACLE VERSION: Oracle Database 11 g Enterprise Edition Release 11.2.0.2.0 - 64 bit Production
Same Question is Solved By Frank in Here
Solution in the light of the work for all scenarios other than/* Formatted on 7/24/2012 3:27:12 PM (QP5 v5.115.810.9015) */ WITH merge_names AS (SELECT 9000 We_pid, 99980000 We_addr_id, 'ROBERT' first_name, 'JOHN' last_name, NULL middle_name, NULL Suffix FROM DUAL UNION ALL SELECT 9001 We_pid, 99980000 We_addr_id, 'ROBERT' first_name, 'JOHN' last_name, NULL middle_name, NULL Suffix FROM DUAL UNION ALL SELECT 9002 We_pid, 99980000 We_addr_id, 'ROBERT' first_name, 'JOHN' last_name, 'H' middle_name, NULL Suffix FROM DUAL UNION ALL SELECT 9003 We_pid, 99980000 We_addr_id, 'ROBERT' first_name, 'JOHN' last_name, 'H' middle_name, NULL Suffix FROM DUAL UNION ALL SELECT 1000 We_pid, 999898989 We_addr_id, 'DONALD' first_name, 'BOATRIGHT' last_name, 'L' middle_name, NULL Suffix FROM DUAL UNION ALL SELECT 1001 We_pid, 999898989 We_addr_id, 'DONALD' first_name, 'BOATRIGHT' last_name, 'LARRY' middle_name, NULL Suffix FROM DUAL UNION ALL SELECT 1002 We_pid, 999898989 We_addr_id, 'DONALD' first_name, 'BOATRIGHT' last_name, NULL middle_name, NULL Suffix FROM DUAL UNION ALL SELECT 33065 WE_PID, 99000000 We_addr_id, 'LUNA' First_name, 'JOSE' last_name, NULL middle_name, NULL suffix FROM DUAL UNION ALL SELECT 8450527 WE_PID_LINK, 99000000 We_addr_id, 'LUNA' First_name, 'JOSE' last_name, 'A' middle_name, NULL suffix FROM DUAL UNION ALL SELECT 373453429 WE_PID_LINK, 99000000 We_addr_id, 'LUNA' First_name, 'JOSE' last_name, NULL middle_name, NULL suffix FROM DUAL UNION ALL SELECT 442303062 WE_PID, 99000000 We_addr_id, 'LUNA' First_name, 'JOSE' last_name, 'S' middle_name, NULL suffix FROM DUAL UNION ALL SELECT 30088775765 WE_PID, 990000878 We_addr_id, 'BILL' last_name, 'RAY' first_name, 'M' middle_name, NULL SUFFIX FROM DUAL UNION ALL SELECT 30088775766 WE_PID, 990000878 We_addr_id, 'RAY' first_name, 'BILL' last_name, NULL middle_name, NULL SUFFIX FROM DUAL UNION ALL SELECT 30088775767 WE_PID, 990000878 We_addr_id, 'RAY' first_name, 'BILL' last_name, 'MAX' middle_name, NULL SUFFIX FROM DUAL UNION ALL SELECT 30088775768 WE_PID, 990000878 We_addr_id, 'RAY' first_name, 'BILL' last_name, 'MICHEL' middle_name, NULL SUffix FROM DUAL UNION ALL SELECT 399998776 WE_PID, 9901111 We_addr_id, 'ELLISON' first_name, 'LAWRANCE' last_name, NULL middle_name, NULL SUFFIX FROM DUAL UNION ALL SELECT 399998777 WE_PID, 9901111 We_addr_id, 'ELLISON' first_name, 'LAWRANCE' last_name, 'J' middle_name, 'JR' SUFFIX FROM DUAL UNION ALL SELECT 399998778 WE_PID, 9901111 We_addr_id, 'ELLISON' first_name, 'LAWRANCE' last_name, 'JAMES' middle_name, 'SR' SUFFIX FROM DUAL UNION ALL SELECT 399998779 WE_PID, 9901111 We_addr_id, 'ELLISON' first_name, 'LAWRANCE' last_name, 'JACK' middle_name, 'JR' SUFFIX FROM DUAL) SELECT * FROM merge_names
Again sorry for not posting of sufficient dataWE_PID WE_ADDR_ID FIRST_NAME LAST_NAME MIDDLE_NAME SUFFIX MERGE_WEPID 9000 999898981 ROBERT JOHN 9000 9001 999898981 ROBERT JOHN 9000 9002 999898981 ROBERT JOHN H 9000 9003 999898981 ROBERT JOHN H 9000
Hello
new learner wrote:
Frank, I try to get the we_pid Min when merging records.
If the Min we_pid is hard, then I can live with never assigned to any we_pid of this group.I think I understand now. All you really need to change is the definition of merge_wepid in the main query, like this:
WITH got_min_we_pid AS ( SELECT merge_names.* , MIN (we_pid) OVER ( PARTITION BY first_name , last_name , middle_name , suffix ) AS min_we_pid FROM merge_names ) , possible_matches AS ( SELECT CONNECT_BY_ROOT min_we_pid AS min_we_pid , min_we_pid AS leaf_we_pid FROM got_min_we_pid WHERE CONNECT_BY_ISLEAF = 1 START WITH we_pid = min_we_pid CONNECT BY first_name = PRIOR first_name AND last_name = PRIOR last_name AND SUBSTR ( 'x' || middle_name , 1 , LENGTH ('x' || PRIOR middle_name) ) = 'x' || PRIOR middle_name AND 'x' || middle_name > 'x' || PRIOR middle_name AND 'x' || suffix = 'x' || PRIOR suffix ) , got_match_cnt AS ( SELECT DISTINCT min_we_pid , leaf_we_pid , COUNT (DISTINCT leaf_we_pid) OVER (PARTITION BY min_we_pid) AS match_cnt FROM possible_matches ) SELECT we_pid, we_addr_id, first_name, last_name, middle_name, suffix -- ***** CHANGED ***** , MIN (we_pid) OVER (PARTITION BY NVL (p.leaf_we_pid, c.min_we_pid)) AS merge_wepid -- ***** CHANGED ***** FROM GOT_MIN_we_pid c LEFT OUTER JOIN got_match_cnt p ON p.min_we_pid = c.min_we_pid AND p.match_cnt = 1 ORDER BY c.last_name , c.first_name , c.middle_name ;
Output:
` WE_PID WE_ADDR_ID FIRST_N LAST_NAME MIDDLE SU MERGE_WEPID ------------ ---------- ------- --------- ------ -- ------------ 30088775767 990000878 RAY BILL MAX 30088775767 30088775768 990000878 RAY BILL MICHEL 30088775768 30088775766 990000878 RAY BILL 30088775766 1000 999898989 DONALD BOATRIGHT L 1000 1001 999898989 DONALD BOATRIGHT LARRY 1000 1002 999898989 DONALD BOATRIGHT 1000 9003 99980000 ROBERT JOHN H 9000 9002 99980000 ROBERT JOHN H 9000 9000 99980000 ROBERT JOHN 9000 9001 99980000 ROBERT JOHN 9000 8450527 99000000 LUNA JOSE A 8450527 442303062 99000000 LUNA JOSE S 442303062 33065 99000000 LUNA JOSE 33065 373453429 99000000 LUNA JOSE 33065 399998777 9901111 ELLISON LAWRANCE J JR 399998777 399998779 9901111 ELLISON LAWRANCE JACK JR 399998777 399998778 9901111 ELLISON LAWRANCE JAMES SR 399998778 399998776 9901111 ELLISON LAWRANCE 399998776 30088775765 990000878 BILL RAY M 30088775765
It will be a little less efficient, but maybe it's not important to you.
-
How is it assistant BootCamp 6.0.1 running on El Capitan 10.11.5 installs single partition BootCamp on the disc Fusion consisting of 128 SSD part G SSD and 3 TB of HARD drive on an iMac (retina 5K, 27 inches, end of 2014), but not the part of the HARD drive?
This has two questions:
1 capacity of SSDS faster for Fusion drive has been reduced. Therefore less effective for the reader of the merger. For example if I need to create a partition of 80G for my windows bootcamp partition, only 48 G will be left in the drive of the merger.
2. ability of the bootcamp windows partition becomes very limited, cannot be greater than 120 G.
3. even when I try to fuse out of the drive of fusion in the 128 G SSD and 3 TB of HARD disk, and then run the BootCamp assistant to create the bootcamp partition start from scratch to reinstall El Capitan only on the HARD drive (without drive Fusion), it won't let me do anything, it just shows an error that says something like "a person has created additional partitions on this drive please select. another disc. But there is nothing else to choose.
Before my (5 K, 27 inches, end of 2014 retina) to El Capitan Yosemite, I was able to use the previous version of the wizard BootCamp 5.x to create the partition, bootcamp on the drive of the merger. And it will be divided in the fuser unit in two and insert the Bootcamp partition (with the size I chose, which can go up to 1 TB) between two partitions of MAC OSX.
The disk partitions resulting from it, will be the partition MAC OS x on the SSD, the partition MAC OS x on the HARD drive partition #1, partition MAC OS x on the HARD drive partition #3.
Then there is the BootCamp partition on the HARD drive partition #2.
Is there a way to get what I need?
That is what has been described in this notice of two canoes?
Installation of Windows on a Boot Camp partition on a drive of TB Fusion 3
Thank you.
After having worked on those weeks, I realized that I need very painfully (by first going back to Yosemite and bootcamp 5 to escape all the limitations of El Capitan and BootCamp 6) I want to share here. Someone at - it other smarter solutions welcome.
Note these steps and mentioned drivers only work for my version of iMAC, retina 5K late 2014. If you have other material, please search on the web to see which driver will work first. And all of these steps are destructive and assumed that you first take backup. It is only shared for interest only. Readers will have to bear your own risk.
A. take backup
1. take a backup completes my iMac Fusion Drive using Time Machine. Then restart with a Yosemite USB installation and select Terminal from the menu on the top bar.
B. fuse out of the merger in two physical disks drive: SSD + HDD
1. in the terminal, type the commands in show what the logical volume group ID and the ID of the logical Volume of the disc fusion)
Cs diskutil list
2. in the terminal, type commands for the fuse of the fuser unit and separate them to an SSD and a HARD drive. Note: All data will be destroyed in the drive of the merger. There are many articles in this community on how this could be done,
diskutil cs deleteVolume Logical Volume ID
CS diskutil remove logical Volume Group ID
This should finish within 30 minutes. If you have taken more time, this means that your reader of fusion has been altered somehow.
I hit this issue too. To use this command to remove the fusion drive hung up, and I need to do the hard to scramble a few sections of data in the hard disk partition table using the controls to tell the OSX this hard drive is a new without partitions:
Cat >/dev/random /dev/disk0 (where/dev/disk0 is the SSD)
and repeat for disk1/dev/disk1 which is the HARD drive in my case).
This command will not return anything, but expect to press Ctrl-Z to end after 1 minute.
2 create independent partitions (non-fusionend) for the installation of OSX.
Borne Terminal output, and select disk utility, in disk utility, select the drive to HARD disk (and not on the partition), you will see the error message and you will be asked if you want to fix the fuser unit, click on ignore. Then wipe the HARD drive to create a single 'extended OSX journaled"named"HARD drive".
3. Repeat step 2, and then erase the SSD drive to create a single 'extended OSX journaled"named"SSD ".
C. install on the HARD disk as drive didier autonomous not fusion.
1. go to Yosemite install screen and proceed with the installation of a clean copy of Yosemite to the iMAC. then connect you.
D. use BootCamp Yosemite f5 to install windows.
1. launch Yosemite bootcamp.
2. check the two checkboxes for creating the USB drive to install windows 7 or a later version, and to download the windows supports the Apple software. Do not click on the last box to install or remove windows pie creating real bootcamp partition again.
3. it may take several hours to complete this function of your internet b/w and also performance of your USB drive.
4. If you install Windows 7 (like me), then the downloaded drivers will not work for you, this will cause the issue of the device driver appleDSS.sys does not like this driver and others are too recent for windows 7 to use. Also, your keyboard and mouse may not work even if you try to plug in a USB external keyboard or a mouse. You need to replace the drivers downloaded by others (the Boot Camp 5.1.5769 drivers that I find in this link: Software Support of Boot Camp 5.1.5769.) (Note: this driver is material specific only works for my iMAC model). Once you have downloaded it, copy the two files in the root directory of the USB installation to replace the original ones. It's specific and material available for download somewhere on the Apple Site.
-From the Finder, delete the $WinPE$ and the Boot Camp of the FLASH PLAYER files.
-Expand the old drivers for Boot Camp 5.1.5769 (two records and another file) on your desktop.
-Copy the $WinPE$ and records of Boot Camp in the FLASH PLAYER.
5. open Boot Camp Assistant again and only select the third option, install Windows 7.
It will show you the screen to select what installation disk, select HARD drive.
Then drag the slide bar to select the size of the Bootcamp partition for windows you want, knowing that there is a restriction for windows installed using training camp on a MAC that the last byte of the BootCamp partition must reside in the first byte of the 2.2 T of each physical hard drive.
For my case, I need only 500G for bootcamp and leaving behind 1.7 to for my MAC OSX partition immediately after the bootcamp partition and an another 0.8 T MAC OSX partition after him. 1.7 TB and the partition of MAC OS x 0.8 TB well exploited in the meantime bootcamp partition, will be merged into a fusion drive by Bootcamp. Thus, you will end up with total 2.5 TB of disk space in a logical drive - fuser.
Go to this link for more details on this subject: n-on-a-3-tb-fusion-drive http://twocanoes.com/winclone/support/installing-windows-on-a-boot-camp-partitio
6. continue the process to partition the hard drive, then it will restart automatically in windows installation mode, install windows.
7. once the installation is complete, check that windows is functioning correctly.
E. Si you want to upgrade to windows 10 Windows 7.
1 if you plan to upgrade to windows 10, you'll find that the windows IE v.8 7 is no longer works and had many problems to load the page. Then when you try to download the latest version of Internet Explorer, you get an error that you need at least windows 7 SP1 to support the last IE. Life is too complicated, just download the google Chrome browser, then search for download windows 10 and then run the Microsoft valuation tool to upgrade.
2 but before upgrade you, unplug all your MAC USB drives, otherwise, you will find that, after having spent an hour downloading the windows 10 software, the upgrade will fail with the error "/ dynamicupdate...» ». It is an inexplicable mistake that no one seems to understand why. There are articles with proven results that the removal of all USB drives before running the windows 10 upgrade tool will correct this problem.
F. reinstall OSX El Capitan
Once your target windows system (if windows 7, windows 8 or windows 10) works very well. You can continue to create again your Fusion drive and reinstall OSX El Capitan.
1. Insert the install of OSX Yosemite rear USB to the iMAC, and then select Restart Windows, or stop, and then turn the MAC once again.
2. When you hear the ringing tone, press on and hold down the option key for 10 seconds. Then you release.
3. on the selection screen, select start Yosemite OSX install drive.
4. after starting, do not proceed to install OSX El Capitan again. But select Terminal from the menu bar.
5. in the terminal, type the command 'diskutil list cs' and you should see nothing to prove that there are no existing fusion drive yet.
6 type the 'diskutil list' command to list all disks and partitions.
The SSD has two partitions, the/dev/disk0s1 of EFI (209 MB) partition and the other/dev/disk0s2 of OSX partition we created in step B above, called SSD around 121 G.
The HARD drive has two partitions, the/dev/disk1s1 of EFI (209 MB) partition and the other/dev/disk1s2 of OSX partition we created in step B above, called SSD.
G. delete the logical storage of nucleus on the HARD disk drive and it refuses with the DSS to form a merger with faster performance disc
1. Insert the install of OSX El Capitan rear USB to the iMAC, and then select Restart Windows, or stop, and then turn the MAC once again.
2. When you hear the ringing tone, press on and hold down the option key for 10 seconds. Then you release.
3. on the selection screen, select start Yosemite OSX install drive.
4. after starting, do not proceed to install OSX El Capitan again. But select Terminal from the menu bar.
5. in the terminal, type orders for (to show what are the logical volume group ID and the ID of the logical Volume of the logical drive). You should see the logical volume to basic storage group created using two partitions on the hard drive, 1.7 TB and TB 0.8 created when we run the Yosemite Bootcamp to install windows.
Cs diskutil list
6. in the terminal, type commands to delete logical drives from basic storage. Note: All data will be destroyed in the logical drive.
diskutil cs deleteVolume Logical Volume ID
CS diskutil remove logical Volume Group ID
7. tap "diskutil list" command lists all the resulting partitions. You should see that the HARD drive has the following partitions.
/ dev/disk0 (internal, physical):
#: NAME SIZE TYPE IDENTIFIER
0: GUID_partition_scheme * GB 121,3 disk0
1: disk0s1 EFI EFI 209.7 MB
2: Apple_HFS GB SSD 121.0 disk0s2
/ dev/disk1 (internal, physical):
#: NAME SIZE TYPE IDENTIFIER
0: GUID_partition_scheme * 3.0 to disk1
1: EFI EFI 209.7 MB disk1s1
2: Apple_HFS 1.7 Untitled TB disk1s2
3: disk1s3 Apple_Boot Recovery 650.0 MB HD
4: Microsoft database BOOTCAMP 503.0 GB disk1s4
5: Apple_HFS 801,4 Untitled GB disk1s5
8 type the following commands to create the logical volumes group, named "myLVG" (or the name) of fuser using the usable for OSX to the SSD and HDD partitions.
diskutil cs to create "myLVG" disk0s2 disk1s2 disk1s5
Note: Mark the group id of logical volume shown in the results.
In my case, I want to book the last partition as standalone partition disk1s5 no-fusionend, so I can use it to raise the back, or format it in FAT32 to allow the exchange of data between the MAC and boot camp.
So, I do not understand this last partition in the drive of the merger. in my case, the command that I used is: diskutil cs to create "myLVG" disk0s2 disk1s2
9 create logical volumes named "Macintosh HD" (or you call it) on the logical volume group we just created for the reader of the merger.
diskutil createvolume logical volume group ID jhfs cs + 'Macintosh HD' 100%
10 command "diskutil cs type list" to check the resulting fusion drive created.
CoreStorage groups of logical volumes (1 found)
|
+ Logical Volume - Group F53C7A25-C2F3-4997-91E9-2E6B6BAB2E0E
=========================================================
Name: LVG
Status: online
Dimensions: 1815635525632 B (1.8 to)
Free space: 90112 B (90.1 KB)
|
+-Physical volume E176873C-7C80-4759-8110-BA7307E0C4B3
| ----------------------------------------------------
| Index: 0
| Disc: disk0s2
| Status: online
| Dimensions: 120988852224 B (121.0 GB)
|
+-Physical volume 6535AC3C-DCF8-453F-AD47-98905538386E
| ----------------------------------------------------
| Index: 1
| Disc: disk1s2
| Status: online
| Dimensions: 1694646673408 B (1.7 to)
|
+--> Logical volume family F3D15F87-FB84-4B43-B2F2-E9EACC7C42D9
----------------------------------------------------------
Encryption type: no
|
+--> Logical volume 0D807F6E-FB7C-418F-AAF4-EF3EA3525D10
---------------------------------------------------
Disc: disk2
Status: online
Size (Total): 1809780178944 B (1.8 to)
Reversible: no
Name: Macintosh HD
Volume name: Macintosh HD
Content indicator: Apple_HFS
LVG Type: Fusion, sparse
11 exit the terminal, go back to OSX El Capitan install screen and select the name of the fuser unit 'Macintosh HD' proceed to begin the installation of the os x for installation.
12. There will be a step in the installation ask you if you want to configure as a new computer, or restore from a time machine previous backup. Make your own choices it accordingly.
13 once OSX El Capitan has been installed and you have finished restoring the data and custom configurations, you can enter the application of preferences to check if you see the icon of the "Startup" disk", and if you choose Startup BootCamp in the next reboot, you should be able to boot up to Windows without pressing and holding the button option when reboot and choose to start windows manually. Also, in windows, you should be able to click on the bootcamp Control Panel and select for a startup to OSX on the next reboot.
14. one thing to be aware, if you install bootcamp in this way, the boot camp and the GUI utility disk in OSX El Capitan will not be able to adjust your settings. This means, if you need to touch anything or to readjust the size of the partition, you will need to do it again in step A. Alternatively, some how to get started with installing Mac OSX Yosemite USB, then adjust the partitions using similar commands shown in this article or other articles in this community.
15. yet once please take personal responsibility on damage if you follow the instructions in this article.
-
How to manage the threads for TCP communication?
Hello
I have a project to control two separate applications (C++ and LabView) and two of them are implemented as server. Another client program (C++) is used to control applications. Communication between them are implemented using TCP socket. The client program sends the message to start or stop tasks on servers. The client program also sends time (HH) with the message start and end to determine when to start or stop.
Application in C++ (server): Listening to the request for the connection and when gets one, it creates a thread of communication allowing to manage this and listen again to another connection. Communication wire crossing of handles and messages when it receives a start or a stop message, it creates a thread of timer with the received time to trigger a task at the time specified. And after that he expects the client message. So, here, when the thread (communication, timer) is necessary, it is created.
In LabView (server): I tried to create the same as the C++ server. But, in manual of LabView and other discussions of the forum, I got that LabView is multithreaded and it can be done with the help of the loop independent. So, I had to create four loops in a diagram:
1. wait the new connection
2 manage the communication for the already received connection
3. start the timer
4 stop the timer
and they are executed at the beginning of execution and communication between them are managed using local variables. But, 2, 3 and 4th loop can handle only one connection and it can handle another if the current is closed. The C++ application can handle multiple connections by creating the thread when it is necessary, but not at the beginning of the application.
Is there a better way to implement this in LabView?
Is it possible to manage multiple connections and create the diagram node/block (such as a wire) dynamically as C++?
Thank you.
There are several ways to do so in modern LabVIEW and you should probably seek the Finder example for TCP examples. The classic is to transfer the refnum of connecting the listening loop in a communications loop that adds to an array of login credentials and then constantly iterates through this array to make the communication. He works on LabVIEW 4.0 perfectly for me even for applications with basic HTTP communication protocol. But you must make sure that the communication for a connection is not delaying his work for reasons that would delay the handling of other connections too, because they are really of course worked on sequentially. If you encounter an error, the connection ID is closed and removed from the table.
The other is that create you a VI that makes your entire communication and ends on an error or when the order quite. Make this reentrant VI and then launch it through VI server as the instance home, passing the refnum of newly received connection form the listening loop. Then use the method to Run let start and operate as an independent thread.
For all these, you should be able to find an example in the example Finder when searching for TCP.
-
Original title: HDMI sound
I know that many have had problems, but I did not mine specifically. My HDMI connection was working fine with my laptop HP and m HD tv. I didn't use it for a while, now it is just the video, no audio on the TV. My reading shows the HDMI as a default device, but the sound is yet to come of the computer laptop, even when the volume is turned off on it. Ive read all the reviews and updates of pilot who was old. I don't know what else to do!
Hello
System Restore does not have this long period of time.
You may want to refer to the suggestions in the thread below link and check.
No sound via HDMI output portable computer connecting to TV
I hope this helps.
-
Hello
To receive the broadcast content from the server, a thread of listening to the need to run in the back ground on the BlackBerry.
For a client application to receive the server put grows optimally updated, what is the best way?
1. run the thread listening on the installation of the client application using auto-run on start up?
What happens to the thread if there are reboot the device? The listener would start again?
2. run the thread listening on the launch of the client application?
(or)
3. is there a way to run the thread to listen according to the need, when there is dissemination of the server, as some notification (called by server) to the client that there is dissemination of the server and the client then begins the listening thread?
Please contribute your valuable and suggest most commonly followed and best practices.
Kind regards
Suresh.
you don't know. If it's a good thing to do is another question.
You can use an inboxlistener to receive an email or even a text message with a command to start the pushlistener. But why you want to do something like that? listening on a port, there's nothing that drains the battery. -
Hi all
I have a strange problem with the wire
I'm doing some tasks to the wire and I want to stop the thread when closing, but I couldn't do that
I use myThread.interrupt () but it will not deliver the thread doesn't always works, even when the screen closed.
Here is an example of what I'm doing
workingThread = new Thread (new Runnable()
{
public void run()
{
Try
{getdatafromWeb();
for (int i = 0; i)<>
{
final byte [] imageData = getImage (currentUrl);
UiApplication.getUiApplication () .invokeAndWait (new Runnable()
{
public void run()
{
if(ImageData!=null)
{
currentScreen.add (new BitmapField (...));}
}});
}}
catch (System.Exception e)
{
}
}
});
workingThread.start ();You can put a Boolean value in your county that interrupts if set to false.
-
AssertionException poll() blocking call can only be called on the thread of the Service
Hello
When we do the getCache, we get the above error. Need suggestions how to solve this problem.
The requirement:
We have a feature that happens in the coherence, which should do a search on a map. This map is stored in another cache.
When we try to access this card, we get the above error.
The easiest way to resolve this would be to set up a poll thread for your service (put a positive thread count in your operational config or - Dtangosol.coherence.distributed.threads = N) this way that your initial request will be processed within the pool rather than on the thread dedicated services. Even in this case the reentrantly using consistency model is sure that if you access a cache belongs to another service and that you do not create a dependency of service cycles, i.e. A service shouts to service B, which calls to the C service which calls for A service. These cycles of any risk of deadlock, but if you avoid the cycle and use a pool of threads then you should be good.
Otherwise if you can ensure that the other elements of the cache you want to access may reside in the same partition that the main entrance, then you can avoid the communication in the service, and the network important expensive hops and access just the partition co-located entered directly. If for example you are in an EntryProcessor, you can mount the InvocableMap.Entry to a BinaryEntry and then call BinaryEntry.getContext () .getManager ().getBackingMapContext("otherCacheName").getBackignMapEntry (binOtherKey). This approach later is much higher but you will need to ensure that you will only interact with the items in the same partition, i.e. associate things related by using the KeyAssociation interface.
Thank you
Mark
The Oracle coherence
-
Why almost all javafx methods must be called from the thread of the application?
I have a pretty big 3D scene that is refreshed every few seconds.
It takes a while to update the scene, and I wanted to do it in a background thread.
Problem is that almost every approach I take requires the application-fx thread.
Now, I understand that change the UI itself must be called in the application thread, so I tried a different approach:
Create a new group, add all the nodes (which takes the greatest amount of time) and update the component root of the view with the new group.
I assumed that only the last party required the application thread, but alas this was not the case.
group.getChildren () .add also requires that the thread of the application. Why?
node.setLayoutX () also requires that the thread of the application. Why?
It is a new set of nodes that are not visible and groups yet, so why can't do this in a background thread?
The reasons of principle (I think) that JavaFX is mainly a single toolbox threaded are described in:
https://weblogs.Java.net/blog/2004/10/19/multithreaded-toolkits-failed-dream
That said, if you manipulate objects that are not part of an active scene, then it should work. The dream that failed has what to do with the components who participate actively in the molten, interactive GUI. If you're interacting with only the components out of the screen, then it (should be) without issue.
Please, create and post an example minimum, executable that replicates the question.
(Please ensure that the example is minimal and executable).
In addition, what is the cause as your application "takes some time to update the scene? Computers are today quite incredibly fast. Of course, there are valid reasons for some things take time, I wonder what these are in your case. What is the time? If your executable example can include something reasonably representative of what you're done which shows something that will take "some time", would be great.
What you have described so far, I feel that, even if there is no problems with threads, your proposed approach would not fix your performance problem.
-
By the price di creativo su per user (not per aziende) viene Emese manufacture singolo cloud by fiscalmente ITALIA P.IVA valida
Hello
Purchase order, you will be asked to enter your VAT number, if you provide the VAT ID it will be printed on the invoice.
Update this thread if you have any other questions.
^ Ani
-
Hi all
Had a doubt while implementing threads, so I thought to do it erased before that I make progress. I have a method from where the new thread is called, and in the next line, I return statement.
Method() {}
Thread call ();
return the declaration;
}
What happens here? I want to say is that the parent process ends before the child process?
Thank you
Simiuser11138361 wrote:
I have exactly the same meaningint foo() {}
Runnable r = new MyRunnable();
Thread t = new Thread (r);
t.Start ();
Return 1;
}My question was if the child process runs then how will end the process (Px) parent?
There is no child process. You create a thread, not a process.
This point aside, I do not understand your question. The current thread and the new thread are totally independent of each other. Why wait we can't finish while the other is still ongoing?
Note also that the parent thread is NOT the same as this method foo(). The thread doesn't necessarily stop when the foo() method only. It can, however, and I don't know why you would think otherwise.
EDIT: My guess is that what you're really confused about is, ' how can end when foo() method one of its 'no' (in other words, the new thread) is running? The answer is that all its steps are made, even if the other thread is still ongoing.
stage of foo () of appeal t.start () is finished. This does not mean that the new thread has finished, however. The start() method says: "create a new, + independent + execution thread and turn it on." As soon as he does that, start() is done, and now the new thread is allowed to run (or run) regardless of the current thread.
Imagine that I have a list of chores: taking out the trash. Washing dishes; Show empty. This list is the foo() method. You are a new Thread object. After I wash the dishes, I tell you ' go to the store and buy some apples, milk, eggs, chicken and bread. " Let you do your work, and as soon as I told what to do, I continue with my duties. We do our work independently from each other, and I can't finish the chore on my list without waiting for you to come back on the store.
Edited by: jverd March 21, 2011 11:27
-
Hello
I'm still getting updates beta of MAC OS x in the App Store even if I reconnect my mac from the public beta program. The option to receive these updates beta is no longer available in my preferences system, as shown here:
https://www.igeeksblog.com/stop-OS-x-beta-software-update-notifications-in-Mac-a pp-store.
Any suggestions?
Thank you
Restart your Mac, then see if these updates appear again.
-
If you ask the question and then choose a solution, the thread will be closed or still can you ask more details?
(sometimes, someone answers my question, and I want to mark it as the solution and am not yet quite ready for the thread be closed...)If you still experience this issue, you can return to this thread.
But, you must clear the flag solved . -
I'm not able to get the email to sort properly... not on the threads.
No matter what I do the emails do not sort by date received, without rhyme or reason troubled crazy!
So are you sure that's not on the threads?
Go to View-sort by and tell me what are the 3 elements have markers next to them. -
I'm using Firefox on a Windows 7 computer. Firefox does not open after the last update. I read the help articles and it seems that I need to create a new profile because my settings were probably corrupted. I'm unable to open the profile technical, even when you use the directory in cmd line path. I tried the following commands in the command line:
Firefox Pei
"C:\Program Files (x 86) \Mozilla" PEINothing happens with every order.
I am also running Norton Internet Security. I read a help of virtual navigation features Re article that can cause a problem. The article says to check the setting of virtualization in the internet security software and to clear the virtual cache. I went through all the menus of settings in Norton Internet Security version 21.6.0.32 and I don't see anything that looked like in "virtualization" settings, so I guess that does not apply to me. "
If you have any ideas, I had appreaciate that your expertise!
Hello arcandl, at the launch of the firefox is not after you double-click the shortcut, it is sometimes also a sign of active malware on a system.
you might want to try running a scan with some various other security like the free version of malwarebytes and adwcleaner tools that are specialized to remove the adware and browser hijackers.
Maybe you are looking for
-
RAM or an external hard drive?
Who would be the best option to upgrade early 2008 iMac 20 "2.4 Ghz with 3 GB of RAM installed already, more RAM or an external hard drive? Or do I have to do both? (20 inch, early 2008) iMac 2.4 GHz Intel Core 2 Duo 3 GB 800 MHz DDR2 SDRAM OS X
-
I installed a NAS storage device on my network. My network consists of two gen Airport extreme 5 and 6, connected via a feeder TL-Link adapter. I have a number of very big ipload files to the NAS to my years lthat iMac (2010 model) isn't compatible
-
PCI-8335 does not work in several PCs
The card I used in a Dell 670 has failed in other Dell platforms, with other computers not starting not completely. It appeared as if the PCB pulled down the supply voltage of bus, for lack of a better explanation. Now, the original Dell 670 boot n
-
the deployment of windows xp in mdt 2010.
I have installed and configured the waik and mdt 2010 server 2008 R2. She now asked wim files to capture boot image. But in XP it is not allowing me to do this. Kindly help me on this.
-
I have 2 modules WISN and plan to implement redundancy. I also have a bunch of AP (1200 series). I read documents on WISN and these are the points that I'm out of these documents, and I would like to confirm: -It seems that WISN supports only LWAPP,