Advice regarding how best to collect stats on 10G RAC Production system
Friends,
I have read quite a lot of blogs and docs and need some help with the best way forward. I am a DBA new to RAC who has limited experience with busy 24@7 10g systems on the scale of my current employer.
Historically stats are gathered here as follows :-
exec dbms_stats.unlock_schema_stats('BP');
exec dbms_stats.gather_schema_stats(ownname => 'BP', cascade => true, estimate_percent => dbms_stats.auto_sample_size);
exec dbms_stats.lock_schema_stats('BP');
Then Flush shared pool ok ????
Because of previous issues with this - alll tables are currently locked and this process is recommended for every 1-2 months rather than daily.
EM Grid Control is used when performance is poor and the sql tuning advisor is run to generate recommendations from which a sql profile could be selected and enabled for the selected code.
My plan is to bring back gathering of stats every 1 to 2 months, my goal is make sure I can fix things quickly if it all goes to custard !!!!
From research it looks like sql_profile is like a hint and independent of gathering stats - it tells optimiser what hints to use when executing sql.
This thread is for advice from professional dba's in my shoes - how do you approach this so that any issues are quickly rectified ???
My thinking is to query dba_profiles and get list of profiles and statuses ... for all tables with sql profiles ..
This is so profiles can be disabled and then quickly enabled if there is a problem aftewr the tables are analyzed.
To revert all the schema stats :-
exec dbms_stats.unlock_schema_stats('BP');
exec dbms_stats.restore_schema_stats(ownname=>'BP',as_of_timestamp=>sysdate-1);
exec dbms_stats.lock_schema_stats('BP');
To revert a table's stats (this looks more finicky so not sure the way to go ...):-
Pre gather stats :-
select stats_update_time from user_tab_stats_history where table_name = ‘<EnterTabName>’;
exec dbms_stats.create_stat_table ( -‘SCOTT’, -‘stattab_new’);
exec dbms_stats.export_table_stats ( -‘SCOTT’, -‘DEPT’, -null, -‘stattab_new’, -null, -true, -‘SCOTT’);
Then later after gather stats :-
exec dbms_stats.restore_table_stats ( -‘SCOTT’, -‘DEPT’, -’21-JAN-09 11.00.00.000000 AM -05:00′);
Enable/Disable Profile
exec dbms_sqltune.alter_sql_profile('<Profile name>', 'STATUS', 'DISABLED');
exec dbms_sqltune.alter_sql_profile('<Profile name>', 'STATUS', 'ENABLED');
I will do the plan below on a test system first however load may not really identify problems until for real on the Prod system.
My plan is to :-
1 analyze all tables as per outline at start above (existing practice)
2 Disable the sql profiles that are in use on the analyzed tables
3 See what code is affected and what tables
If Profile exists for these sql statements then either apply existing profile (as disabled) or use tuning adviser to create another profile
(Advice welcome here - what do you do on big systems ????)
4 If its a catastrophe - I can restore the schema stats using (exec dbms_stats.restore_schema_stats(ownname=>'BP',as_of_timestamp=>sysdate-1);)
and then possibly re-enabling the sql_profiles that were in place before ....
I welcome any advice based on similar experiences that can help me get this right.
Many thanks,
cheers, Rob
Edited by: Diesel on Jun 27, 2012 10:51 PM
Useful Link:
http://www.oradev.com/create_statistics.jsp
## Gather schema stats
begin
dbms_stats.gather_schema_stats(ownname=>'SYSLOG');
end;
## Gather a particular table stats of a schema
begin
DBMS_STATS.gather_table_stats(ownname=>'syslog',tabname=>'logs');
end;
Regards
Asif Kabir
--mark the answer as correct/helpful
Similar Messages
-
An advice regarding how best values from a database can be displayed
Hello All,
I must thank this forum for being friendly and very helpful.I have another question here.I hope that this is the right forum for this post.
I have a MS Access database, which has a table with attributes.I am using Java 1.4.2 and Tomcat 5.0.28.
I want to display on a .jsp page the values present in the "courses" attribute of the database table.
The displayed courses should have "check boxes" associated with them, so that any of them can be checked and on submit must give the other entries associated with that checkbox(course).I hope my problem statement is clear.
It would be great if people could spend some time to read this message and guide me in the right direction.
Any help would be greatly appreciated
TIA
ASSome pseudocode to help you along:
make an html form
make an html table
put html table header row(s) in
query database: select courses from table
for each row
---make an html table row
---make an html table cell with an html form checkbox
in it
---make an html table cell with the course displayed
in it
---end table row
end for
end html table
make a submit button for the form
end form
Have the form submit to another page that looks at
which checkboxes were submitted and does a similar
query / display routine.
The exact implementation of this is quite variable
depending on whether you're using taglibs, JSTL,
beans, J2EE, and/or whatever.
Take your pick. :)
HTHThanks for the time and information as to how I could get started with this particular check box issue.
I would like to use simple jsp i am guessing at this point.
Thanks again
AS -
hi everybody,
how to use collect statement to get the total amount paid to different vendor payments
data : begin of wa occurs 0,
bukrs type bsak-bukrs,
lifnr type bsak-lifnr,
land1 type lfa1-land1,
name1 like lfa1-name1,
dmbtr like bsak-dmbtr,
count type i value 0,
tot_vend type i,
vend type i.
data :end of wa.
data : itab like table of wa.
select distinct bukrs lifnr waers from bsak into
corresponding fields of wa
where bukrs in s_bukrs
and lifnr in s_lifnr
and bschl in s_bschl.
i want the total amount paid according to vendor i am using this way but i am not getting
loop at itab into wa.
wa-dmbtr = bsak-dmbtr.
collect wa-dmbtr into itab.
modify itab from wa transporting dmbtr.
i am unalbe to get it
can anybody help me regarding this if possible with example.
thanks in advance,
regards,
venu.Hi Venu,
types: BEGIN OF ty,
NAME(20),
SALES TYPE I,
END OF ty.
data : itab type standard table of ty,
itab1 type standard table of ty,
wa type ty,
wa1 type ty.
wa-NAME = 'Duck'. wa-SALES = 10.
append wa to itab.
wa-NAME = 'Tiger'. wa-SALES = 20.
append wa to itab.
wa-NAME = 'Duck'. wa-SALES = 30.
append wa to itab.
loop at itab into wa.
wa1 = wa.
collect wa1 into itab1.
endloop.
loop at itab1 into wa1.
write : / wa1-name , wa1-sales.
endloop.
COLLECT is used to create unique or compressed datsets. The key fields are the default key fields of the internal table itab .
If you use only COLLECT to fill an internal table, COLLECT makes sure that the internal table does not contain two entries with the same default key fields.
<b>If, besides its default key fields, the internal table contains number fields (see also ABAP/4 number types ), the contents of these number fields are added together if the internal table already contains an entry with the same key fields.</b>
If the default key of an internal table processed with COLLECT is blank, all the values are added up in the first table line.
In the program you mentioned yesterday,I am not able to get the logic since many lines are commented. -
How to use collect statement for below
data : begin of itab,
n(3) type c,
n1 type n,
k(5) type c,
end of itab.
select n n1 from into itab table /zteest.
*internal table has
n n1 k
gar 100 uji
hae 90 iou
gar 90 uji
hae 87 iou
I want
gar 190
hae 177
How to use collect statement as n1 is n ..?
let me know..
Thankstry this..
DATA : BEGIN OF itab OCCURS 0,
n(3) TYPE c,
n1(3) TYPE p DECIMALS 2,
k(5) TYPE c,
END OF itab.
itab-n = 'gar'.
itab-n1 = 100.
itab-k = 'uji'.
COLLECT itab .CLEAR itab.
itab-n = 'hae'.
itab-n1 = 90.
itab-k = 'iou'.
COLLECT itab .CLEAR itab.
itab-n = 'gar'.
itab-n1 = 90.
itab-k = 'uji'.
COLLECT itab .CLEAR itab.
itab-n = 'hae'.
itab-n1 = 87.
itab-k = 'iou'.
COLLECT itab .CLEAR itab. -
How we can monitor while import request in production system?
dear friends,
will you please explain me
how we can monitor while import request in production system?
and
what are the things we have to monitor during the transport?
thanks
regards
zaheerHello Zaheer ,
I would always recommend to check that you have the latest transport tools, tp and R3trans in use in the system to avoid import errors.
Check with
tp -v
R3trans -v
if either are more than around 4 months old, I would strongly recommend to download the latest for your release from the SAP service marketplace. This avoids needlesly encountering issues that have been resolved in more recent patch lebels of these tools.
During the import, it is important to check the contents of the directories
usr/sap/trans/tmp
and
usr/sap/trans/log
that they are being continously updated which shows import is progressing.
Most important, keep checking the latest entries in the alog, uloag and slog to see which phases and trasnports are currently being imported.
If a transport fails, check these logs and the latest ones updated in usr/sap/trans/log for further details on the failure.
If there is an error please NEVER manual run any commands wihtout contacting SAP and having them analyse the issue.
When opening a message, be sure to include the latest alog, ulog and slog, along with the last few files most recently updated in usr/sap/trans/log and if possibel open an R3 connection to the import system.
Best regards,
Paul -
How to use collect statement properly
In PBID table , i will get 4 rows for a material . I will get the corresponding values of bdzei from the same table . Now i will pass this bdzei into pbhi table. then i will get some 200 rows of data. I have to sum up the field plnmg , by grouping the laeda field of pbhi. In short, i need to know the sum of pbhi-plnmg for a particular pbhi-laeda . I know a way to do it. But i want to know how to use the COLLECT statement for this purpose. My output should contain oly 1 line for 1 material ..
PBID table
Matnr BDZEI
p4471 457
1002
2309
2493
PBHI table
BDZEI LAEDA PLNMG
1002 06.08.2004 0.000
1002 06.08.2004 83.000
457 07.08.2004 12.000
457 07.08.2004 24.000
Reqd O/p
MATNR LAEDA PLNMG
p4471 06.08.2004 83
p4471 07.08.2004 36
Hope u understood my situation .please help me out ...
Thanking you in advance ..
ShankarREPORT zppr_zpipr NO STANDARD PAGE HEADING LINE-SIZE 150 LINE-COUNT 63.
TABLES: pbid,
pbhi,
makt,
mseg,
mkpf.
DATA: BEGIN OF it_pbid OCCURS 0,
matnr LIKE pbid-matnr, " Material
status TYPE c LENGTH 4, " For distinguishing materials from pbid and pbim .. will contain space for PBID and 'PBIM' for PBIM
bdzei LIKE pbid-bdzei,
laeda LIKE pbhi-laeda,
end of it_pbid.
DATA: BEGIN OF it_pbim OCCURS 0,
matnr LIKE pbid-matnr, " Material
status TYPE c LENGTH 4, " For distinguishing materials from pbid and pbim .. will contain space for PBID and 'PBIM' for PBIM
bdzei LIKE pbim-bdzei,
laeda LIKE pbhi-laeda,
end of it_pbim.
DATA: BEGIN OF it_pbid_pbim OCCURS 0,
matnr LIKE pbid-matnr, " Material
laeda LIKE pbhi-laeda, " Reduction Date
dbmng LIKE pbhi-dbmng, " Planned quantity in the data base
plnmg LIKE pbhi-plnmg, " Planned quantity
status TYPE c LENGTH 4, " For distinguishing materials from pbid and pbim .. will contain space for PBID and 'PBIM' for PBIM
mblnr LIKE mseg-mblnr, " Material Doc Number
pbfnr LIKE pbid-pbdnr, " Plan Number
maktx LIKE makt-maktx, " Matl Desc
aenam LIKE pbhi-aenam, " User Changed
erfmg LIKE mseg-erfmg, " Qty Invoiced
budat LIKE mkpf-budat, " Invoice date
bdzei LIKE pbid-bdzei, " Independent requirements pointer
werks LIKE pbid-werks, " plant
pirrednqty TYPE i, " PIR Reduction Quantity = pbih-plnmg - pbih-dbmng
diff TYPE i, " Difference
slno TYPE i, " Sl No
END OF it_pbid_pbim.
DATA: BEGIN OF it_allrows OCCURS 0.
INCLUDE STRUCTURE it_pbid_pbim.
DATA: END OF it_allrows.
*DATA: BEGIN OF it_final OCCURS 0.
INCLUDE STRUCTURE it_pbid_pbim.
*DATA: END OF it_final.
DATA: BEGIN OF line,
matnr LIKE pbid-matnr, " Material
laeda LIKE pbhi-laeda, " Reduction Date
plnmg LIKE pbhi-plnmg, " Planned quantity
maktx LIKE makt-maktx, " Matl Desc
dbmng LIKE pbhi-dbmng, " Planned quantity in the data base
mblnr LIKE mseg-mblnr, " Material Doc Number
pbfnr LIKE pbid-pbdnr, " Plan Number
aenam LIKE pbhi-aenam, " User Changed
erfmg LIKE mseg-erfmg, " Qty Invoiced
budat LIKE mkpf-budat, " Invoice date
bdzei LIKE pbid-bdzei, " Independent requirements pointer
werks LIKE pbid-werks, " plant
pirrednqty TYPE i, " PIR Reduction Quantity = pbih-plnmg - pbih-dbmng
diff TYPE i, " Difference
slno TYPE i, " Sl No
status TYPE c LENGTH 4, " For distinguishing materials from pbid and pbim .. will contain space for PBID and 'PBIM' for PBIM
END OF line.
DATA Itfinal1 LIKE STANDARD TABLE
OF LINE
WITH DEFAULT KEY.
DATA ITfinal LIKE ITfinal1.
DATA: BEGIN OF it_dates OCCURS 0,
date TYPE sy-datum,
END OF it_dates.
DATA: l_slno TYPE i.
DATA: l_zebra TYPE c.
SELECT-OPTIONS:
s_werks FOR pbid-werks obligatory.
SELECT-OPTIONS:
s_matnr FOR pbid-matnr.
SELECT-OPTIONS:
s_pbdnr FOR pbid-pbdnr.
SELECT-OPTIONS:
s_laeda FOR pbhi-laeda obligatory.
parameter:
c_print type checkbox.
SELECT matnr bdzei FROM pbid INTO (it_pbid-matnr, it_pbid-bdzei) WHERE werks IN s_werks AND matnr IN s_matnr AND pbdnr IN s_pbdnr.
it_pbid-status = 'PBID'.
APPEND it_pbid.
move-corresponding it_pbid to it_pbid_pbim.
Append it_pbid_pbim.
ENDSELECT.
SELECT matnr bdzei FROM pbim INTO (it_pbim-matnr,it_pbim-bdzei) WHERE werks IN s_werks AND matnr IN s_matnr AND pbdnr IN s_pbdnr.
APPEND it_pbim.
Append it_pbid_pbim.
ENDSELECT.
*break-point.
START-OF-SELECTION.
LOOP AT s_laeda.
it_dates-date = s_laeda-low.
APPEND it_dates.
ENDLOOP.
DATA: l_startdate LIKE sy-datum.
IF s_laeda-high EQ space.
ELSE.
l_startdate = s_laeda-low + 1.
DO.
IF l_startdate <= s_laeda-high.
it_dates-date = l_startdate.
APPEND it_dates.
ELSE.
it_dates-date = sy-datum.
EXIT.
ENDIF.
l_startdate = l_startdate + 1.
ENDDO.
ENDIF.
*break-point.
LOOP AT it_pbim.
LOOP AT it_dates.
it_pbim-laeda = it_dates-date.
it_pbim-status = 'PBIM'.
MODIFY it_pbim TRANSPORTING laeda status.
MOVE-CORRESPONDING it_pbim TO it_pbid_pbim.
APPEND it_pbid_pbim.
ENDLOOP.
ENDLOOP.
break-point.
l_zebra = 'X'.
DATA: l_toterfmg LIKE mseg-erfmg.
DATA: l_erfmg LIKE mseg-erfmg.
data: l_totpir type i.
**************************************PBID*************************************
LOOP AT it_pbid.
move-corresponding it_pbid to it_pbid_pbim.
append it_pbid_pbim.
SELECT SINGLE maktx FROM makt INTO (it_pbid_pbim-maktx) WHERE matnr = it_pbid-matnr.
MODIFY table it_pbid_pbim TRANSPORTING maktx.
SELECT aenam laeda FROM pbhi INTO (it_pbid_pbim-aenam,it_pbid_pbim-laeda) WHERE bdzei = it_pbid-bdzei AND aenam = 'Abbau-'.
MODIFY TABLE it_pbid_pbim TRANSPORTING aenam laeda. " debug here
select single sum( dbmng ) sum( plnmg ) FROM pbhi INTO (it_pbid_pbim-dbmng,it_pbid_pbim-plnmg) WHERE bdzei = it_pbid-bdzei AND aenam = 'Abbau-' and laeda = it_pbid_pbim-laeda..
MODIFY TABLE it_pbid_pbim TRANSPORTING dbmng plnmg. " debug here
endselect.
it_pbid_pbim-pirrednqty = it_pbid_pbim-dbmng - it_pbid_pbim-plnmg.
MODIFY table it_pbid_pbim TRANSPORTING pirrednqty.
IF ( it_pbid_pbim-laeda IN s_laeda AND it_pbid_pbim-aenam EQ 'Abbau-' ).
MOVE-CORRESPONDING it_pbid_pbim TO it_allrows.
append it_allrows.
ELSEIF NOT it_pbid_pbim-laeda IN s_laeda.
delete it_pbid_pbim index sy-tabix. " debug here
ENDIF.
ENDSELECT.
ENDLOOP.
**************************************PBIM*************************************
LOOP AT it_pbim.
move-corresponding it_pbim to it_pbid_pbim.
append it_pbid_pbim.
SELECT SINGLE maktx FROM makt INTO (it_pbid_pbim-maktx) WHERE matnr = it_pbim-matnr.
MODIFY table it_pbid_pbim TRANSPORTING maktx.
SELECT aenam laeda FROM pbhi INTO (it_pbid_pbim-aenam,it_pbid_pbim-laeda) WHERE bdzei = it_pbim-bdzei AND aenam = 'Abbau-'.
MODIFY TABLE it_pbid_pbim TRANSPORTING aenam laeda. " debug here
select single sum( dbmng ) sum( plnmg ) FROM pbhi INTO (it_pbid_pbim-dbmng,it_pbid_pbim-plnmg) WHERE bdzei = it_pbim-bdzei AND aenam = 'Abbau-' and laeda = it_pbid_pbim-laeda..
MODIFY TABLE it_pbid_pbim TRANSPORTING dbmng plnmg. " debug here
it_pbid_pbim-pirrednqty = it_pbid_pbim-dbmng - it_pbid_pbim-plnmg.
MODIFY table it_pbid_pbim TRANSPORTING pirrednqty.
IF ( it_pbid_pbim-laeda IN s_laeda AND it_pbid_pbim-aenam EQ 'Abbau-' ).
MOVE-CORRESPONDING it_pbid_pbim TO it_allrows.
append it_allrows.
ELSEIF NOT it_pbid_pbim-laeda IN s_laeda.
delete it_pbid_pbim index sy-tabix. " debug here
ENDIF.
ENDSELECT.
ENDLOOP.
sort it_allrows by matnr laeda status.
**********************************ALL ROWS************************
loop at it_allrows.
line-matnr = it_allrows-matnr.
line-laeda = it_allrows-laeda.
line-plnmg = it_allrows-plnmg.
line-dbmng = it_allrows-dbmng.
line-mblnr = it_allrows-mblnr.
line-pbfnr = it_allrows-pbfnr.
line-maktx = it_allrows-maktx.
line-aenam = it_allrows-aenam.
line-erfmg = it_allrows-erfmg.
line-budat = it_allrows-budat.
line-bdzei = it_allrows-bdzei.
line-werks = it_allrows-werks.
line-pirrednqty = it_allrows-pirrednqty.
line-diff = it_allrows-diff.
line-slno = it_allrows-slno.
line-status = it_allrows-status.
collect line into itfinal1.
endloop.
loop at itfinal1 into line.
collect line into itfinal.
write: / line-matnr, line-plnmg, line-dbmng,line-laeda,line-status..
endloop.
skip 4.
loop at itfinal into line.
write: / line-matnr, line-plnmg, line-dbmng,line-laeda,line-status..
endloop.
break-point. -
How to add attribute to characteristic already in production system
HI Guru's ,
How to add a attribute to characteristic which already exist in production system.
thanks in advanceHi Venkat,
We don't make any design changes in production box. Usually you make changes in Development box then transport that object with request to Quality box. You test the changed object there, if no inconsistancies found you will transport the object to Production box with same request.
In development box, if you want to add the new attribute to the characterstic, you need to delete the complete data in the characterstic.
Thanks
Sreekanth -
How to check owner for one interface in production system?
Hello All,
Please tell me the transaction were i can check owner for one interface in production system.
Client had created owner for one interface, so were can i check it.
Thanks and Regards,
ChinnaThanks for the reply,
i dont want to check the developer name in IR /ID.
in production system one interface is running and i got mail to check the generic user and role for that interface.
iam also bit confused on it
If u have any idea let me know.
Thanks and regards,
chinna -
How to create a transport for queries from production system
We have a situation where the production client has been open during cutover and a user has modified queries which were previously transported into production from our development system. We now wish to 'synchronise' our systems so production can be closed (although we will use the changeability options to allow maintenance of local queries).
Does anyone have experience of this problem? What is the best way of exporting the queries in such a way that we can import them into our development and quality systems?
As ever, any suggestions will be gratefully received.Hi,
In similar situation, we opted for manual modifications in the Dev. We made the changes in the queries as they were in Prod and then transported them from Dev to Q and then to Prod.
This is how generally it is done.
Regards,
Yogesh -
Best practice for upgrading task definition in production system
If I try and update a task definition with task instances running I get the following error:
Task definition 'My Task - Add User' may not be modified while there are active task instances
Is there a best practice to handle this. I tried to force an update through the console but that didn't work. I tried editing the task from the debug page and got the same error.The best way for upgrade purposes is to use the rename function of the TaskDefinition from the lh command line utility.
Basically renames all current task instances with the TaskDefinition name. You can then alter the existing TaskDefinition and upload into identity manager. -
One Computer, Two Accounts - How Best to Proceed with MacOS 10.8.2?
My wife and I want to share our new iMac, and I'd like some advice on how best to do this without messing things up.
We both have iOS devices to sync, and we both are using the same iTunes Store Account. However, we each have our own iCloud account. We each have our own email accounts, Hotmail accounts, and Yahoo accounts. We each have our own account for the iMac, which I assume you would need if you wanted to maintain two different sets of Mail accounts and two different Facetime "accounts," what to speak of different desktop customization options.
Things we would like to share without duplicating files include: iPhoto library (~100 GB), iTunes media files (over 300 GB), Contacts list, (maybe) Calendar, and (maybe) Safari bookmarks. We do NOT want to share e-mail, Reminders, Facetime. Ideally, I would like for her to be able to sync her devices entirely through her iMac account. However, I am not opposed to her syncing her iOS devices through my account for some things and through her account for other things, if that is not easily avoidable.
Regarding the iTunes library, I could go either way on her having separate library files with separate ratings & playlists or just sharing the same library setup that I have. However, I would want her to have access to the same metadata that I have for all music and video files, since I have lots of custom album art as well as lyrics loaded in. Do we have to use the same library file in order to have access to the same metadata, which will be updated on a regular basis? If so, then is there a way to do that via two different computer accounts, or does she pretty much have to sync with my account?
Now regarding iPhoto libraries, I wouldn't mind us sharing the same "library" as well as the files, including ratings and albums. I would like for the "faces" setup to be the same for both of us, if possible, so that she does not have to repeat the process of face tagging. I read in an older article that sharing the iPhoto library could be accomplished by sending the iPhoto library file to an external hard drive, but as that seemed to be an older approach, I thought I would ask here if that is still the ideal approach. I might want to send the iPhoto library file to an external HD anyway for space considerations. But if I do this, and we are both using the same library file for viewing photos, then does she still see the same albums, events, and tags that I have created already?
Is there a way to share contacts and calendars without having to share other things like Notes and Reminders? I suppose I could have her sync this information via my account, but I'd be greatful to learn of a better way if there is one.You can share out both the iTunes library and the iPhoto Library in their respective preferences. However, the sharing account must have both iTunes and iPhoto running. You can keep the account running with those things open in the background using Fast User Switching. Enable that in the Users & Groups system prefs and then never log out, just switch to the login screen or the other account using the Fast User switching menu.
I haven't done much actual use in either, so I don't know what the limits are (like making a playlist out of the shared tracks, syncing with iPhone/iPod, etc). For iPhoto, all the photos are available, but if you want to edit one, you have to import a copy into your own library. Another option might be to not keep the media inside the Library, but store it in the /Users/Shared folder. Then, set up your Libraries to leave the content where it is (Preferences). However, I don't think you'd get the metadata for the iTunes music. I believe that is all stored within the iTunes Library.
You can share iCloud calendars so the other person can see your calendar by right-clicking on the Calendar name. There will be an option to share the calendar, there. Also, you can do so from the iCloud web interface.
I've got nothing on sharing contacts. Not sure of a good way to do that besides maintaining two sets. You can start from the same source, but it will diverge over time as contacts are added and removed individually. -
How best to setup a Mac Pro with two hard drives for 1st hard drive or OS failure?
My first Apple, a Mac Pro, is to arrive on Monday (1/7). I will be putting Win7 on Bootcamp and installing Parrallels. It will have two 1T hard drives. I would appreciate
any advice on how best to set it up for best recovery in case of a hard drive or OS crash. You can tell I have experience with Windows. It looks like my best choices are
either disk cloning software or just installing OS X from the recovery disk on the second drive. Apple says it is legal to do another installation. I know the disk cloning will not work on the bootcamp partition which I plan to use for the Parallels program. Can OS X have an option to boot from two differnet disks and OS installs?
What I am really wanting to do in the event of a crash, is to just boot up on the other disk and keep working. I try to keep data on a separate partition with backups so
that a disk or OS crash doesn't cause any data loss.I do not use windows.
However on my Mac Pro for cloning/backups/bootable backups i use Carbon Copy Cloner.
It has an ability to clone entire disk (unless specified differently) so I can boot from another disk or restore back if I want to. -
Hi
can anyone give me some idea how to use collect statement with index
here in the below syntax i want to use collect instead of insert.
INSERT WA_ALVDISPLAY INTO IT_ALVDISPLAY index 3 .
thanks.
vivekkhi
my scenario is like this
i need an yearly report of a examination held in a school based on month,each month they need report for girls and boys separately
the output format should be like this
month:marks( boys) marks( girls )
so i have created 3 internal tables suppose itab ,itab1,itab2.
itab1-month1
itab1-boy_sub1
itab1-boy_sub2
itab2-month2
itab2-girl_sub1
itab2-girl_sub2
itab -month1
itab -boy_sub1
itab -boy_sub2
itab -girl_sub1
itab -girl_sub2
first i am looping in itab1 and using COLLECT statement i am inserting data to itab (bez in a month more than one exam can happen)
i got boys mark in itab,then i need to put girls mark on the same row based on month
based on particular index i need to insert data, moreover i need to use COLLECT statement for getting the total of particular month
thanks
vivek -
How best to handle a start button and a play-pause toggle button?
Hello,
Still new to AS3, on a project for a client. I'd appreciate advice on how best to handle the navigation for 5 movieclips set inside 5 separate frames on the main timeline. I have a play button on frame 1 to start the animation, but I'd like to include a play/pause toggle button on the other frames to finish the navigation. Everything works except the toggle button, when clicked, does toggle but does not stop the animation. I've copied the code, including the toggle button code on frame 4 below. How best to handle both a start button and a play-pause toggle button?
Thanks for any help in advance.
Frame 1:
PlayBtn_mc.buttonMode = true;
stop();
PlayBtn_mc.addEventListener(MouseEvent.CLICK,startMovie);
function startMovie(event:MouseEvent) {
gotoAndPlay(2);
Frame 2:
stop();
Frame 3:
stop();
Frame 4:
RewindBtn_mc.buttonMode = true;
RewindBtn_mc.addEventListener(MouseEvent.CLICK,rewind);
function rewind(e:MouseEvent) {
prevFrame();
FFBtn_mc.buttonMode = true;
FFBtn_mc.addEventListener(MouseEvent.CLICK,forward);
function forward(e:MouseEvent) {
nextFrame();
ToggleBtn_mc.buttonMode = true;
ToggleBtn_mc.addEventListener(MouseEvent.CLICK, doToggle);
function doToggle(myevent:MouseEvent):void {
ToggleBtn_mc.play();
Frame 5:
(Loops back to Frame 1)I can't tell you how appreciative I am of all your assistance.
Could you double-check on this, I may have stumbled upon somthing- I tweaked your last code, which toggled, but didn't seem to call the scene_test_mc into action.
But I copied below what both toggles the play/pause button and calls the mc into action. Could you verify this as reliable code and not a fluke that will break? Thank you so much! :
ToggleBtn_mc.buttonMode = true;
ToggleBtn_mc.addEventListener(MouseEvent.CLICK, doToggle);
scene_test_mc.buttonMode=true;
scene_test_mc.addEventListener(MouseEvent.CLICK, doToggle);
function doToggle(myevent:MouseEvent):void {
var mc:MovieClip=MovieClip(myevent.currentTarget);
if(mc.currentFrame==1){
mc.gotoAndStop(2);
scene_test_mc.play();
} else {
mc.gotoAndStop(1);
scene_test_mc.stop(); -
How to use oracle servcies in roacle 10g rac
hi all,
I want to know how to use SERVICES in oracle 10g rac.I know how to create servcies i.e using srvctl create servcies or DBMS_SERVICES.
I know servcies can be used with JOBS using DBMS_SCHEDULER but i wat ot know besides jobs what are all the things we can used with services.Yeah.That's right.
But in my case mwe are having a ERP applicaiton that has been build on oracle forms, so here we are having aeprate forms.Lets suppose that one form name is MEMBER.
and i have also created on servcie using
srvctl add service -d DB -s MEM -r RAC1,RAC2 -a RAC3
now my question how do i integrate this MEMBER form to services i.e MEM.
Like we can use in case oj create scheduling jobs using dbms_scheduler, we are having one prameter job_class where er have to specify the name of the parameter
but in my case how do i integrate it.
I hope you understandb my question.
Maybe you are looking for
-
Connecting to an 802.1X wired network
Does the AirPort support connecting to a 802.1X wired network?
-
How to make a login and logout in jsf 2.0 ?
Hello all, i am developing an web application have login and logout component. I want to check whenever end user try to open admin/index.xhtml, it will be redirected to login.xhtml. And when end user click on log out button, i will be destroy session
-
Is there a function to detect file names?
Hi Guys I'm using actionscript to create a custom navigator for a PDF Portfolio. Currently my navigator uses the function getFileExtension(value.filename) to detect the filetype, and then assign an appropriote icon. I'm wanting to change it so that i
-
Batch-change date (time)...
I know you can batch-change the date in iPhoto, and there's the option to add X seconds between each photo, but what I need to do is change the time by XX seconds/hours. Basically, this weekend we had two camera shooting a trip we were on. I thought
-
Verisign Class 3 Certificate Mobile Me?
I was online chatting with Mobile Me and noticed the certificate from Mobile Me was not Apple. It was a Verisign Class III cerificate but stated it was Valid however the company it stated I recognized previously as CO.... and was a "private organiza