Best way to resise redo logfiles?!!

Hi,
I have Oracle 10g installed on AIX 5.2, and when I was checking average timing of logs switches; I found that a log switch is happening every 179 min.; which, as per Oracle, is too long interval for a log switch to occur (it should be between 20-30 min.). Size of the redo logs is not big, it is just 10MB, but amount of transactions on the database are very small.
I want your advice on what is the best size for the redo logs in my case. In addition, what is the best way to resize them without interrupting database or users?
Regards,

Hi,
but it is not the recommendation by OracleThat's right, but that's right too it's already a small size 10M. If you switch every 180min, that's because the activity is very small, so if you lose your db, the data loss will be very small.
It's the good balance to find, not always easy.
Nicolas.

Similar Messages

  • Best way to move redo log from one disk group to another in ASM?

    Hi All,
    Our db is 10.2.0.3 RAC db. And database servers are window 2003 server.
    We need to move more than 50 redo logs (some are regular and some are standby) which are not redundant from one disk group to another. Say we need to move from disk group 1 to 2. Here are the options we are thinking about but not sure which one is the best from easiness and safety prospective.
    Thank you very much for your help in advance.
    Shirley
    Option 1:
    1)     shutdown immediate
    2)     copy log files from disk group 1 to disk group2 using RMAN (need to research on this)
    3)     startup mount
    4)     alter database rename file ….
    5)     Open database open
    6)     delete the redo files from disk group 1 in ASM (how?)
    Option 2:
    1)     create a set of redo log groups in disk group 2
    2)     drop the redo log groups in disk group 1 when they are inactive and have been archived
    3)     delete the redo files associated with those dropped groups from disk group 1 (how?) (According to Oracle menu: when you drop the redo log group the operating system files are not deleted and you need to manually delete those files)
    Option 3:
    1)     create a set of redo members in disk group 2 for each redo log group in disk group 1
    2)     drop the redo log memebers in disk group 1
    3)     delete the redo files from disk group 1 associated with the dropped members

    Absolutely not, they are not even remotely similar concepts.
    OMF: Oracle Managed Files. It is an RDMBS feature, no matter what your storage technology is, Oracle will take care of file naming and location, you only have to define the size of a file, and in the case of a tablespace on an OMF DB Configuration you only need to issue a command similar to this:
    CREATE TABLESPACE <TSName>; So the OMF environment creates an autoextensible datafile at the predefined location with 100M by default as its initial size.
    On ASM it should only be required to specify '+DGroupName' as the datafile or redo log file argument so it can be fully managed by ASM.
    EMC. http://www.emc.com No further commens on it.
    ~ Madrid
    http://hrivera99.blogspot.com

  • Got new macbook pro. What is the best way to transfer my itunes from my old pc to my new mac? I want to be able to plug my iphones and ipad in to new mac and have redo anything

    Got new macbook pro. What is the best way to transfer my itunes from my old pc to my new mac? I want to be able to plug my iphones and ipad in to new mac and have redo anything

    See Here... This should transfer everything...
    Move iTunes Library from PC to MAC
    http://www.macworld.com/article/146958/2010/03/move_itunes_windows_mac.html

  • What's the best way to set up my TC?

    Hey guys... I'm pretty new to Mac/Bootcamp/TimeCapsule and all these great stuffs... I've bought a macbook pro, a 3TB time capsule, apple tv and a WD 3TB Storage External Hard Drive.
    I also bought Parallels... Now let me explain you what I'm looking for and what I've done until now (sorry about my English):
    I installed Windows 7 via Bootcamp... It's working great... Now I'm studying all the ways I can set up my timecapsule, I first need to think about it for doing things on the right way and don't need to go back and set up everything again. That's why I need some help from experts.
    I NEED to run windows on my mac because I'm architect and I use all Autodesk programs, specially Revit Architecture, and it works only on Windows.
    All my stuff is on my 3TB WD External Hard Drive (including personal photos, videos, music and work files).
    I partitioned my HD (my macbook has 1 TB) this way: 600 GB for Macintosh and about 300 GB for Windows. I intended to do this: All my files related to my work (architectural work, Autodesk files, libraries etc), I would copy to my Windows partition, and I would install all Autodesk programs, including other programs like CorelDraw and Photoshop, there...
    All my other files (personal videos, music, photos) I would copy to Macintosh HD Partition... That would be a good way to work.
    BUT I know is possible to set up TimeCapsule as a file server.... So, it would be a good idea to save my "autodesk"/work files in TimeCapsule and working directly from there? Or it would slow down my workflow? It would depend of my Internet connection or it would read my files using an internal connecting? (without affecting speed when reading files).
    It would be nice to storage my work files in TimeCapsule because I would not fill space from my Macbook HD... But it would be a problem when I eventually need to make a trip or visit a client and take my macbook to access files from there, right? It would not be easy simply "copy one or two files" to my macbook because there's libraries, file links, references from libraries storaged on "windows program files" etc...
    As you can see I'm very worried and lost about the best way to proceed.... I also wrote a lot, sorry. Let me simplify things again:
    1) I have my files from work in Windows Partition, and my personal files in Macintosh partition
    2) I need to access my work files (Windows) eventually when I take my macbook in a trip, but I can't copy those files to it, they need to stay in a static path (they depend of other files, references, settings, external libraries etc)
    3) I want to setup my TimeCapsule to do automatic backups of all my files (both stored on Windows and Mac partitions. Is it possible in windows? Or TC just do that in files in iOS X?)
    4) I also have the option to install Parallels, but I don't know if it would be a nice choice (I'm worried to lose speed when I work in large projects on 3D programs).
    Please, can someone help me out?

    BUT I know is possible to set up TimeCapsule as a file server...
    What is possible is not necessarily easy or best.
    In fact the TC is not a file server.. and was never designed for that. It is primarily a backup for Time Machine.
    So, it would be a good idea to save my "autodesk"/work files in TimeCapsule and working directly from there?
    No, that would be a very poor way to work. Keeping and using live files on the TC.. especially if you use wireless to access them would be very bad. Less bad but still slow over ethernet.
    You can backup completed projects to the TC but certainly don't use it for live work files.. they should always be on the local hard disk.
    It would be nice to storage my work files in TimeCapsule because I would not fill space from my Macbook HD... But it would be a problem when I eventually need to make a trip or visit a client and take my macbook to access files from there, right?
    You might be better to redo the setup of the computer..
    Partition the space with much more available for windows.. put more of your personal files, onto a USB drive you plug into the computer.
    All my other files (personal videos, music, photos) I would copy to Macintosh HD Partition... That would be a good way to work.
    You seem to have a conflict between using it for work purposes and personal use.. In fact almost I would say you need two laptops.. but perhaps that is not acceptable.
    You cannot build a computer to be everything to everyone. If you have competition for use.. IMHO the part that makes you money is more important than the personal interest. And info like videos and music can live happily on a 2.5" 1TB USB3 drive you use for that.
    The TC cannot backup windows.. The Mac OS cannot really backup windows.. in fact you should exclude windows file from the backup for a number of reasons.. mostly it is too big and is pretty much useless when you rebuild a machine. You need to backup windows from within windows.. use a suitable Windows backup software.. Genie TIme Line pro is popular here because it is vaguely like Time Machine.
    Time Machine of course backs up your Mac partition and you can include the external USB drive in the backup as long as it is correctly formatted HFS+.
    You have lots to learn.. feel free to ask questions.. but take it a bit at a time. Hard to read slabs of text.

  • What is the best way to implement default values stored in a DB table?

    [JHeadstart 10.1.3 build 78]
    [JDeveloper 10.1.3 SU4]
    We are struggling on how to best implement default values that are stored in a DB table. What we have is a database table with (CODE_TYPE, TABLE_NAME, COLUMN_NAME, DEFAULT_VALUE) as columns. This way the application administrator can administer default values himself/herself. Now we need to find the best way to set these table supplied default values in new rows. Globally we are aware of two ways:
    - override create() method on VO
    - probably create a View Object on top of the database table with default values (we are capable of transposing the table and return exactly one row with a column for each default value) and use JHeadstarts item property 'Default Value'.
    We prefer the latter, since this is more declarative, however we struggle with the EL expression needed to indicate the default value.
    If we have a VO named "DefaultValues" with a SELECT on a view on top of our database table (transposed) returning exactly one row, let us say:
    SELECT orglanguage, orgtype, orgstatus [...]
    FROM v_default_values
    --> returning exactly one row
    and we want an EL expression on an item that needs the value from orglanguage. What will the EL expression be? Something like:
    #{data.DefaultValuesPageDef.currentrow.orglanguage.inputValue}? We tried several things but they do not work. A static default value works, but every EL expression so far does not. We know that using "data" can be dangerous, but thought JHeadstart takes care of preparing the other Page Definitions, so it might be possible when you use JHeadstart.
    Or is overriding the create() method the preferred way? Or do we have to look at a Managed Bean for our default values that we refer to from EL (let us say MyAppDefaultValuesBean) and in that case: how do you associate a Managed Bean with a VO?
    Any help would be appreciated. Apart from these default values, things are going rather well in this first J2EE/JHS project for us!
    Toine

    Steven,
    Thanks for the reply. Unfortunately whatever we try, we cannot get it to work. We started looking at the second option (since we do need default values also in table lay-out new rows). We created a DefaultValues ViewObject, added it to the Application Module, added an EL expressiona to the Default Display Value property (replacing your ending ")" with a "}" offcourse ;-)), ran the JAG so that a page definition was generated for DefaultValues and we managed to get it prepared when loading for example the Organisation's jspx page. However no default value appears in a new row (not in Form, not in Table layout).
    I then created a quick application on top of the HR schema, added a DefaultValues ViewObject using one calculated attribute (set Salary fixed to 1000), added the EL expression to the Salary Default Display Value property in the Employees Group, made sure the DefaultValuesPageDef is prepared by adding it to the parameter section and I see it getting prepared. I also see a managed Bean is created in the Employees-bean.xml.
    In the Embedded OC4J log we see:
    16:01:01 DEBUG (JhsPageLifecycle) -executing onCreate
    16:01:01 DEBUG (JhsPageLifecycle) -CreateEmployeesDefaultValues bean found, applying default values to new row
    2006-08-02 16:01:01.825 WARNING [ADFc] Warning: No Method onCreateEmployees and no actionBinding CreateEmployees found.
    Is it this warning we should be worried about? Since no default value is created.
    The managed bean (Employees-beans.xml) looks like:
    <?xml version="1.0" encoding="windows-1252"?>
    <!DOCTYPE faces-config PUBLIC
    "-//Sun Microsystems, Inc.//DTD JavaServer Faces Config 1.1//EN"
    "http://java.sun.com/dtd/web-facesconfig_1_1.dtd">
    <faces-config xmlns="http://java.sun.com/JSF/Configuration">
    <managed-bean>
    <managed-bean-name>CreateEmployeesDefaultValues</managed-bean-name>
    <managed-bean-class>oracle.jheadstart.controller.jsf.bean.DefaultValuesBean</managed-bean-class>
    <managed-bean-scope>request</managed-bean-scope>
    <managed-property>
    <property-name>iteratorBinding</property-name>
    <value>#{bindings.EmployeesIterator}</value>
    </managed-property>
    <managed-property>
    <property-name>defaultValues</property-name>
    <map-entries>
    <map-entry>
    <key>Salary</key>
    <value>#{data.DefaultValuesPageDef.DefaultValuesIterator.currentRow.Salary}</value>
    </map-entry>
    </map-entries>
    </managed-property>
    <managed-property>
    <property-name>actionResult</property-name>
    <value>CreateEmployees</value>
    </managed-property>
    </managed-bean>
    <managed-bean>
    <managed-bean-name>searchEmployees</managed-bean-name>
    <managed-bean-class>oracle.jheadstart.controller.jsf.bean.JhsSearchBean</managed-bean-class>
    <managed-bean-scope>session</managed-bean-scope>
    <managed-property>
    <property-name>bindings</property-name>
    <value>#{data.EmployeesPageDef}</value>
    </managed-property>
    <managed-property>
    <property-name>searchBinding</property-name>
    <value>#{data.EmployeesPageDef.advancedSearchEmployees}</value>
    </managed-property>
    <managed-property>
    <property-name>searchAttribute</property-name>
    <value>EmployeeId</value>
    </managed-property>
    <managed-property>
    <property-name>dataCollection</property-name>
    <value>EmployeesView1</value>
    </managed-property>
    <managed-property>
    <property-name>autoquery</property-name>
    <value>true</value>
    </managed-property>
    </managed-bean>
    <managed-bean>
    <managed-bean-name>EmployeesCollectionModel</managed-bean-name>
    <managed-bean-class>oracle.jheadstart.controller.jsf.bean.JhsCollectionModel</managed-bean-class>
    <managed-bean-scope>request</managed-bean-scope>
    <managed-property>
    <property-name>jhsPageLifecycle</property-name>
    <value>#{jhsPageLifecycle}</value>
    </managed-property>
    <managed-property>
    <property-name>bindings</property-name>
    <value>#{bindings}</value>
    </managed-property>
    <managed-property>
    <property-name>rangeBinding</property-name>
    <value>#{bindings.EmployeesTable}</value>
    </managed-property>
    <managed-property>
    <property-name>defaultValues</property-name>
    <value>#{CreateEmployeesDefaultValues.defaultValues}</value>
    </managed-property>
    </managed-bean>
    </faces-config>
    This is the DefaultValues.xml:
    <?xml version='1.0' encoding='windows-1252' ?>
    <!DOCTYPE ViewObject SYSTEM "jbo_03_01.dtd">
    <ViewObject
    Name="DefaultValues"
    BindingStyle="OracleName"
    CustomQuery="true"
    ComponentClass="hr.model.DefaultValuesImpl"
    UseGlueCode="false" >
    <DesignTime>
    <Attr Name="_version" Value="10.1.3.36.73" />
    <Attr Name="_codeGenFlag2" Value="Access|Coll|VarAccess" />
    </DesignTime>
    <ViewAttribute
    Name="Salary"
    IsUpdateable="false"
    IsPersistent="false"
    Precision="255"
    Type="java.lang.String"
    ColumnType="VARCHAR2"
    AliasName="SALARY"
    Expression="1000"
    SQLType="VARCHAR" >
    </ViewAttribute>
    </ViewObject>
    The PageDef for Defaultvalues is like:
    <?xml version="1.0" encoding="UTF-8" ?>
    <pageDefinition xmlns="http://xmlns.oracle.com/adfm/uimodel"
    version="10.1.3.36.73" id="DefaultValuesPageDef"
    Package="hr.view.pagedefs" EnableTokenValidation="false">
    <parameters/>
    <executables>
    <iterator id="DefaultValuesIterator"
    Binds="AppModuleDataControl.DefaultValues1"
    DataControl="AppModuleDataControl" RangeSize="10"/>
    </executables>
    <bindings>
    <attributeValues id="DefaultValuesSalary"
    IterBinding="DefaultValuesIterator">
    <AttrNames>
    <Item Value="Salary"/>
    </AttrNames>
    </attributeValues>
    <table id="DefaultValuesTable" IterBinding="DefaultValuesIterator">
    <AttrNames>
    <Item Value="Salary"/>
    </AttrNames>
    </table>
    <action id="FirstDefaultValues" IterBinding="DefaultValuesIterator"
    DataControl="AppModuleDataControl" RequiresUpdateModel="true"
    Action="12"/>
    <action id="PreviousDefaultValues" IterBinding="DefaultValuesIterator"
    DataControl="AppModuleDataControl" RequiresUpdateModel="true"
    Action="11"/>
    <action id="NextDefaultValues" IterBinding="DefaultValuesIterator"
    DataControl="AppModuleDataControl" RequiresUpdateModel="true"
    Action="10"/>
    <action id="LastDefaultValues" IterBinding="DefaultValuesIterator"
    DataControl="AppModuleDataControl" RequiresUpdateModel="true"
    Action="13"/>
    <methodAction RequiresUpdateModel="true" Action="999"
    id="advancedSearchDefaultValues"
    IterBinding="DefaultValuesIterator"
    DataControl="AppModuleDataControl"
    InstanceName="AppModuleDataControl.dataProvider"
    MethodName="advancedSearch"
    ReturnName="AppModuleDataControl.methodResults.AppModuleDataControl_dataProvider_advancedSearch_result"
    IsViewObjectMethod="false">
    <NamedData NDName="viewObjectUsage"
    NDValue="#{searchDefaultValues.dataCollection}"
    NDType="java.lang.String"/>
    <NamedData NDName="arguments" NDValue="#{searchDefaultValues.arguments}"
    NDType="java.util.ArrayList"/>
    <NamedData NDName="allConditionsMet"
    NDValue="#{searchDefaultValues.allConditionsMet}"
    NDType="java.lang.Boolean"/>
    </methodAction>
    <action id="setCurrentRowWithKeyDefaultValues"
    IterBinding="DefaultValuesIterator"
    InstanceName="AppModuleDataControl.DefaultValues1"
    DataControl="AppModuleDataControl" RequiresUpdateModel="false"
    Action="96">
    <NamedData NDName="rowKeyStr" NDValue="#{row.rowKeyStr}"
    NDType="java.lang.String"/>
    </action>
    <action id="CreateDefaultValues" IterBinding="DefaultValuesIterator"
    DataControl="AppModuleDataControl" RequiresUpdateModel="true"
    Action="40"/>
    <action id="DeleteDefaultValues" IterBinding="DefaultValuesIterator"
    DataControl="AppModuleDataControl" RequiresUpdateModel="false"
    Action="30"/>
    <action id="Commit" RequiresUpdateModel="true" Action="100"
    DataControl="AppModuleDataControl"/>
    <action id="Rollback" RequiresUpdateModel="false" Action="101"
    DataControl="AppModuleDataControl"/>
    </bindings>
    </pageDefinition>
    We do not understand what is wrong and why the default values do not get created in the new rows (and it is taking us far too much time). Any chance the EL expression is still wrong? It is a shame that any syntax errors in EL expressions are not visible in some logfile. It looks like when EL expressions are wrong, they are ignored instead of raising an error...
    Toine

  • Whats the best way to get a copy of a clients DB onto an internal test DB?

    Hi there
    We have a client who hosts an Oracle 9i DB in house and we need to get a copy of this DB onto our own servers for testing purposes. What is the best way to go about doing this?
    I was reading about the data pump for exporting and importing [http://www.exforsys.com/tutorials/oracle-10g/oracle-10g-using-data-pump-export.html]
    Would this meet my requirements and how easy is it to do? Also what type of export would I need to do (there a 5+ schemas using different tablespaces)
    Sorry if this is all a bit vague, but i am not a DBA and have been tasked with doing this :(
    Thanks in advance,
    Toby
    edit: sorry i meant a 9i DB
    Edited by: redeye on Nov 5, 2009 11:21 AM

    If you want to export schemas/objects from 9i db you wouldn't be able to use datapump for exporting them,although you can import the dump file that will be created using the datapump.
    Determine what schemas you need at the test(destination) database, and then export them from the source(clients db) database.
    Also make sure that on the target database server, os paths where the oracle related files will be created(redo logs,datafiles...) are the same as the ones that are on the source database.

  • Best way to collect all video and picture files for a project

    after effects has this great feature where you choose COLLECT and basically what it does is collects all your media files and puts them in a folder. What the best way to do this in FCP?

    ThatChineesYouth wrote:
    As a disclaimer; I used FCP's 'Media Manager' To duplicate my original project, to remove the excess unused clips and to preserve the right to keep specific audio files within the confines of the company. The file structure of the project, PROJECTNAME, may or has been altered as a result. Sequences might have blank spaces as a result of time remapped clips being incorrectly duplicated and media names and bin structure may be altered as 'Media Manager' caters not for the organization of the original project. These might or might not be corrected depending on how i feel at the moment of reviewing this 'duplicated' project.
    I make special exceptions for clients that do their best to stay on my good side. This disclaimer was made specifically for a project that I had to redo when the original editor was too lazy to make it "watchable". They said I only had to make some changes.... almost 2 months later, I technically did the project over from scratch.

  • Best Way to setup a disaster Recovery site for a logical standby database

    I have a logical standby DB (L1DB) as a reporting db on the same machine as the primary (P1DB). We are planning on building a disaster recovery site with similar hardware and potentially have disk mirroring of atleast the redo log files.
    The DR site can hold an additional physical standby (S1DB) for the primary (P1DB). I am trying to understand what would be the best way to setup the Disaster Recovery site for the L1DB logical stdby. Ideally, when the disaster happens, and I no longer have P1DB and L1DB, I should be able to switch to S1DB as the new primary. But how do I setup to have a L2DB that takes the place of L1DB and has its contents and can be setup as a logical standby of S1DB?

    If you already setup one logical standby, then you know how it works, so not sure what question you are asking ?
    Personally I would setup L2DB as a standby of the original primary P1DB. Having downstream standby databases complicates things, and adds additional lag between primary transaction time and L2DB apply.

  • Best way to combine HDV & DV footage into the same project

    I'm about to edit a new project that is sourced from 75% HDV footage (1440X1080) and 25% DV(720X576) footage. I'll be outputting the final result as a widescreen 16:9 DVD initially, but I also want to do a HD-BluRay later on.
    What is the best way to upscale the DV footage so that it will render at the same scale as the HDV footage? My initial attempts involved setting up a 1080i25 HDV project, and importing the HDV & DV clips into that, thinking that when I did the render it would upsize the DV clips, but it doesn't seem to do it. Would I be better off creating the DVD in reverse by downscaling the HDV footage, and creating a 16:9 DV project instead.
    Any suggestions gratefully received?

    Tks for that advice guys. Re-Sizer looks the best for my future needs, but I probably don't have time to learn it for this project.
    From the other reading I've done, if I don't use ReSizer or an equivalent, it seems that to get the best DVD quality I'd be better off creating an SD project and downscaling the HDV footage for that, rather than creating a HDV project and upscaling the SD, and then creating the DVD from that. Compression logic would tell me that upscaling the DV footage in PP and then sending it back down to SD for the DVD mastering is going to result in a lot of ****** looking original DV footage.
    Because I'm under severe time-constraints regarding the DVD, I think for this one time-only, I'll do a seperate SD project for the DVD, and then redo it as a HDV project for the Blu-Ray release in a few months.
    Sound logical?

  • Best way to move from RAC to single node database.

    Hi,
    One of my customer is having RAC setup with EBS R12. Due to some other issues, customer is looking to switch back to Standalone database. What could be the best approach for this?
    I am thinking to perform the following approach. Could any body comment on the same?
    1) create a new oracle_home on the same server.
    2) Modify the cluster_database to false.
    3) start the database from new oracle_home.
    4) Create a new listener with same port#(off course i will stop all RAC services including listener).
    Version details are :- 11gR2 on Solaris.
    EBS is :- R12.
    Is this approach sounds good or any better method.
    Thanks in-advance.
    Regards
    DBA.

    Hello DBA,
    You can follow these steps...
    a) Stop database using srvctl
    srvctl stop database -d mydb
    b) Remove the database entry from crs
    $ srvctl remove instance -d mydb -i mydb1
    $ srvctl remove instance -d mydb -i mydb2
    $ srvctl remove database -d mydb
    c) Start the database on first instance
    SQL> startup
    SQL> alter system set cluster_database=false scope=spfile;
    System altered.
    SQL> alter system set cluster_database_instances=1 scope=spfile;
    System altered.
    SQL> alter database disable thread 2;
    Database altered.
    d) Delete the unwanted thread and redo logfiles
    e) Drop the unwanted undo tablespace
    f) Create pfile from spfile
    g) Remove second instance references from the pfile and start the instance
    h) create spfile from pfile.
    Regards,
    Alex Alvarenga
    SP - Brasil

  • Best way to change 4:3 to 16:9?

    I burned an iMovie with video shot at 4:3 (plus still photos) using iDVD. Looks good on my standard def TV but terrible on my friend's 16:9. What's the best way -- the way that will produce the best-looking result -- to remake it for 16:9? Download a plugin? Or will a 16:9 iDVD theme accomplish the same thing? Will the proportions look natural even though it was shot in 4:3?
    Also, I'm assuming I'll need to re-crop the photos for 16:9 or the heads will get lopped off with either the plugin or iDVD. Is that right?
    1.67 GHz PowerBook G4   Mac OS X (10.4.6)   2G RAM, 2x300G LaCie FW, ACD-30

    Best way (for you and me) would be to import or create about 2 minutes of footage. Go though the process (noting your actions/options) Export a iDVD disk image REMBERING <a href=http://danslagle.com/mac/iMovie/video/2004.shtml](being sure to take note of title safe values). . Export that as a new iDVD image.
    If that does not work out.
    Cut and paste the old projects clips (not timeline) into a new project and export that as a new DVD project.
    For the 100th time "I really must redo this video". grrrrrr me
    http://danslagle.com/data/movies/UINonDestEditbeta1.mov
    Being you only are working with 2 minutes of footage and can burn a iDVD image in minutes. You will know exactly what you are going to get and you can try as many way as you'd like.
    Clear as mud?
    Quad - 2.5 Ghz G5   Mac OS X (10.4)   GeForce 7800 GT, 3G RAM, 250GB & 500GB internals

  • Best way to develop flash games for desktop + mobile, today

    Hi
    It has been a nice run of about 7 or 8 years now that we have developed Flash browser based games for the web exclusively. Of course with the ubiquity of mobile devices, things have changed. Clients are starting to demand, almost assume, that games will work in the browser - on the desktop and on their tablets.
    Putting aside the whole discussion of using an HTML5/JS solution instead, we're sticking with Flash for the next project and need to figure out the best way to get it to run on the desktop browser and on the iPad, while maximizing code re-use.
    Given the current state of technologies today, what is the best path? This game will be a 2D side-scroller type game, and development will be done mainly with bitmap graphics (as opposed to vector) and spritesheets :
    Option 1: Develop the game targeting the 'standard' flash player for web, then port to an iOS AIR 3.2 app, doing appropriate optimizations.
    Option 2: Use Starling/Stage3D for desktop, and then port to an iPad app. Just wondering if starling is ready for primetime making production quality games for mobile + desktop. Does Stage3D still work well enough in software mode on older machines?
    Option 3: The new feature in CS6 that lets us publish to HTML5. Is this even close to mature enough to publish a full game? The benefit of this solution is that it could run in the browser on the iPad instead of being a separate app.
    Thianks so much for any guidance.. I'm also wondering about pitfalls, and optimization techniques involved in any of these.
    -rich

    Well I don't know if I can give you 'guidance' without knowing the details of you and your project and all that, but here's my personal opinions:
    Option 1: I would go for developing for iOS and Android first and then "in-brower" over the other way around. But I would actually develop for all targets at once so that I know I am not using a solution that breaks another platform/formactor that has to be redone later. iOS has allot more guidelines and things you have to consider than the the 'browser' where there is no approval proccess. So if you can get it approved on iOS then it should be able to go to Android and the browser without so much trouble, but the other way around you could really create allot of stuff that needs to be redone -- Apple is very strict on making sure that the users are not stuck with bad UI or a bad user experience(as is defined by their user interface guidelines). I have some projects that were made for in-browser flash first, and it has been hell porting them over to iOS/Android. The whole way they interact with the user has to be rethought for mobile/small screens/touch screens. If I had made them originally with mobile in mind, then it may not have been as much of an ordeal.
    Option 2: I am not familiar with 'starling' or Stage3D, so I can't be helpful here.
    Option 3: I was under the impression that the 'publish to HTML5' feature was just for animations, not ActionScript -- Maybe someone else can answer this for sure. Even if it could do ActionScript, there still may be no way to access some of the stuff an app could (saving levels/data/whatever to the device hard-drive, etc).
    Anyhow, curious why you would want to avoid vectors? With so many screen resolutions, and the potential that they may get higher in the future (like they did with retina display on iOS), vector would make your project better suited to work on future devices without having to redo things and add higher resolution bitmaps later. If you have something that absolutely demands insane perfomance, then the bitmap/spritesheet stuff might be needed I guess... (or if it is some '8-bit retro' type of thing)

  • What's the best way to reorganize table or tablespace?

    Hi,
    I have a db of Oracle 9ir2, and it works 24*7.
    So I can't shut it down to do reorganization.
    I have known some ways to do, like exp/imp, CTAS, alter table move ...etc.
    Anybody can tell me what is the best way to do reorganization online.
    And what advantages and disvantages in that ways.
    Thanks & regards

    every approch as its pros and cons.
    For an example, exp/imp, you need to take the export, drop the schema, create schema with all required privileages and then import.
    CATS, generats a lot of redo, and then, you need to re-create their intigrity constraints and other stuff.
    alter table move.. also generates a lot of redo, apart from them, you need to rebuild indexes.
    I have the same situation in office and I do the third option, which is alter table move. I wrote my own scrit as following description.
    In first loop I move a single and then, in the inner loop, I rebuild all indexes of this table, so that other tables are accessable and then so on. I have had no problems.
    If you want this script mail me @ [email protected], I will send you the script.
    Jaffar

  • What is the best way to make video and audio the same lengths for posting on Web?

    YouTube recommends doing this to avoid sync problems. Maybe it will also make my videos run more smoothly. I'm talking here about random pauses I see in my movies on YouTube, not the uniform stuttering problem which I pretty much solved by redoing the movie at 30 fps instead of 24 fps. (Original is 18 fps Super 8 movie film.)
    Anyway, there is no sound during my titles. The soundtrack starts about 17 seconds in, and ends when the ending titles begin. So what's the best way to add silent audio? The best I can figure is to take some existing sound, put it in where the titles are, and turn the volume down to zero. Seems real workaround-ish, so to speak, to me. It seems to work. I even cranked it up on headphones to make sure there was no residual noice. But I'm curious if there's a better way? No biggie if not.
    Thanks.         

    I should have included the following:
    1.) Why can't I make a silent project in GarageBand? I have to instead find a project with a long enough song, make an "iLife preview" of it (see (2) below), copy it from the iMovie Music and Sound Effects browser to the end of the movie, and then open the audio panel and turn the volume to zero. And all this so that video websites don't get confused by a soundtrack that starts in mid-movie.
    2.) Why do I have to "render" them by the following process: Double-click a song in the iMovie Music and Sound Effects browser. You get a dialog box saying "The project "The Great Race" cannot be used because it was not prepared with an iLife preview. Would you like to open "The Great Race" in GB so you can save it with an iLife preview?" What I don't understand is why this new thing was introduced and why I have to do it via iMovie.

  • The best way to debug a deployment

    I have an application written in JDeveloper and it runs like a dream. The problem is that when I deploy it to Oracle App Server, I cant get it to run. I am using the JDeveloper deployment profile for creating my jars/wars/ears. I have build many of these in the past and they all work well. There is obviously something I am doing wrong with this one. How can I go about debugging my deployment. I've been stuck on this one for a long time and need to make some progress. Please help.
    Thanks,
    Cory

    In my personal opinion there is no "best" way, but here's what I always do:
    1. Check main settings
    2. Check main logfiles
    3. Check database
    First you have to check the main settings, like data sources, OC4J-settings and JVM-settings. A type-o in your settings could kill your deployment. Also, if you are using jms, make sure that the correct topics are registered in jms.xml If all is o.k., then proceed to step 2.
    Secondly you should check the standard out for the OC4J where you are deploying the application. This is located at $ORACLE_HOME/opmn/logs/$OC4J_NAME_default_island_1. You can also redirect the standard out by setting de -out parameter in the server settings. This should also contain some helpfull clues (like missing references to property files, typ-o's, wrong classpath, etc.)
    Finally if all this is OK and you application still isn't starting (but by then it is deployed) you should check the state of the database. It should be up and running, and containing the correct version of the application's datamodel. Removing rows from quartz tabels (if used) also helps while redeploying.
    This is roughly my starting debugging route. Does this give you any pointers?

Maybe you are looking for

  • Database fields empty after creating a new (Crystal) Report in MSY

    Hello, I have some issues to use Crystal Reports in Mobile Sales Maintenance (MSY). The situation is as follows My example is based on this standard report, which is working Report Name: BPartnerActivities Reporting Tool: Crystal Reports Category: St

  • Adobe Media Encoder - compression issues (.flv) cs6 vs earlier versions

    Hi all, I hope somebody can help. This morning I encoded from a 1080p QuickTime .mov file to a 360p .FLV file. I have previously used this work-flow with CS4 and CS5.5 and have had great results. When I attempted the same thing this morning, for the

  • Flat file load through Integrated planning

    Hi Expert, Could any one help me in finding a K9*.BIR

  • Javabeans in MVC architecture

    Hi Building a web application based on MVC architecture. I am new at this so my implementation may not be correct. My Javabeans are representations of SQL DB tables. So, e.g. I have a Customer table in my SQL database, I would have a CustomerBean to

  • How to organize video on ipad2

    Hi all, I have the following question: Is there a way to groups or organize video inside "video" application on iPad2? For example all cartoon under a "folder" and tv series under another group. Now in video I have a list of any kind of movie not cat