Database Career Questionnaire

I'm doing a survey for a school research project on the database career field. It would greatly help me if someone in the field would take the time to answer the following (very basic) questions.
1. What is your name?
2. Please describe your job title and responsibilities
3. What is your educational background?
4. Does your job require a college degree or special certification?
5. How long have you been employed in this industry/position?
6. How are databases used in your field?
7. How and where is the database information stored?
8. Is there one major database provider that most companies use? (This answer is kind of a gimme)
9. Is it possible to improve upon the method of information storage?
10. Is the process used cost effective?
Thank you in advance for any help that is offered.
Thank you Stellios for your input. I'm asking these questions for a research paper and your name will only be used to site the information. This will not be published or made available anywhere outside of my classroom.

Maybe you should explain why you are asking these questions, what they will be used for and what you expect the outcome to be. Also, people may be reluctant to give their name and not sure this is the appropriate forum.

Similar Messages

  • Shrink Datafiles for database in Avalability Group

    We're running SharePoint 2010 on SQL Server 2012.   We are also using Availability Groups for all databases (Primary and Secondary replica).   I'm running low on space and would like to shrink the datafiles for one of the content
    databases.  The content database has 2 datafiles spread across 2 LUNS.  The SharePoint content database had a run away situation that caused the database to grow very large.  The situation has been corrected and the database now has about 98%
    free space.  The database will not grow much larger than it is now.  I know shrinking datafiles is generally not a good idea, but in the case I think it's appropriate.
    My question is, has anyone done this before on a database/datafiles that are in a High Availability Group?  Are there any risks?  Any recommendations?
    Thanks!

    Hi,
    SharePoint content database is different than the ordinary database . You need to test the effect in the test environment before making the changes to the product environment.
    There is a good article regarding Database Maintenance for SharePoint
    http://technet.microsoft.com/en-us/library/cc262731(v=office.14).aspx#DBMaintenanceForSPS2010_ShrinkingDataFiles
    Only perform shrink operations rarely, and only after you perform an operation that removes a lot of data from a database, and then only when you do not expect to use that free space again.
    Because shrinking causes index fragmentation, do not shrink database files regularly. Instead, shrink database files only in response to large quantities of unused space that appear as a result of operations that significantly impact the
    relative amount of used space in a database. If at all possible, avoid shrinking a database.
    However, if you must shrink a database, use the following guidelines:
    •Do not auto-shrink databases or configure a maintenance plan that programmatically shrinks your databases.
    •Shrink a database only when users or administrators remove 50% or more of the content and you do not expect to reuse the unused space.
    •Shrink only content databases. Users and administrators do not delete enough data from the configuration database, Central Administration content database, and various service application
    databases to contain significant free space.
    •Shrinking databases is an extremely resource-intensive operation. Therefore, if you absolutely must shrink a database, carefully consider when you schedule the shrink operation.
    •After you shrink a database, the indexes in that database are fragmented. Use ALTER INDEX… REORGANIZE to address the fragmentation. If you are not configured to allow instant file initialization,
    shrink the database to a target size that accommodates the size required for the near-term growth that you expect. For more information, see
    Database File Initialization.
    Thanks.
    Tracy Cai
    TechNet Community Support

  • Admin server running into issues in SOA.

    Hi All,
    Can anyone help me.
    I have recently  installed Oracle SOA suite on Linux box. While I was running the Admin Server I am running into Some issues. Though Admin Server is running fine but all that I am running out of memory because of the Logs. Can anyone help me find the issue and solve. I can do some other arrangements to save memory. IF you could help me for any issue I would be so happy. One more thing SOA suite installed on Admin server instead soa_server1 or soa_server2. I still need to SOA-infra setup onto soa_server1 or soa_server2(on different remote machines) [if this info could help also.]
    This issue is repeating every 5 secs.
    <Jul 16, 2013 5:35:21 PM EDT> <Error> <oracle.soa.mediator.common.listener> <BEA-000000> <DBLocker caught exception while retrieving locked messages. Will retry retrieval after 2 seconds
    Exception [TOPLINK-4002] (Oracle TopLink - 11g Release 1 (11.1.1.6.0) (Build 111018)): oracle.toplink.exceptions.DatabaseException
    Internal Exception: java.sql.SQLSyntaxErrorException: ORA-00904: "TENANT_ID": invalid identifier
    Error Code: 904
    Call: SELECT CASE_ID, CONTAINER_ID, DUMMY1, MSG_ID, COMPONENT_DN, OPERATION, CREATION_DATE, PRIORITY, COMPONENT_STATUS, QNAME_LOCAL_PART, CASE_INFO, QNAME_NAMESPACE, LOCK_TIME, SOURCE_URI, TENANT_ID, INSTANCE_CREATED, IS_EVENT, STATUS FROM MEDIATOR_DEFERRED_MESSAGE WHERE (((STATUS = ?) AND (LOCK_TIME = ?)) AND (CONTAINER_ID = ?))
            bind => [1, 2013-07-16 17:23:12.814, A8424220EE5D11E2BF9C6D1C72885086]
    Query: ReadAllQuery(oracle.tip.mediator.common.persistence.MediatorDeferredMessage)
            at oracle.toplink.exceptions.DatabaseException.sqlException(DatabaseException.java:305)
            at oracle.toplink.internal.databaseaccess.DatabaseAccessor.basicExecuteCall(DatabaseAccessor.java:614)
            at oracle.toplink.internal.databaseaccess.DatabaseAccessor.executeCall(DatabaseAccessor.java:468)
            at oracle.toplink.threetier.ServerSession.executeCall(ServerSession.java:447)
            at oracle.toplink.internal.sessions.IsolatedClientSession.executeCall(IsolatedClientSession.java:117)
            at oracle.toplink.internal.queryframework.DatasourceCallQueryMechanism.executeCall(DatasourceCallQueryMechanism.java:193)
            at oracle.toplink.internal.queryframework.DatasourceCallQueryMechanism.executeCall(DatasourceCallQueryMechanism.java:179)
            at oracle.toplink.internal.queryframework.DatasourceCallQueryMechanism.executeSelectCall(DatasourceCallQueryMechanism.java:250)
            at oracle.toplink.internal.queryframework.DatasourceCallQueryMechanism.selectAllRows(DatasourceCallQueryMechanism.java:583)
            at oracle.toplink.internal.queryframework.ExpressionQueryMechanism.selectAllRowsFromTable(ExpressionQueryMechanism.java:2500)
            at oracle.toplink.internal.queryframework.ExpressionQueryMechanism.selectAllRows(ExpressionQueryMechanism.java:2458)
            at oracle.toplink.queryframework.ReadAllQuery.executeObjectLevelReadQuery(ReadAllQuery.java:467)
            at oracle.toplink.queryframework.ObjectLevelReadQuery.executeDatabaseQuery(ObjectLevelReadQuery.java:874)
            at oracle.toplink.queryframework.DatabaseQuery.execute(DatabaseQuery.java:679)
            at oracle.toplink.queryframework.ObjectLevelReadQuery.execute(ObjectLevelReadQuery.java:835)
            at oracle.toplink.queryframework.ReadAllQuery.execute(ReadAllQuery.java:445)
            at oracle.toplink.internal.sessions.AbstractSession.internalExecuteQuery(AbstractSession.java:2265)
            at oracle.toplink.internal.sessions.AbstractSession.executeQuery(AbstractSession.java:1079)
            at oracle.toplink.internal.sessions.AbstractSession.executeQuery(AbstractSession.java:1063)
            at oracle.toplink.internal.sessions.AbstractSession.executeQuery(AbstractSession.java:1037)
            at oracle.toplink.internal.sessions.AbstractSession.executeQuery(AbstractSession.java:1009)
            at oracle.tip.mediator.dispatch.db.DBAccess.getMessageFromDB(DBAccess.java:800)
            at oracle.tip.mediator.dispatch.db.DBAccess.getDeferredMessages(DBAccess.java:821)
            at oracle.tip.mediator.dispatch.db.DeferredDBLocker.getLockedMessages(DeferredDBLocker.java:153)
            at oracle.tip.mediator.common.listener.DBLocker.getLockedMessages(DBLocker.java:173)
            at oracle.tip.mediator.common.listener.DBLocker.run(DBLocker.java:93)
            at oracle.integration.platform.blocks.executor.WorkManagerExecutor$1.run(WorkManagerExecutor.java:120)
            at weblogic.work.j2ee.J2EEWorkManager$WorkWithListener.run(J2EEWorkManager.java:184)
            at weblogic.work.DaemonWorkThread.run(DaemonWorkThread.java:30)
    Caused By: java.sql.SQLSyntaxErrorException: ORA-00904: "TENANT_ID": invalid identifier
            at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:462)
            at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:405)
            at oracle.jdbc.driver.T4C8Oall.processError(T4C8Oall.java:931)
            at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:481)
            at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:205)
            at oracle.jdbc.driver.T4C8Oall.doOALL(T4C8Oall.java:548)
            at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:217)
            at oracle.jdbc.driver.T4CPreparedStatement.executeForDescribe(T4CPreparedStatement.java:947)
            at oracle.jdbc.driver.OracleStatement.executeMaybeDescribe(OracleStatement.java:1283)
            at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1441)
            at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3769)
            at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:3823)
            at oracle.jdbc.driver.OraclePreparedStatementWrapper.executeQuery(OraclePreparedStatementWrapper.java:1671)
            at weblogic.jdbc.wrapper.PreparedStatement.executeQuery(PreparedStatement.java:135)
            at oracle.toplink.internal.databaseaccess.DatabaseAccessor.executeSelect(DatabaseAccessor.java:814)
            at oracle.toplink.internal.databaseaccess.DatabaseAccessor.basicExecuteCall(DatabaseAccessor.java:540)
            at oracle.toplink.internal.databaseaccess.DatabaseAccessor.executeCall(DatabaseAccessor.java:468)
            at oracle.toplink.threetier.ServerSession.executeCall(ServerSession.java:447)
            at oracle.toplink.internal.sessions.IsolatedClientSession.executeCall(IsolatedClientSession.java:117)
            at oracle.toplink.internal.queryframework.DatasourceCallQueryMechanism.executeCall(DatasourceCallQueryMechanism.java:193)
            at oracle.toplink.internal.queryframework.DatasourceCallQueryMechanism.executeCall(DatasourceCallQueryMechanism.java:179)
            at oracle.toplink.internal.queryframework.DatasourceCallQueryMechanism.executeSelectCall(DatasourceCallQueryMechanism.java:250)
            at oracle.toplink.internal.queryframework.DatasourceCallQueryMechanism.selectAllRows(DatasourceCallQueryMechanism.java:583)
            at oracle.toplink.internal.queryframework.ExpressionQueryMechanism.selectAllRowsFromTable(ExpressionQueryMechanism.java:2500)
            at oracle.toplink.internal.queryframework.ExpressionQueryMechanism.selectAllRows(ExpressionQueryMechanism.java:2458)
            at oracle.toplink.queryframework.ReadAllQuery.executeObjectLevelReadQuery(ReadAllQuery.java:467)
            at oracle.toplink.queryframework.ObjectLevelReadQuery.executeDatabaseQuery(ObjectLevelReadQuery.java:874)
            at oracle.toplink.queryframework.DatabaseQuery.execute(DatabaseQuery.java:679)
            at oracle.toplink.queryframework.ObjectLevelReadQuery.execute(ObjectLevelReadQuery.java:835)
            at oracle.toplink.queryframework.ReadAllQuery.execute(ReadAllQuery.java:445)
            at oracle.toplink.internal.sessions.AbstractSession.internalExecuteQuery(AbstractSession.java:2265)
            at oracle.toplink.internal.sessions.AbstractSession.executeQuery(AbstractSession.java:1079)
            at oracle.toplink.internal.sessions.AbstractSession.executeQuery(AbstractSession.java:1063)
            at oracle.toplink.internal.sessions.AbstractSession.executeQuery(AbstractSession.java:1037)
            at oracle.toplink.internal.sessions.AbstractSession.executeQuery(AbstractSession.java:1009)
            at oracle.tip.mediator.dispatch.db.DBAccess.getMessageFromDB(DBAccess.java:800)
            at oracle.tip.mediator.dispatch.db.DBAccess.getDeferredMessages(DBAccess.java:821)
            at oracle.tip.mediator.dispatch.db.DeferredDBLocker.getLockedMessages(DeferredDBLocker.java:153)
            at oracle.tip.mediator.common.listener.DBLocker.getLockedMessages(DBLocker.java:173)
            at oracle.tip.mediator.common.listener.DBLocker.run(DBLocker.java:93)
            at oracle.integration.platform.blocks.executor.WorkManagerExecutor$1.run(WorkManagerExecutor.java:120)
            at weblogic.work.j2ee.J2EEWorkManager$WorkWithListener.run(J2EEWorkManager.java:184)
            at weblogic.work.DaemonWorkThread.run(DaemonWorkThread.java:30)
    Thank you all.

    Hi Ravi,
    You are much appreciated for your valuable time and knowledge..
    Then delete old domain. Its corrupted. You can clean it by manually updating jdbc datasource files under config/jdbc folder. But I will NOT recommend this. Just delete this domain folder and from user_projects/appliations also delete the folder with same domain name.
    Create a brand new domain using config wizard. Select SOA or BPM whichever you want, and also Enterprise Manager. Then at database, carefully select 11.7 Schemas that you created earlier.
    Though I have not created a new domain. (still Ravi is correct)
    Issues were resolved by updating the new RCU schema with latest version of RCU 11.1.1.7.
    Here What I did is ran the rcu.bat on my local and connected to remote DB.created new schema for each components namely soa-infra,orabam,owsm,MDS. with a new prefix.
    I did not drop the previous schema for SOA.
    went to  *Domain-home*/config/jdbc/
    took the back up for all the *.xml files excluding read.xml(anyway its just an info file).
    Now edited the schema component. Someone might change their schema component password. but my suggestion is not to give any new passwords to the schema components while creating new RCU schema for SOA.
    What I did is changed the component passwords (I know how to mess up and also know how to fix if it's messed up) and ended up with errors.
    So I have now started the server with the command
    ./startWebLogic.sh -Dweblogic.configuration.schemaValidationEnabled=false
    Still I had errors coming up. But I least bothered about the errors because these errors can be solved once get to know what you are doing.
    My server started. Happy then
    Went to admin-url:port/console
    then  Home>Summary of JDBC Data Sources
    next lock & edit
    select each jdbc component and changed the password and confirm password for each
    then save each time for each  next  activate the changes.
    (as I changed all components passwords like <password-encrypted>asdl;lasdfadf=<password-encrypted/>   to <password>welcome1=<password/> in each *.xml file at *domain-home/config/jdbc*)
    I have restarted the Admin server from Command prompt. Expecting that I was doing correct.
    Succeeded. I did not believe that I have seen not even a single error.
    My sincere request that don't mess up with any *.xml file if you are not sure and make sure to take a back up
    Thank you.
    Thanks a lot.
    -Seshikanth

  • RMAN design

    Hello again,
    Just another question related to the default RMAN control file repository OR a separated RMAN recovery catalog.
    I have multiple databases running on the same hosts or on different hosts. Do you recommend setting one centralized RMAN recovery catalog on a specific host or setting up multiple RMAN recovery catalog each one sitting next the instance it is registered to ?
    Some databases are really small others are quite huge.
    Your ideas/suggestions are welcome.
    Thanks a lot !! Bye
    Edited by: 791569 on Aug 30, 2010 2:39 AM

    1. If you set up RMAN catalog then it will be easier to manage lots of database which backed up by RMAN. But if catalog database has been crashed then it will be disaster for you. So you have to maintain your RMAN catalog database carefully. If your catalog database has been destroyed you can take the RMAN backup with no catalog option.
    2. In your company if you manage more than 10 database you can use catalog otherwise no catalog options will be helpful.
    Regards
    Asif Kabir
    -- mark your helpful post as correct/helpful.
    http://forums.oracle.com/forums/ann.jspa?annID=885

  • "Rebuild Library" option leads to external editor problems

    Due to an issue with the Aperture internal tray I used the option "rebuild library". After the rebuild is completed it is not possible to open the images with an external editor or plugin anymore.
    The message says that the image could not be handled as it has an unsupported format. Sorry, I cannot post the exact message as I use the german version of Aperture.
    After getting the old Aperture library from my backup I tried it again. Before "rebuild library" everything works fine (except for the tray), after the rebuild I receive the message.

    My affected images are masters inside the library and referenced ones - that doesn't matter. Images imported after the faulty rebuild work as usual. But it is still not possible to edit the older ones - those imported before the crash and rebuild. I couldn't find a workaround until now, except exporting and reimporting every single master, adjusting everything new and edit this new one with a plugin or the external editor.
    I tried to export a project as a whole and reimport it, it dosen't change anything. If I open the package of the aplibrary I see that the TIFF or PSD is created by the command "edit in external editor" and I can open this in photoshop, but Aperture isn't able to hand it over to the external editor or the plugin. It seems to be a database problem not a problem of image rendering.
    I also tried to rebuild the library again and repaired the user permissions of the database (CMD ALT during aperture start) - Doesn't help.
    I imported an affected mediabase into another Aperture installation on my notebook which was not affected before. But the imported images inside the project won't open with the external editor or any plugin too. So I think it has nothing to do with the general installation of Aperture. For sure it is an error inside the database caused by the automatic rebuild of the database after a crash.
    For all aperture users I can give the following two hints:
    1) Backup your Aperture database carefully.
    2) After a crash of Aperture and an automatic or any other rebuild of the database, check FIRST if your database is infected by our problem. Open some images with a plugin or the external editor. If this doesn't work, go back to your vault version.
    My mistake was to backup RIGHT AFTER the crash, without checking everything including the external editor command. Because of this I infected my vault version with the error too.....
    Apple is needed for solving this issue. It should be possible for the programmers to find the error inside an exported project/mediabase, which is affected with the problem. I would provide such a file to Apple for examination.
    Wolfram

  • Sample SQCs

    The following are new SQC programs that will be needed for the following evaluation calculation purposes:
    Program     Purpose
    TESTRSTUNT.sqc
    Comp UNITS     Zero the ‘UNITS’ Rating Component
    1     In ADM_APPL_CMP, reset the Rating_Cmp_Value to zero per EMPLID, ACAD_CAREER, STDNT_CAR_NBR , ADM_APPL_NBR, APPL_PROG_NBR, AND RATING_CMP = ‘UNITS’
    TESTOENG50.sqc
    Comp ENGO     Old Curriculum English (Min 50%)
    2     From ADM_APPL_MATLS select the two* highest numeric CRSE_GRADE_OFF of 50 or more for all SCHOOL_CRSE_NBR in SCHOOL_SUBJECT ‘ENGO’ from SCHOOL_CRSE_TBL.
    Sum the two values and return the average. Otherwise If two grades do not exist return a ‘0’.
    Sum the UNT_TAKEN for the two courses used above and add the value to ‘UNITS’ component in ADM_APPL_CMP.
    * If the highest grade is found twice, use the grade twice.
    TESTOENG70.sqc
    Comp ENGO     Old Curriculum English (70%)
    3
         From ADM_APPL_MATLS select the two* highest numeric CRSE_GRADE_OFF of 70 or more for all SCHOOL_CRSE_NBR in SCHOOL_SUBJECT ‘ENGO’ from SCHOOL_CRSE_TBL
    Sum the two values and return the average. Otherwise If two grades do not exist return a ‘0’.
    Sum the UNT_TAKEN for the two courses used above and add the value to ‘UNITS’ component in ADM_APPL_CMP.
    *If the highest grade is found twice, use the grade twice.
    TESTOENG80.sqc
    Comp ENGO     Old Curriculum English (80%)
    4     From ADM_APPL_MATLS select the two* highest numeric CRSE_GRADE_OFF of 80 or more for all SCHOOL_CRSE_NBR in SCHOOL_SUBJECT ‘ENGO’ from SCHOOL_CRSE_TBL
    Sum the two values and return the average. Otherwise If two grades do not exist return a ‘0’.
    Sum the UNT_TAKEN for the two courses used above and add the value to ‘UNITS’ component in ADM_APPL_CMP.
    * If the highest grade is found twice, use the grade twice.
    TESTNENG50.sqc
    Comp ENGN     New Curriculum English (Min 50%)
    5     From ADM_APPL_MATLS select the highest numeric CRSE_GRADE_OFF of 50 or more for all SCHOOL_CRSE_NBR in SCHOOL_SUBJECT ‘ENGN’ from SCHOOL_CRSE_TBL. Record the value.
    Sum the UNT_TAKEN for the course used above and add the value to ‘UNITS’ component in ADM_APPL_CMP.
    Otherwise If no courses meet the criteria look for a course with a CRSE_GRADE_OFF of ‘IP’. If IP found record a value of ‘0.1’.
    If no courses meet the criteria record ‘0’
    TESTNENG80.sqc
    Comp ENGN     New Curriculum English (80%)
    6     From ADM_APPL_MATLS select the highest numeric CRSE_GRADE_OFF of 80 or more for all SCHOOL_CRSE_NBR in SCHOOL_SUBJECT ‘ENGN’ from SCHOOL_CRSE_TBL.
    Sum the UNT_TAKEN for the course used above and add the value to ‘UNITS’ component in ADM_APPL_CMP.
    Otherwise, if no courses meet the criteria look for a course with a CRSE_GRADE_OFF of ‘IP’. If IP found record a value of ‘0.1’. If no courses meet the criteria record a value of ‘0’
    TESTNENU50.sqc
    Comp ENGN     New Curriculum English Grade 12 U
    7     
    From ADM_APPL_MATLS select the highest numeric CRSE_GRADE_OFF of 50 or more with SCHOOL_CRSE_NBR from list (BBS4U EAA4U EAC4U EAE4U EAL4U EAW4U EBS4U ELC4U ELI4U ELM4U ELT4U EMD3U EMS4U ENC4U END4U ENG4U ENH4U ENI4U ENP4U ENS4U ENT4U EWC4UEWR4U) Record the value.
    Sum the UNT_TAKEN for the course used above and add the value to ‘UNITS’ component in ADM_APPL_CMP
    If no courses meet the criteria look for a course with a CRSE_GRADE_OFF of ‘IP’. If IP found record a value of ‘0.1’. If no courses meet the criteria record a value of ‘0’
    TESTOENOAC
    Comp ENGO     Old Curriculum English Grade 12 OAC
    8     From ADM_APPL_MATLS select the highest numeric CRSE_GRADE_OFF of 50 or more with SCHOOL_CRSE_NBR from list (BBSOA EAAOA EACOA EAEOA EALOA EAWOA EBSOA ELCOA ELIOA ELMOA ELTOA EMDOA EMSOA ENCOA ENDOA ENGOA ENHOA ENIOA ENPOA ENSOA ENTOA EWCOA EWROA) Record the value. If no courses found record a value of 0.
    Sum the UNT_TAKEN for the course used above and add the value to ‘UNITS’ component in ADM_APPL_CMP
    TESTOVENGL.sqc
    Comp ENGL     Overall English
    9     From ADM_APPL_CMP compare score of Rating Values of the Rating Components ENGO and ENGN select the highest value and return this value.
    TESTMATH50.sqc
    Comp MATH     Math (50%)
    10     From ADM_APPL_MATLS select the highest numeric CRSE_GRADE_OFF of 50 or more for all SCHOOL_CRSE_NBR in SCHOOL_SUBJECT in (‘MATHO’, ‘MATHN’). If a grade is found, skip the next step, return this value.
    Add the value of UNT_TAKEN for the courses selected to the ‘UNITS’ component in ADM_APPL_CMP. Otherwise:
    If no courses meet the criteria From ADM_APPL_MATLS, search for a course with a CRSE_GRADE_OFF of ‘IP’ for all SCHOOL_CRSE_NBR in SCHOOL_SUBJECT ‘MATHN’. If found, record a value of 0.1 and return this value. If no such course exists, return 0.
    TESTMATHTY.sqc
    Comp MATH     Math (Old Curriculum: Adv Grade 12 or Grade 12 Math for Technology 50%)
    Math (New Curriculum: Grade 12 U or Grade 12 Math for College Techy C 50%)
    11     From ADM_APPL_MATLS select the highest numeric CRSE_GRADE_OFF of 50 or more for any SCHOOL_CRSE_NBR from list (BTB4A MAG4A MAP4A MAT4A MCA4A MCB4A MCF4A MCR4A MCT4A MDM4A MFM4A MFN4A MGA4A MTB4A MTC4A MTT4G MTT4A MTW4A BTBOA MAGOA MAPOA MATOA MCAOA MCBOA MCFOA MCROA MCTOA MDMOA MFMOA MFNOA MGAOA MTBOA MTCOA MTTOA MTWO.) Record the value. If no courses found record a value of 0.
    From ADM_APPL_MATLS select the highest numeric CRSE_GRADE_OFF of 50 or more for any SCHOOL_CRSE_NBR from list (BTB4U MAG4U MAP4U MAT4U MCA4U MCB4U MCF4U MCR4U MCT4U MCT4C MDM4U MFM4U MFN4U MGA4U MTB4U MTC4U MTT4U MTT4C MTW4U). Record the value. If no courses meet the criteria look for a course with a CRSE_GRADE_OFF of ‘IP’. If IP found record a value of ‘0.1’. If no courses meet the criteria record a value of ‘0’
    Compare the two calculated values and return the highest.
    Add the value of UNT_TAKEN to for the selected course to the ‘UNITS’ component. Otherwise if both values are 0 return that value.
    TESTMATHET
    Comp MATH     Math (Old Curriculum: Grade 12 Math (General Advanced or OAC) 50%
    Math (New Curriculum: Grade 12 Math (C/U) 50% or Grade 11 Math (U/M) 50%
    12     From ADM_APPL_MATLS select the highest numeric CRSE_GRADE_OFF of 50 or more for any SCHOOL_CRSE_NBR from list (BTB4G MAG4G MAP4G MAT4G MCA4G MCB4G MCF4G MCR4G MCT4G MDM4G MFM4G MFN4G MGA4G MTB4G MTC4G MTT4G MTW4G BTB4A MAG4A MAP4A MAT4A MCA4A MCB4A MCF4A MCR4A MCT4A MDM4A MFM4A MFN4A MGA4A MTB4A MTC4A MTT4A MTW4A BTBOA MAGOA MAPOA MATOA MCAOA MCBOA MCFOA MCROA MCTOA MDMOA MFMOA MFNOA MGAOA MTBOA MTCOA MTTOA MTWO.) Record the value. If no courses found record a value of 0.
    From ADM_APPL_MATLS select the highest numeric CRSE_GRADE_OFF of 50 or more for any SCHOOL_CRSE_NBR from list (BTB3M MAG3M MAP3M MAT3M MCA3M MCB3M MCF3M MCR3M MCT3M MCT3M MDM3M MFM3M MFN3M MGA3M MTB3M MTC3M MTT3M MTT3M MTW3M BTB3U MAG3U MAP3U MAT3U MCA3U MCB3U MCF3U MCR3U MCT3U MCT3C MDM3U MFM3U MFN3U MGA3U MTB3U MTC3U MTT3U MTT3U MTW3U.BTB4C MAG4C MAP4C MAT4C MCA4C MCB4C MCF4C MCR4C MCT4C MDM4C MFM4C MFN4C MGA4C MTB4C MTC4C MTT4C MTW4C BTB4U MAG4U MAP4U MAT4U MCA4U MCB4U MCF4U MCR4U MCT4U MCT4C MDM4U MFM4U MFN4U MGA4U MTB4U MTC4U MTT4U MTT4C MTW4U). Record the value. If no courses meet the criteria look for a course with a CRSE_GRADE_OFF of ‘IP’. If IP found record a value of ‘0.1’. If no courses meet the criteria record a value of ‘0’
    Compare the two calculated values and return the highest. Add the value of UNT_TAKEN to for the selected course to the ‘UNITS’ component. Otherwise if both values are 0 return that value.
    TESTMATHE2
    Comp MATH     Math (Old Curriculum: Grade 12 Math (General Advanced or OAC) 50%
    Grade 11 Math (Advanced) 50%
    Math (New Curriculum: Grade 12 Math (C/U) 50% or Grade 11 Math (U/M) 50%
    13     From ADM_APPL_MATLS select the highest numeric CRSE_GRADE_OFF of 50 or more for any SCHOOL_CRSE_NBR from list (BTB3A MAG3A MAP3A MAT3A MCA3A MCB3A MCF3A MCR3A MCT3A MDM3A MFM3A MFN3A MGA3A MTB3A MTC3A MTT3A MTW3A BTB4G MAG4G MAP4G MAT4G MCA4G MCB4G MCF4G MCR4G MCT4G MDM4G MFM4G MFN4G MGA4G MTB4G MTC4G MTT4G MTW4G BTB4A MAG4A MAP4A MAT4A MCA4A MCB4A MCF4A MCR4A MCT4A MDM4A MFM4A MFN4A MGA4A MTB4A MTC4A MTT4A MTW4A BTBOA MAGOA MAPOA MATOA MCAOA MCBOA MCFOA MCROA MCTOA MDMOA MFMOA MFNOA MGAOA MTBOA MTCOA MTTOA MTWO.) Record the value. If no courses found record a value of 0.
    From ADM_APPL_MATLS select the highest numeric CRSE_GRADE_OFF of 50 or more for any SCHOOL_CRSE_NBR from list (BTB3M MAG3M MAP3M MAT3M MCA3M MCB3M MCF3M MCR3M MCT3M MCT3M MDM3M MFM3M MFN3M MGA3M MTB3M MTC3M MTT3M MTT3M MTW3M BTB3U MAG3U MAP3U MAT3U MCA3U MCB3U MCF3U MCR3U MCT3U MCT3C MDM3U MFM3U MFN3U MGA3U MTB3U MTC3U MTT3U MTT3U MTW3U.BTB4C MAG4C MAP4C MAT4C MCA4C MCB4C MCF4C MCR4C MCT4C MDM4C MFM4C MFN4C MGA4C MTB4C MTC4C MTT4C MTW4C BTB4U MAG4U MAP4U MAT4U MCA4U MCB4U MCF4U MCR4U MCT4U MCT4C MDM4U MFM4U MFN4U MGA4U MTB4U MTC4U MTT4U MTT4C MTW4U). Record the value. If no courses meet the criteria look for a course with a CRSE_GRADE_OFF of ‘IP’. If IP found record a value of ‘0.1’. If no courses meet the criteria record a value of ‘0’
    Compare the two calculated values and return the highest. Add the value of UNT_TAKEN to for the selected course to the ‘UNITS’ component. Otherwise if both values are 0 return that value.
    TESTMATHSP.sqc
    Comp MATH     Math (Old Curriculum Grade 12 Mathematics Gen, Adv, OAC) 70%
    Math (New Curriculum Grade 12 Mathematics C/U )50%
    14     From ADM_APPL_MATLS select the highest numeric CRSE_GRADE_OFF of 70 or more for any SCHOOL_CRSE_NBR from list (BTB4G MAG4G MAP4G MAT4G MCA4G MCB4G MCF4G MCR4G MCT4G MDM4G MFM4G MFN4G MGA4G MTB4G MTC4G MTT4G MTW4G BTB4A MAG4A MAP4A MAT4A MCA4A MCB4A MCF4A MCR4A MCT4A MDM4A MFM4A MFN4A MGA4A MTB4A MTC4A MTT4A MTW4A BTBOA MAGOA MAPOA MATOA MCAOA MCBOA MCFOA MCROA MCTOA MDMOA MFMOA MFNOA MGAOA MTBOA MTCOA MTTOA MTWO.) Record the value. If no courses found record a value of 0.
    From ADM_APPL_MATLS select the highest numeric CRSE_GRADE_OFF of 50 or more for any SCHOOL_CRSE_NBR from list (BTB4C MAG4C MAP4C MAT4C MCA4C MCB4C MCF4C MCR4C MCT4C MDM4C MFM4C MFN4C MGA4C MTB4C MTC4C MTT4C MTW4C BTB4U MAG4U MAP4U MAT4U MCA4U MCB4U MCF4U MCR4U MCT4U MCT4C MDM4U MFM4U MFN4U MGA4U MTB4U MTC4U MTT4U MTT4C MTW4U). Record the value. If no courses meet the criteria look for a course with a CRSE_GRADE_OFF of ‘IP’. If IP found record a value of ‘0.1’. If no courses meet the criteria record a value of ‘0’
    Compare the two calculated values and return the highest. Add the value of UNT_TAKEN to for the selected course to the ‘UNITS’ component. Otherwise if both values are 0 return that value.
    TESTCHEM50.sqc
    Comp SCIEN     Chemistry (50%)
    15     From ADM_APPL_MATLS select the highest numeric CRSE_GRADE_OFF of 50 or more for all SCHOOL_CRSE_NBR in SCHOOL_SUBJECT in (‘CHEO’, ‘CHEN’).
    Add the value of UNT_TAKEN for the courses selected to the ‘UNITS’ component in ADM_APPL_CMP.
    If a grade is found, skip the next step, return this value. Otherwise:
    From ADM_APPL_MATLS, search for a course with a CRSE_GRADE_OFF of ‘IP’ for all SCHOOL_CRSE_NBR in SCHOOL_SUBJECT ‘CHEN’. If found, record a value of 0.1 and return this value. If no such course exists, return 0.
    TESTCHEPHY.sqc
    Comp SCIEN     Chemistry or Physics (50%)
    16     From ADM_APPL_MATLS select the highest numeric CRSE_GRADE_OFF of 50 or more for all SCHOOL_CRSE_NBR in SCHOOL_SUBJECT in (‘CHEO’, ‘CHEN’, ‘PHYO’, ‘PHYN’).
    Add the value of UNT_TAKEN for the courses selected to the ‘UNITS’ component in ADM_APPL_CMP.
    If a grade is found, skip the next step, return this value. Otherwise::
    From ADM_APPL_MATLS, search for a course with a CRSE_GRADE_OFF of ‘IP’ for all SCHOOL_CRSE_NBR in SCHOOL_SUBJECT ‘PHYN’, ‘CHEN’. If found, record a value of 0.1 and return this value. If no such course exists, return 0.
    TESTCHPHOU.sqc
    Comp SCIEN     Chemistry or Physics OAC or U
    17     From ADM_APPL_MATLS select the highest numeric CRSE_GRADE_OFF of 50 or more for any SCHOOL_CRSE_NBR from list (CHE4U, PHY4U, SCA4U, SCH4U, SCS4U, SPA4U, SPH4U, CHEOA, PHYOA, SCAOA, SCHOA, SCSOA, SPAOA, SPHOA).
    Add the value of UNT_TAKEN for the courses selected to the ‘UNITS’ component in ADM_APPL_CMP
    If a grade is found, skip the next step, return this value. Otherwise:
    From ADM_APPL_MATLS, search for a course with a CRSE_GRADE_OFF of ‘IP’ for all SCHOOL_CRSE_NBR in list (CHE4U, PHY4U, SCA4U, SCH4U, SCS4U, SPA4U, SPH4U, CHEOA, PHYOA, SCAOA, SCHOA, SCSOA,SPAOA, SPHOA). If found, record a value of 0.1 and return this value. If no such course exists, return 0.
    TESTCHEBIO.sqc
    Comp SCIEN     Biology or Chemistry (50%)
    18     From ADM_APPL_MATLS select the highest numeric CRSE_GRADE_OFF of 50 or more for all SCHOOL_CRSE_NBR in SCHOOL_SUBJECT in (‘CHEO’, ‘CHEN’, ‘BIOO’, ‘BION’).
    Add the value of UNT_TAKEN for the courses selected to the ‘UNITS’ component in ADM_APPL_CMP.
    If a grade is found, skip the next step, return this value. Otherwise:
    From ADM_APPL_MATLS, search for a course with a CRSE_GRADE_OFF of ‘IP’ for all SCHOOL_CRSE_NBR in SCHOOL_SUBJECT ‘BION’, ‘CHEN’. If found, record a value of 0.1 and return this value. If no such course exists, return 0.
    TESTBIOOAU.sqc
    Comp SCIEN     Biology (New Curriculum Grade 12 Biology U 50%)
    Old Curriculum OAC
    19     From ADM_APPL_MATLS select the highest numeric CRSE_GRADE_OFF of 50 or more for any SCHOOL_CRSE_NBR from list (BIO4U SBA4U SBH4U SBI4U BIOOA, SBAOA, SBHOA, SBIOA)
    Add the value of UNT_TAKEN for the course selected to the ‘UNITS’ component in ADM_APPL_CMP
    If a grade is found, skip the next step, return this value. Otherwise:
    From ADM_APPL_MATLS, search for a course with a CRSE_GRADE_OFF of ‘IP’ for all SCHOOL_CRSE_NBR in list (BIO4U SBA4U SBH4U SBI4U,). If found, record a value of 0.1 and return this value. If no such course exists, return 0.
    TESTBIOL50.sqc
    Comp SCIE2     Biology (50%)
    20     From ADM_APPL_MATLS select the highest numeric CRSE_GRADE_OFF of 50 or more for all SCHOOL_CRSE_NBR in SCHOOL_SUBJECT (‘BIOO’, ‘BION’).
    Add the value of UNT_TAKEN for the courses selected to the ‘UNITS’ component in ADM_APPL_CMP.
    If a grade is found, skip the next step, return this value. Otherwise:
    From ADM_APPL_MATLS, search for a course with a CRSE_GRADE_OFF of ‘IP’ for all SCHOOL_CRSE_NBR in SCHOOL_SUBJECT ‘BION’. If found, record a value of 0.1 and return this value. If no such course exists, return 0.
    TESTPCSPED.sqc
    Comp SCIEN     Physics or Chemistry or Science or Physical Education
    21     From ADM_APPL_MATLS select the highest numeric CRSE_GRADE_OFF of 50 or more for any SCHOOL_CRSE_NBR from list (CHE4U, PHY4U, SCA4U, SCH4U, SCS4U, SPA4U, SPH4U, CHEOA, PHYOA, SCAOA, SCHOA, SCSOA, SPAOA, SPHOA,PSE4U, PHEOA)
    Add the value of UNT_TAKEN for the courses selected to the ‘UNITS’ component in ADM_APPL_CMP
    If a grade is found, skip the next step, return this value. Otherwise:
    From ADM_APPL_MATLS, search for a course with a CRSE_GRADE_OFF of ‘IP’ for all SCHOOL_CRSE_NBR in list (CHE4U, PHY4U, SCA4U, SCH4U, SCS4U, SPA4U, SPH4U)
    If found, record a value of 0.1 and return this value. If no such course exists, return 0.
    TESTMEDSOC.sqc
    Comp MEDSS     Media Social Science (50%)
    22     From ADM_APPL_MATLS select the highest numeric CRSE_GRADE_OFF of 50 or more for all SCHOOL_CRSE_NBR in SCHOOL_SUBJECT in (‘MEDO’, ‘MEDN’,’SOSO’,’SOTEST’).
    Add the value of UNT_TAKEN for the courses selected to the ‘UNITS’ component in ADM_APPL_CMP.
    If a grade is found, skip the next step, return this value. Otherwise:
    From ADM_APPL_MATLS, search for a course with a CRSE_GRADE_OFF of ‘IP’ for all SCHOOL_CRSE_NBR in SCHOOL_SUBJECT in (‘MEDN’,’SOTEST’). If found, record a value of 0.1 and return this value. If no such course exists, return 0.
    TESTOACHUM.sqc
    Comp BDESH     Bachelor of Design Humanities, Math Language (New curriculum Grade 12 U/M
    Old curriculum OAC
    23     From ADM_APPL_MATLS select the highest numeric CRSE_GRADE_OFF of 50 or more for all SCHOOL_CRSE_NBR in SCHOOL_SUBJECT in (‘BDEO’, ‘BDEN’).
    Add the value of UNT_TAKEN for the courses selected to the ‘UNITS’ component in ADM_APPL_CMP.
    If a grade is found, skip the next step, return this value. Otherwise:
    From ADM_APPL_MATLS, search for a course with a CRSE_GRADE_OFF of ‘IP’ for all SCHOOL_CRSE_NBR in SCHOOL_SUBJECT ‘BDEN’. If found, record a value of 0.1 and return this value. If no such course exists, return 0.
    TESTMEDIAA.sqc
    Comp MEDIA     Media (50%)
    24     From ADM_APPL_MATLS select the highest numeric CRSE_GRADE_OFF of 50 or more for all SCHOOL_CRSE_NBR in SCHOOL_SUBJECT in (‘MEDO’, ‘MEDN’).
    Add the value of UNT_TAKEN for the courses selected to the ‘UNITS’ component in ADM_APPL_CMP.
    If a grade is found, skip the next step, return this value. Otherwise:
    From ADM_APPL_MATLS, search for a course with a CRSE_GRADE_OFF of ‘IP’ for all SCHOOL_CRSE_NBR in SCHOOL_SUBJECT ‘MEDN’. If found, record a value of 0.1 and return this value. If no such course exists, return 0.
    TESTSOCHUM.sqc
    Comp SOSC     Social Science/Humanities (50%)
    25     From ADM_APPL_MATLS select the highest numeric CRSE_GRADE_OFF of 50 or more for all SCHOOL_CRSE_NBR in SCHOOL_SUBJECT in (‘SOSO’, ‘SOTEST’).
    Add the value of UNT_TAKEN for the courses selected to the ‘UNITS’ component in ADM_APPL_CMP.
    If a grade is found, skip the next step, return this value. Otherwise:
    From ADM_APPL_MATLS, search for a course with a CRSE_GRADE_OFF of ‘IP’ for all SCHOOL_CRSE_NBR in SCHOOL_SUBJECT ‘SOTEST’. If found, record a value of 0.1 and return this value. If no such course exists, return 0.
    TESTARTDAN.sqc
    Comp DART     Art/Dance (50%)
    26     From ADM_APPL_MATLS select the highest numeric CRSE_GRADE_OFF of 50 or more for all SCHOOL_CRSE_NBR in SCHOOL_SUBJECT in (‘ARTO’, ‘ARTN’, ‘DANO’, ‘DANN’).
    Add the value of UNT_TAKEN for the courses selected to the ‘UNITS’ component in ADM_APPL_CMP.
    If a grade is found, skip the next step, return this value. Otherwise:
    From ADM_APPL_MATLS, search for a course with a CRSE_GRADE_OFF of ‘IP’ for all SCHOOL_CRSE_NBR in SCHOOL_SUBJECT ‘ARTN’, ‘DANN’. If found, record a value of 0.1 and return this value. If no such course exists, return 0.
    TESTVISART.sqc
    Comp VART     Visual Arts (50%)
    27
         From ADM_APPL_MATLS select the highest numeric CRSE_GRADE_OFF of 50 or more for all SCHOOL_CRSE_NBR in SCHOOL_SUBJECT in (VARO’, ‘VARN’).
    Add the value of UNT_TAKEN for the courses selected to the ‘UNITS’ component in ADM_APPL_CMP.
    If a grade is found, skip the next step, return this value. Otherwise:
    From ADM_APPL_MATLS, search for a course with a CRSE_GRADE_OFF of ‘IP’ for all SCHOOL_CRSE_NBR in SCHOOL_SUBJECT ‘VARN’. If found, record a value of 0.1 and return this value. If no such course exists, return 0.
    TESTOSSDAC.sqc
    Comp OSSD     OSSD
    28     From PS_EXT_DEGREE where EXT_DEGREE = OSSD and where DEGREE_STATUS = ‘C’ return a value of ‘2’ else where DEGREE_STATUS = ‘I’ return a value of ‘0.1’ else where no value is found for EXT_DEGREE return a value of ‘0’.
    TESTEXTDEG.sqc
    Comp DPDG     External Degree
    29     From PS_EXT_DEGREE where EXT_DEGREE = ‘DIPDEG’ and where DEGREE_STATUS = ‘C’ return a value of ‘2’ else where DEGREE_STATUS = ‘I’ return a value of ‘0.1’ else where no value is found for EXT_DEGREE return a value of ‘0’.
    TESTVMAPOR.sqc
    Comp TEST     Visual Merchandising Portfolio Test Score
    30     From ADM_APPL_MATLS select SCORE for TEST_ID equals VMPQ and TEST_COMPONENT equals VMPQ. Return the value. If no test scores meet the criteria return ‘0’ as the value.
    TESTADVTST.sqc
    Comp TEST     Advertising Test Score
    31     From ADM_APPL_MATLS select SCORE for TEST_ID equals ADVG and TEST_COMPONENT equals ADVG. Return the value. If no test scores meet the criteria return ‘0’ as the value.
    TESTESTTST.sqc
    Comp TEST     Esthetician Test Score
    32     From ADM_APPL_MATLS select SCORE for TEST_ID equals ESTQ and TEST_COMPONENT equals ESTQ. Return the value. If no test scores meet the criteria return ‘0’ as the value.
    TESTTATPPO.sqc
    Comp TEST     Theatre ArtsTech Prod Portfolio Score
    33     From ADM_APPL_MATLS select SCORE for TEST_ID equals TECH and TEST_COMPONENT equals TECH. Return the value. If no test scores meet the criteria return ‘0’ as the value.
    TESTCRDEPO.sqc
    Comp TEST     Crafts and Design Portfolio Score
    34     From ADM_APPL_MATLS select SCORE for TEST_ID equals CSAD and TEST_COMPONENT equals CSAD. Return the value. If no test scores meet the criteria return ‘0’ as the value.
    TESTPHOPOR.sqc
    Comp TEST     Applied Photography Portfolio Test Score
    35     From ADM_APPL_MATLS select SCORE for TEST_ID equals PHOT and TEST_COMPONENT equals PHOT. Return the value. If no test scores meet the criteria return ‘0’ as the value.
    TESTINDEPO.sqc
    Comp TEST     Interior Design Portfolio Score
    36     From ADM_APPL_MATLS select SCORE for TEST_ID equals INDE and TEST_COMPONENT equals INDE. Return the value. If no test scores meet the criteria return ‘0’ as the value.
    TESTADILLPO.sqc
    Comp TEST     Advanced Illustration Portfolio Score
    37     From ADM_APPL_MATLS select SCORE for TEST_ID equals ADIL and TEST_COMPONENT equals ADIL. Return the value. If no test scores meet the criteria return ‘0’ as the value.
    TESTATAFPO.sqc
    Comp TEST     Advanced Television and Film Portfolio Score
    38     From ADM_APPL_MATLS select SCORE for TEST_ID equals ADTV and TEST_COMPONENT equals ADTV. Return the value. If no test scores meet the criteria return ‘0’ as the value.
    TESTBDESSC.sqc
    Comp TEST     Bachelor of Bachelor of Design Honours BDES Score
    39     From ADM_APPL_MATLS select SCORE for TEST_ID equals BDES and TEST_COMPONENT equals BDES. Return the value. If no test scores meet the criteria return ‘0’ as the value.
    TESTBDMSSC.sqc
    Comp TEST     Bachelor of Bachelor of Design Honours BDMS Score
    40     From ADM_APPL_MATLS select SCORE for TEST_ID equals BDMS and TEST_COMPONENT equals BDMS. Return the value. If no test scores meet the criteria return ‘0’ as the value.
    TESTBDSESC.sqc
    Comp TEST     Bachelor of Bachelor of Design Honours BDSE Score
    41     From ADM_APPL_MATLS select SCORE for TEST_ID equals BDSE and TEST_COMPONENT equals BDSE. Return the value. If no test scores meet the criteria return ‘0’ as the value
    TESTBAANPO.sqc
    Comp TEST     Bachelor of Applied Arts Animation Portfolio Score
    42     From ADM_APPL_MATLS select SCORE for TEST_ID equals CLAN and TEST_COMPONENT equals CLAN. Return the value. If no test scores meet the criteria return ‘0’ as the value.
    TESTCOANPO.sqc
    Comp TEST     Computer Animation Portfolio Score
    43     From ADM_APPL_MATLS select SCORE for TEST_ID equals COAN and TEST_COMPONENT equals COAN. Return the value. If no test scores meet the criteria return ‘0’ as the value.
    TESTCADCPO.sqc
    Comp TEST     Computer Animation Digital Character Portfolio Score
    44     From ADM_APPL_MATLS select SCORE for TEST_ID equals CODA and TEST_COMPONENT equals CODA. Return the value. If no test scores meet the criteria return ‘0’ as the value.
    TESTCADVPO.sqc
    Comp TEST     Computer Animation Digital Visual Effects Portfolio Score
    45     From ADM_APPL_MATLS select SCORE for TEST_ID equals CODE and TEST_COMPONENT equals CODE. Return the value. If no test scores meet the criteria return ‘0’ as the value.
    TESTCORPQU.sqc
    Comp TEST     Corporate Communications Questionnaire Score
    46     From ADM_APPL_MATLS select SCORE for TEST_ID equals CORP and TEST_COMPONENT equals CORP. Return the value. If no test scores meet the criteria return ‘0’ as the value.
    TESTECEIQU.sqc
    Comp TEST     Early Childhood Intensive Questionnaire Score
    47     From ADM_APPL_MATLS select SCORE for TEST_ID equals ECDE and TEST_COMPONENT equals ECDE. Return the value. If no test scores meet the criteria return ‘0’ as the value.
    TESTEDARES.sqc
    Comp TEST     Educational Assistant Resume Score
    48     From ADM_APPL_MATLS select SCORE for TEST_ID equals EDAS and TEST_COMPONENT equals EDAS. Return the value. If no test scores meet the criteria return ‘0’ as the value.
    TESTEDMAQU.sqc
    Comp TEST     Enterprise Database Management Questionnaire Score
    49     From ADM_APPL_MATLS select SCORE for TEST_ID equals EDMA and TEST_COMPONENT equals EDMA. Return the value. If no test scores meet the criteria return ‘0’ as the value.
    TESTENGTES.sqc
    Comp TEST     English Test Score
    50     From ADM_APPL_MATLS select SCORE for TEST_ID equals ENGL and TEST_COMPONENT equals ENGL. Return the value. If no test scores meet the criteria return ‘0’ as the value.
    TESTMATTES.sqc
    Comp TEST     Mathematics Test Score
    51     From ADM_APPL_MATLS select SCORE for TEST_ID equals MATH and TEST_COMPONENT equals MATH. Return the value. If no test scores meet the criteria return ‘0’ as the value.
    TESTHRMRPO.sqc
    Comp TEST     Human Resource Management Portfolio Score
    52     From ADM_APPL_MATLS select SCORE for TEST_ID equals HRMR and TEST_COMPONENT equals HRMR. Return the value. If no test scores meet the criteria return ‘0’ as the value.
    TESTFPRLRE.sqc
    Comp TEST     Financial Planning Resume Score
    53     From ADM_APPL_MATLS select SCORE for TEST_ID equals FPRL and TEST_COMPONENT equals FPRL. Return the value. If no test scores meet the criteria return ‘0’ as the value.
    TESTBAAIPO.sqc
    Comp TEST     Bachelor of Applied Arts Illustration Portfolio Score
    54     From ADM_APPL_MATLS select SCORE for TEST_ID equals ILLS and TEST_COMPONENT equals ILLS. Return the value. If no test scores meet the criteria return ‘0’ as the value.
    TESTBAHSPO.sqc
    Comp TEST     Bachelor of Applied Health Sciences (Athletic Therapy) Scores
    55     From ADM_APPL_MATLS select SCORE for TEST_ID equals BAHS and TEST_COMPONENT equals BAHS. Return the value. If no test scores meet the criteria return ‘0’ as the value.
    TESTITPYQU.sqc
    Comp TEST     Information Technology Professional Internship Questionnaire Score
    56     From ADM_APPL_MATLS select SCORE for TEST_ID equals ITPY and TEST_COMPONENT equals ITPY. Return the value. If no test scores meet the criteria return ‘0’ as the value.
    TESTJNEWQU.sqc
    Comp TEST     Journalism New Media Questionnaire Score
    57     From ADM_APPL_MATLS select SCORE for TEST_ID equals JNEW and TEST_COMPONENT equals JNEW. Return the value. If no test scores meet the criteria return ‘0’ as the value.
    TESTMEDARE.sqc
    Comp TEST     Media Arts Resume Score
    58     From ADM_APPL_MATLS select SCORE for TEST_ID equals MEDA and TEST_COMPONENT equals MEDA. Return the value. If no test scores meet the criteria return ‘0’ as the value.
    TESTMKMRRE.sqc
    Comp TEST     Marketing Management Resume Score
    59     From ADM_APPL_MATLS select SCORE for TEST_ID equals MMRE and TEST_COMPONENT equals MMRE. Return the value. If no test scores meet the criteria return ‘0’ as the value.
    TESTMUSCPO.sqc
    Comp TEST     Music Theatre Performance Portfolio Score
    60     From ADM_APPL_MATLS select SCORE for TEST_ID equals MUSC and TEST_COMPONENT equals MUSC. Return the value. If no test scores meet the criteria return ‘0’ as the value.
    TESTNEWMPO.sqc
    Comp TEST     New Media Design Portfolio Score
    61     From ADM_APPL_MATLS select SCORE for TEST_ID equals NEWM and TEST_COMPONENT equals NEWM. Return the value. If no test scores meet the criteria return ‘0’ as the value.
    TESTPSWENG.sqc
    Comp TEST     Personal Support Worker English Test Score
    62     From ADM_APPL_MATLS select SCORE for TEST_ID equals PSEN and TEST_COMPONENT equals PSEN Return the value. If no test scores meet the criteria return ‘0’ as the value
    TESTPSWQUE.sqc
    Comp TEST     Personal Support Worker Questionnaire Score
    63     From ADM_APPL_MATLS select SCORE for TEST_ID equals PSQU and TEST_COMPONENT equals PSQU. Return the value. If no test scores meet the criteria return ‘0’ as the value
    TESTTCMSRE.sqc
    Comp TEST     Telecommunications Management Resume Score
    64     From ADM_APPL_MATLS select SCORE for TEST_ID equals TCMS and TEST_COMPONENT equals TCMS. Return the value. If no test scores meet the criteria return ‘0’ as the value.
    TESTVMPQPO.sqc
    Comp TEST     Visual Merchandising Portfolio Score
    65     From ADM_APPL_MATLS select SCORE for TEST_ID equals VMPQ and TEST_COMPONENT equals VMPQ. Return the value. If no test scores meet the criteria return ‘0’ as the value.
    TESTELEC01.sqc
    Comp ELEC     Electives (Requirements: English 50, Math 50, Chem 50)
    66     If Rating Value for Rating Component ENGN > Rating Value for Rating Component ENGO then:
    1.     From ADM_APPL_CMP If ENGN, MATH and SCIEN are each equal to ‘0.1’ select from ADM_APPL_MATLS from ADM_APPL_MATLS the 6 highest numeric Grades of 50 or more for all courses. Return the sum. Add the sum of UNT_TAKEN of the courses selected to the ‘UNITS’ component.
    2.     From ADM_APPL_CMP If ENGN and SCIEN are each equal to ‘0.1’ and MATH > 0.1 select from ADM_APPL_MATLS the 5 highest numeric Grades of 50 or more for all courses in excluding the single highest single grade for courses where the subject is equal to (MATN or MATO) in SCHOOL_SUBJECT table. Return the sum. Add the sum of UNT_TAKEN of the courses selected to the ‘UNITS’ component.
    3.     From ADM_APPL_CMP If ENGN and MATH are equal to ‘0.1’ and SCIEN > ‘0.1’ select from ADM_APPL_MATLS the 5 highest numeric Grades of 50 or more for all courses excluding the single highest grade for courses where the subject is equal to (CHEO or CHEN) in SCHOOL_SUBJECT table. Return the sum. Add the sum of UNT_TAKEN of the courses selected to the ‘UNITS’ component.
    4.     From ADM_APPL_CMP If MATH and SCIEN are equal to ‘0.1’ and ENGN > ‘0.1’ select from ADM_APPL_MATLS the 5 highest numeric Grades of 50 or more for all courses excluding the single highest grade for courses where the subject is equal to (ENGN) in SCHOOL_SUBJECT table. Return the sum. Add the sum of UNT_TAKEN of the courses selected to the ‘UNITS’ component.
    5.     From ADM_APPL_CMP If ENGN is equal to ‘0.1’ and SCIEN and MATH are each greater than ‘0.1’ select from ADM_APPL_MATLS the 4 highest numeric Grades of 50 or more for all courses excluding the single highest grade for courses where the subject is equal to (MATO or MATN) and excluding the single highest grade for courses where the subject is equal to (CHEO or CHEN). Return the sum. Add the sum of UNT_TAKEN of the courses selected to the ‘UNITS’ component.
    6.     From ADM_APPL_CMP If MATH is equal to ‘0.1’ and ENGN and SCIEN are each greater than ‘0.1’ select from ADM_APPL_MATLS the 4 highest numeric Grades of 50 or more for all courses excluding the single highest grade for courses where the subject is equal to (ENGN) and excluding the single highest grade for courses where the subject is equal to (CHEN or CHEO). Return the sum. Add the sum of UNT_TAKEN of the courses selected to the ‘UNITS’ component.
    7.     From ADM_APPL_CMP If SCIEN is equal to ‘0.1’ and ENGN and MATH are each greater than ‘0.1’ select from ADM_APPL_MATLS the 4 highest numeric Grades of 50 or more for all courses excluding the single highest grade for courses where the subject is equal to (MATN or MATO), and excluding the single highest grade for courses where the subject is equal to (ENGN). Return the sum. Add the sum of UNT_TAKEN of the courses selected to the ‘UNITS’ component.
    8.     Else select from ADM_APPL_MATLS the 3 highest numeric Grades of 50 or more for all courses excluding the single highest grade for courses where the subject is equal to (MATN or MATO), and excluding the single highest grade for courses where the subject is equal to (ENGN), and excluding the single highest grade for courses where the subject is equal to (CHEO or CHEN). Return the sum of the CRSE_GRADE_OFF. Add the sum of UNT_TAKEN of the courses selected to the ‘UNITS’ component.
    If Rating Value for Rating Component ENGO > Rating Value for Rating Component ENGN then:
    1.     From ADM_APPL_CMP If SCIEN and MATH are each equal to ‘0.1’ select from ADM_APPL_MATLS the 4 highest numeric Grades of 50 or more for all courses excluding the two highest grades for courses where the subject is equal to (ENGO). Return the sum. Add the sum of UNT_TAKEN of the courses selected to the ‘UNITS’ component.
    2.     From ADM_APPL_CMP If SCIEN = 0.1 and MATH is > ‘0.1’ select from ADM_APPL_MATLS the 3 highest numeric Grades of 50 or more for all courses excluding the single highest grade for courses in SCHOOL_SUBJECT (MATN or MATO) and the two highest grades for courses in SCHOOL_SUBJECT (ENGO). Return the sum and add the sum of the UNT_TAKEN to ‘UNITS’. Return the sum. Add the sum of UNT_TAKEN of the courses selected to the ‘UNITS’ component.
    3.     From ADM_APPL_CMP If MATH = ‘0.1’ and SCIEN is > ‘0.1’ select from ADM_APPL_MATLS the 3 highest numeric Grades of 50 or more for all courses excluding the singe highest grade for courses in group of SCHOOL_SUBJECT (CHEO or CHEN) and the two highest grades for courses in SCHOOL_SUBJECT (ENGO). Return the sum. Add the sum of UNT_TAKEN of the courses selected to the ‘UNITS’ component.
    4.     From ADM_APPL_CMP Else If ENGO, MATH and SCIEN are each greater than ‘0.1’ select from ADM_APPL_MATLS the 2 highest numeric Grades of 50 or more for all courses excluding the single highest grade for courses in each group of SCHOOL_SUBJECT (MATO or MATN) and excluding the single highest grade for courses in SCHOOL_SUBJECT (CHEO or CHEN) and also excluding the two highest grades for courses in SCHOOL_SUBJECT (ENGO). Return the sum. Add the sum of UNT_TAKEN of the courses selected to the ‘UNITS’ component.
    TESTELEC02.sqc
    Comp: ELEC     Electives (Requirements: English)
    67     If Rating Value for Rating Component ENGN > Rating Value for Rating Component ENGO then:
    1.     From ADM_APPL_CMP If ENGN is equal to ‘0.1’ select from ADM_APPL_MATLS the 6 highest numeric Grades of 50 or more for all courses. Return the sum. Add the sum of UNT_TAKEN of the courses selected to the ‘UNITS’ component.
    2.     Otherwise select from ADM_APPL_MATLS the 5 highest numeric Grades of 50 or more for all courses excluding the highest grade for courses in SCHOOL_SUBJECT (ENGN). Return the sum. Add the sum of UNT_TAKEN of the courses selected to the ‘UNITS’ component.
    If Rating Value for Rating Component ENGO > Rating Value for Rating Component ENGN then:
    1.     From ADM_APPL_CMP select from ADM_APPL_MATLS the 4 highest numeric Grades of 50 or more for all courses excluding the two highest grade for courses in SCHOOL_SUBJECT (ENGO). Return the sum. Add the sum of UNT_TAKEN of the courses selected to the ‘UNITS’ component.
    TESTELEC03.sqc
    Comp: ELEC     Electives (Requirements: English 50, Math 50,)
    68     If Rating Value for Rating Component ENGN > Rating Value for Rating Component ENGO then:
    2.     From ADM_APPL_CMP If ENGN and MATH are equal to ‘0.1’ select from ADM_APPL_MATLS the 6 highest numeric Grades of 50 or more for all courses. Return the sum. Add the sum of UNT_TAKEN of the courses selected to the ‘UNITS’ component.
    3.     Otherwise from ADM_APPL_CMP If MATH is equal to ‘0.1’ and ENGN > ‘0.1’ select from ADM_APPL_MATLS the 5 highest numeric Grades of 50 or more for all courses excluding the highest grade for courses in SCHOOL_SUBJECT (ENGN). Return the sum. Add the sum of UNT_TAKEN of the courses selected to the ‘UNITS’ component.
    4.     Otherwise from ADM_APPL_CMP If ENGN is equal to ‘0.1’ and MATH is greater than ‘0.1’ select from ADM_APPL_MATLS the 5 highest numeric Grades of 50 or more for all courses excluding the single highest grade for courses in SCHOOL_SUBJECT (MATO or MATN). Return the sum. Add the sum of UNT_TAKEN of the courses selected to the ‘UNITS’ component.
    5.     Otherwise select from ADM_APPL_MATLS the 4 highest numeric Grades of 50 or more for all courses excluding the single highest grade for courses in SCHOOL_SUBJECT (MATN or MATO) and excluding the highest grade for courses in SCHOOL_SUBJECT (ENGN). Return the sum. Add the sum of UNT_TAKEN of the courses selected to the ‘UNITS’ component.
    If Rating Value for Rating Component ENGO > Rating Value for Rating Component ENGN then:
    1.     From ADM_APPL_CMP If MATH is equal to ‘0.1’ select from ADM_APPL_MATLS the 4 highest numeric Grades of 50 or more for all courses excluding the two highest grade for courses in SCHOOL_SUBJECT (ENGO). Return the sum. Add the sum of UNT_TAKEN of the courses selected to the ‘UNITS’ component.
    2.     Otherwise from ADM_APPL_CMP Else If ENGO and MATH are each greater than ‘0.1’ select from ADM_APPL_MATLS the 3 highest numeric Grades of 50 or more for all courses excluding the single highest grade for courses in SCHOOL_SUBJECT group (MATO or MATN) and also the two highest grades for courses in SCHOOL_SUBJECT (ENGO). Return the sum. Add the sum of UNT_TAKEN of the courses selected to the ‘UNITS’ component.
    TESTELEC04.sqc
    Comp: ELEC     Electives (Requirements: English, Media Social Science)
    69     If Rating Value for Rating Component ENGN > Rating Value for Rating Component ENGO then:
    1.     From ADM_APPL_CMP If ENGN and MEDSS are equal to ‘0.1’ select from ADM_APPL_MATLS the 6 highest numeric Grades of 50 or more for all courses. Return the sum. Add the sum of UNT_TAKEN of the courses selected to the ‘UNITS’ component.
    2.     Otherwise from ADM_APPL_CMP If MEDSS is equal to ‘0.1’ and ENGN > ‘0.1’ select from ADM_APPL_MATLS the 5 highest numeric Grades of 50 or more for all courses excluding the highest grade for courses in SCHOOL_SUBJECT (ENGN). Return the sum. Add the sum of UNT_TAKEN of the courses selected to the ‘UNITS’ component.
    3.     Otherwise from ADM_APPL_CMP If ENGN is equal to ‘0.1’ and MEDSS is greater than ‘0.1’ select from ADM_APPL_MATLS the 5 highest numeric Grades of 50 or more for all courses excluding the single highest grade for courses in SCHOOL_SUBJECT (MEDO or MEDN or SOSO or SOTEST). Return the sum. Add the sum of UNT_TAKEN of the courses selected to the ‘UNITS’ component.
    4.     Otherwise select from ADM_APPL_MATLS the 4 highest numeric Grades of 50 or more for all courses excluding the single highest grade for courses in SCHOOL_SUBJECT (MEDO or MEDN or SOSO or SOTEST) and also the highest grade for courses in SCHOOL_SUBJECT (ENGN). Return the sum. Add the sum of UNT_TAKEN of the courses selected to the ‘UNITS’ component.
    If Rating Value for Rating Component ENGO > Rating Value for Rating Component ENGN then:
    1.     From ADM_APPL_CMP If MEDSS is equal to ‘0.1’ select from ADM_APPL_MATLS the 4 highest numeric Grades of 50 or more for all courses excluding the two highest grades for courses in SCHOOL_SUBJECT (ENGO). Return the sum. Add the sum of UNT_TAKEN of the courses selected to the ‘UNITS’ component.
    2.     Otherwise from ADM_APPL_CMP If ENGO and MEDSS are each greater than ‘0.1’ select from ADM_APPL_MATLS the 3 highest numeric Grades of 50 or more for all courses excluding the single highest grade for courses in SCHOOL_SUBJECT (MEDO or MEDN or SOSO or SOTEST) and also excluding the two highest grades for courses in SCHOOL_SUBJECT (ENGO). Return the sum. Add the sum of UNT_TAKEN of the courses selected to the ‘UNITS’ component.
    TESTELEC05.sqc
    Comp: ELEC     Electives (Requirements: English 50, Social Science/Humanities)
    70     If Rating Value for Rating Component ENGN > Rating Value for Rating Component ENGO then:
    1.     From ADM_APPL_CMP If ENGN and SOSC are equal to ‘0.1’ select from ADM_APPL_MATLS the 6 highest numeric Grades of 50 or more for all courses. Return the sum. Add the sum of UNT_TAKEN of the courses selected to the ‘UNITS’ component.
    2.     Otherwise from ADM_APPL_CMP If SOSC is equal to ‘0.1’ and ENGN > ‘0.1’ select from ADM_APPL_MATLS the 5 highest numeric Grades of 50 or more for all courses excluding the highest grade for courses in SCHOOL_SUBJECT (ENGN). Return the sum. Add the sum of UNT_TAKEN of the courses selected to the ‘UNITS’ component.
    3.     Otherwise from ADM_APPL_CMP If ENGN is equal to ‘0.1’ and SOSC is greater than ‘0.1’ select from ADM_APPL_MATLS the 5 highest numeric Grades of 50 or more for all courses excluding the single highest grade for courses in SCHOOL_SUBJECT (SOSO or SOTEST). Return the sum. Add the sum of UNT_TAKEN of the courses selected to the ‘UNITS’ component.
    4.     Otherwise from ADM_APPL_CMP If ENGN and SOSC are each greater than ‘0.1 select from ADM_APPL_MATLS the 4 highest numeric Grades of 50 or more for all courses excluding the highest grade for courses in SCHOOL_SUBJECT (ENGN) and also excluding the single highest grade for courses in SCHOOL_SUBJECT (SOTEST or SOSO). Return the sum. Add the sum of UNT_TAKEN of the courses selected to the ‘UNITS’ component.
    If Rating Value for Rating Component ENGO > Rating Value for Rating Component ENGN then:
    1.     From ADM_APPL_CMP If SOSC is equal to ‘0.1’ select from ADM_APPL_MATLS the 4 highest numeric Grades of 50 or more for all courses excluding the two highest grade for courses in SCHOOL_SUBJECT (ENGO). Return the sum. Add the sum of UNT_TAKEN of the courses selected to the ‘UNITS’ component.
    2.     Otherwise from ADM_APPL_CMP If ENGO and SOSC are each greater than ‘0.1’ select from ADM_APPL_MATLS the 3 highest numeric Grades of 50 or more for all courses excluding the single highest grade for courses in SCHOOL_SUBJECT (SOSO or SOTEST) and also the two highest grades for courses in SCHOOL_SUBJECT (ENGO). Return the sum. Add the sum of UNT_TAKEN of the courses selected to the ‘UNITS’ component.
    TESTELEC06.sqc
    Comp: ELEC     Electives (Requirements: English, Biology or Chemistry)
    71     If Rating Value for Rating Component ENGN > Rating Value for Rating Component ENGO then:
    1.     From ADM_APPL_CMP If ENGN and SCIEN are equal to ‘0.1’ select from ADM_APPL_MATLS the 6 highest numeric Grades of 50 or more for all courses. Return the sum. Add the sum of UNT_TAKEN of the courses selected to the ‘UNITS’ component.
    2.     Otherwise from ADM_APPL_CMP If SCIEN is equal to ‘0.1’ and ENGN > ‘0.1’ select from ADM_APPL_MATLS the 5 highest numeric Grades of 50 or more for all courses excluding the highest grade for courses in SCHOOL_SUBJECT (ENGN). Return the sum. Add the sum of UNT_TAKEN of the courses selected to the ‘UNITS’ component.
    3.     Otherwise from ADM_APPL_CMP If ENGN is equal to ‘0.1’ and SCIEN is greater than ‘0.1’ select from ADM_APPL_MATLS the 5 highest numeric Grades of 50 or more for all courses excluding the single highest grade for courses in SCHOOL_SUBJECT (CHEO or CHEN or BIOO or BION). Return the sum. Add the sum of UNT_TAKEN of the courses selected to the ‘UNITS’ component.
    4.     Otherwise from ADM_APPL_CMP If ENGN and SCIEN are each greater than ‘0.1 select from ADM_APPL_MATLS the 4 highest numeric Grades of 50 or more for all courses excluding the highest grade for course in SCHOOL_SUBJECT (ENGN), and also excluding the single highest grade for courses in SCHOOL_SUBJECT (CHEO or CHEN or BIOO or BION). Return the sum. Add the sum of UNT_TAKEN of the courses selected to the ‘UNITS’ component.
    If Rating Value for Rating Component ENGO > Rating Value for Rating Component ENGN then:
    1.     From ADM_APPL_CMP If SCIEN is equal to ‘0.1’ select from ADM_APPL_MATLS the 4 highest numeric Grades of 50 or more for all courses excluding the two highest grades for courses in SCHOOL_SUBJECT (ENGO). Return the sum. Add the sum of UNT_TAKEN of the courses selected to the ‘UNITS’ component.
    2.     Otherwise from ADM_APPL_CMP If ENGO and SCIEN are each greater than ‘0.1’ select from ADM_APPL_MATLS the 3 highest numeric Grades of 50 or more for all courses excluding the single highest grade for courses in SCHOOL_SUBJECT (CHEO or CHEN or BIOO or BION), and also excluding the two highest grades for courses in SCHOOL_SUBJECT (ENGO). Return the sum. Add the sum of UNT_TAKEN of the courses selected to the ‘UNITS’ component..
    TESTELEC07.sqc
    Comp: ELEC     Electives (Requirements: English 50, Art 50 or Dance 50)
    72     If Rating Value for Rating Component ENGN > Rating Value for Rating Component ENGO then:
    1.     From ADM_APPL_CMP If ENGN and DART are equal to ‘0.1’ select from ADM_APPL_MATLS the 6 highest numeric Grades of 50 or more for all courses. Return the sum. Add the sum of UNT_TAKEN of the courses selected to the ‘UNITS’ component.
    2.     Otherwise from ADM_APPL_CMP If DART is equal to ‘0.1’ and ENGN > ‘0.1’ select from ADM_APPL_MATLS the 5 highest numeric Grades of 50 or more for all courses excluding the highest grade for courses in SCHOOL_SUBJECT (ENGN). Return the sum. Add the sum of UNT_TAKEN of the courses selected to the ‘UNITS’ component.
    3.     Otherwise from ADM_APPL_CMP If ENGN is equal to ‘0.1’ and DART is greater than ‘0.1’ select from ADM_APPL_MATLS the 5 highest numeric Grades of 50 or more for all courses excluding the single highest grade for courses in SCHOOL_SUBJECT (ARTO or ARTN or DANN or DANO). Return the sum. Add the sum of UNT_TAKEN of the courses selected to the ‘UNITS’ component.
    4.     Otherwise from ADM_APPL_CMP If ENGN and DART are each greater than ‘0.1’ select from ADM_APPL_MATLS the 4 highest numeric Grades of 50 or more for all courses excluding the single highest grade for courses in SCHOOL_SUBJECT (ENGN) and also excluding the single highest grade for courses in SCHOOL_SUBJECT (ARTO or ARTN or DANN or DANO). Return the sum. Add the sum of UNT_TAKEN of the courses selected to the ‘UNITS’ component.
    If Rating Value for Rating Component ENGO > Rating Value for Rating Component ENGN then:
    1.     From ADM_APPL_CMP If DART is equal to ‘0.1’ select from ADM_APPL_MATLS the 4 highest numeric Grades of 50 or more for all courses excluding the two highest grade for courses in SCHOOL_SUBJECT (ENGO). Return the sum. Add the sum of UNT_TAKEN of the courses selected to the ‘UNITS’ component.
    2.     Otherwise from ADM_APPL_CMP If ENGO and DART are each greater than ‘0.1’ select from ADM_APPL_MATLS the 3 highest numeric Grades of 50 or more for all courses excluding the single highest grade for courses in SCHOOL_SUBJECT (ARTO or ARTN or DANN or DANO), and also excluding the two highest grades for courses in SCHOOL_SUBJECT (ENGO). Return the sum. Add the sum of UNT_TAKEN of the courses selected to the ‘UNITS’ component.
    TESTELEC08.sqc
    Comp ELEC     Electives (Requirements: English, Math, Chemistry or Physics)
    73
         If Rating Value for Rating Component ENGN > Rating Value for Rating Component ENGO then:
    1.     From ADM_APPL_CMP If ENGN, MATH and SCIEN are each equal to ‘0.1’ select from ADM_APPL_MATLS the 6 highest numeric Grades of 50 or more for all courses. Return the sum. Add the sum of UNT_TAKEN of the courses selected to the ‘UNITS’ component.
    2.     From ADM_APPL_CMP If ENGN and SCIEN are each equal to ‘0.1’ and MATH > 0.1 select from ADM_APPL_MATLS the 5 highest numeric Grades of 50 or more for all courses in excluding the single highest grade for courses in SCHOOL_SUBJECT (MATN or MATO). Return the sum. Add the sum of UNT_TAKEN of the courses selected to the ‘UNITS’ component.
    3.     From ADM_APPL_CMP If ENGN and MATH are equal to ‘0.1’ and SCIEN > ‘0.1’ select from ADM_APPL_MATLS the 5 highest numeric Grades of 50 or more for all courses excluding the single highest grade for courses in SCHOOL_SUBJECT (PHYO or PHYN or CHEO or CHEN). Return the sum. Add the sum of UNT_TAKEN of the courses selected to the ‘UNITS’ component.
    4.     From ADM_APPL_CMP If MATH and SCIEN are equal to ‘0.1’ and ENGN > ‘0.1’ select from ADM_APPL_MATLS the 5 highest numeric Grades of 50 or more for all courses excluding the single highest grade for courses in SCHOOL_SUBJECT (ENGN). Return the sum. Add the sum of UNT_TAKEN of the courses selected to the ‘UNITS’ component.
    5.     From ADM_APPL_CMP If ENGN is equal to ‘0.1’ and SCIEN and MATH are each greater than ‘0.1’ select from ADM_APPL_MATLS the 4 highest numeric Grades of 50 or more for all courses excluding the single highest grade for courses in SCHOOL_SUBJECT (MATO or MATN) and also excluding the single highest grade for courses in SCHOOL_SUBJECT (CHEO or CHEN). Return the sum. Add the sum of UNT_TAKEN of the courses selected to the ‘UNITS’ component.
    6.     From ADM_APPL_CMP If MATH is equal to ‘0.1’ and ENGN and SCIEN are each greater than ‘0.1’ select from ADM_APPL_MATLS the 4 highest numeric Grades of 50 or more for all courses excluding the single highest grade for courses in SCHOOL_SUBJECT (ENGN) and also excluding the single highest grade for courses in SCHOOL_SUBJECT (PHYN or PHYO or CHEN or CHEO). Return the sum. Add the sum of UNT_TAKEN of the courses selected to the ‘UNITS’ component.
    7.     From ADM_APPL_CMP If SCIEN is equal to ‘0.1’ and ENGN and MATH are each greater than ‘0.1’ select from ADM_APPL_MATLS the 4 highest numeric Grades of 50 or more for all courses excluding the single highest grade for courses in SCHOOL_SUBJECT (MATN or MATO) and also excluding the single highest grade for courses in SCHOOL_SUBJECT (ENGN). Return the sum. Add the sum of UNT_TAKEN of the courses selected to the ‘UNITS’ component.
    8.     Else select from ADM_APPL_MATLS the 3 highest numeric Grades of 50 or more for all courses excluding the single highest grade for courses in SCHOOL_SUBJECT (MATN or MATO) and also excluding the single highest grade for courses in SCHOOL_SUBJECT (ENGN), and also excluding the single highest grade for courses in SCHOOL_SUBJECT (PHYN or PHYO or CHEN or CHEO). Return the sum. Add the sum of UNT_TAKEN of the courses selected to the ‘UNITS’ component.
    If Rating Value for Rating Component ENGO > Rating Value for Rating Component ENGN then:
    1.     From ADM_APPL_CMP If SCIEN and MATH are each equal to ‘0.1’ select from ADM_APPL_MATLS the 4 highest numeric Grades of 50 or more for all courses excluding the two highest grades for courses in SCHOOL_SUBJECT (ENGO). Return the sum. Add the sum of UNT_TAKEN of the courses selected to the ‘UNITS’ component.
    2.     From ADM_APPL_CMP If SCIEN = 0.1 and MATH is > ‘0.1’ select from ADM_APPL_MATLS the 3 highest numeric Grades of 50 or more for all courses excluding the single highest grade for courses in SCHOOL_SUBJECT (MATN or MATO) and also excluding the two highest grades for courses in SCHOOL_SUBJECT (ENGO). Return the sum and add the sum of the UNT_TAKEN to ‘UNITS’. Return the sum. Add the sum of UNT_TAKEN of the courses selected to the ‘UNITS’ component.
    3.     From ADM_APPL_CMP If MATH = ‘0.1’ and SCIEN is > ‘0.1’ select from ADM_APPL_MATLS the 3 highest numeric Grades of 50 or more for all courses excluding the single highest grade for courses in SCHOOL_SUBJECT (PHYN or PHYO or CHEN or CHEO) and also excluding the two highest grades for courses in SCHOOL_SUBJECT (ENGO). Return the sum. Add the sum of UNT_TAKEN of the courses selected to the ‘UNITS’ component.
    4.     From ADM_APPL_CMP Else If ENGO, MATH and SCIEN are each greater than ‘0.1’ select from ADM_APPL_MATLS the 2 highest numeric Grades of 50 or more for all courses excluding the single highest grade for courses in SCHOOL_SUBJECT (MATO or MATN), and also excluding the single highest grade for courses in SCHOOL_SUBJECT (PHYN or PHYO or CHEN or CHEO) and also excluding the two highest grades for courses in SCHOOL_SUBJECT (ENGO). Return the sum. Add the sum of UNT_TAKEN of the courses selected to the ‘UNITS’ component.
    TESTELEC09.sqc
    Comp: ELEC     Electives (Requirements: English Media Requirement)
    74     If Rating Value for Rating Component ENGN > Rating Value for Rating Component ENGO then:
    1.     From ADM_APPL_CMP If ENGN and MEDAA are equal to ‘0.1’ select from ADM_APPL_MATLS the 6 highest numeric Grades of 50 or more for all courses. Return the sum. Add the sum of UNT_TAKEN of the courses selected to the ‘UNITS’ component.
    2.     Otherwise from ADM_APPL_CMP If MEDAA is equal to ‘0.1’ and ENGN > ‘0.1’ select from ADM_APPL_MATLS the 5 highest numeric Grades of 50 or more for all courses excluding the single highest grade for courses in SCHOOL_SUBJECT (ENGN). Return the sum. Add the sum of UNT_TAKEN of the courses selected to the ‘UNITS’ component.
    3.     Otherwise from ADM_APPL_CMP If ENGN is equal to ‘0.1’ and MEDAA is greater than ‘0.1’ select from ADM_APPL_MATLS the 5 highest numeric Grades of 50 or more for all courses excluding the single highest grade for courses in SCHOOL_SUBJECT (MEDO or MEDN). Return the sum. Add the sum of UNT_TAKEN of the courses selected to the ‘UNITS’ component.
    4.     Otherwise select from ADM_APPL_MATLS the 4 highest numeric Grades of 50 or more for all courses excluding the highest grade for courses in SCHOOL_SUBJECT (MEDO, MEDN,), (ENGN). Return the sum. Add the sum of UNT_TAKEN of the courses selected to the ‘UNITS’ component.
    If Rating Value for Rating Component ENGO > Rating Value for Rating Component ENGN then:
    1.     From ADM_APPL_CMP If MEDAA is equal to ‘0.1’ select from ADM_APPL_MATLS the 4 highest numeric Grades of 50 or more for all courses excluding the two highest grade for courses in SCHOOL_SUBJECT (ENGO). Return the sum. Add the sum of UNT_TAKEN of the courses selected to the ‘UNITS’ component.
    2.     Otherwise from ADM_APPL_CMP If ENGO and MEDSS are each greater than ‘0.1’ select from ADM_APPL_MATLS the 3 highest numeric Grades of 50 or more for all courses excluding the single highest grade for courses in SCHOOL_SUBJECT (MEDO or MEDN) and also the two highest grades for courses in SCHOOL_SUBJECT (ENGO). Return the sum. Add the sum of UNT_TAKEN of the courses selected to the ‘UNITS’ component.
    TESTELEC10.sqc
    Comp ELEC     Electives (Requirements: English, Math, Chemistry or Biology)
    75
         If Rating Value for Rating Component ENGN > Rating Value for Rating Component ENGO then:
    1.     From ADM_APPL_CMP If ENGN, MATH and SCIEN are each equal to ‘0.1’ select from ADM_APPL_MATLS the 6 highest numeric Grades of 50 or more for all courses. Return the sum. Add the sum of UNT_TAKEN of the courses selected to the ‘UNITS’ component.
    2.     From ADM_APPL_CMP If ENGN and SCIEN are each equal to ‘0.1’ and MATH > 0.1 select from ADM_APPL_MATLS the 5 highest numeric Grades of 50 or more for all courses in excluding the single highest grade for courses in SCHOOL_SUBJECT (MATN or MATO). Return the sum. Add the sum of UNT_TAKEN of the courses selected to the ‘UNITS’ component.
    3.     From ADM_APPL_CMP If ENGN and MATH are equal to ‘0.1’ and SCIEN > ‘0.1’ select from ADM_APPL_MATLS the 5 highest numeric Grades of 50 or more for all courses excluding the single highest grade for courses in SCHOOL_SUBJECT (BIOO or BION or CHEO or CHEN). Return the sum. Add the sum of UNT_TAKEN of the courses selected to the ‘UNITS’ component.
    4.     From ADM_APPL_CMP If MATH and SCIEN are equal to ‘0.1’ and ENGN > ‘0.1’ select from ADM_APPL_MATLS the 5 highest numeric Grades of 50 or more for all courses excluding the single highest grade for courses in SCHOOL_SUBJECT (ENGN). Return the sum. Add the sum of UNT_TAKEN of the courses selected to the ‘UNITS’ component.
    5.     From ADM_APPL_CMP If ENGN is equal to ‘0.1’ and SCIEN and MATH are each greater than ‘0.1’ select from ADM_APPL_MATLS the 4 highest numeric Grades of 50 or more for all courses excluding the single highest grade for courses in SCHOOL_SUBJECT (MATO or MATN) and also excluding the single highest grade for courses in SCHOOL_SUBJECT (CHEO or CHEN). Return the sum. Add the sum of UNT_TAKEN of the courses selected to the ‘UNITS’ component.
    6.     From ADM_APPL_CMP If MATH is equal to ‘0.1’ and ENGN and SCIEN are each greater than ‘0.1’ select from ADM_APPL_MATLS the 4 highest numeric Grades of 50 or more for all courses excluding the single highest grade for courses in SCHOOL_SUBJECT (ENGN) and also excluding the single highest grade for courses in SCHOOL_SUBJECT (BION or BIOO or CHEN or CHEO). Return the sum. Add the sum of UNT_TAKEN of the courses selected to the ‘UNITS’ component.
    7.     From ADM_APPL_CMP If SCIEN is equal to ‘0.1’ and ENGN and MATH are each greater than ‘0.1’ select from ADM_APPL_MATLS the 4 highest numeric Grades of 50 or more for all courses excluding the single highest grade for courses in SCHOOL_SUBJECT (MATN, or MATO), and also excluding the single highest grade for courses in SCHOOL_SUBJECT (ENGN). Return the sum. Add the sum of UNT_TAKEN of the courses selected to the ‘UNITS’ component.
    8.     Else select from ADM_APPL_MATLS the 3 highest numeric Grades of 50 or more for all courses excluding the single highest grade for courses in SCHOOL_SUBJECT (MATN or MATO), and also excluding the single highest grade for courses in SCHOOL_SUBJECT (ENGN), and also excluding the single highest grade for courses in SCHOOL_SUBJECT (BION or BIOO or CHEN or CHEO). Return the sum. Add the sum of UNT_TAKEN of the courses selected to the ‘UNITS’ component.
    If Rating Value for Rating Component ENGO > Rating Value for Rating Component ENGN then:
    1.     From ADM_APPL_CMP If SCIEN and MATH are each equal to ‘0.1’ select from ADM_APPL_MATLS the 4 highest numeric Grades of 50 or more for all courses excluding the two highest grades for courses in SCHOOL_SUBJECT (ENGO). Return the sum. Add the sum of UNT_TAKEN of the courses selected to the ‘UNITS’ component.
    2.     From ADM_APPL_CMP If SCIEN = 0.1 and MATH is > ‘0.1’ select from ADM_APPL_MATLS the 3 highest numeric Grades of 50 or more for all courses excluding the single highest grade for courses in SCHOOL_SUBJECT (MATHN or MATHO) and also excluding the two highest grades for courses in SCHOOL_SUBJECT (ENGO). Return the sum and add the sum of the UNT_TAKEN to ‘UNITS’. Return the sum. Add the sum of UNT_TAKEN of the courses selected to the ‘UNITS’ component.
    3.     From ADM_APPL_CMP If MATH = ‘0.1’ and SCIEN is > ‘0.1’ select from ADM_APPL_MATLS the 3 highest numeric Grades of 50 or more for all courses excluding the highest single grade for courses in SCHOOL_SUBJECT (BION, BIOO, CHEN, CHEO) and alsoexcluding the two highest grades for courses in SCHOOL_SUBJECT (ENGO). Return the sum. Add the sum of UNT_TAKEN of the courses selected to the ‘UNITS’ component.
    4.     From ADM_APPL_CMP Else If MATH and SCIEN are each greater than ‘0.1’ select from ADM_APPL_MATLS the 2 highest numeric Grades of 50 or more for all courses excluding the single highest grade for courses in SCHOOL_SUBJECT (MATO or MATN), and also excluding the single highest grade for courses in SCHOOL_SUBJECT (BION or BIOO or CHEN or CHEO) and also the two highest grades for courses in SCHOOL_SUBJECT (ENGO). Return the sum. Add the sum of UNT_TAKEN of the courses selected to the ‘UNITS’ component.
    TESTELEC11.sqc
    Comp ELEC     Electives English, BDES Humanities
    76
         If Rating Value for Rating Component ENGN > Rating Value for Rating Component ENGO then:
    1.     From ADM_APPL_CMP If ENGN and BDESH are equal to ‘0.1’ select from ADM_APPL_MATLS the 6 highest numeric Grades of 50 or more for all courses. Return the sum. Add the sum of UNT_TAKEN of the courses selected to the ‘UNITS’ component.
    2.     Otherwise from ADM_APPL_CMP If BDESH is equal to ‘0.1’ and ENGN > ‘0.1’ select from ADM_APPL_MATLS the 5 highest numeric Grades of 50 or more for all courses excluding the single highest grade for courses in SCHOOL_SUBJECT (ENGN). Return the sum. Add the sum of UNT_TAKEN of the courses selected to the ‘UNITS’ component.
    3.     Otherwise from ADM_APPL_CMP If ENGN is equal to ‘0.1’ and BDESH is greater than ‘0.1’ select from ADM_APPL_MATLS the 5 highest numeric Grades of 50 or more for all courses excluding the single highest grade for courses in SCHOOL_SUBJECT (BDEO or BDEN). Return the sum. Add the sum of UNT_TAKEN of the courses selected to the ‘UNITS’ component.
    4.     Otherwise select from ADM_APPL_MATLS the 4 highest numeric Grades of 50 or more for all courses excluding the single highest grade for courses in SCHOOL_SUBJECT (BDEO, BDEN), and also excluding the single highest grade for courses in SCHOOL_SUBJECT (ENGN). Return the sum. Add the sum of UNT_TAKEN of the courses selected to the ‘UNITS’ component.
    If Rating Value for Rating Component ENGO > Rating Value for Rating Component ENGN then:
    1.     From ADM_APPL_CMP If BDESH is equal to ‘0.1’ select from ADM_APPL_MATLS the 4 highest numeric Grades of 50 or more for all courses excluding the two highest grade for courses in SCHOOL_SUBJECT (ENGO). Return the sum. Add the sum of UNT_TAKEN of the courses selected to the ‘UNITS’ component.
    2.     Otherwise from ADM_APPL_CMP If ENGO and BDESH are each greater than ‘0.1’ select from ADM_APPL_MATLS the 3 highest numeric Grades of 50 or more for all courses excluding the single highest grade for courses in SCHOOL_SUBJECT (BDEO or BDEN) and also excluding the two highest grades for courses in SCHOOL_SUBJECT (ENGO). Return the sum. Add the sum of UNT_TAKEN of the courses selected to the ‘UNITS’ component.
    TESTELEC12.sqc
    Comp ELEC     Electives English, Visual art
    77
         If Rating Value for Rating Component ENGN > Rating Value for Rating Component ENGO then:
    1.     From ADM_APPL_CMP If ENGN and VART are equal to ‘0.1’ select from ADM_APPL_MATLS the 6 highest numeric Grades of 50 or more for all courses. Return the sum. Add the sum of UNT_TAKEN of the courses selected to the ‘UNITS’ component.
    2.     Otherwise from ADM_APPL_CMP If VART is equal to ‘0.1’ and ENGN > ‘0.1’ select from ADM_APPL_MATLS the 5 highest numeric Grades of 50 or more for all courses excluding the single highest grade for courses in SCHOOL_SUBJECT (ENGN). Return the sum. Add the sum of UNT_TAKEN of the courses selected to the ‘UNITS’ component.
    3.     Otherwise from ADM_APPL_CMP If ENGN is equal to ‘0.1’ and VART is greater than ‘0.1’ select from ADM_APPL_MATLS the 5 highest numeric Grades of 50 or more for all courses excluding

    user628839,
    Honestly, I hate people show –ve attitude in reply. But in your case man, I can’t resist my self. You have to spend $$$$ in rentacoder.com or something like that to get your job done!

  • Scope and carrer growth in Oracle Apps

    Hi Gurus and Experts,
    After 4 years of oracle Core database career i m into Oracle Apps now.Can u please suggest what are the scope of Oracle Apps
    Thanks
    Vishwanath

    please reply

  • I want to create a questionnaire and store the user answers in an array or a database

    My project is creating a questionnaire in Flash and then storing the user answers in an array or a database for later analysis. although i was excellent in coding when i was in college, recently i forgot many parts.. so i need help badly to finish my project...

    You should show what code you are having trouble with.

  • Career from Systems to Database Administrator

    Hi all,
    I need some career advice. I want to persue my career as an Oracle Database Administrator and I have underwent a basic level of training on Oracle Database administration.However, I have been recently moved to a team which is into -- systems. And my work is mainly related to Active Directory,Exchange and managing servers.
    I searched a lot about -- 'starting the career as an Oracle DBA' and found out that people generally start as Systems Admin/Unix Admin/Developer and then switch to DBA Admin. My work experience is less than 1 year. I would like to know-- should I continue with this Systems work and get some experience in System Admin to get into Oracle DBA Admin?
    If so,then for how long should I continue with Systems before actually switching over to Database Administration? Moreover, should I do some certifications like MCSE while I am working in Systems? And when and how should I start my preparation for Oracle certifications?
    Hope to get inputs from you all.
    Thanks in advance

    you have to have some earnings, if you are already at another area, you can take adavantage of being already hired somewhere, and you can start studing in parallel so you get acquinted with oracle. First kind of job you may find is a DBA at entry level, which lets you in a pretty difficult position, but there is no other way to start.
    Download software and manuals and start practicing as much as you can. A lot of peaple I have seen here at entry level have taken this strategy:
    - continue with current job
    - start self-studing oracle from manuals
    - installed oracle at a local pc/laptop (XE or EE)
    - a lot of questions, lack of concepts, problems, bad configuration appear
    - they take advantage of this forum to start troubleshooting and continue learning
    - when they feel more comfortable with knowledge the make the OCA exam and later on OCP.
    - either way, keep studying
    ~ Madrid.

  • Career in Database kernel development

    How is the career future in Database kernel development, such as index, locking, transaction managements?
    It seems to me that the DB kernel is quite stable. Are there many opportunities in this area?
    Thanks.

    There are only two companies that likely will require those skills in the near future ... Oracle and Microsoft and I would expect they don't hire more than one or two new people a year.
    Doesn't sound like a promising direction but if you are truly interested contact Oracle HR in Redwood Shores.

  • What are possible career paths after 7 years of database administration?

    Hi, what is most common choice for Oracle production DBA with 5 years< experience, if he wants to change his career ? Is it possible to become Oracle Architect without Java/PL-SQL programming experience, but knowing many oracle products such as OBIEE, EBS etc ?

    >
    Hi, what is most common choice for Oracle production DBA with 5 years< experience, if he wants to change his career ?
    >
    Have you considered early retirement? A lot of DBAs I know got burnt out after about 5 years of dealing with management that wouldn't let them fix what needed fixed!
    Seriously, though, your dba skills could be a good fit for a system architect position. Those positions often involve multiple systems, network and configuration issues, security, compression, encryption and job control to make it all work together.
    Pick the brains of an architect coworker and start getting familiar with the documentation that architects work on: system diagrams, System requirements documents and other docs that may already be available where you work now.

  • Looking for help to increase performance on a DB XML database.

    I'll try to answer all the questions in the Performance Questionnaire from here.
    1) I'm primarily concerned with insertion performance. The best I've seen so far is about 6000 inserts/per second. This is running inside a VMWare VM with 3 GB of RAM. The VM is set up with 2 CPUs each with 2 cores. The host machine has 8GB of RAM with a dual core 2.67 GHZ i7 (2 logical cores per CPU). The best performance I've seen is by running 2 threads of execution. A single thread only gets me about 2500 inserts per/second.
    This is all within a very simple, isolate program. I'm trying to determine how to re-architect a more complicated system, but if I can't hope to hit 10k inserts per second with my sample, I don't see how it's possible to expand this out to something more complicated.
    2) Versions: BDBXML version 2.5.26 no special patches or config options
    3) BDB version 4.8.26, no special patches
    4) 2.67 dual core, hyperthreaded intel i7 (4 logical processors)
    5) Host: Windows 7 64-bit, Guest: RHEL5 64-bit
    6) Underlying disk is a 320GB WesternDigital barricuda (SATA). It's a laptop harddrive, I believe it's only 5400 RPM. Although the VM does not have exclusive access to the drive, it is not the same drive as the Host sytem drive. (i.e. Windows runs off of the C drive, this is the D drive). The has a 60GB slice of this drive.
    7) Drive is NTFS formatted for the host. Guest, ext3
    8) Host 8gb, guest 3gb (total usage when running tests low, i.e. no swapping by guest or host)
    9) not currently using any replication
    10) Not using remote filesystem
    11) db_cv_mutex=POSIX/pthreads/library/x86_64/gcc-assembly
    12) Using the C++ API for DBXML, and the C API for BDB
    using gcc/g++ version 4.1.2
    13) not using app server or web server
    14) flags to 'DB_ENV->open()': | DB_SYSTEM_MEM
              | DB_INIT_MPOOL
              | DB_INIT_LOCK
              | DB_INIT_LOG
              | DB_INIT_TXN
              | DB_RECOVER
              | DB_THREAD
    other env flags explicitly set:
    DB_LOG_IN_MEMORY 1
    DB_LOG_ZERO 1
    set_cachesize(env, 1, 0, 1) // 1GB cache in single block
    DB_TXN_NOSYNC 1
    DB_TXN_WRITE_NOSYNC 1
    I am not using a DB_CONFIG file at this time.
    15) For the container config:
    transactional true
    transactionsNotDurable true
    containertype wholedoc
    indexNodes Off
    pagesize 4096
    16) In my little test program, I have a single container.
    16.1) flags are the same as listed above.
    16.2) I've tried with an empty container, and one with documents already inside and haven't noticed much difference at this point. I'm running 1, 2, 3, or 4 threads, each inserting 10k documents in a loop. Each insert is a single transaction.
    16.3) Wholedoc (tried both node & wholedoc, I believe wholedoc was slightly faster).
    16.4) The best performance I've seen is with a smaller document that is about 500 bytes.
    16.5) I'm not currently using any document data.
    17)sample document:
    <?xml version='1.0' encoding='UTF-8' standalone='no'?>
    <Record xmlns='http://someurl.com/test' JID='UUID-f9032e9c-7e9a-4f2c-b40e-621b0e66c47f'>
    <DataType>journal</DataType>
    <RecordID>f9032e9c-7e9a-4f2c-b40e-621b0e66c47f</RecordID>
    <Hostname>test.foo.com</Hostname>
    <HostUUID>34c90268-57ba-4d4c-a602-bdb30251ec77</HostUUID>
    <Timestamp>2011-11-10T04:09:55-05:00</Timestamp>
    <ProcessID>0</ProcessID>
    <User name='root'>0</User>
    <SecurityLabel>unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023</SecurityLabel>
    </Record>
    18. As mentioned, I'm looked to get at least 10k documents per second for insertion. Updates are much more infrequent, and can run slower. I am not doing any partial updates, or replacing documents. In the actual system, there are minor updates that happen to document metadata, but again, these can be slower.
    19. I'm primarily concerned with insertion rate, not query.
    20. Xquery samples are not applicable at the moment.
    21. I am using transactions, no special flags aside from setting them all to 'not durable'
    22. Log files are currently stored on the same disk as the database.
    23. I'm not using AUTO_COMMIT
    24. I don't believe there are any non-transactional operations
    25. best performance from 2 threads doing insertions
    26. The primary way I've been testing performance is by using the 'clock_gettime(CLOCK_REALTIME)' calls inside my test program. The test program spawns 1 or more threads, each thread inserts 10k documents. The main thread waits for all the threads to complete, then exits. I'm happy to send the source code for this program if that would be helpful.
    27. As mentioned, I'm hoping to get at least 10k inserts per second.
    28. db_stat outputs:
    28.1 db_stat -c:
    93 Last allocated locker ID
    0x7fffffff Current maximum unused locker ID
    9 Number of lock modes
    1000 Maximum number of locks possible
    1000 Maximum number of lockers possible
    1000 Maximum number of lock objects possible
    40 Number of lock object partitions
    0 Number of current locks
    166 Maximum number of locks at any one time
    5 Maximum number of locks in any one bucket
    0 Maximum number of locks stolen by for an empty partition
    0 Maximum number of locks stolen for any one partition
    0 Number of current lockers
    35 Maximum number of lockers at any one time
    0 Number of current lock objects
    95 Maximum number of lock objects at any one time
    3 Maximum number of lock objects in any one bucket
    0 Maximum number of objects stolen by for an empty partition
    0 Maximum number of objects stolen for any one partition
    565631 Total number of locks requested
    542450 Total number of locks released
    0 Total number of locks upgraded
    29 Total number of locks downgraded
    22334 Lock requests not available due to conflicts, for which we waited
    23181 Lock requests not available due to conflicts, for which we did not wait
    0 Number of deadlocks
    0 Lock timeout value
    0 Number of locks that have timed out
    0 Transaction timeout value
    0 Number of transactions that have timed out
    784KB The size of the lock region
    10098 The number of partition locks that required waiting (0%)
    866 The maximum number of times any partition lock was waited for (0%)
    6 The number of object queue operations that required waiting (0%)
    7220 The number of locker allocations that required waiting (2%)
    0 The number of region locks that required waiting (0%)
    3 Maximum hash bucket length
    ====================
    28.2 db_stat -l:
    0x40988 Log magic number
    16 Log version number
    31KB 256B Log record cache size
    0 Log file mode
    10Mb Current log file size
    0 Records entered into the log
    0 Log bytes written
    0 Log bytes written since last checkpoint
    0 Total log file I/O writes
    0 Total log file I/O writes due to overflow
    0 Total log file flushes
    7 Total log file I/O reads
    1 Current log file number
    28 Current log file offset
    1 On-disk log file number
    28 On-disk log file offset
    0 Maximum commits in a log flush
    0 Minimum commits in a log flush
    160KB Log region size
    0 The number of region locks that required waiting (0%)
    ======================
    28.3 db_stat -m
    1GB Total cache size
    1 Number of caches
    1 Maximum number of caches
    1GB Pool individual cache size
    0 Maximum memory-mapped file size
    0 Maximum open file descriptors
    0 Maximum sequential buffer writes
    0 Sleep after writing maximum sequential buffers
    0 Requested pages mapped into the process' address space
    1127961 Requested pages found in the cache (99%)
    3622 Requested pages not found in the cache
    7590 Pages created in the cache
    3622 Pages read into the cache
    7663 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
    11212 Current total page count
    11212 Current clean page count
    0 Current dirty page count
    131071 Number of hash buckets used for page location
    4096 Assumed page size used
    1142798 Total number of times hash chains searched for a page
    1 The longest hash chain searched for a page
    1127988 Total number of hash chain entries checked for page
    0 The number of hash bucket locks that required waiting (0%)
    0 The maximum number of times any hash bucket lock was waited for (0%)
    4 The number of region locks that required waiting (0%)
    0 The number of buffers frozen
    0 The number of buffers thawed
    0 The number of frozen buffers freed
    11218 The number of page allocations
    0 The number of hash buckets examined during allocations
    0 The maximum number of hash buckets examined for an allocation
    0 The number of pages examined during allocations
    0 The max number of pages examined for an allocation
    0 Threads waited on page I/O
    0 The number of times a sync is interrupted
    Pool File: temp.dbxml
    4096 Page size
    0 Requested pages mapped into the process' address space
    1127961 Requested pages found in the cache (99%)
    3622 Requested pages not found in the cache
    7590 Pages created in the cache
    3622 Pages read into the cache
    7663 Pages written from the cache to the backing file
    =================================
    28.4 db_stat -r (n/a, no replication)
    28.5 db_stat -t
    0/0 No checkpoint LSN
    Tue Oct 30 15:05:29 2012 Checkpoint timestamp
    0x8001d4d5 Last transaction ID allocated
    100 Maximum number of active transactions configured
    0 Active transactions
    5 Maximum active transactions
    120021 Number of transactions begun
    0 Number of transactions aborted
    120021 Number of transactions committed
    0 Snapshot transactions
    0 Maximum snapshot transactions
    0 Number of transactions restored
    48KB Transaction region size
    1385 The number of region locks that required waiting (0%)
    Active transactions:

    Replying with output from iostat & vmstat (including the output exceeded the character count).
    =============================
    output of vm_stat while running 4 threads, inserting 10k documents each. It took just under 18 seconds to complete. I ran vmstat a few times while it was running:
    r b swpd free buff cache si so bi bo in cs us sy id wa st
    3 0 0 896904 218004 1513268 0 0 14 30 261 83 1 1 98 0 0
    $ vmstat
    procs -----------memory---------- ---swap-- -----io---- system -----cpu------
    r b swpd free buff cache si so bi bo in cs us sy id wa st
    5 0 0 889588 218004 1520500 0 0 14 30 261 84 1 1 98 0 0
    $ vmstat
    procs -----------memory---------- ---swap-- -----io---- system -----cpu------
    r b swpd free buff cache si so bi bo in cs us sy id wa st
    2 0 0 882892 218012 1527124 0 0 14 30 261 84 1 1 98 0 0
    $ vmstat
    procs -----------memory---------- ---swap-- -----io---- system -----cpu------
    r b swpd free buff cache si so bi bo in cs us sy id wa st
    4 0 0 896664 218012 1533284 0 0 14 30 261 85 1 1 98 0 0
    $ vmstat
    procs -----------memory---------- ---swap-- -----io---- system -----cpu------
    r b swpd free buff cache si so bi bo in cs us sy id wa st
    5 0 0 890456 218012 1539748 0 0 14 30 261 85 1 1 98 0 0
    $ vmstat
    procs -----------memory---------- ---swap-- -----io---- system -----cpu------
    r b swpd free buff cache si so bi bo in cs us sy id wa st
    2 0 0 884256 218020 1545800 0 0 14 30 261 86 1 1 98 0 0
    $ vmstat
    procs -----------memory---------- ---swap-- -----io---- system -----cpu------
    r b swpd free buff cache si so bi bo in cs us sy id wa st
    4 0 0 878304 218020 1551520 0 0 14 30 261 86 1 1 98 0 0
    $ sudo vmstat
    procs -----------memory---------- ---swap-- -----io---- system -----cpu------
    r b swpd free buff cache si so bi bo in cs us sy id wa st
    2 0 0 871980 218028 1558108 0 0 14 30 261 87 1 1 98 0 0
    $ vmstat
    procs -----------memory---------- ---swap-- -----io---- system -----cpu------
    r b swpd free buff cache si so bi bo in cs us sy id wa st
    5 0 0 865780 218028 1563828 0 0 14 30 261 87 1 1 98 0 0
    $ vmstat
    procs -----------memory---------- ---swap-- -----io---- system -----cpu------
    r b swpd free buff cache si so bi bo in cs us sy id wa st
    3 0 0 859332 218028 1570108 0 0 14 30 261 87 1 1 98 0 0
    $ vmstat
    procs -----------memory---------- ---swap-- -----io---- system -----cpu------
    r b swpd free buff cache si so bi bo in cs us sy id wa st
    2 0 0 586756 218028 1572660 0 0 14 30 261 88 1 1 98 0 0
    $ vmstat
    procs -----------memory---------- ---swap-- -----io---- system -----cpu------
    r b swpd free buff cache si so bi bo in cs us sy id wa st
    3 2 0 788032 218104 1634624 0 0 14 31 261 88 1 1 98 0 0
    ================================
    sda1 is mount on /boot
    sda2 is mounted on /
    sda3 is swap space
    output for iostat, same scenario, 4 threads inserting 10k documents each:
    $ iostat -x 1
    Linux 2.6.18-308.4.1.el5 (localhost.localdomain) 10/30/2012
    avg-cpu: %user %nice %system %iowait %steal %idle
    27.43 0.00 4.42 1.18 0.00 66.96
    Device: rrqm/s wrqm/s r/s w/s rsec/s wsec/s avgrq-sz avgqu-sz await svctm %util
    sda 0.00 46.53 0.00 2.97 0.00 396.04 133.33 0.04 14.33 14.33 4.26
    sda1 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
    sda2 0.00 46.53 0.00 2.97 0.00 396.04 133.33 0.04 14.33 14.33 4.26
    sda3 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
    avg-cpu: %user %nice %system %iowait %steal %idle
    26.09 0.00 15.94 0.00 0.00 57.97
    Device: rrqm/s wrqm/s r/s w/s rsec/s wsec/s avgrq-sz avgqu-sz await svctm %util
    sda 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
    sda1 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
    sda2 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
    sda3 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
    avg-cpu: %user %nice %system %iowait %steal %idle
    26.95 0.00 29.72 0.00 0.00 43.32
    Device: rrqm/s wrqm/s r/s w/s rsec/s wsec/s avgrq-sz avgqu-sz await svctm %util
    sda 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
    sda1 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
    sda2 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
    sda3 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
    avg-cpu: %user %nice %system %iowait %steal %idle
    29.90 0.00 32.16 0.00 0.00 37.94
    Device: rrqm/s wrqm/s r/s w/s rsec/s wsec/s avgrq-sz avgqu-sz await svctm %util
    sda 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
    sda1 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
    sda2 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
    sda3 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
    avg-cpu: %user %nice %system %iowait %steal %idle
    40.51 0.00 27.85 0.00 0.00 31.65
    Device: rrqm/s wrqm/s r/s w/s rsec/s wsec/s avgrq-sz avgqu-sz await svctm %util
    sda 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
    sda1 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
    sda2 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
    sda3 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
    avg-cpu: %user %nice %system %iowait %steal %idle
    40.50 0.00 26.75 0.50 0.00 32.25
    Device: rrqm/s wrqm/s r/s w/s rsec/s wsec/s avgrq-sz avgqu-sz await svctm %util
    sda 0.00 3.00 0.00 2.00 0.00 40.00 20.00 0.03 17.00 17.00 3.40
    sda1 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
    sda2 0.00 3.00 0.00 2.00 0.00 40.00 20.00 0.03 17.00 17.00 3.40
    sda3 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
    avg-cpu: %user %nice %system %iowait %steal %idle
    30.63 0.00 32.91 0.00 0.00 36.46
    Device: rrqm/s wrqm/s r/s w/s rsec/s wsec/s avgrq-sz avgqu-sz await svctm %util
    sda 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
    sda1 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
    sda2 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
    sda3 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
    avg-cpu: %user %nice %system %iowait %steal %idle
    29.57 0.00 32.83 0.00 0.00 37.59
    Device: rrqm/s wrqm/s r/s w/s rsec/s wsec/s avgrq-sz avgqu-sz await svctm %util
    sda 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
    sda1 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
    sda2 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
    sda3 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
    avg-cpu: %user %nice %system %iowait %steal %idle
    29.65 0.00 32.41 0.00 0.00 37.94
    Device: rrqm/s wrqm/s r/s w/s rsec/s wsec/s avgrq-sz avgqu-sz await svctm %util
    sda 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
    sda1 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
    sda2 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
    sda3 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
    avg-cpu: %user %nice %system %iowait %steal %idle
    46.70 0.00 26.40 0.00 0.00 26.90
    Device: rrqm/s wrqm/s r/s w/s rsec/s wsec/s avgrq-sz avgqu-sz await svctm %util
    sda 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
    sda1 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
    sda2 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
    sda3 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
    avg-cpu: %user %nice %system %iowait %steal %idle
    32.72 0.00 33.25 0.00 0.00 34.04
    Device: rrqm/s wrqm/s r/s w/s rsec/s wsec/s avgrq-sz avgqu-sz await svctm %util
    sda 0.00 7.00 0.00 57.00 0.00 512.00 8.98 2.25 39.54 0.82 4.70
    sda1 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
    sda2 0.00 7.00 0.00 57.00 0.00 512.00 8.98 2.25 39.54 0.82 4.70
    sda3 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
    avg-cpu: %user %nice %system %iowait %steal %idle
    32.08 0.00 31.83 0.00 0.00 36.09
    Device: rrqm/s wrqm/s r/s w/s rsec/s wsec/s avgrq-sz avgqu-sz await svctm %util
    sda 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
    sda1 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
    sda2 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
    sda3 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
    avg-cpu: %user %nice %system %iowait %steal %idle
    33.75 0.00 31.50 0.00 0.00 34.75
    Device: rrqm/s wrqm/s r/s w/s rsec/s wsec/s avgrq-sz avgqu-sz await svctm %util
    sda 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
    sda1 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
    sda2 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
    sda3 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
    avg-cpu: %user %nice %system %iowait %steal %idle
    33.00 0.00 31.99 0.25 0.00 34.76
    Device: rrqm/s wrqm/s r/s w/s rsec/s wsec/s avgrq-sz avgqu-sz await svctm %util
    sda 0.00 3.00 0.00 2.00 0.00 40.00 20.00 0.05 24.00 24.00 4.80
    sda1 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
    sda2 0.00 3.00 0.00 2.00 0.00 40.00 20.00 0.05 24.00 24.00 4.80
    sda3 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
    avg-cpu: %user %nice %system %iowait %steal %idle
    53.62 0.00 21.70 0.00 0.00 24.69
    Device: rrqm/s wrqm/s r/s w/s rsec/s wsec/s avgrq-sz avgqu-sz await svctm %util
    sda 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
    sda1 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
    sda2 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
    sda3 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
    avg-cpu: %user %nice %system %iowait %steal %idle
    33.92 0.00 22.11 0.00 0.00 43.97
    Device: rrqm/s wrqm/s r/s w/s rsec/s wsec/s avgrq-sz avgqu-sz await svctm %util
    sda 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
    sda1 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
    sda2 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
    sda3 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
    avg-cpu: %user %nice %system %iowait %steal %idle
    8.53 0.00 4.44 0.00 0.00 87.03
    Device: rrqm/s wrqm/s r/s w/s rsec/s wsec/s avgrq-sz avgqu-sz await svctm %util
    sda 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
    sda1 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
    sda2 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
    sda3 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
    avg-cpu: %user %nice %system %iowait %steal %idle
    5.58 0.00 2.15 0.00 0.00 92.27
    Device: rrqm/s wrqm/s r/s w/s rsec/s wsec/s avgrq-sz avgqu-sz await svctm %util
    sda 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
    sda1 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
    sda2 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
    sda3 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
    avg-cpu: %user %nice %system %iowait %steal %idle
    0.00 0.00 1.56 12.50 0.00 85.94
    Device: rrqm/s wrqm/s r/s w/s rsec/s wsec/s avgrq-sz avgqu-sz await svctm %util
    sda 0.00 9.00 0.00 1.00 0.00 80.00 80.00 0.23 86.00 233.00 23.30
    sda1 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
    sda2 0.00 9.00 0.00 1.00 0.00 80.00 80.00 0.23 86.00 233.00 23.30
    sda3 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
    avg-cpu: %user %nice %system %iowait %steal %idle
    1.49 0.00 11.90 0.00 0.00 86.61
    Device: rrqm/s wrqm/s r/s w/s rsec/s wsec/s avgrq-sz avgqu-sz await svctm %util
    sda 0.00 0.00 0.00 1.00 0.00 8.00 8.00 0.04 182.00 35.00 3.50
    sda1 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
    sda2 0.00 0.00 0.00 1.00 0.00 8.00 8.00 0.04 182.00 35.00 3.50
    sda3 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
    avg-cpu: %user %nice %system %iowait %steal %idle
    0.26 0.00 21.82 0.00 0.00 77.92
    Device: rrqm/s wrqm/s r/s w/s rsec/s wsec/s avgrq-sz avgqu-sz await svctm %util
    sda 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
    sda1 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
    sda2 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
    sda3 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
    avg-cpu: %user %nice %system %iowait %steal %idle
    0.00 0.00 20.48 0.00 0.00 79.52
    Device: rrqm/s wrqm/s r/s w/s rsec/s wsec/s avgrq-sz avgqu-sz await svctm %util
    sda 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
    sda1 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
    sda2 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
    sda3 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
    avg-cpu: %user %nice %system %iowait %steal %idle
    9.49 0.00 13.33 0.00 0.00 77.18
    Device: rrqm/s wrqm/s r/s w/s rsec/s wsec/s avgrq-sz avgqu-sz await svctm %util
    sda 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
    sda1 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
    sda2 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
    sda3 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
    avg-cpu: %user %nice %system %iowait %steal %idle
    20.35 0.00 4.77 0.00 0.00 74.87
    Device: rrqm/s wrqm/s r/s w/s rsec/s wsec/s avgrq-sz avgqu-sz await svctm %util
    sda 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
    sda1 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
    sda2 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
    sda3 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
    avg-cpu: %user %nice %system %iowait %steal %idle
    6.32 0.00 13.22 1.72 0.00 78.74
    Device: rrqm/s wrqm/s r/s w/s rsec/s wsec/s avgrq-sz avgqu-sz await svctm %util
    sda 0.00 15302.97 0.99 161.39 7.92 34201.98 210.68 65.27 87.75 3.93 63.76
    sda1 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
    sda2 0.00 15302.97 0.99 161.39 7.92 34201.98 210.68 65.27 87.75 3.93 63.76
    sda3 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
    avg-cpu: %user %nice %system %iowait %steal %idle
    1.83 0.00 5.49 1.22 0.00 91.46
    Device: rrqm/s wrqm/s r/s w/s rsec/s wsec/s avgrq-sz avgqu-sz await svctm %util
    sda 0.00 21.00 0.00 95.00 0.00 91336.00 961.43 43.76 1003.00 7.18 68.20
    sda1 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
    sda2 0.00 21.00 0.00 95.00 0.00 91336.00 961.43 43.76 1003.00 7.18 68.20
    sda3 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
    ===================

  • Request time out when creating content database

    Hello,
    my problem is, that i cannot create a SharePoint content database via the central administration.
    My Setup is the following:
    SharePoint Server 2013 Enterprise Farm
    1x Applikation Server/WFE (Windows Server 2012 SP 1)
    1x Database Server MSSQL Server 2012 (Windows Server 2012 SP 1)
    1x TFS 2013 (Windows Server 2012 SP 1)
    all of them are hosted in the same Hyper-V Environment. It is not the fasted Hyper-V Environment existing on planet earth.
    The weirdest part of the problem is, i am able to create a content database via powershell.
    I am running in some kind of time out issue related to the IIS and CA of that Applikation Server.
    Here is the ULS Log from the failling content database creation via CA
    12.18.2014 10:26:09.47 w3wp.exe (0x2304)
    0x1B40 SharePoint Foundation
    Monitoring b4ly
    High Leaving Monitored Scope (PostAuthenticateRequestHandler). Execution Time=8,5997
    4deed69c-2f53-a086-14bb-cbf40b020025
    12.18.2014 10:26:09.66 w3wp.exe (0x2304)
    0x1B40 SharePoint Foundation
    General g3qj
    High [Forced due to logging gap, cached @ 12/18/2014 10:26:09.50, Original Level: Verbose] url is in site
    4deed69c-2f53-a086-14bb-cbf40b020025
    12.18.2014 10:26:09.66 w3wp.exe (0x2304)
    0x1B40 SharePoint Foundation
    Asp Runtime aj1kp
    High [Forced due to logging gap, Original Level: Verbose] SPRequestModule.PreSendRequestHeaders
    4deed69c-2f53-a086-14bb-cbf40b020025
    12.18.2014 10:26:09.73 w3wp.exe (0x2304)
    0x1B40 SharePoint Foundation
    Database ahjqp
    High [Forced due to logging gap, cached @ 12/18/2014 10:26:09.70, Original Level: Verbose] SQL connection time: 14.765 for Data Source=SQLSERVER\DATABASE;Initial Catalog=master;Integrated Security=True;Pooling=False
    4deed69c-2f53-a086-14bb-cbf40b020025
    12.18.2014 10:26:09.73 w3wp.exe (0x2304)
    0x1B40 SharePoint Foundation
    Topology 8xqz
    High [Forced due to logging gap, Original Level: Medium] Updating SPPersistedObject {0}. Version: {1} Ensure: {2}, HashCode: {3}, Id: {4}, Stack: {5}
    4deed69c-2f53-a086-14bb-cbf40b020025
    12.18.2014 10:26:09.77 w3wp.exe (0x2304)
    0x1B40 SharePoint Foundation
    Upgrade aj2jl
    High 12/18/2014 10:26:09.77 w3wp (0x2304) 0x1B40 SharePoint Foundation Upgrade ServerSequence aj2jl DEBUG Search ServerSequence returns TargetBuildVersion '15.0.4675.1000' 4deed69c-2f53-a086-14bb-cbf40b020025
    4deed69c-2f53-a086-14bb-cbf40b020025
    12.18.2014 10:26:09.77 w3wp.exe (0x2304)
    0x1B40 SharePoint Foundation
    Upgrade aj2jk
    High 12/18/2014 10:26:09.77 w3wp (0x2304) 0x1B40 SharePoint Foundation Upgrade ServerSequence aj2jk DEBUG Setting Search ServerSequence version (guid '53d65723-a256-48d7-a477-1d3466089eef') to BuildVersion '15.0.4675.1000'
    4deed69c-2f53-a086-14bb-cbf40b020025 4deed69c-2f53-a086-14bb-cbf40b020025
    12.18.2014 10:26:09.77 w3wp.exe (0x2304)
    0x1B40 SharePoint Foundation
    Upgrade aj2jl
    High 12/18/2014 10:26:09.77 w3wp (0x2304) 0x1B40 SharePoint Foundation Upgrade ServerSequence aj2jl DEBUG Search ServerSequence returns TargetBuildVersion '15.0.4675.1000' 4deed69c-2f53-a086-14bb-cbf40b020025
    4deed69c-2f53-a086-14bb-cbf40b020025
    12.18.2014 10:26:09.83 w3wp.exe (0x2304)
    0x1B40 SharePoint Foundation
    Database 8acb
    High [Forced due to logging gap, cached @ 12/18/2014 10:26:09.81, Original Level: VerboseEx] Reverting to process identity
    4deed69c-2f53-a086-14bb-cbf40b020025
    12.18.2014 10:26:09.83 w3wp.exe (0x2304)
    0x1B40 SharePoint Foundation
    Database ahjqp
    High [Forced due to logging gap, Original Level: Verbose] SQL connection time: 0.2565 for Data Source=SQLSERVER\DATABASE;Initial Catalog=SharePoint_2013_Prod_Config;Integrated Security=True;Enlist=False;Pooling=True;Min
    Pool Size=0;Max Pool Size=100;Connect Timeout=400
    4deed69c-2f53-a086-14bb-cbf40b020025
    12.18.2014 10:26:12.16 w3wp.exe (0x2304)
    0x1B40 SharePoint Foundation
    Database ahjqp
    High [Forced due to logging gap, cached @ 12/18/2014 10:26:09.86, Original Level: Verbose] SQL connection time: 0.1719 for Data Source=SQLSERVER\DATABASE;Initial Catalog=SharePoint_2013_Prod_Config;Integrated Security=True;Enlist=False;Pooling=True;Min
    Pool Size=0;Max Pool Size=100;Connect Timeout=400
    4deed69c-2f53-a086-14bb-cbf40b020025
    12.18.2014 10:26:12.16 w3wp.exe (0x2304)
    0x1B40 SharePoint Foundation
    Database 8acb
    High [Forced due to logging gap, Original Level: VerboseEx] Reverting to process identity
    4deed69c-2f53-a086-14bb-cbf40b020025
    12.18.2014 10:26:12.19 w3wp.exe (0x2304)
    0x1B40 SharePoint Foundation
    Topology 84y4
    High Granting VIEW SERVER STATE permission for S-1-5-21-3747686279-3738247048-1854932723-1131.
    4deed69c-2f53-a086-14bb-cbf40b020025
    12.18.2014 10:26:12.23 w3wp.exe (0x2304)
    0x1B40 SharePoint Foundation
    Topology 84y5
    High VIEW SERVER STATE permission updated successfully.
    4deed69c-2f53-a086-14bb-cbf40b020025
    12.18.2014 10:26:12.23 w3wp.exe (0x2304)
    0x1B40 SharePoint Foundation
    Topology 84y4
    High Granting CONTROL SERVER permission for S-1-5-21-3747686279-3738247048-1854932723-1131.
    4deed69c-2f53-a086-14bb-cbf40b020025
    12.18.2014 10:26:12.25 w3wp.exe (0x2304)
    0x1B40 SharePoint Foundation
    Topology 84y5
    High CONTROL SERVER permission updated successfully.
    4deed69c-2f53-a086-14bb-cbf40b020025
    12.18.2014 10:26:12.33 w3wp.exe (0x2304)
    0x1B40 SharePoint Foundation
    Database 8acb
    High [Forced due to logging gap, cached @ 12/18/2014 10:26:12.30, Original Level: VerboseEx] Reverting to process identity
    4deed69c-2f53-a086-14bb-cbf40b020025
    12.18.2014 10:26:12.33 w3wp.exe (0x2304)
    0x1B40 SharePoint Foundation
    Database ahjqp
    High [Forced due to logging gap, Original Level: Verbose] SQL connection time: 16.4685 for Data Source=SQLSERVER\DATABASE;Initial Catalog=master;Integrated Security=True;Enlist=False;Pooling=False;Min Pool Size=0;Max
    Pool Size=100;Connect Timeout=400 4deed69c-2f53-a086-14bb-cbf40b020025
    12.18.2014 10:26:12.39 w3wp.exe (0x2304)
    0x1B40 SharePoint Foundation
    Database 8acb
    High [Forced due to logging gap, cached @ 12/18/2014 10:26:12.38, Original Level: VerboseEx] Reverting to process identity
    4deed69c-2f53-a086-14bb-cbf40b020025
    12.18.2014 10:26:12.39 w3wp.exe (0x2304)
    0x1B40 SharePoint Foundation
    Database ahjqp
    High [Forced due to logging gap, Original Level: Verbose] SQL connection time: 11.6743 for Data Source=SQLSERVER\DATABASE;Initial Catalog=master;Integrated Security=True;Enlist=False;Pooling=False;Min Pool Size=0;Max
    Pool Size=100;Connect Timeout=400 4deed69c-2f53-a086-14bb-cbf40b020025
    12.18.2014 10:26:12.42 w3wp.exe (0x2304)
    0x1B40 SharePoint Foundation
    Database 7t6o
    High The WSS_Content_uitest database does not exist.  It will now be created.
    4deed69c-2f53-a086-14bb-cbf40b020025
    12.18.2014 10:26:15.11 w3wp.exe (0x2304)
    0x1B40 SharePoint Foundation
    Database ahjqp
    High [Forced due to logging gap, cached @ 12/18/2014 10:26:12.44, Original Level: Verbose] SQL connection time: 9.9785 for Data Source=SQLSERVER\DATABASE;Initial Catalog=master;Integrated Security=True;Enlist=False;Pooling=False;Min
    Pool Size=0;Max Pool Size=100;Connect Timeout=400
    4deed69c-2f53-a086-14bb-cbf40b020025
    12.18.2014 10:26:15.11 w3wp.exe (0x2304)
    0x1B40 SharePoint Foundation
    Database ab20s
    High [Forced due to logging gap, Original Level: Medium] Setting the {0} option to {1} on the database {2}.
    4deed69c-2f53-a086-14bb-cbf40b020025
    12.18.2014 10:26:15.14 w3wp.exe (0x2304)
    0x1B40 SharePoint Foundation
    Upgrade ajy0d
    High 12/18/2014 10:26:15.14 w3wp (0x2304) 0x1B40 SharePoint Foundation Upgrade SPUtility ajy0d DEBUG File C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\15\Template\sql\store.sql, Time out =
    0 sec 4deed69c-2f53-a086-14bb-cbf40b020025
    4deed69c-2f53-a086-14bb-cbf40b020025
    12.18.2014 10:28:07.46 w3wp.exe (0x2304)
    0x1B40 SharePoint Foundation
    Database ahjqp
    High [Forced due to logging gap, cached @ 12/18/2014 10:26:15.16, Original Level: Verbose] SQL connection time: 11.4389 for Data Source=SQLSERVER\DATABASE;Initial Catalog=WSS_Content_uitest;Integrated Security=True;Enlist=False;Pooling=False;Min
    Pool Size=0;Max Pool Size=100;Connect Timeout=400
    4deed69c-2f53-a086-14bb-cbf40b020025
    12.18.2014 10:28:07.46 w3wp.exe (0x2304)
    0x1B40 SharePoint Foundation
    Database fa45
    High System.Threading.ThreadAbortException: Thread was being aborted.     at SNIReadSyncOverAsync(SNI_ConnWrapper* , SNI_Packet** , Int32 )     at SNINativeMethodWrapper.SNIReadSyncOverAsync(SafeHandle
    pConn, IntPtr& packet, Int32 timeout)     at System.Data.SqlClient.TdsParserStateObject.ReadSniSyncOverAsync()     at System.Data.SqlClient.TdsParserStateObject.TryReadNetworkPacket()     at System.Data.SqlClient.TdsParserStateObject.TryPrepareBuffer()
        at System.Data.SqlClient.TdsParserStateObject.TryReadByte(Byte& value)     at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler,
    TdsParserStateObject stateObj, Boolean& dataReady)     at System.Data.SqlClient.SqlCommand.RunExecuteNonQueryTds(String methodName, Boolean async, Int32 timeout, Boolean asyncWrite)     at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(TaskCompletionSource`1
    completion, String methodName, Boolean sendToPipe, Int32 timeout, Boolean asyncWrite)     at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()     at Microsoft.SharePoint.Utilities.SqlSession.ExecuteScript(TextReader textReader, Int32
    commandTimeout) 4deed69c-2f53-a086-14bb-cbf40b020025
    12.18.2014 10:28:07.47 w3wp.exe (0x2304)
    0x1B40 SharePoint Foundation
    Database fa46
    High at Microsoft.SharePoint.Utilities.SqlSession.ExecuteScript(String path, Int32 commandTimeout)     at Microsoft.SharePoint.Upgrade.SPUtility.ExecuteSqlFile(SqlSession sqlSession, ISqlSession isqlSession,
    SqlFile sqlFileId, Int32 timeOut)     at Microsoft.SharePoint.Administration.SPDatabase.Provision(SPDatabase database, SqlConnectionStringBuilder connectionString, SqlFile sqlFileId, Dictionary`2 options)     at Microsoft.SharePoint.Administration.SPContentDatabase.Provision()
        at Microsoft.SharePoint.Administration.SPContentDatabaseCollection.Add(SPContentDatabase database, Boolean provision, Guid webApplicationLockId, Int32 addFlags)     at Microsoft.SharePoint.Administration.SPContentDatabaseCollection.Add(Guid
    newDatabaseId, String strDatabaseServer, String strDatabaseName, String strDatabaseUsername, String strDatabasePassword, Int32 warningSiteCount, Int32 maximumSiteCount, Int32 status, Boolean provision, Guid lockId, Int32 addFlags)     at Microsoft.SharePoint.ApplicationPages.NewContentDBPage.BtnSubmit_Click(Object
    sender, EventArgs e)     at System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument)     at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)    
    at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)     at System.Web.UI.Page.ProcessRequest()     at System.Web.UI.Page.ProcessRequest(HttpContext context)     at
    System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()     at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)     at System.Web.HttpApplication.PipelineStepManager.ResumeSteps(Exception
    error)     at System.Web.HttpApplication.BeginProcessRequestNotification(HttpContext context, AsyncCallback cb)     at System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context)     at
    System.Web.Hosting.PipelineRuntime.ProcessRequestNotificationHelper(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags)     at System.Web.Hosting.PipelineRuntime.ProcessRequestNotification(IntPtr rootedObjectsPointer,
    IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags)     at System.Web.Hosting.UnsafeIISMethods.MgdIndicateCompletion(IntPtr pHandler, RequestNotificationStatus& notificationStatus)     at System.Web.Hosting.UnsafeIISMethods.MgdIndicateCompletion(IntPtr
    pHandler, RequestNotificationStatus& notificationStatus)     at System.Web.Hosting.PipelineRuntime.ProcessRequestNotificationHelper(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags)     at System.Web.Hosting.PipelineRuntime.ProcessRequestNotification(IntPtr
    rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags)
    4deed69c-2f53-a086-14bb-cbf40b020025
    12.18.2014 10:28:07.47 w3wp.exe (0x2304)
    0x1B40 SharePoint Foundation
    Database tzku
    High ConnectionString: 'Data Source=SQLSERVER\DATABASE;Initial Catalog=WSS_Content_uitest;Integrated Security=True;Enlist=False;Pooling=False;Min Pool Size=0;Max Pool Size=100;Connect Timeout=400'    Partition:
    NULL ConnectionState: Closed ConnectionTimeout: 400
    4deed69c-2f53-a086-14bb-cbf40b020025
    12.18.2014 10:28:07.50 w3wp.exe (0x2304)
    0x1B40 SharePoint Foundation
    Database tzkv
    High SqlCommand: '--FixO15:3174405 create role SPReadOnly This line should not be changed or removed, otherwise upgrade would fail.  IF NOT EXISTS (SELECT * FROM sys.database_principals WHERE name = N'SPReadOnly'
    AND type = 'R')  CREATE ROLE [SPReadOnly]  DECLARE @objname sysname, @objtype NVARCHAR(max), @datatype NVARCHAR(max), @query NVARCHAR(max)  -- Grant SELECT on all SharePoint stored procedures and functions  DECLARE c CURSOR LOCAL FAST_FORWARD
    FOR      SELECT ROUTINE_NAME, ROUTINE_TYPE, DATA_TYPE      FROM INFORMATION_SCHEMA.ROUTINES      WHERE ROUTINE_SCHEMA = 'DBO'  OPEN c  WHILE 1 = 1  BEGIN      FETCH NEXT FROM c INTO
    @objname, @objtype, @datatype      IF @@FETCH_STATUS = -1          BREAK      IF @@FETCH_STATUS = 0      BEGIN          -- Inline table-valued functions    
         IF (@objtype = 'FUNCTION' AND @datatype = 'TABLE')              SET @query = 'GRANT SELECT ON [dbo].' + quotename(@objname) + ' TO [SPReadOnly]'          EXEC sp_executesql
    @query      END  END  CLOSE c  DEALLOCATE c  -- Grant SELECT on all SharePoint tables  DECLARE c CURSOR LOCAL FAST_FORWARD FOR      SELECT TABLE_NAME      FROM INFORMATION_SCHEMA.TABLES
         WHERE TABLE_SCHEMA = 'DBO'  OPEN c  WHILE 1 = 1  BEGIN      FETCH NEXT FROM c INTO @objname      IF @@FETCH_STATUS = -1          BREAK      IF @@FETCH_STATUS
    = 0      BEGIN          SET @query = 'GRANT SELECT ON [dbo].' + quotename(@objname) + ' TO [SPReadOnly]'          EXEC sp_executesql @query      END  END  CLOSE
    c  DEALLOCATE c  -- Grant EXECUTE on User-defined type where schema is dbo  DECLARE c CURSOR LOCAL FAST_FORWARD FOR      SELECT NAME      FROM SYS.TYPES      WHERE IS_USER_DEFINED = 1    
     AND SCHEMA_ID = schema_id(N'dbo')  OPEN c  WHILE 1 = 1  BEGIN      FETCH NEXT FROM c INTO @objname      IF @@FETCH_STATUS = -1          BREAK      IF @@FETCH_STATUS
    = 0      BEGIN          SET @query = 'GRANT EXECUTE ON TYPE::[dbo].' + quotename(@objname) + ' TO [SPReadOnly]'          EXEC sp_executesql @query      END  END  CLOSE
    c  DEALLOCATE c  '     CommandType: Text CommandTimeout: 0
    4deed69c-2f53-a086-14bb-cbf40b020025
    12.18.2014 10:28:07.50 w3wp.exe (0x2304)
    0x1B40 SharePoint Foundation
    Database aek90
    High SecurityOnOperationCheck = False
    4deed69c-2f53-a086-14bb-cbf40b020025
    12.18.2014 10:28:07.50 w3wp.exe (0x2304)
    0x1B40 SharePoint Foundation
    Monitoring b4ly
    High Leaving Monitored Scope (Database.Provision (WSS_Content_uitest on SQLSErver\database)). Execution Time=115148.4664
    4deed69c-2f53-a086-14bb-cbf40b020025
    12.18.2014 10:28:07.50 w3wp.exe (0x2304)
    0x1B40 SharePoint Foundation
    Topology 8dyx
    High Deleting the SPPersistedObject, SPContentDatabase Name=WSS_Content_uitest.
    4deed69c-2f53-a086-14bb-cbf40b020025
    12.18.2014 10:28:07.56 w3wp.exe (0x2304)
    0x1B40 SharePoint Foundation
    Topology bw4w
    High [Forced due to logging gap, cached @ 12/18/2014 10:28:07.53, Original Level: Medium] {0}
    4deed69c-2f53-a086-14bb-cbf40b020025
    12.18.2014 10:28:07.56 w3wp.exe (0x2304)
    0x1B40 SharePoint Foundation
    Database 8acb
    High [Forced due to logging gap, Original Level: VerboseEx] Reverting to process identity
    4deed69c-2f53-a086-14bb-cbf40b020025
    12.18.2014 10:28:07.60 w3wp.exe (0x2304)
    0x1B40 SharePoint Foundation
    Monitoring b4ly
    High Leaving Monitored Scope (Creating Content Database (WSS_Content_uitest on SQLServer\Database)). Execution Time=115311.5636
    4deed69c-2f53-a086-14bb-cbf40b020025
    12.18.2014 10:28:07.64 w3wp.exe (0x2304)
    0x1B40 SharePoint Foundation
    Runtime tkau
    Unexpected System.Web.HttpException: Request timed out.
    4deed69c-2f53-a086-14bb-cbf40b020025
    12.18.2014 10:28:07.64 w3wp.exe (0x2304)
    0x1B40 SharePoint Foundation
    General ajlz0
    High Getting Error Message for Exception System.Web.HttpException (0x80004005): Request timed out.
    4deed69c-2f53-a086-14bb-cbf40b020025
    12.18.2014 10:28:07.69 w3wp.exe (0x2304)
    0x1B40 SharePoint Foundation
    Micro Trace uls4
    High Micro Trace Tags: 0 b4ly,301 aj2jl,3 aj2jk,0 aj2jl,2423 84y4,35 84y5,4 84y4,11 84y5,181 7t6o,2714 ajy0d,112321 fa45,10 fa46,3 tzku,23 tzkv,0 aek90,0 b4ly,6 8dyx,91 b4ly,38 tkau,13 ajlz0
    4deed69c-2f53-a086-14bb-cbf40b020025
    The working content database creation from powershell looks like this
    12.18.2014 09:45:37.52 PowerShell.exe (0x2058)
    0x1E28 SharePoint Foundation
    Upgrade aj2jl
    High 12/18/2014 09:45:37.52 powershell (0x2058) 0x1E28 SharePoint Foundation Upgrade ServerSequence aj2jl DEBUG Search ServerSequence returns TargetBuildVersion '15.0.4675.1000' 43dae8a1-02e3-43f5-8a06-0417221e6385
    43dae8a1-02e3-43f5-8a06-0417221e6385
    12.18.2014 09:45:37.52 PowerShell.exe (0x2058)
    0x1E28 SharePoint Foundation
    Upgrade aj2jk
    High 12/18/2014 09:45:37.52 powershell (0x2058) 0x1E28 SharePoint Foundation Upgrade ServerSequence aj2jk DEBUG Setting Search ServerSequence version (guid '53d65723-a256-48d7-a477-1d3466089eef') to BuildVersion '15.0.4675.1000'
    43dae8a1-02e3-43f5-8a06-0417221e6385 43dae8a1-02e3-43f5-8a06-0417221e6385
    12.18.2014 09:45:37.52 PowerShell.exe (0x2058)
    0x1E28 SharePoint Foundation
    Upgrade aj2jl
    High 12/18/2014 09:45:37.52 powershell (0x2058) 0x1E28 SharePoint Foundation Upgrade ServerSequence aj2jl DEBUG Search ServerSequence returns TargetBuildVersion '15.0.4675.1000' 43dae8a1-02e3-43f5-8a06-0417221e6385
    43dae8a1-02e3-43f5-8a06-0417221e6385
    12.18.2014 09:45:39.98 PowerShell.exe (0x2058)
    0x1E28 SharePoint Foundation
    Topology 84y4
    High Granting VIEW SERVER STATE permission for S-1-5-21-3747686279-3738247048-1854932723-1131.
    43dae8a1-02e3-43f5-8a06-0417221e6385
    12.18.2014 09:45:40.02 PowerShell.exe (0x2058)
    0x1E28 SharePoint Foundation
    Topology 84y5
    High VIEW SERVER STATE permission updated successfully.
    43dae8a1-02e3-43f5-8a06-0417221e6385
    12.18.2014 09:45:40.02 PowerShell.exe (0x2058)
    0x1E28 SharePoint Foundation
    Topology 84y4
    High Granting CONTROL SERVER permission for S-1-5-21-3747686279-3738247048-1854932723-1131.
    43dae8a1-02e3-43f5-8a06-0417221e6385
    12.18.2014 09:45:40.03 PowerShell.exe (0x2058)
    0x1E28 SharePoint Foundation
    Topology 84y5
    High CONTROL SERVER permission updated successfully.
    43dae8a1-02e3-43f5-8a06-0417221e6385
    12.18.2014 09:45:40.23 PowerShell.exe (0x2058)
    0x1E28 SharePoint Foundation
    Database 7t6o
    High The WSS_Content_powershelltest database does not exist.  It will now be created.
    43dae8a1-02e3-43f5-8a06-0417221e6385
    12.18.2014 09:45:43.03 PowerShell.exe (0x2058)
    0x1E28 SharePoint Foundation
    Upgrade ajy0d
    High 12/18/2014 09:45:43.03 powershell (0x2058) 0x1E28 SharePoint Foundation Upgrade SPUtility ajy0d DEBUG File C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\15\Template\sql\store.sql, Time
    out = 0 sec 43dae8a1-02e3-43f5-8a06-0417221e6385
    43dae8a1-02e3-43f5-8a06-0417221e6385
    12.18.2014 09:48:52.70 PowerShell.exe (0x2058)
    0x1E28 SharePoint Foundation
    Database 944r
    High Adding S-1-5-21-3747686279-3738247048-1854932723-1131 to the role, db_owner, in the database, WSS_Content_powershelltest.
    43dae8a1-02e3-43f5-8a06-0417221e6385
    12.18.2014 09:48:52.81 PowerShell.exe (0x2058)
    0x1E28 SharePoint Foundation
    Monitoring b4ly
    High Leaving Monitored Scope (Database.Provision (WSS_Content_powershelltest on SQLSERVER\DATABASE)). Execution Time=192653,1989
    43dae8a1-02e3-43f5-8a06-0417221e6385
    12.18.2014 09:48:57.90 PowerShell.exe (0x2058)
    0x1E28 SharePoint Foundation
    Upgrade al2ph
    High 12/18/2014 09:48:57.90 powershell (0x2058) 0x1E28 SharePoint Foundation Upgrade SPContentDatabaseSequence al2ph DEBUG Executing SQL DDL Script. 43dae8a1-02e3-43f5-8a06-0417221e6385
    43dae8a1-02e3-43f5-8a06-0417221e6385
    12.18.2014 09:48:58.03 PowerShell.exe (0x2058)
    0x1E28 SharePoint Foundation
    Upgrade al2ph
    High 12/18/2014 09:48:58.03 powershell (0x2058) 0x1E28 SharePoint Foundation Upgrade SPContentDatabaseSequence al2ph DEBUG Executing SQL DDL Script. 43dae8a1-02e3-43f5-8a06-0417221e6385
    43dae8a1-02e3-43f5-8a06-0417221e6385
    12.18.2014 09:48:58.04 PowerShell.exe (0x2058)
    0x1E28 SharePoint Foundation
    Upgrade al2ph
    High 12/18/2014 09:48:58.04 powershell (0x2058) 0x1E28 SharePoint Foundation Upgrade SPContentDatabaseSequence2 al2ph DEBUG Executing SQL DDL Script. 43dae8a1-02e3-43f5-8a06-0417221e6385
    43dae8a1-02e3-43f5-8a06-0417221e6385
    12.18.2014 09:48:58.15 PowerShell.exe (0x2058)
    0x1E28 SharePoint Foundation
    Upgrade ajyw6
    High 12/18/2014 09:48:58.15 powershell (0x2058) 0x1E28 SharePoint Foundation Upgrade SPHierarchyManager ajyw6 DEBUG [SPTree Value=SPContentDatabase Name=WSS_Content_powershelltest] added to dependency cache by lookup
    43dae8a1-02e3-43f5-8a06-0417221e6385 43dae8a1-02e3-43f5-8a06-0417221e6385
    12.18.2014 09:48:58.23 PowerShell.exe (0x2058)
    0x1E28 SharePoint Foundation
    Database 944r
    High Adding S-1-5-21-3747686279-3738247048-1854932723-1131 to the role, SPDataAccess, in the database, WSS_Content_powershelltest.
    43dae8a1-02e3-43f5-8a06-0417221e6385
    12.18.2014 09:48:58.59 PowerShell.exe (0x2058)
    0x1E28 SharePoint Foundation
    Database bx4r
    High All documents with forward links in content database [SPContentDatabase Name=WSS_Content_powershelltest] is being dirtied.
    43dae8a1-02e3-43f5-8a06-0417221e6385
    12.18.2014 09:48:58.97 PowerShell.exe (0x2058)
    0x1E28 SharePoint Foundation
    Database 944r
    High Adding S-1-5-21-3747686279-3738247048-1854932723-1131 to the role, SPDataAccess, in the database, WSS_Content_powershelltest.
    43dae8a1-02e3-43f5-8a06-0417221e6385
    12.18.2014 09:48:58.98 PowerShell.exe (0x2058)
    0x1E28 SharePoint Foundation
    Monitoring b4ly
    High Leaving Monitored Scope (Creating Content Database (WSS_Content_powershelltest on SQLSERVER\DATABASE)). Execution Time=198893,1578
    43dae8a1-02e3-43f5-8a06-0417221e6385
    The fact that i am able to create a content database through powershell sorts out permissions problems. I am certain of that because the w3wp.exe and the powershell.exe used for both creations were run under the same user.
    The timeout always happens aroud 120 seconds after i started the creation. The creation via powershell takes about 3,5 minutes.
    Here for the folks that ask me, why i haven't asked google or bing or some other search engine.
    I tried the solutions suggested here
    http://www.sharepointpals.com/post/Error-while-Creating-Web-Application-through-Central-Administration , here
    http://anthonyspiteri.net/sharepoint-2010-web-ui-timeout-creating-web-application-quick-fix/ and here
    http://blogs.ibs.com/Duane.Odum/Lists/Posts/Post.aspx?ID=33
    which i thought pointed me to the right solution.
    But those post unfortunatly didnt worked out.
    I also tried to alter the web.config files (i know that isn't recommended or supported, but it didn't change anything so those are back to normal as well)
    So here are my question:
    Can you guys help me solve this issue?
    Are there any other places where timeouts can be managed or defined?
    P.S.: I am new to using this forum. so pls don't crucify me for doing a mistake.
    P.S.S: My english is very poor also :D
    With best regards
    Simon

    Be careful with settings like these because there may be a much deeper issue at hand. I have had an issue with a customer that manifests itself as a timeout on a site collection. It was very hard to track since it didn't happen frequently. We engaged Microsoft
    Support to find out the root cause but all they could point at is a general network issue that pertains to authentication. After digging deeper, we found out that the network issue was caused by a saturated network connectivity to the domain controller that
    impacts a site collection when the database is making an authentication call. Keep this solution as more of a quick fix but be sure to conduct a deeper investigation of the real root cause
    Edwin Sarmiento SQL Server MVP | Microsoft Certified Master
    Blog |
    Twitter | LinkedIn
    SQL Server High Availability and Disaster Recover Deep Dive Course

  • Statpack analyzing of 9i database.

    hi Expertise
    Please help me for sorting the statpack report of my production DB in 9i. Also advise some recommendation after analyzing my statpack view.
    Elapsed:     3.75 (min)     225 (sec)
    DB Time:     7.84 (min)     470.65 (sec)
    Cache:     10,016 MB     
    Block Size:     8,192 bytes     
    Transactions:     2.01 per second     
    Performance Summary
    Physical Reads:     15,666/sec          MB per second:     122.39 MB/sec     
    Physical Writes:     22/sec          MB per second:     0.17 MB/sec     
    Single-block Reads:     1,412.69/sec          Avg wait:     0.03 ms     
    Multi-block Reads:     1,916.26/sec          Avg wait:     0.05 ms     
    Tablespace Reads:     3,346/sec          Writes:     22/sec     
    Top 5 Events
    Event     Percentage of Total Timed Events
    CPU time     79.89%
    PX Deq: Execute Reply     6.38%
    db file scattered read     4.32%
    SQL*Net more data from dblink     4.29%
    db file sequential read     2.00%
    Tablespace I/O Stats
    Tablespace     Read/s     Av Rd(ms)     Blks/Rd     Writes/s     Read%     % Total IO
    TS_CCPS     3,117      0     2.5      0      100%     92.5%
    TS_OTHERS     204      0.2     26.2      1      99%     6.09%
    TS_AC_POSTED03     19      1.9     127      2      89%     0.63%
    Load Profile
    Logical reads:     42,976/s          Parses:     39.41/s     
    Physical reads:     15,666/s          Hard parses:     5.43/s     
    Physical writes:     22/s          Transactions:     2.01/s     
    Rollback per transaction:     0%          Buffer Nowait:     100%     
    4 Recommendations:
    Your database has relatively high logical I/O at 42,976 reads per second. Logical Reads includes data block reads from both memory and disk. High LIO is sometimes associated with high CPU activity. CPU bottlenecks occur when the CPU run queue exceeds the number of CPUs on the database server, and this can be seen by looking at the "r" column in the vmstat UNIX/Linux utility or within the Windows performance manager. Consider tuning your application to reduce unnecessary data buffer touches (SQL Tuning or PL/SQL bulking), using faster CPUs or adding more CPUs to your system.
    You are performing more than 15,666 disk reads per second. High disk latency can be caused by too-few physical disk spindles. Compare your read times across multiple datafiles to see which datafiles are slower than others. Disk read times may be improved if contention is reduced on the datafile, even though read times may be high due to the file residing on a slow disk. You should identify whether the SQL accessing the file can be tuned, as well as the underlying characteristics of the hardware devices.
    Check your average disk read speed later in this report and ensure that it is under 7ms. Assuming that the SQL is optimized, the only remaining solutions are the addition of RAM for the data buffers or a switch to solid state disks. Give careful consideration these tablespaces with high read I/O: TS_CCPS, TS_OTHERS, TS_AC_POSTED03, TS_RATING, TS_GP.
    You have more than 1,222 unique SQL statements entering your shared pool, with the resulting overhead of continuous RAM allocation and freeing within the shared pool. A hard parse is expensive because each incoming SQL statement must be re-loaded into the shared pool; with the associated overhead involved in shared pool RAM allocation and memory management. Once loaded, the SQL must then be completely re-checked for syntax & semantics and an executable generated. Excessive hard parsing can occur when your shared_pool_size is too small (and reentrant SQL is paged out) or when you have non-reusable SQL statements without host variables. See the cursor_sharing parameter for an easy way to make SQL reentrant and remember that you should always use host variables in you SQL so that they can be reentrant.
    Instance Efficiency
    Buffer Hit:     69.13%          In-memory Sort:     100%     
    Library Hit:     96.4%          Latch Hit:     99.99%     
    Memory Usage:     95.04%          Memory for SQL:     64.19%     
    2 Recommendations:
    Your Buffer Hit ratio is 69.13%. The buffer hit ratio measures the probability that a data block will be in the buffer cache upon a re-read of the data block. If your database has a large number of frequently referenced table rows (a large working set), then investigate increasing your db_cache_size. For specific recommendations, see the output from the data buffer cache advisory utility (using the v$db_cache_advice utility). Also, a low buffer hit ratio is normal for applications that do not frequently re-read the same data blocks. Moving to SSD will alleviate the need for a large data buffer cache.
    Your shared pool maybe filled with non-reusable SQL with 95.04% memory usage. The Oracle shared poolcontains Oracle´s library cache, which is responsible for collecting, parsing, interpreting, and executing all of the SQL statements that go against the Oracle database. You can check the dba_hist_librarycache table in Oracle10g to see your historical library cache RAM usage.
    SQL Statistics
    Click here to see all SQL data
    Wait Events
    Event     Waits     Wait Time (s)     Avg Wait (ms)     Waits/txn
    PX Deq: Execute Reply     137     30     219     0.3
    db file scattered read     431,159     20     0     951.8
    SQL*Net more data from dblin     51,140     20     0     112.9
    db file sequential read     317,856     9     0     701.7
    io done     6,842     5     1     15.1
    db file parallel read     21     1     52     0.0
    local write wait     250     1     4     0.6
    db file parallel write     825     1     1     1.8
    SQL*Net message from dblink     208     1     3     0.5
    log file parallel write     2,854     1     0     6.3
    0 Recommendations:
    Instance Activity Stats
    Statistic     Total     per Second     per Trans
    SQL*Net roundtrips to/from client     87,889     390.6     194.0
    consistent gets     10,141,287     45,072.4     22,387.0
    consistent gets - examination     884,579     3,931.5     1,952.7
    db block changes     100,342     446.0     221.5
    execute count     18,913     84.1     41.8
    parse count (hard)     1,222     5.4     2.7
    parse count (total)     8,868     39.4     19.6
    physical reads     3,525,003     15,666.7     7,781.5
    physical reads direct     539,879     2,399.5     1,191.8
    physical writes     5,132     22.8     11.3
    physical writes direct     29     0.1     0.1
    redo writes     1,598     7.1     3.5
    session cursor cache hits     4,378     19.5     9.7
    sorts (disk)     0     0.0     0.0
    sorts (memory)     4,988     22.2     11.0
    table fetch continued row     310     1.4     0.7
    table scans (long tables)     82     0.4     0.2
    table scans (short tables)     18,369     81.6     40.6
    workarea executions - onepass     0     0.0     0.0
    5 Recommendations:
    You have high network activity with 390.6 SQL*Net roundtrips to/from client per second, which is a high amount of traffic. Review your application to reduce the number of calls to Oracle by encapsulating data requests into larger pieces (i.e. make a single SQL request to populate all online screen items). In addition, check your application to see if it might benefit from bulk collection by using PL/SQL "forall" or "bulk collect" operators.
    You have 3,931.5 consistent gets examination per second. "Consistent gets - examination" is different than regular consistent gets. It is used to read undo blocks for consistent read purposes, but also for the first part of an index read and hash cluster I/O. To reduce logical I/O, you may consider moving your indexes to a large blocksize tablespace. Because index splitting and spawning are controlled at the block level, a larger blocksize will result in a flatter index tree structure.
    You have high update activity with 446.0 db block changes per second. The DB block changes are a rough indication of total database work. This statistic indicates (on a per-transaction level) the rate at which buffers are being dirtied and you may want to optimize your database writer (DBWR) process. You can determine which sessions and SQL statements have the highest db block changes by querying the v$session and v$sessatst views.
    You have high disk reads with 15,666.7 per second. Reduce disk reads by increasing your data buffer size or speed up your disk read speed by moving to SSD storage. You can monitor your physical disk reads by hour of the day using AWR to see when the database has the highest disk activity.
    You have high small table full-table scans, at 81.6 per second. Verify that your KEEP pool is sized properly to cache frequently referenced tables and indexes. Moving frequently-referenced tables and indexes to SSD or theWriteAccelerator will significantly increase the speed of small-table full-table scans.
    Buffer Pool Advisory
    Current:     3,599,469,418 disk reads     
    Optimized:     1,207,668,233 disk reads     
    Improvement:     66.45% fewer     
    The Oracle buffer cache advisory utility indicates 3,599,469,418 disk reads during the sample interval. Oracle estimates that doubling the data buffer size (by increasing db_cache_size) will reduce disk reads to 1,207,668,233, a 66.45% decrease.
    Init.ora Parameters     
    Parameter     Value     
    cursor_sharing     similar     
    db_block_size     8,192     
    db_cache_size     8GB     
    db_file_multiblock_read_count     32     
    db_keep_cache_size     1GB     
    hash_join_enabled     true     
    log_archive_start     true     
    optimizer_index_caching     90     
    optimizer_index_cost_adj     25     
    parallel_automatic_tuning     false     
    pga_aggregate_target     2GB     
    query_rewrite_enabled     true     
    session_cached_cursors     300     
    shared_pool_size     2.5GB     
    optimizercost_model     choose     
    1 Recommendations:
    You are not using large blocksizes for your index tablespaces. Oracle research proves that indexes will build flatter tree structures in larger blocksizes.

    Systemwide Tuning using STATSPACK Reports [ID 228913.1] and http://jonathanlewis.wordpress.com/statspack-examples/ should be useful.

  • Anybody else finding that the iPod classic cannot handle their iTunes database?

    I have a very complex database that heavily uses the smart playlists. I have playlists referencing playlists, etc. and the last 2 operating systems can't handle it. I've got way too many hours behind my iTunes database and I'm unwilling to throw it out to use the iPod. It works great on my machine, allowing me to create well balanced and interesting playlists that are broad and diverse. My database used to work on the iPod. The problem arose with the instalation of a new iPod operating system back over a year ago. The installation killed my iPod and Apple refused to consider that the upgrade was responsible and called it coincidence. Since then an iPod will only work until I make some small mistake, like trying to use the Genius or plugging it into my computer and making some change in my iTunes database. Then it's back to disk mode, erase, reboot, reload and eventually replace.
    Apple dismisses the idea that there is some software or hardware flaw causing the trouble. They claim that the iPod software will handle any iTunes database that is functional and fits on the iPod with a little extra room. They have replaced my iPod 4 times in the last 6+ months under the now impossible idea that I am receiving a series of flawed machines. These iPods sits in my glove compartment of my car and suffer no abuse. Since the last OS update, I can only load an iPod by importing my music in smaller chunks, a day long process at best. A full load of the database kills a new iPod immediately. My last time through tech support we came up with this technique as a way to isolate a potential bad song or album. Everything loaded fine in chunks and the iPod handled everything until a made a change to one of the songs and it went into eternal Apple mode and was replaced at the store. I am pretty convinced that Apple is wrong on this one and that the iPod software or hardware is not robust enough to handle what you can do in iTunes. Anyone else have a similar problem? Anyone at Apple care to look a little more carefully at the problem as a learning tool?
    Dan, Tired of Riding the Bull

    Hi huskerpapa!
    The issue you are seeing could be related to several things, but luckily, we have an article that can help you troubleshoot this issue and find the source of the problem. That article can be found right here:
    iTunes for Windows Vista or Windows 7: Troubleshooting unexpected quits, freezes, or launch issues
    http://support.apple.com/kb/ts1717
    Thanks for coming to the Apple Support Communities!
    Regards,
    Braden

Maybe you are looking for

  • Dissending customer open item clearance

    Dear All , While doing customer open item clearance through F-32 ,   1st I will select total collection line item, then subsequent customer debit line item. System should accept open item clearance dissenting posting date wise other  error message wi

  • TS3274 On my ipad, why do I have to highlight and double tap to do something. How do I disable that function.

    I changed something on my iPad and now I have to tap to highlight and then double tap to get the function I highlighted. How do I disable this?

  • Online Store 1.0

    how can ichange display of items from 3x3 matrix to 2x2 matrix in Demo Online Store 1.0

  • ME27 Stock Transport Order

    Hi gurús, we have one problem with the Stock Transport Order. During creation of Stock Transport Order, many deliveries are generated. This occurs, because system takes the information of the materials masters record: Planned delivery time (MRP II vi

  • "Run only allowed" GP prevents zen apps

    I've just started to experiment with restricted Windows Group Policies an ZMC 10.3. I cant seem to get any restricted applications to run from the nal window like they did in zen 4, 6, or 7 while using the "Run only allowed windows applications" grou