DevPinoy.org

A Filipino Developers Community
Welcome to DevPinoy.org Sign in | Join | Help
in Search

αρχάριος

greek, noun, pron. "archarios" - beginner, learner, neophyte, novice

April 2008 - Posts

  • Following Keith Rull on twitter

    Follow the master's steps... @ http://twitter.com/keithrull

    Cool stuff!

    Posted Apr 17 2008, 06:01 PM by marl with 3 comment(s)
    Filed under:
  • POSITIVE PROOF OF GLOBAL WARMING!

     Here's a good one from http://logicalcomplexinfinitive.wordpress.com/

    POSITIVE PROOF OF GLOBAL WARMING:

    This is such a solid proof of Global Warming. Undeniably True!  

  • Internet Explorer 8

    IE close to being Firefox? Is IE8 ready to go head on with firefox? My initial use of the IE8 Beta version shows a lot of improvement. The first thing I've noticed about it is the smooth text on the sites. But there are some problems with some textbox controls. For example, the title textbox of this post's editor is enlarged from one-line to 20-30 line textbox (wordpress editor only). Despite these minor issues, it looks like this time I am switching back from Firefox to IE.

    One of the best features of IE8 is the integrated Debugger tool. This is an easy way to debug test applications if you are a web developer. This will eliminate lots of the guessing games in the development process of web projects.

    And do you love the Restore Session feature in firefox? Yes, you guessed it right! IE8 has it!

    Installation of IE8 to Windows XP SP3 went smoothly. No problem this time. Learn more...

    [Cross-posted from my other blog http://dbalink.wordpress.com]

  • The Log Switch & Duplexing The Redo Log Group In Oracle 10g

    [updated] 

    A log switch is a common event in Oracle databaseS. Well, simply put, a Log Switch is an event in which the log writer (LGWR process) stops logging in one log group and jumps to another log group. It is normal that a log group fills up with records. When records fills up the log group, Log Switch event is triggered. You can actually trigger the switch manually by issuing the command:

    ALTER SYSTEM SWITCH LOGFILE;

    Log Switch also holds a critical role in case of redo log file corruption. If a redo log file is corrupted within the log group, LGWR will still continue writing to the other member files in that group without disrupting the database operations.

    When the database is created, it comes with three redo log groups with one file in each group. It is a good practice to add at least one file to these groups. This is what we call "Duplexing" the Redo Log Group. 

    Like our previous Oracle HowTo's, lets name our database "MARLONDB":

    We connect to the database:

    SQL> conn SYS/Password@MARLONDB AS SYSDBA;

    Let's see what we currently have:

    SQL> SELECT GROUP#, STATUS, ARCHIVED, MEMBERS FROM V$LOG;

        GROUP# STATUS           ARC    MEMBERS
    ---------- ---------------- --- ----------
             1 INACTIVE         YES          1
             2 INACTIVE         YES          2
             3 CURRENT          NO           1

    For Best Practice purposes, let us store the log files in a separate disk.

    SQL> ALTER DATABASE ADD LOGFILE MEMBER 'D:\oracle\product\10.2.0\oradata\MARLONDB\redo01a.log' to GROUP 1;

    Database altered.

    SQL> ALTER DATABASE ADD LOGFILE MEMBER 'D:\oracle\product\10.2.0\oradata\MARLONDB\redo02a.log' to GROUP 2;

    Database altered.

    SQL> ALTER DATABASE ADD LOGFILE MEMBER 'D:\oracle\product\10.2.0\oradata\MARLONDB\redo03a.log' to GROUP 3;

    Database altered.

    Now, we check again:

    SQL> SELECT GROUP#, STATUS, ARCHIVED, MEMBERS FROM V$LOG;

        GROUP# STATUS           ARC    MEMBERS
    ---------- ---------------- --- ----------
             1 INACTIVE         YES          2
             2 INACTIVE         YES          3
             3 CURRENT          NO           2

    Update: This link will show you how to “calculate both the number of log switches per day and the average per month for the last couple of months”:

     

    http://www.oracle.com/technology/oramag/code/tips2006/032006.html

     

    -Marlon Ribunal [Also posted in my other blogs: http://dbalink.wordpress.com & http://mytechnotes.spaces.live.com

  • Gearing up for LINQ: LINQ Resources

    Looking for cool startup LINQ projects? Zain teaches you the fundamentals. Follow the link below. What makes this post cooler is that he attached a zip files of all his demos for you to download.  

    http://blogs.msdn.com/zainnab/archive/2008/03/29/collection-of-linq-resources.aspx

     

     

    [Also posted on my other blog]

Powered by Community Server (Commercial Edition), by Telligent Systems