Best way for Database Reorg.
Hi Experts
I want your advise on what is the best way for Database Re-Organizing / Database Refresh.
Regards.
Hi,
what is the best way for Database Re-Organizing?Good question!
Oracle's official way to do online table reorgs is with the dbms_redefinition utility, and here are my notes:
http://www.dba-oracle.com/t_online_table_reorganization.htm
Under the covers, it uses CTAS, which can also be done in parallel:
http://www.dba-oracle.com/t_create_table_select_ctas.htm
Of course, you can also do reorgs with Data Pump . . . .
what is the best way for Database Refresh? I use a fast clone procedure:
http://www.dba-oracle.com/oracle_tips_db_copy.htm
Hope this helps. . .
Donald K. Burleson
Oracle Press author
Author of "Oracle Tuning: The Definitive Reference":
http://www.dba-oracle.com/bp/s_oracle_tuning_book.htm
Similar Messages
-
Hi All,
Can you please suggest to choose the best ways (for best performance) in MII (12.2 on NW 7.3), to process the incoming process messages from shop floor systems to SAP ECC 6.0 and vice versa?
ThanksHi Surya,
Best practices for flow of data from ECC --> SAP MII --> Shop floor & Vice verse:
1. Send ECC data through IDOC's/RFC's as messages to SAP MII message listener and BSL transaction process data and update directly on shop floor database as if you configured in Data services or later send those data by web service to shop floor system (i.e. depends on Shop floor machines).
From Shop floor:
shop floor --> SAP MII --> ECC
1. Use either Web service or fetch data from DB and pass data to BAPI's for sending to ECC through BLS transaction.
Regards,
Praveen Reddy -
Best Way for login???
I was just wondering what everyone thought would be the best
way for a secure login with 4 different access levels. It's going
to do just how it sounds, different levels see/have different
access to different functions and components in the program. Would
an initial php login work? Would it be difficult to implement it
inside Flex?? Any input would be greatly appreciated. TIA!!!It is absolutely possible using states. What you do is assign
certain access level to the different states for example...
<mx:states>
<mx:State name="Visitor">
<mx:RemoveChild target="{myLoginHBox}"/>
<mx:AddChild relativeTo="{mainMenuHBox}"
position="lastChild">
<view:LogoutHBox/>
</mx:AddChild>
<mx:AddChild relativeTo="{mainMenuViewstack}"
position="lastChild">
<mx:Canvas label="Visitor Area" width="100%"
height="100%" id="canvas1">
</mx:Canvas>
</mx:AddChild>
</mx:State>
<mx:State name="Youth" basedOn="Visitor">
<mx:RemoveChild target="{canvas1}"/>
<mx:AddChild relativeTo="{mainMenuViewstack}"
position="lastChild">
<mx:Canvas label="Youth Area" width="100%" height="100%"
id="canvas2">
</mx:Canvas>
</mx:AddChild>
</mx:State>
<mx:State name="Member" basedOn="Youth">
<mx:RemoveChild target="{canvas2}"/>
<mx:AddChild relativeTo="{mainMenuViewstack}"
position="lastChild">
<mx:Canvas label="Member Area" width="100%" height="100%"
id="canvas3">
</mx:Canvas>
</mx:AddChild>
</mx:State>
<mx:State name="PowerMember" basedOn="Member">
<mx:RemoveChild target="{canvas3}"/>
<mx:AddChild relativeTo="{mainMenuViewstack}"
position="lastChild">
<mx:Canvas label="Power Member Area" width="100%"
height="100%" id="canvas4">
</mx:Canvas>
</mx:AddChild>
</mx:State>
<mx:State name="AssistantAdministrator"
basedOn="PowerMember">
<mx:RemoveChild target="{canvas4}"/>
<mx:AddChild relativeTo="{mainMenuViewstack}"
position="lastChild">
<mx:Canvas label="Assistant Administrator Area"
width="100%" height="100%" id="canvas5">
</mx:Canvas>
</mx:AddChild>
</mx:State>
<mx:State name="SeniorAdministrator"
basedOn="AssistantAdministrator">
<mx:RemoveChild target="{canvas5}"/>
<mx:AddChild relativeTo="{mainMenuViewstack}"
position="lastChild">
<mx:Canvas label="Senior Administrator Area" width="100%"
height="100%" id="canvas6">
</mx:Canvas>
</mx:AddChild>
</mx:State>
</mx:states>
Then you create a loginResultHandler that first checks to see
if the user is logged in. If the user is logged you then check for
their access level. Personally I used digits (in my example roles 1
through 6). The digit is what I store in my database. Once the
logged in user's role is established the state is changed
accordingly. Do some research on using states! It will absolutely
help you to do what you are looking to do. An example of the code
for the loginResultHandler is...
// loginResultHandler function
private function loginResultHandler(event:ResultEvent):void
currentUser = event.result as User;
if (currentUser.loggedIn)
// If login successful
if (currentUser.roles == "5")
this.currentState='Youth';
else if (currentUser.roles == "4")
this.currentState='Member';
else if (currentUser.roles == "3")
this.currentState='PowerMember';
else if (currentUser.roles == "2")
this.currentState='AssistantAdministrator';
else if (currentUser.roles == "1")
this.currentState='SeniorAdministrator';
else
currentUser.roles == "6";
this.currentState='Visitor';
myLoginHBox.visible=false;
else
// If login unsuccessful
Alert.show("Login unsuccessful", "Server Authentication");
I just finished setting up role based authentication using a
combination of Flex 2, ColdFusion MX 7.02 and MS SQL Server Express
2005. It took my two weeks to set up my CFC's (ColdFusion
Components) and ActionScript files properly.
My user login form is authenticated against my database. If
the user is properly logged in he can only view what he is
authorized to view. :)
John -
Best way for add thousans items to listbox without freezing ui in wpf
Hello guys.
What is the best way for add thousands items (or even more) to Listbox without freezing UI.
I search many post in the web but I don't understand how this posts writer wrote that code.
I realized that ObservableCollection can contain 1000 items or even more and show that items to listbox just for few second without freezing UI but I don't Know how can I use that!
Can you guys give me an example.
thanks.If you bind an observablecollection you can add items to that from a background thread. Then bind that to the itemssource. I usually new up an observablecollection, add the items then set the bound property to that.
But I avoid thousands of items.
You should provide some sort of filter mechanism the user chooses a category or whatever and then fill with a maximum of 300 items.
Users simply can't work with thousands of items.
It is usually reading the data out a database which takes the time rather than creating objects to bind.
Hence this:
protected async override void GetData()
ThrobberVisible = Visibility.Visible;
ObservableCollection<CustomerVM> _customers = new ObservableCollection<CustomerVM>();
var customers = await (from c in db.Customers
orderby c.CustomerName
select c).ToListAsync();
foreach (Customer cust in customers)
_customers.Add(new CustomerVM { IsNew = false, TheEntity = cust });
Customers = _customers;
RaisePropertyChanged("Customers");
ThrobberVisible = Visibility.Collapsed;
That's making an asynchronous entity framework call.
A list of customers is obtained.
These are then wrapped in a customer viewmodel each.
Finally the observablecollection Customers is set to this new collection and propertychanged raised to notify the view.
The itemssource of a datagrid is bound to Customers.
Hope that helps.
Recent Technet articles: Property List Editing;
Dynamic XAML -
Best way for building an application main frame
I'm about to program a desktop application.
The main frame will have menus, toolbar, status bar etc.
There will be a lot of interaction between the menus, toolbar buttons and other custom gui components (such as an editor).
My question is which is the best way for building it.
Cramming all the code in one class file is out of the question.
I thought about making my own custom JFrame and add API functions like for it so different GUI elements can be accessed.
Each component which will be manipulated will be in its own class file with the constructor accepting a reference to my custom JFrame object which it is contained in.
Any suggestions on the matter would be of great help since I've never done extensive Swing programming before.
P.S.
The application makes extensive use of RMI.
What considerations should I take into account (except using SwingUtilities.invokeLater()) ?Hi,
I have replied on this subject somewhere else today but what I do is have one simple entry point where I just instanciate a JFrame.
On that frame I have a main JPanel. On that panel I add new objects like JPanels, tabs etc.
I keep each new panel in a separate source as it is easier when the application grows, and it will. That also means that several programers can work with the same application without interfearing each other.
I hope you understand what I mean the the thing is to split up the code into several sources.
It may not suit everyone but I found this approach to be the best for me.
Klint -
WHat is the best way for other iphone users to share pictures with me? I am doing a project which req. people to send me 100 pictures at a time that I'll be putting in my iphoto? thank you.
ingridlisa,
I'd suggest to ask them to create Shared PhotoStreams and to invite you to view the streams, see:
iCloud: Using and troubleshooting Shared Photo Streams
Regards
Léonie
Added:
that I'll be putting in my iphoto?
Will you be collecting the photos in iPhoto on your iPhone or on a Mac? On a Mac a Shared PhotoStream requires Mac OS X 10.8.2. -
Hi, I purchased Acrobat Standard XI, but can only find the CD for windows. I have a mac (I have access to an external CD drive and I have the product keys for windows). I have never installed it anywhere else. What is the best way for me to install it?
Hi lintonm86921521,
I can understand your concern & will guide you through this.
I am so sorry to inform you that Acrobat XI Standard is not available on Mac, you can only use it on your Windows computer.
You can also refer to the system requirements at : System requirements | Acrobat family of products—older versions (XI, X, 9)
In case if you have any further query please let us know, we will be happy to help you.
Regards,
Aadesh -
I purchased iMatch because my old computer was failing and I was afraid of losing my music library. Now I bought a new laptop; what is the best way for me to transfer my library to my new laptop? Will iMatch help me do this?
Is/was failing or has failed?
If the old computer still runs one of these methods may be best.
Method 1
Backup the library with this User Tip.
Restore the backup to your new computer using the same tool used to back it up.
Deauthorize the old computer if you no longer want to access protected content on it.
Keep your backup up-to-date in future.
Method 2
Connect the two computers to the same network. Share your <User's Music> folder from the old computer and copy the entire iTunes library folder into the <User's Music> folder on the new one. Again, deauthorize the old computer if no longer required.
I'd recommend method 1 since it establishes an ongoing backup for your library.
I don't have personal experience with iTunes Match, but in principle you should be able to download all the tracks currently registered to your iTunes Match account. This isn't quite the same as restoring your previous library exactly as it was. There is always the potential for iTunes match to provide the wrong version of a song and could be content such as movies, podcasts, audiobooks etc. that would have been excluded.
tt2 -
I am looking to start developing apps for the iTunes Store, but I have no previous experience. What is the best way for me to start on this? As in which programs and materials must I need and what I need to know. Thanks!
You will need a Mac, with OS X 10.6+ on it, to be able to develop iOS apps.
There is some info on these pages :
developer site : https://developer.apple.com
developing for iOS 7 : https://developer.apple.com/ios7/
developer support : https://developer.apple.com/support/
developer forums : https://devforums.apple.com/index.jspa (you will need to be a registered developer to access them) -
Hello, what is the best way for me to convert RW2 raw format for use in Photoshop CC
Hello, what is the best way for me to convert RW2 raw format for use in Photoshop CC. I would appreciate any help with this.
Thanks for the quick help. I do have to leave for work. When I try to
download the images from the camera they seem to only be in jpeg (I don't
see any rw2 or raw files to download). If I select the jpeg file it seems
to only download a jpeg file. I do understand that I do have the option to
open the jpeg in RAW. In doing this, is all the extra information included
in the RAW file there or is it lost coming from the camera
Once again thank you for trying to make me understand how this works.
Have a great day.
On Sat, Sep 13, 2014 at 12:14 PM, ssprengel <[email protected]> -
Best way for capturing HDV
using easy setup setted to HDV1080 50i (camera is a Sony HDV HC1) captured video look like sh...
and when exported with compressor is worst!
some idea?Ok fantastic ! you are right (the frustration was talking for me)
video is shooted in 16:9 HDV 1080 50i
Captured video looks:
full of orizontal lines (that look like scan lines) expecially evident on figure edges and on motion subjects
and
like it was resized 1440x1080i from a different lower resolution
video is exported with compressor
MPEG-2 3.7Mbps 2-pass 16:9
Description: Fits up to 150 minutes of video with Dolby Digital audio at 192 Kbps or 120 minutes with AIFF audio on a DVD-5
File Extension: m2v
Video Encoder
Format: M2V
Width and Height: Automatic
Pixel aspect ratio: default
Crop: None
Frame rate: (100% of source)
Frame Controls: Automatic
Aspect ratio: 16:9
Field dominance: Auto detect
Average data rate: 3.7 (Mbps)
2 Pass VBR enabled
Maximum data rate: 7.5 (Mbps)
High quality
Best motion estimation
Closed GOP Size: 1/2 second, Structure: IBBP
DVD Studio Pro meta-data enabled
In these case the first problem is i can't obtain 16:9 format an the lines becomes more more evidents
software is Final cut Studio HD
camera is Sony HDV HC1e
hope I wrote all the info
Thx -
Could someone point me to a document for best practices for database maintenance with SharePoint 2013? I have read the 2010 document, but I'm hoping their is an updated one that I'm just missing.
My problem is that our DBA recently noticed that many of our SharePoint databases have high index fragmentation. I have the Health Analyzer rules enabled for index fragmentation and they run daily, but I've never received an alert despite the majority
of our databases having greater than 40% fragmentation and some are even above 95%.
Obviously it has our attention now and we want to get this addressed. My understanding (which I now fear is at best incomplete, more likely just plain wrong) was that a maintenance plan wasn't needed for index fragmentation in 2010/2013 like it was
in 2007.
Thanks,
TroyIt depends. Here are the rules for that job:
Sampled mode
Page count >24 and avg fragmentation in percent >5
Or
Page count >8 avg page space used in percent < fill_factor * 0.9 (Fill Factor in SharePoint 2013 varies from 80 to 100 depending on the index, it is important not to adjust index fill factors)
I have seen cases where the indexes are not automatically managed by the rule and require a manual defragmentation with a Full Scan, instead of Sampled. Once the Full Scan defrag completed, the timer job started handling the index fragmentation automatically.
Trevor Seward
Follow or contact me at...
  
This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs. -
Best way for Email Notifications in EWS Managed API 2.0 [ Exchange Server 2013]
Hi ,
I want to know best way for Email Notifications in Exchange server. My
organisation has
10 users, i want to get notification if any user mailbox got any new mail.
i need to create API,
that was consumed by another Team in their Application.
I am using Exchange server 2013.
Please share Your Ideas.
Thank youTake a look at EWS Notifications
http://msdn.microsoft.com/en-us/library/office/dn458791(v=exchg.150).aspx .
Cheers
Glen -
What is the best way for using a C++ in the EJB?
What is the best way for using C++ in the EJB ie
either 1. Socket programming
2. JNITo what purpose?
To use C++ in the client you could generate IDL from your remote interfaces and run that through your vendor's IDL-to-C++ processor. -
What is the best IDE for database programming in java?
im just new to java, i have experience in powerbuilder and visual basic. Im looking for an IDE for JAVA Database Programming that have same ease of use of the GUI builder of visual basic and power of the Datawindow in Powerbuilder.
What is the best IDE for database programming in java?hey sabre why not just help me? instead of posting
annoying replies. You want me to browse all the post
two weeks ago to find what im looking for. stoopsMost regulars to this forum find X-posting annoying. Since you are lazy and want me to search the posts of the last couple of week for you, I find you very annoying.
Maybe you are looking for
-
I have my passcode set to unlock my ipad, when i go to reset it doesn't accept it
My iPad wont accept my passcode to change my settings. It unlocks my phone but if i go to reset settings it wont accept that passcode. Is there a secondary code i might have missed? Ive tried changing the code but it didn't help. I don't have access
-
Since last friday I got a problem. When I try to open a file or even look for the specifics of a file Finder crashes and I need to restart it. When I open the files with excel or word or something everything is OK. I never had this problem before. Ca
-
Is it I/O, or is it Graphics?
So a while ago, I wrote this program in Java to solve a common task I had: resizing images that come on to my PC from my digital camera. At times there can be a bunch of them (200+) so a program was way more efficient at this then me. Anyway I recent
-
Requiring advice after an engineer visit.
OK Guys bear with me. After several weeks of disconnection and speed issues I finally bit the bullet last week and reported the fault to BT on 151. The symptoms I were getting were; random losses of sync on my home hub, making or receiving phone call
-
Hi, since no one replies to my previous thread [solved] why xml-25022 cannot load serializer class I need to ask another question here. My situation is that I used to use xsql + serializer + FOP0.20.5 to produce PDF report. My application was develop