Howto move virtual arch partitions to naive hdd
Hi,
I want to change my linux distribution to arch. To play around and for better troubleshooting I installed it into a VirtualBox guest.
Now I have this VBox virtual disk with three partitions and the question is, if I can make an image from it, using dd or so. I found the command VBoxManage convertdd, but I'm not sure if this could be helpful
The alternative could be I make this image directly in the guest system and move it to my host using the exchange folder.
next question is following: to use the installed system I need to copy the image to my physical harddrive. Logically this already contains data I don't want to loose, but I have some empty space on it.
Is it possible to copy the contents of the image (the three partitions) to this empty space on the hdd, without harming the existing partitions?
bel
woa what ur trying to do is something I would never do. two reasons.
if the filesystem blocks are NOT the same...nothing works.
I never used virtual-thingy-box but im sure the hardware virtualization would mess up ur "real" install
I never used the arch partitioner but u would run the partitioner anyway because ur gonna have to if this is ur first linux install.
Similar Messages
-
[SOLVED] Windows 8 made all my arch partition unallocated space
Hi, I've been using arch for the past 8 months without any problem. I used to have win 7 and fedora on my laptop also.I used the bootloader from fedora to boot arch. Yesterday I decided to replace win7 with win8. After playing around with it, it was time to return to my arch, so I grabbed a live cd and booted, chrooted to my fedora and reinstalled grub. Everything fine but when I rebooted and selected Arch to start I got error that the partition doesn't exist. I booted into fedora and really, gparted shows all my 3 arch partitions as unallocated space. Why only arch has been deleted, and is there a way to save it somehow? I don't know the exact size of the previous partitions. Thanks
Last edited by raxbg (2012-03-15 06:52:33)fdisk seems to find the partition table correctly, but I will not try to write it to the disk since it is now working. Im gonna buy a USB Hard drive and move everything important there first, then I will experiment Thank you for your help
-
Best way to clone arch partition
i currently have my system set up as follows:
c:\ (windows)
d:\ (programs, data, etc.)
i haven't yet decided to move over completely to arch, so i'd like to keep my windows and data partitions intact for a while, at least until i can get arch set up properly.
and i figured, rather than dual boot (and play around with the partitions, etc.), i could simply clone my arch partition and save it on d:\. whenever i need to get back on xp, i just restore my xp image, and whenever i want to set up arch, i just restore the arch image.
now, i usually use ping, but ext4 isn't supported, so i've had to try other programs. clonezilla looked good, but after i restored my arch image, grub failed to load, and i couldn't fix it at all. so, i want to ask: what do you use for image your partitions?
thanks!QuimaxW wrote:
Personally, I think the whole re-image just to get into another OS is far too time consuming...resize the partitions (one time operation), keep XP installed and dual boot. In my experience, it never seems to fail that I need Windows for something ridiculous.
My opinion aside...
GParted is what I use to resize partitions and such.
Clonezilla is the only program I have ever used in the Linux world. For my notebook, it restored GRUB fine for me. It's just a collection of other tools that you could also use, a little reading on their site should reveal what they are. I think GParted might even have a way to save/restore partition images.
in any case, i'm looking for a good imaging program, since i like to create images of my installations, in case of emergencies.
when you used clonezilla, did you restore only linux partitions? i had no trouble restoring linux partitions when the original partition was the linux one. but the operation failed when i tried to restore the linux partition after i first restored the xp partition. this suggests that restoring the xp partition wiped out something linux requires.
as for gparted, i took a look, and it is capable of copying partitions, but i don't think it can create images.
TheSaint wrote:If you just like to try out Arch, Virtualbox would satisfy your needs.
thanks. i use virtualbox all the time to test things out, including various distros. but sometimes you need to install the os to test the things you can't test in a vm, e.g., bluetooth. -
[Solved] Why I Can Move to Arch
I'm really trying to move to Arch. I'm on Debian Sid currently. I want the latest and greatest packages, and a minimal, lightweight distro. So Arch seems like a dream for what I want. But, theres a few things holding me back. One, is the mesa-git packages that aren't as recent as Xorg Edgers. I'm currently using the Xorg Edgers PPA on my Debian Sid system, to get the latest and greatest libgl packages. The mesa-git package on here is almost a month old (6/29) compared to the mesa-git release on Xorg Edgers (7/21). The most important thing to me, is the latest and greatest OpenGL packages, since I do alot of gaming. So this is holding me back right now.
Also, the AUR doesn't include the snapshot builds of evilwm, or simple terminal. I use evilwm as my window manager and simple terminal as my terminal emulator. They are both minimal, and the most lightweight window manager and terminal emulator I could find. The official and AUR repositories don't even have simple terminal. This is also holding me back. I could build simple terminal myself, but I don't know how to get the snapshot builds of evilwm without using the PPA for it. So I'm kind of in a rut right now. Any suggestions?
Last edited by shoober420 (2014-07-31 16:54:25)shoober420 wrote:
karol wrote:What makes you think there's a package in the AUR at all and why do you think st-git was built at the end of 2013?
The st-git AUR page labels the package as "st-git 1:20130907.210dda9-1". So I thought it was from 2013. It also says it was last updated on "2013-09-29 03:05".
There's no binary package in the AUR, it's just a PKGBUILD - and that PKGBUILD has been updated on 2013-09-29.
jasonwryan wrote:It's a -git package: building it will pull HEAD. Please read the wiki article on AUR and familiarise yourself with how Arch works.
Okay, I just scrimmed threw the AUR page, and I think I understand how it works. When I download a -git package, and I run pacman -Syu, or pacaur, it will go out to the git page of the package and update it accordingly? This would also mean I need the actual git package right?
No, pacman updates prebuilt packages from official and unofficial repos. Stuff from the AUR is built with makepkg.
Yes, git should be a makedependency for -git packages. -
Move Win8.1 from the stock HDD to an SSD
Move Win8.1 from the stock HDD to an SSD
I have a Lenovo K450e ... DeskTop -Model Number:10181
win 8.1... 32 GB RAM
Going to install ...
Kingston SSDNow V300 Series SV300S37A/240G 2.5" 240GB SATA III Internal Solid State Drive (SSD)
And it appears after searching/reading some other post that this May be the only way it can be done >
{ http://forums.lenovo.com/t5/Windows-8-and-8-1/Moving-Windows-8-1-from-HDD-to-SSD/m-p/1843542/highlig... }Move Win 8 to SSD
See above link for other links
"AFAIK, there's no official guide yet on how to move Win8.1 from the stock HDD to an SSD (upgrade) except by using a recovery disc or a recovery drive but for any given model, may it be a laptop or a desktop, your other choices are the following:
Option 1: ( I have Not yet decided on this )
Clone / migrate the OS from the HDD to the SSD
- this is ideal if you don't want to re-install all of the soft-wares
To do this, while booted on the stock HDD, you will need to connect the SSD to the machine (eg. using a 2.5" SATA enclosure) and use a data migration software to clone/migrate the HDD to the SSD. After the process is finished, remove the stock HDD and replace it with the SSD and all should be good.
Other guides:
- OS Migration (using Paragon Backup & Recovery Home)
- Disk Cloning (using Macrium Reflect)
Option 2: [ I will most likly to do this ]
Clean install the OS to the SSD
- this is ideal if you wanted to start fresh
To do this, you will need to:
1. Check this guide on how to obtain a Windows 8.1 ISO (see Option One) {{ Done > DL Win 8.1 burned ISO }}
2. Follow this guide to make a bootable UEFI Win8.1 installer via DVD/USB flashdrive and use it to install Windows (the installation should be able to detect the Windows 8.1 product key in the UEFI firmware that will let you activate Windows).
Is this still the BEST/Only way to move Win8.1 from the stock HDD to an SSD ??
I assume there is NO way to use OneKey Recovery or windows Recovery ( I have both on USB Flash Drives )
Thank You
Purplemtn/RickMacrium Reflect, but it has been a while since I cloned a drive.
Hoov
Microsoft MVP - Consumer Security
SpywareHammer.com -
Move Virtual Machine Storage stuck "Loading" CSVs
As I understand it the "Move Virtual Machine Storage" screen is supposed to enumerate the CSVs available to the cluster in the bottom left portion of the window. It seems to be stuck on a "Loading..." status and never shows the
CSVs. Also, when I try the "Add Share" button and type in a share to use it doesn't do anything. Thoughts?Hi,
It sounds like your operations seems lose some steps, please refer the following article for the future compare.
More information:
Appropriate steps for adding a CSV for Hyper-V?
http://social.technet.microsoft.com/Forums/windowsserver/en-US/49732873-8f86-4ea1-a738-32ffedb36eab/appropriate-steps-for-adding-a-csv-for-hyperv
Deploying Cluster Shared Volumes (CSV) in Windows Server 2008 R2 Failover Clustering
http://blogs.msdn.com/b/clustering/archive/2009/02/19/9433146.aspx
Hope this helps.
We
are trying to better understand customer views on social support experience, so your participation in this
interview project would be greatly appreciated if you have time.
Thanks for helping make community forums a great place. -
Move Virtual Machine from Hyper-V Server 2008 R2 SP1 to Hyper-V Server 2012 fails with Error 2901
I have six Hyper-V 2008 R2 SP1 servers and two Hyper-V 2012 servers. I am running SCVMM 2012 SP1. I am trying to use "move virtual machine" from within SCVMM to move VMs from a 2008 host to a 2012 host. I have tried different VMs on different hosts
and they all fail with this error:
==========
Error (2901)
The operation did not complete successfully because of a parameter or call sequence that is not valid.
The parameter is incorrect (0x80070057)
Recommended Action
Ensure that the parameters are valid, and then try the operation again.
==========
I have successfully created a VM on one of the 2012 hosts and moved it to the other 2012 hosts. I can move VMs from 2008 host to 2008 host. I just cannot move VMs from 2008 host to 2012 host.
Does SCVMM 2012 SP1 not support moving VMs from Hyper-V 2008 to Hyper-V 2012?Hello Kevin,
Have you got an resolution yet ? Do you have latest update roll up pack applied to SCVMM 2012 SP1?
With SCVMM 2012 SP1 " Running VMs (Live Migartion) and VMs which are in Saved state or having checkpoints can not be migrated from 2008R2 host to 2012 Host "
above was fixed in SCVMM 2012 Update Roll up 1
Apart this please check the approx. size of data (VHDs) which will get transferred over the network , If you have large files chances are more to get such errors.
Thanks
~NY -
Think i'm missing a partition on my hdd
think i'm missing a partition on my hdd, don't have what i did before i tried a re-install of os x lion to repair safari, can anyone help?
When i open my disc utitlity on the left hand side it only list:
Hitachi..........
mac os x .......
super driveWhy is that making you hesitate? You can't accidentally remove any of the built-in apps, that I'm aware of.
-
Lenovo G550 move partition to new HDD (including one key recovery)
Hi guys.
I have a Lenovo G550 laptop.
I am looking to change out the existing stock HDD with a new SSD drive (from what I understand from other Lenovo support services, it is SATA II compatible (see http://forums.lenovo.com/t5/Lenovo-3000-and-Essential/Lenovo-G550-HDD-SATA-I-or-SATA-II/ta-p/692351)...
Firstly. Is it possible to change the stock HDD with an SSD drive? I have a budget of about $100 AUD so it would only be a 60-120gb HDD. Would 60gb be enough (I really only need about 30gb of space on the c: drive), or would I need to look at the 120gb option.
Secondly, is there any way of migrating the entire contents of the existing HDD to the SSD HDD?
I have the ability to connect them both externally, and a spare blank 1TB HDD that I can use in the interim if needs be.
Ultimately I would like the SSD drive to have the one key boot partition and the original Windows on it. I don't mind loosing all my programs and files - I can back them up and install them in my leisure.
To complicate matters, my DVD drive isn't working (but I do have an external DVD drive I may be able to use, even possibly booting from. But not 100% sure if I can boot from it!)
And to further complicate matters, the laptop has recieved quite a bit of use, so the sticker with the product key number has been worm off. Argh!
Thank-you in advance for the assistance.
Cheers,
Dale.Spoiler (Highlight to read)
Firstly. Is it possible to change the stock HDD with an SSD drive? I have a budget of about $100 AUD so it would only be a 60-120gb HDD. Would 60gb be enough (I really only need about 30gb of space on the c: drive), or would I need to look at the 120gb option.
Yes 60GB would be enough.
Secondly, is there any way of migrating the entire contents of the existing HDD to the SSD HDD?
I have the ability to connect them both externally, and a spare blank 1TB HDD that I can use in the interim if needs be.
Just done this with a G770.
Simply back up all the HD with Acronis or something to your 1TB disk. Not sure how you would connect this. USB would be best.
Exchange the laptop HD for the SSD
Boot Acronis with the CD and Restore your backup.
Works fine.
You'll have to check the bios to see if you can boot from Ext DVD. -
Can I move around my partitions??
So heres my problem. I got Arch installed on a computer that I used some old hard drives with. one is 1.2 gb and the other is 3.2gb. Now when I installed, I thought the 1.2 would be enough for my root and I'd use the 3.2 for /home and swap. Well, after running pacman -Syu I found that I had run out of space on my root drive. what i'm wondering is if I could move my root to the other, bigger drive, and move the home to the smaller. would that be possible or would it mess things up? I'd really like to not have to reinstall it again and redo the pacman -Syu, I just finished it on dialup heh. Anyways, any help is appreciated, thanks.
Check lvm. It allows you to have transparent volumes spanning multiple drives.
Once upon a time, I had a similar problem. I did not have a lot of space anywhere and I had to reconfigure. I made an iso which was as big as I could fit, and then deleted the files which were burnt, and then made a bigger iso etc. until I had all of /home and /usr/local. Then I scrapped the partitioning and reinstalled with everything on one partition and loaded /usr/local and /home.
However the future is virtual and it will probably pay you to learn about lvm. It will save you from the question "How big should I make this partition?" -
Virtual column partitioning - explain plan takes lot of time.
I have some problem with table with partitioning based on virtual column.
Explain plan generates for some simple select 2-5 minutes,
but the same select but without part of where clausule generate in secounds.
In both query there is the same explain plan.
Could someone explain why?
Table:
CREATE TABLE "SUBSCRIPTION"
"CUSTOMER_ID" VARCHAR2(100 BYTE),
"IDENT_SOURCE_ID" VARCHAR2(20 BYTE),
"ACCOUNT_ID" VARCHAR2(100 BYTE),
"MSISDN" VARCHAR2(500 BYTE),
"IMSI" VARCHAR2(500 BYTE),
"SIM" VARCHAR2(500 BYTE),
"IMEI" VARCHAR2(500 BYTE),
"MEID" VARCHAR2(15 BYTE),
"EMAIL" VARCHAR2(100 BYTE),
"TELCOOP" VARCHAR2(1000 BYTE),
"MSISDN_TYPE" VARCHAR2(20 BYTE),
"GSM" NUMBER(1,0),
"CDMA" NUMBER(1,0),
"VALID_FROM" DATE,
"VALID_TO" DATE,
"MSISDN_HASH" NUMBER(3,0) GENERATED ALWAYS AS (MOD(TO_NUMBER(NVL2(RTRIM(TRANSLATE(NVL(SUBSTR("MSISDN",-3),NVL("MSISDN",'err')),'123456789','000000000'),'0'),'-1',NVL(SUBSTR("MSISDN",-3),"MSISDN"))),125)) VIRTUAL VISIBLE, --generali mod from 3 last digits of msisdn
) PARTITION BY LIST ( "MSISDN_HASH" )
PARTITION "PCHR" VALUES ( -1 )
PARTITION "P000" VALUES ( 0 )
PARTITION "P001" VALUES ( 1 )
... and so on till...
PARTITION "P124" VALUES (124)
PARALLEL 4;
Slow select:
select CUSTOMER_ID, IDENT_SOURCE_ID, ACCOUNT_ID, MSISDN, IMSI, SIM, IMEI, MEID, EMAIL, TELCOOP
from dbident2.subscription
where MSISDN = '600489461'
AND MSISDN_HASH = 86
AND VALID_FROM <=TO_DATE('2012-02-10 00:00:00', 'YYYY-MM-DD HH24:MI:SS')
Fast select:
select CUSTOMER_ID, IDENT_SOURCE_ID, ACCOUNT_ID, MSISDN, IMSI, SIM, IMEI, MEID, EMAIL, TELCOOP
from dbident2.subscription
where MSISDN = '600489461'
AND MSISDN_HASH = 86--Slower select trace:
Registered qb: SEL$1 0xf4ea2a20 (PARSER)
QUERY BLOCK SIGNATURE
signature (): qb_name=SEL$1 nbfros=1 flg=0
fro(0): flg=4 objn=848731 hint_alias="SUBSCRIPTION"@"SEL$1"
SPM: statement not found in SMB
SPM: statement not a candidate for auto-capture
Dynamic sampling level auto-adjusted from 6 to 6
Automatic degree of parallelism (ADOP)
Automatic degree of parallelism is disabled: Parameter.
PM: Considering predicate move-around in query block SEL$1 (#0)
Predicate Move-Around (PM)
OPTIMIZER INFORMATION
----- Current SQL Statement for this session (sql_id=afjvvjmx6tqgr) -----
explain plan for
select CUSTOMER_ID, IDENT_SOURCE_ID, ACCOUNT_ID, MSISDN, IMSI, SIM, IMEI, MEID, EMAIL, TELCOOP
from subscription
where MSISDN = '600600600' AND MSISDN_HASH = 86
AND VALID_FROM <=TO_DATE('2012-02-10 00:00:00', 'YYYY-MM-DD HH24:MI:SS')
Legend
The following abbreviations are used by optimizer trace.
CBQT - cost-based query transformation
JPPD - join predicate push-down
OJPPD - old-style (non-cost-based) JPPD
FPD - filter push-down
PM - predicate move-around
CVM - complex view merging
SPJ - select-project-join
SJC - set join conversion
SU - subquery unnesting
OBYE - order by elimination
OST - old style star transformation
ST - new (cbqt) star transformation
CNT - count(col) to count(*) transformation
JE - Join Elimination
JF - join factorization
SLP - select list pruning
DP - distinct placement
qb - query block
LB - leaf blocks
DK - distinct keys
LB/K - average number of leaf blocks per key
DB/K - average number of data blocks per key
CLUF - clustering factor
NDV - number of distinct values
Resp - response cost
Card - cardinality
Resc - resource cost
NL - nested loops (join)
SM - sort merge (join)
HA - hash (join)
CPUSPEED - CPU Speed
IOTFRSPEED - I/O transfer speed
IOSEEKTIM - I/O seek time
SREADTIM - average single block read time
MREADTIM - average multiblock read time
MBRC - average multiblock read count
MAXTHR - maximum I/O system throughput
SLAVETHR - average slave I/O throughput
dmeth - distribution method
1: no partitioning required
2: value partitioned
4: right is random (round-robin)
128: left is random (round-robin)
8: broadcast right and partition left
16: broadcast left and partition right
32: partition left using partitioning of right
64: partition right using partitioning of left
256: run the join in serial
0: invalid distribution method
sel - selectivity
ptn - partition
PARAMETERS USED BY THE OPTIMIZER
PARAMETERS WITH ALTERED VALUES
Compilation Environment Dump
pgamax_size = 1258280 KB
parallel_query_default_dop = 32
db_file_multiblock_read_count = 16
Bug Fix Control Environment
PARAMETERS IN OPT_PARAM HINT
Column Usage Monitoring is ON: tracking level = 1
Considering Query Transformations on query block SEL$1 (#0)
Query transformations (QT)
JF: Checking validity of join factorization for query block SEL$1 (#0)
JF: Bypassed: not a UNION or UNION-ALL query block.
ST: not valid since star transformation parameter is FALSE
TE: Checking validity of table expansion for query block SEL$1 (#0)
TE: Bypassed: No relevant table found.
CBQT bypassed for query block SEL$1 (#0): no complex view, sub-queries or UNION (ALL) queries.
CBQT: Validity checks failed for afjvvjmx6tqgr.
CSE: Considering common sub-expression elimination in query block SEL$1 (#0)
Common Subexpression elimination (CSE)
CSE: CSE not performed on query block SEL$1 (#0).
OBYE: Considering Order-by Elimination from view SEL$1 (#0)
Order-by elimination (OBYE)
OBYE: OBYE bypassed: no order by to eliminate.
CVM: Considering view merge in query block SEL$1 (#0)
query block SEL$1 (#0) unchanged
Considering Query Transformations on query block SEL$1 (#0)
Query transformations (QT)
JF: Checking validity of join factorization for query block SEL$1 (#0)
JF: Bypassed: not a UNION or UNION-ALL query block.
ST: not valid since star transformation parameter is FALSE
TE: Checking validity of table expansion for query block SEL$1 (#0)
TE: Bypassed: No relevant table found.
CBQT bypassed for query block SEL$1 (#0): no complex view, sub-queries or UNION (ALL) queries.
CBQT: Validity checks failed for afjvvjmx6tqgr.
CSE: Considering common sub-expression elimination in query block SEL$1 (#0)
Common Subexpression elimination (CSE)
CSE: CSE not performed on query block SEL$1 (#0).
SU: Considering subquery unnesting in query block SEL$1 (#0)
Subquery Unnest (SU)
SJC: Considering set-join conversion in query block SEL$1 (#0)
Set-Join Conversion (SJC)
SJC: not performed
PM: Considering predicate move-around in query block SEL$1 (#0)
Predicate Move-Around (PM)
PM: PM bypassed: Outer query contains no views.
PM: PM bypassed: Outer query contains no views.
query block SEL$1 (#0) unchanged
FPD: Considering simple filter push in query block SEL$1 (#0)
"SUBSCRIPTION"."MSISDN"='600600600' AND "SUBSCRIPTION"."MSISDN_HASH"=86 AND "SUBSCRIPTION"."VALID_FROM"<=TO_DATE(' 2012-02-10 00:00:00', 'syyyy-mm-dd hh24:mi:ss')
try to generate transitive predicate from check constraints for query block SEL$1 (#0)
finally: "SUBSCRIPTION"."MSISDN"='600600600' AND "SUBSCRIPTION"."MSISDN_HASH"=86 AND "SUBSCRIPTION"."VALID_FROM"<=TO_DATE(' 2012-02-10 00:00:00', 'syyyy-mm-dd hh24:mi:ss')
apadrv-start sqlid=12053738773107497463
call(in-use=8176, alloc=32712), compile(in-use=114912, alloc=116848), execution(in-use=175432, alloc=178928)
Peeked values of the binds in SQL statement
Final query after transformations:******* UNPARSED QUERY IS *******
SELECT "SUBSCRIPTION"."CUSTOMER_ID" "CUSTOMER_ID","SUBSCRIPTION"."IDENT_SOURCE_ID" "IDENT_SOURCE_ID","SUBSCRIPTION"."ACCOUNT_ID" "ACCOUNT_ID","SUBSCRIPTION"."MSISDN" "MSISDN","SUBSCRIPTION"."IMSI" "IMSI","SUBSCRIPTION"."SIM" "SIM","SUBSCRIPTION"."IMEI" "IMEI","SUBSCRIPTION"."MEID" "MEID","SUBSCRIPTION"."EMAIL" "EMAIL","SUBSCRIPTION"."TELCOOP" "TELCOOP" FROM "DBIDENT2"."SUBSCRIPTION" "SUBSCRIPTION" WHERE "SUBSCRIPTION"."MSISDN"='600600600' AND "SUBSCRIPTION"."MSISDN_HASH"=86 AND "SUBSCRIPTION"."VALID_FROM"<=TO_DATE(' 2012-02-10 00:00:00', 'syyyy-mm-dd hh24:mi:ss')
kkoqbc: optimizing query block SEL$1 (#0)
call(in-use=8320, alloc=32712), compile(in-use=115880, alloc=116848), execution(in-use=175432, alloc=178928)
kkoqbc-subheap (create addr=0x2b24ebece950)
QUERY BLOCK TEXT
select CUSTOMER_ID, IDENT_SOURCE_ID, ACCOUNT_ID, MSISDN, IMSI, SIM, IMEI, MEID, EMAIL, TELCOOP
from subscription
where MSISDN = '600600600' AND MSISDN_HASH = 86
AND VALID_FROM <=TO_DATE('2012-02-10 00:00:00', 'YYYY-MM-DD HH24:MI:SS')
QUERY BLOCK SIGNATURE
signature (optimizer): qb_name=SEL$1 nbfros=1 flg=0
fro(0): flg=0 objn=848731 hint_alias="SUBSCRIPTION"@"SEL$1"
SYSTEM STATISTICS INFORMATION
Using NOWORKLOAD Stats
CPUSPEEDNW: 714 millions instructions/sec (default is 100)
IOTFRSPEED: 4096 bytes per millisecond (default is 4096)
IOSEEKTIM: 10 milliseconds (default is 10)
MBRC: -1 blocks (default is 16)
BASE STATISTICAL INFORMATION
Table Stats::
Table: SUBSCRIPTION Alias: SUBSCRIPTION Partition [87]
#Rows: 218104 #Blks: 11008 AvgRowLen: 129.00 ChainCnt: 0.00
#Rows: 218104 #Blks: 11008 AvgRowLen: 129.00 ChainCnt: 0.00
Index Stats::
Index: SUBSCRIPTION_NDX_ACCID Col#: 3
LVLS: 3 #LB: 121036 #DK: 9767936 LB/K: 1.00 DB/K: 1.00 CLUF: 13921256.00
Index: SUBSCRIPTION_NDX_CUSID Col#: 1 2 18
LVLS: 3 #LB: 142123 #DK: 24665396 LB/K: 1.00 DB/K: 1.00 CLUF: 24842146.00
Index: SUBSCRIPTION_NDX_EMAIL Col#: 9
LVLS: 2 #LB: 8365 #DK: 1361827 LB/K: 1.00 DB/K: 1.00 CLUF: 1361798.00
Index: SUBSCRIPTION_NDX_EXT1 Col#: 19
LVLS: 2 #LB: 65756 #DK: 67792 LB/K: 1.00 DB/K: 80.00 CLUF: 5446485.00
Index: SUBSCRIPTION_NDX_IMEI Col#: 7
LVLS: 2 #LB: 44539 #DK: 9199616 LB/K: 1.00 DB/K: 1.00 CLUF: 10413439.00
Index: SUBSCRIPTION_NDX_IMSI Col#: 5
LVLS: 3 #LB: 92914 #DK: 12846080 LB/K: 1.00 DB/K: 1.00 CLUF: 23472821.00
Index: SUBSCRIPTION_NDX_MEID Col#: 8
LVLS: 1 #LB: 132 #DK: 12585 LB/K: 1.00 DB/K: 1.00 CLUF: 18419.00
Index: SUBSCRIPTION_NDX_MSISDN Col#: 4 PARTITION [87]
LVLS: 2 #LB: 1092 #DK: 74848 LB/K: 1.00 DB/K: 2.00 CLUF: 191920.00
LVLS: 2 #LB: 1092 #DK: 74848 LB/K: 1.00 DB/K: 2.00 CLUF: 191920.00
Index: SUBSCRIPTION_NDX_SIM Col#: 6
LVLS: 2 #LB: 88153 #DK: 13169664 LB/K: 1.00 DB/K: 1.00 CLUF: 24727298.00
Index: SUBSCRIPTION_NDX_SRCID Col#: 2 17
LVLS: 2 #LB: 81729 #DK: 4 LB/K: 20432.00 DB/K: 257314.00 CLUF: 1029257.00
Access path analysis for SUBSCRIPTION
SINGLE TABLE ACCESS PATH
Single Table Cardinality Estimation for SUBSCRIPTION[SUBSCRIPTION]
*** 2012-06-12 12:34:53.283
** Performing dynamic sampling initial checks. **
Column (#14):
NewDensity:0.000020, OldDensity:0.000366 BktCnt:254, PopBktCnt:22, PopValCnt:1, NDV:46252
Column (#14):
NewDensity:0.000163, OldDensity:0.000378 BktCnt:254, PopBktCnt:12, PopValCnt:1, NDV:5852
Column (#14): VALID_FROM( Part#: 87
AvgLen: 8 NDV: 5852 Nulls: 2 Density: 0.000163 Min: 2450364 Max: 2456082
Histogram: HtBal #Bkts: 254 UncompBkts: 254 EndPtVals: 244
Column (#14): VALID_FROM(
AvgLen: 8 NDV: 5852 Nulls: 2 Density: 0.000163 Min: 2450364 Max: 2456082
Histogram: HtBal #Bkts: 254 UncompBkts: 254 EndPtVals: 244
Column (#4):
NewDensity:0.000000, OldDensity:0.000000 BktCnt:254, PopBktCnt:0, PopValCnt:0, NDV:9730048
Column (#4):
NewDensity:0.000013, OldDensity:0.000033 BktCnt:254, PopBktCnt:0, PopValCnt:0, NDV:74848
Column (#4): MSISDN( Part#: 87
AvgLen: 10 NDV: 74848 Nulls: 0 Density: 0.000013
Histogram: HtBal #Bkts: 254 UncompBkts: 254 EndPtVals: 255
Column (#4): MSISDN(
AvgLen: 10 NDV: 74848 Nulls: 0 Density: 0.000013
Histogram: HtBal #Bkts: 254 UncompBkts: 254 EndPtVals: 255
** Dynamic sampling initial checks returning TRUE (level = 6).
*** 2012-06-12 12:34:53.284
** Generated dynamic sampling query:
query text :
SELECT /* OPT_DYN_SAMP */ /*+ ALL_ROWS IGNORE_WHERE_CLAUSE NO_PARALLEL(SAMPLESUB) opt_param('parallel_execution_enabled', 'false') NO_PARALLEL_INDEX(SAMPLESUB) NO_SQL_TUNE */ NVL(SUM(C1),0), NVL(SUM(C2),0) FROM (SELECT /*+ IGNORE_WHERE_CLAUSE NO_PARALLEL("SUBSCRIPTION") FULL("SUBSCRIPTION") NO_PARALLEL_INDEX("SUBSCRIPTION") */ 1 AS C1, CASE WHEN "SUBSCRIPTION"."MSISDN"='600600600' AND "SUBSCRIPTION"."VALID_FROM"<=TO_DATE(' 2012-02-10 00:00:00', 'syyyy-mm-dd hh24:mi:ss') THEN 1 ELSE 0 END AS C2 FROM "DBIDENT2"."SUBSCRIPTION" SAMPLE BLOCK (1.153706 , 1) SEED (1) "SUBSCRIPTION" WHERE "SUBSCRIPTION"."MSISDN"='600600600' AND "SUBSCRIPTION"."VALID_FROM"<=TO_DATE(' 2012-02-10 00:00:00', 'syyyy-mm-dd hh24:mi:ss')) SAMPLESUB
*** 2012-06-12 12:36:44.452
** Executed dynamic sampling query:
level : 6
sample pct. : 1.153706
total partitions : 1
partitions for sampling : 1
actual sample size : 342182
filtered sample card. : 0
orig. card. : 218104
block cnt. table stat. : 11008
block cnt. for sampling: 11008
max. sample block cnt. : 128
sample block cnt. : 127
min. sel. est. : 0.00001260
** Not using dynamic sampling for single table sel. or cardinality.
DS Failed for : ----- Current SQL Statement for this session (sql_id=afjvvjmx6tqgr) -----
explain plan for
select CUSTOMER_ID, IDENT_SOURCE_ID, ACCOUNT_ID, MSISDN, IMSI, SIM, IMEI, MEID, EMAIL, TELCOOP
from subscription
where MSISDN = '600600600' AND MSISDN_HASH = 86
AND VALID_FROM <=TO_DATE('2012-02-10 00:00:00', 'YYYY-MM-DD HH24:MI:SS')
Column (#21):
NewDensity:0.002912, OldDensity:0.000000 BktCnt:14078, PopBktCnt:14078, PopValCnt:126, NDV:126
Column (#21): MSISDN_HASH( Part#: 87
AvgLen: 3 NDV: 1 Nulls: 0 Density: 0.000002 Min: 86 Max: 86
Histogram: Freq #Bkts: 1 UncompBkts: 13365 EndPtVals: 1
Column (#21): MSISDN_HASH(
AvgLen: 3 NDV: 1 Nulls: 0 Density: 0.000002 Min: 86 Max: 86
Histogram: Freq #Bkts: 1 UncompBkts: 13365 EndPtVals: 1
Column (#1):
NewDensity:0.000000, OldDensity:0.000241 BktCnt:254, PopBktCnt:31, PopValCnt:2, NDV:9768960
Column (#1):
NewDensity:0.000009, OldDensity:0.000250 BktCnt:254, PopBktCnt:36, PopValCnt:3, NDV:99208
Column (#1): CUSTOMER_ID( Part#: 87
AvgLen: 11 NDV: 99208 Nulls: 0 Density: 0.000009
Histogram: HtBal #Bkts: 254 UncompBkts: 254 EndPtVals: 222
Column (#1): CUSTOMER_ID(
AvgLen: 11 NDV: 99208 Nulls: 0 Density: 0.000009
Histogram: HtBal #Bkts: 254 UncompBkts: 254 EndPtVals: 222
Column (#2):
NewDensity:0.000639, OldDensity:0.000000 BktCnt:14078, PopBktCnt:14078, PopValCnt:3, NDV:3
Column (#2):
NewDensity:0.000786, OldDensity:0.000002 BktCnt:13365, PopBktCnt:13365, PopValCnt:3, NDV:3
Column (#2): IDENT_SOURCE_ID( Part#: 87
AvgLen: 5 NDV: 3 Nulls: 0 Density: 0.000786
Histogram: Freq #Bkts: 3 UncompBkts: 13365 EndPtVals: 3
Column (#2): IDENT_SOURCE_ID(
AvgLen: 5 NDV: 3 Nulls: 0 Density: 0.000786
Histogram: Freq #Bkts: 3 UncompBkts: 13365 EndPtVals: 3
ColGroup (#1, Index) SUBSCRIPTION_NDX_CUSID
Col#: 1 2 18 CorStregth: -1.00
ColGroup (#2, Index) SUBSCRIPTION_NDX_SRCID
Col#: 2 17 CorStregth: -1.00
ColGroup Usage:: PredCnt: 2 Matches Full: Partial:
***** Virtual column Adjustment ******
Column name MSISDN_HASH
cost_cpu 2300.00
cost_io 179769313486231570814527423731704356798070567525844996598917476803157260780028538760589558632766878171540458953514382464234321326889464182768467546703537516986049910576551282076245490090389328944075868508455133942304583236903222948165808559332123348274797826204144723168738177180919299881250404026184124858368.00
***** End virtual column Adjustment ******
Table: SUBSCRIPTION Alias: SUBSCRIPTION
Card: Original: 218104.000000 Rounded: 3 Computed: 2.75 Non Adjusted: 2.75
Access Path: TableScan
Cost: 2420.71 Resp: 672.42 Degree: 0
Cost_io: 2409.00 Cost_cpu: 100334308
Resp_io: 669.17 Resp_cpu: 27870641
kkofmx: index filter:"SUBSCRIPTION"."MSISDN_HASH"=86
***** Virtual column Adjustment ******
Column name MSISDN_HASH
cost_cpu 2300.00
cost_io 179769313486231570814527423731704356798070567525844996598917476803157260780028538760589558632766878171540458953514382464234321326889464182768467546703537516986049910576551282076245490090389328944075868508455133942304583236903222948165808559332123348274797826204144723168738177180919299881250404026184124858368.00
***** End virtual column Adjustment ******
Access Path: index (AllEqRange)
Index: SUBSCRIPTION_NDX_MSISDN
resc_io: 6.00 resc_cpu: 36840
ix_sel: 0.000013 ix_sel_with_filters: 0.000013
***** Logdef predicate Adjustment ******
Final IO cst 0.00 , CPU cst 2300.00
***** End Logdef Adjustment ******
Cost: 6.01 Resp: 6.01 Degree: 1
Best:: AccessPath: IndexRange
Index: SUBSCRIPTION_NDX_MSISDN
Cost: 6.01 Degree: 1 Resp: 6.01 Card: 2.75 Bytes: 0
OPTIMIZER STATISTICS AND COMPUTATIONS
GENERAL PLANS
Considering cardinality-based initial join order.
Permutations for Starting Table :0
Join order[1]: SUBSCRIPTION[SUBSCRIPTION]#0
Best so far: Table#: 0 cost: 6.0051 card: 2.7487 bytes: 291
****** Recost for parallel table scan *******
Access path analysis for SUBSCRIPTION
SINGLE TABLE ACCESS PATH
Single Table Cardinality Estimation for SUBSCRIPTION[SUBSCRIPTION]
*** 2012-06-12 12:36:44.454
** Performing dynamic sampling initial checks. **
** TABLE SUBSCRIPTION Alias: SUBSCRIPTION : reused cached dynamic sampling result (failure).
ColGroup Usage:: PredCnt: 2 Matches Full: Partial:
***** Virtual column Adjustment ******
Column name MSISDN_HASH
cost_cpu 2300.00
cost_io 179769313486231570814527423731704356798070567525844996598917476803157260780028538760589558632766878171540458953514382464234321326889464182768467546703537516986049910576551282076245490090389328944075868508455133942304583236903222948165808559332123348274797826204144723168738177180919299881250404026184124858368.00
***** End virtual column Adjustment ******
Table: SUBSCRIPTION Alias: SUBSCRIPTION
Card: Original: 218104.000000 Rounded: 3 Computed: 2.75 Non Adjusted: 2.75
Access Path: TableScan
Cost: 2420.71 Resp: 672.42 Degree: 0
Cost_io: 2409.00 Cost_cpu: 100334308
Resp_io: 669.17 Resp_cpu: 27870641
Best:: AccessPath: TableScan
Cost: 672.42 Degree: 4 Resp: 672.42 Card: 2.75 Bytes: 97
Join order[1]: SUBSCRIPTION[SUBSCRIPTION]#0
Join order aborted: cost > best plan cost
(newjo-stop-1) k:0, spcnt:0, perm:1, maxperm:2000
Number of join permutations tried: 1
Enumerating distribution method (advanced)
Trying or-Expansion on query block SEL$1 (#0)
Transfer Optimizer annotations for query block SEL$1 (#0)
id=0 frofkks[i] (index start key) predicate="SUBSCRIPTION"."MSISDN"='600600600'
id=0 frofkke[i] (index stop key) predicate="SUBSCRIPTION"."MSISDN"='600600600'
id=0 frofand predicate="SUBSCRIPTION"."VALID_FROM"<=TO_DATE(' 2012-02-10 00:00:00', 'syyyy-mm-dd hh24:mi:ss')
Final cost for query block SEL$1 (#0) - All Rows Plan:
Best join order: 1
Cost: 6.0051 Degree: 1 Card: 3.0000 Bytes: 291
Resc: 6.0051 Resc_io: 6.0000 Resc_cpu: 43740
Resp: 6.0051 Resp_io: 6.0000 Resc_cpu: 43740
kkoqbc-subheap (delete addr=0x2b24ebece950, in-use=21280, alloc=32840)
kkoqbc-end:
call(in-use=252920, alloc=343912), compile(in-use=129048, alloc=133000), execution(in-use=192248, alloc=195240)
kkoqbc: finish optimizing query block SEL$1 (#0)
apadrv-end
call(in-use=252920, alloc=343912), compile(in-use=129960, alloc=133000), execution(in-use=192248, alloc=195240)
Starting SQL statement dump
user_id=115 user_name=xxx module=SQL*Plus action=
sql_id=afjvvjmx6tqgr plan_hash_value=1672204165 problem_type=3
----- Current SQL Statement for this session (sql_id=afjvvjmx6tqgr) -----
explain plan for
select CUSTOMER_ID, IDENT_SOURCE_ID, ACCOUNT_ID, MSISDN, IMSI, SIM, IMEI, MEID, EMAIL, TELCOOP
from subscription
where MSISDN = '600600600' AND MSISDN_HASH = 86
AND VALID_FROM <=TO_DATE('2012-02-10 00:00:00', 'YYYY-MM-DD HH24:MI:SS')
sql_text_length=266
sql=explain plan for
select CUSTOMER_ID, IDENT_SOURCE_ID, ACCOUNT_ID, MSISDN, IMSI, SIM, IMEI, MEID, EMAIL, TELCOOP
from subscription
where MSISDN = '600600600' AND MSISDN_HASH = 86
AND VALID_FROM <=TO_DATE('2012-02-10 00:00:00', 'YYYY-MM-DD HH2
sql=4:MI:SS')
----- Explain Plan Dump -----
----- Plan Table -----
============
Plan Table
============
-----------------------------------------------------------------------------------------------------------------------+
| Id | Operation | Name | Rows | Bytes | Cost | Time | Pstart| Pstop |
-----------------------------------------------------------------------------------------------------------------------+
| 0 | SELECT STATEMENT | | | | 6 | | | |
| 1 | PARTITION LIST SINGLE | | 3 | 291 | 6 | 00:00:01 | 88 | 88 |
| 2 | TABLE ACCESS BY LOCAL INDEX ROWID | SUBSCRIPTION | 3 | 291 | 6 | 00:00:01 | 88 | 88 |
| 3 | INDEX RANGE SCAN | SUBSCRIPTION_NDX_MSISDN| 3 | | 3 | 00:00:01 | 88 | 88 |
-----------------------------------------------------------------------------------------------------------------------+
Predicate Information:
2 - filter("VALID_FROM"<=TO_DATE(' 2012-02-10 00:00:00', 'syyyy-mm-dd hh24:mi:ss'))
3 - access("MSISDN"='600600600')
Content of other_xml column
===========================
nodeid/pflags: 1 1 db_version : 11.2.0.2
parse_schema : xxx
plan_hash : 1672204165
plan_hash_2 : 1960934971
Outline Data:
/*+
BEGIN_OUTLINE_DATA
IGNORE_OPTIM_EMBEDDED_HINTS
OPTIMIZER_FEATURES_ENABLE('11.2.0.2')
DB_VERSION('11.2.0.2')
OPT_PARAM('optimizer_dynamic_sampling' 6)
ALL_ROWS
OUTLINE_LEAF(@"SEL$1")
INDEX_RS_ASC(@"SEL$1" "SUBSCRIPTION"@"SEL$1" ("SUBSCRIPTION"."MSISDN"))
END_OUTLINE_DATA
Query Block Registry:
SEL$1 0xf4ea2a20 (PARSER) [FINAL]
call(in-use=259392, alloc=343912), compile(in-use=170344, alloc=270888), execution(in-use=344120, alloc=346656)
End of Optimizer State Dump
Dumping Hints
=============
====================== END SQL Statement Dump ======================
Edited by: user3754081 on 2012-06-12 08:07 -
Migrating existing partitions to SSD + HDD
I have a Lenovo T530 i5 that I purchased last fall with 4GB ram and a 500GB 7200rpm hard drive, with the intention of upgrading it to 16GB and an 256gb SSD when time/funds allowed. That time is now.
The machine is currently multi-boot Windows 7 Pro, Ubuntu 12.10, openSuSE 12.2 and Linux Mint 14. After a lot of initial fussing around, the latter two get used very little if at all, so I will probably be going to just a dual-boot config. The hard drive is split up with approx. 100GB for Win7, 20GB for each of the Linux distros, 15GB for the Windows recovery partition, 5GB for swap, and the remainder accessible under /srv/data in the various distros.
When I initially got this machine, the very first thing I did was use clonezilla to image the HDD and store it to a NAS. As I finished doing the various updates, partitioning, more updates, installing other distros, etc. I continued to do periodic images with clonezilla, so I have a pretty good set of backup images that I can go back to for restoration if need be. The user /home directory is backed up using duplicity (Deja Backup) under Ubuntu, also to the NAS.
What I want to end up with is the SSD as the primary drive, with the Windows system and recover partitions, and Linux partitions as necessary in the remainder, using LVM. The current HDD will be re-purposed and mounted in a caddy in the optical bay under /srv, probably formatted NTFS so its accessible under both Win7 and Linux.
I was thinking of taking another run with clonezilla and imaging the Win7 install, the Ubuntu install, and the /srv/data partition to the NAS one final time. After that... install the new SSD, restore the necessary partitions to it via clonezilla to get Win7 running again, and then re-install Ubuntu from scratch in the remaining space, and restore /home/$user from the NAS using duplicity. The major fly in the ointment here is getting the linux install back to its previous state, as far as installed programs, PPAs, etc.
What I'm after here is any suggestions as to any glaring faults with the above schema, and ideas on how to get from where I am to where I want to be when all the bits get here.
Thanks,
MonteIf you want your new Linux install to have the same settings as your current install, it can be done, but I am not an expert at it.
If you are using Ubuntu you may have Synaptic. I believe that Synaptic lets you export a list (or even a batch file to download) of all of your existing packages.
I may be naive here, but couldn't you just copy your /home directory, with all of the hidden files, and when copied back to your new install, your configuration should be the same... right? I mean, as far as default fonts, preferences, etc., not software installs. Since in Linux "everything is a file" I think if you have a plain copy of your entire partition then if you find something is not how you like it, you just find out which config file it is (e.g. an ~.emacs file can become quite customized and difficult to reproduce from scratch).
Again I'm not an expert here but maybe it helps.
-JV474 -
T530 - Move boot "SYSTEM_DRV" partition?
Hi all,
I just bought a WD Blue 1TB drive to replace the stock 320GB HDD in my T530. I have Win7 installed on a 256GB mSATA SSD. However, when I swap the drives out, BIOS recognizes both drives but the laptop doesn't boot - from the HDD or the SSD.
I suspect this is related to the mysterious "SYSTEM_DRV" partition on my 320GB HDD. I've contemplated changing the partition tables and copying this partition to a similar-sized partition on the SSD but I have a bad feeling about messing with partition editors when I'm not exactly positive what I'm doing. I have a set of recovery discs from when I first set up the computer, but AFAIK this will restore the laptop to "factory settings" i.e. a configuration that doesn't boot from the installed SSD.
I haven't really tried anything drastic because I figured I'd consult the forum before doodling with my partitions or trying a fresh install of Windows. Is there any way I can (safely) move this partition so it can boot entirely from the mSATA SSD?
-edit: it should also be noted that I tried to reimage the drive using DriveImage XML, but it doesn't recognize the "SYSTEM_DRV" partition, otherwise that would have seemed failsafe. Is there a tool I need to use that isn't "warm", like a bootable disc?
Solved!
Go to Solution.no need for gratitude. we're here to help!
T530: i7-3630QM, 4 GB DDR3-1600, NVS 5400M, 2x 500GB 7200RPM, 9-cell, HD+ 1600x900, Backlit US, WinXP Pro
L430: i3-2370M, 4 GB DDR3-1600, HD 3000, 320GB 7200RPM, 6-cell, HD 1366 x 768, Win7 Home Premium 64-bit -
How to move an itunes library to new HDD...
Hello,
My Windows 7 pc HDD crashed and I had to replace it with a new SSD. I can access the old HDD via an external drive bay to get files off it and what not, it just won't run windows as it has become corrupted. So, I was wondering if it was possible for me to copy my iTunes library from the old HDD to the new SSD drive? I have a lot of songs in there that I no longer have the CD's for and I don't want to have to spend HOURS trying to import all the others I still do have.
OR, it possible to move the songs on my iphone to the new SSD directly? The only option its giving me now is to "erase and sync" the iphone to the new iTunes installation...but if I do that it will erase ALL my current songs I have on the iphone and replace it with NOTHING, as that's all I have in my new iTunes install.
PLEASE HELP...thanks!
BrianOn Windows 7, it’ll be in \Users\username\My Music\iTunes\ of the internal drive by default. If you can't find it there, search the computer for items with an itl or itdb extension.
(111760) -
How do I move my iTunes library on external HDD to a new computer?
My iTunes library has always been on an external drive. It has moved from an eMac(10.4) to a Mac Mini(10.5) and I'm trying to move it to an iMac(10.8). How can I do this? I've set the preferences to the external HDD, but this point and play doesn't work. If I select an item via the folder and select open with iTunes, the item then appears in the iTunes listing.
Connect the external HDD to the iMac, launch iTunes while holding down the Option key. Choose the option to select library and navigate to the top level folder of the iTunes media on the external. Select it and click OK.
Maybe you are looking for
-
I can't open adobe files in firefox 4 Beta.
When I try to open an adobe file on a webpage, I get the following error message: The Adobe Acrobat/Reader that is running cannot be used to view PDF files in a web browser. This started when I installed the Firefox 4 Beta.
-
Using a Cisco Switch as the NTP Master time source for a Windows PDC
Hi all, We have a closed network (no connectivity to the internet) and we have a Core router setup as the NTP Master for the rest of the network. All network devices are getting the time synced as intended but we are having issues getting the Primary
-
Have a 4th gen shuffle, I cannot "sync" it.
Have a 4th gen shuffle, I cannot "sync" it. When I installed Itunes it never gave me the option to "sync" it or recognize my Ipod. I have spent hours on this, I have un installed, re installed, rebooted computer, changed ports, you name it and noth
-
Embed a word document into an excel document.
Hi, I'm trying to embed a word document into an excel document. It works fine until I save the excel doc, after which the ability to open the embedded document doesn't work. I'm using OSX 10.9.2 and office 11. Thanks
-
Can't run plugin with action. Please help....
Hi gang, for years I used Tiffen DFX plugin and would use it (and other plugins) in a custom action to batch process a folder of images. When I upgraded from CC to CC2014, I lost that ability with DFX. My other plugins work just fine using an action