Fragmented logic

Hi,
Os : Red hat /Aix
Db : 10.2
Db_block_size=16k,All tablespaces are created as a Locally managed tablespace.
Recently We moved fragmented tables from one tablespace to another based on total number of extents.
We have 4 four tablespaces which has different initial extent size.
For Example
The tablespace Usr01 has 131072b as a inital extent.
The tablespace Usr02 has 1310720b as a inital extent.
The tablespace Usr03 has 13107200b as a inital extent.
The tablespace Usr04 has 131072000b as a inital extent.
If totoal number of extents grater than 25 and less than 50,we moved a table to usr02 tablespace.
If totoal number of extents grater than 51 and less than 75,we moved a table to usr03 tablespace.
If totoal number of extents more than 100,we moved a table to usr04 tablespace.
By this activity,we can reduce the number of extents and make is extent size larger than previous once moved a fragmented table from one to another.
I couldn't understand why making extents size larger ? Can we reduce the I/O by this activity?
I don't understand behind logic of this activity?
pls help me out.
Thanks & Regards,
VN

user3266490 wrote:
Hi,
Os : Red hat /Aix
Db : 10.2
Db_block_size=16k,All tablespaces are created as a Locally managed tablespace.
Recently We moved fragmented tables from one tablespace to another based on total number of extents.
We have 4 four tablespaces which has different initial extent size.
For Example
The tablespace Usr01 has 131072b as a inital extent.
The tablespace Usr02 has 1310720b as a inital extent.
The tablespace Usr03 has 13107200b as a inital extent.
The tablespace Usr04 has 131072000b as a inital extent.
If totoal number of extents grater than 25 and less than 50,we moved a table to usr02 tablespace.
If totoal number of extents grater than 51 and less than 75,we moved a table to usr03 tablespace.
If totoal number of extents more than 100,we moved a table to usr04 tablespace.
By this activity,we can reduce the number of extents and make is extent size larger than previous once moved a fragmented table from one to another.
I couldn't understand why making extents size larger ? Can we reduce the I/O by this activity?
I don't understand behind logic of this activity?
pls help me out.
Thanks & Regards,
VNThere is no logic of this activity. I/O is done by blocks, not extents. With dictionary managed TS, there was some logic to reducing the number of extents allocated to a segment, because of the recursive sqli (I/O) involved in maintaining the system tables that tracked extent usage. With LMT, this is no longer an issue.

Similar Messages

  • Time series functions are not working for fragmented logical table sources?

    If i remove that fragmented logical table sources, then its working fine.
    if any body know the reason, please let me know.
    thanks and regards,
    krishna

    Hi,
    is because the time series function are not supported for the framentation content, see the content of the oracle support:
    The error occurs due to the fact the fragmented data sources are used on some Time series measures. Time series measures (i.e. AGO) are not supported on fragmented data sources.
    Confirmation is documented in the following guide - Creating and Administering the Business Model and Mapping Layer in an Oracle BI Repository > Process of Creating and Administering Dimensions
    Ago or ToDate functionality is not supported on fragmented logical table sources. For more information, refer to “About Time Series Conversion Functions” on page 197.
    Regards,
    Gianluca

  • Shall i create timeseries functions for the fragmented logical tablesources

    i am not able display the results of ago and to_date logical columns if i use the fragmented logical table sources
    can any body please help me to achieve this task??
    thanks,
    krishna
    Edited by: 835868 on Jun 29, 2011 8:30 AM

    Hi,
    is because the time series function are not supported for the framentation content, see the content of the oracle support:
    The error occurs due to the fact the fragmented data sources are used on some Time series measures. Time series measures (i.e. AGO) are not supported on fragmented data sources.
    Confirmation is documented in the following guide - Creating and Administering the Business Model and Mapping Layer in an Oracle BI Repository > Process of Creating and Administering Dimensions
    Ago or ToDate functionality is not supported on fragmented logical table sources. For more information, refer to “About Time Series Conversion Functions” on page 197.
    Regards,
    Gianluca

  • Union of more than 2 fragments/Logical Table Sources in BMM Layer

    Hi,
    I have come across many blogs which explain how to union two fragments/physical tables in a logical table source.
    Currently, i have a requirement where i have to combine/union 4 fragments/physical tables in a logical table source, say T1, T2, T3, T4 dimension tables.
    All have the same table structure, but differ in data.
    The requirement is to define dashboard prompt on the union of these tables and populate the values from all the tables.
    I am able to union two of the tables using a '>' and a '<' condition on a key column.
    But, am not able to union the other two tables.
    If i try to put more than 2 LTS, then the union fails.
    Please share your thoughts.
    thanks,
    Varun

    Hi Varun,
    What do you mean by the Union fails?
    You can have a logical table source in your business layer with 4 different tables as a source.
    Import the tables in the physical layer and create your joins.
    Then create a logical table in the Business layer and go in the table properties you will see that you can add as much tables as you want into the source (Map to these tables).there you can add all of your 4 tables and specify what type of join you want to have between them (inner, outer...)
    Regards
    Adil

  • Can one logical table had bothfragmented and non-fragmented table sources?

    Hi,
    I created one logical table with three logical table sources as explained below.
    1. Inventory Item logical table source with fragmentation clause of ITEM_TYPE='INVENTORY', I checked source combination feature for this LTS.
    1. Punch out logical table source with fragmentation clause of ITEM_TYPE='PUNCHOUT', I checked source combination feature for this LTS.
    3. Category logical table source without any fragmentation.
    The relation between category and item is one to many.
    I am getting errors in answers if i try to query all attributes of item for a category in dimension only query.Could somebody validate whether i can create one Logical table with fragmeted as well as non-fragmented logical table sources or not?

    Can you share the error messages you are getting?
    regards
    John
    http://obiee101.blogspot.com

  • Struts logic:equal problem

    Hi,
    I'm having trouble with the following:
    <logic:equal name='searchSizeTracker' property='page_no' value='<%searchActionForm.getCurrentPage()%>'>
    even when the page_no value of searchSizeTracker and the currentPage property of searchActionForm both = 1, the logic doesn't display the contents of the logic:equal tags???
    I've included a JSP fragment below.
    Thanks.
    ==============================
    JSP Fragment
    ==============================
    <logic:present name="searchActionForm" scope="session">
    <bean:define id="searchActionForm" name="searchActionForm" scope="request"/>
    </logic:present>
    <tr>
    <td align="center" colspan="4">
    currentPage = <bean:write name='searchActionForm' property='currentPage'/>
    <br>
    currentActionID = <bean:write name='searchActionForm' property='currentActionId'/>
    <br>
    <logic:iterate id="searchSizeTracker" name="searchSizeTracker" type="uk.co.troutlure.bom.SearchTrackerObject" scope="request">
    <logic:equal name='searchSizeTracker' property='page_no' value='<%searchActionForm.getCurrentPage()%>'>
    <strong>
    <jsp:getProperty name="searchSizeTracker" property="page_no"/>
    </strong>
    </logic:equal>
    <logic:notEqual name='searchSizeTracker' property='page_no' value='<%searchActionForm.getCurrentPage()%>'>
    <a href="<%=request.getContextPath()%>/performSearch.do?pageRequired=<bean:write name='searchSizeTracker' property='page_no'/>&action_id=<bean:write name='searchActionForm' property='currentActionId'/>&searchType=2&currentScreen=search_reorder"><jsp:getProperty name="searchSizeTracker" property="page_no"/>
    </a>
    </logic:notEqual>
    </logic:iterate>
    </td>
    </tr>
    ==============================

    Hi
    You have made a small mistake in the coding of your JSP. You please replace
    <logic:equal name='searchSizeTracker' property='page_no' value='
    <%searchActionForm.getCurrentPage()%>'>
    with
    logic:equal name='searchSizeTracker' property='page_no' value='
    <%=searchActionForm.getCurrentPage()%>'>

  • Joining two fact tables for subject area

    When I tried to use two simple fact tables joined by a dimension, I am getting the “ No fact table exists at the requested level of detail” error in the answer when I try to pull the columns from Fact 1 and Fact 2 tables. I have set the content in both the fact table to lowest granularity of dimension with CUST_ID, RAT_ID, ACT_ID keys. We have one to many relationships between dimension and both the fact tables. Any feedback is highly cherished.
    Fact1: keys are: CUST_ID, RAT_ID, ACT_ID, YEAR
    Fields are CUST_ID, RAT_ID, ACT_ID, YEAR , Rev1, Transaction Date
    Fact2: keys are: CUST_ID, RAT_ID, ACT_ID, YEAR
    Fields are CUST_ID, RAT_ID, ACT_ID, YEAR , Rev2, CreationDate
    Dimension keys are CUST_ID, RAT_ID, ACT_ID
    Thanks,
    uday

    Hi LC,
    We have to add two fact tables F1 AND F2 to an existing bmm. These fact tables have history tables F11 AND F22 and we have to use partition logic for this.How you did partition ? you should be using Fragmentation logic for that any how you will add the F11/F22 tables to F1 and F2 LTS , so when you join F1 & F2 to the common dimension then it should work for the calucluated measures but dont forgot to create hierarchies and specify the content levels for the fact tables
    Thanks,
    Saichand

  • Joining two fact tables

    Hi:
    We have to add two fact tables F1 AND F2 to an existing bmm. These fact tables have history tables F11 AND F22 and we have to use partition logic for this.
    We have multiple dimensions D1,D2,D3, D4,D5, D6, D7, D8.
    We have common dimension table D1.
    F1, F2 are joined to D1 on the item Id.
    F1 should be joined to F2 on the Invoice Id.
    We have calculated columns in F1 based on the columns in F2.
    Please let me know the best way to build a bmm in this scenario.
    Thanks,
    LC

    Hi LC,
    We have to add two fact tables F1 AND F2 to an existing bmm. These fact tables have history tables F11 AND F22 and we have to use partition logic for this.How you did partition ? you should be using Fragmentation logic for that any how you will add the F11/F22 tables to F1 and F2 LTS , so when you join F1 & F2 to the common dimension then it should work for the calucluated measures but dont forgot to create hierarchies and specify the content levels for the fact tables
    Thanks,
    Saichand

  • Time series functions are not working in OBIEE for ESSBASE data source

    Hi All,
    I am facing a problem in OBIEE as I am getting error messages for measure columns with Time series functions(Ago,ToDate and PeriodRolling) in both RPD and Answers.
    Error is "Target database does not support Ago operation".
    But I am aware of OBIEE supports Time Series functions for Essbase data source.
    using Hyperion 9.3.1 as data source and obiee 11.1.1.5.0 as reporting tool.
    Appreciate your help.
    Thanks,
    Aravind

    Hi,
    is because the time series function are not supported for the framentation content, see the content of the oracle support:
    The error occurs due to the fact the fragmented data sources are used on some Time series measures. Time series measures (i.e. AGO) are not supported on fragmented data sources.
    Confirmation is documented in the following guide - Creating and Administering the Business Model and Mapping Layer in an Oracle BI Repository > Process of Creating and Administering Dimensions
    Ago or ToDate functionality is not supported on fragmented logical table sources. For more information, refer to “About Time Series Conversion Functions” on page 197.
    Regards,
    Gianluca

  • How to model in RPD aggregate tables with different years of data

    Can someone let me know how to accomplish the following in OBIEE?
    I want to create a logical fact table with multiple logical table sources. I have an aggregate table that only stores current year data. In OBIEE, if a user builds a report using data from the current year, I want the query to hit this aggregate table. My base fact table however stores all years of data. If a user builds a report using data from prior time periods, I want the query to hit the base fact table.
    And if you're curious, the aggregate only contains current year data because the ETL needs to do a full load each night due to the complexity. The high volume of data and the amount of time it takes to populate this aggregate means we only have time to populate the current year data.
    Thanks in advance.

    Yes this situation is both an aggregate table and fragmented data. I already modeled the aggregate table correctly specifying the content logical levels.
    I'm not familiar with how to set the fragmentation logic. I see the fragmentation content section. What do I enter in this section to specify that my AGG table is for current year data? Do I need to enter something for both logica table sources?
    Please let me know if there is a link with examples or an explanation. Appreciate the responses.

  • ConvertTo-HTML Problem

    Hi,
    I'm writing my first script and everything is working ok.. except when i try to convert it to html. i have tried a few different ways but cant seem to get it right. the closest i have got is:
    Function BSValidate-PPServer {
        Param (
            [String[]]$ComputerName,
            [String]$OutPath
        ForEach ($comp in $ComputerName) {
            Write-Host "Gathering Details for $comp, Please Hold"
            Write-Host "Grabbing Computer Type"
            $comptype = if (Get-WmiObject -ComputerName $comp -
    class Win32_ComputerSystem |
                            Where-Object -Property "Manufacturer"
    -EQ 'VMware, Inc.')
                           "Virtual"
                        else
                            "Physical"
                        } ConvertTo-Html -PreContent -Fragment
    "<h2>System Type</h2>" |
                          Out-String
            Write-Host "Grabbing Disk Information"
            $DriveSPC = Get-WmiObject -Class Win32_logicalDisk -
    ComputerName $comp -Filter "DeviceID='C:'" |
                        Select DeviceID,VolumeName,@{Name=”Size
    (GB)”;Expression={“{0:N1}” -f($_.size/1gb)}},
    {Name=”Freespace(GB)”;Expression={“{0:N1}” -f
    ($_.freespace/1gb)}} |
    ConvertTo-Html -as Table -Fragment -PreContent "<H2>Operating
    System Drive Details</H2>" |
    Out-String
            Write-Host "Grabbing Todays Hotfixes"
            $Hotfix = Get-HotFix -ComputerName $comp | where-
    object -value "InstalledOn" -GE (get-date).Adddays(-1)
            Write-Host "Counting Hotfixes"
            $HotfixCount = $Hotfix.count |
                                          ConvertTo-Html -Fragment
    -PreContent "<H2>Todays Installed Hotfix Count</H2>" |
                                          Out-Default
            Write-Host "Checking for Services not running that are
    meant to be"
            $SVCFail = IF (Get-WmiObject -Computername $Comp -
    class win32_service |
                        Where-Object {$_.StartMode -eq "Auto" -and
    $_.State -ne "running"} -eq $null)
                               out-string -stream "No Services
    have failed"
                            else
                                Select-Object Name, Desciption
                                } ConvertTo-Html -as Table -
    Fragment -PreContent "<H2>Failed Services</H2>" |
    Out-String
            Write-Host "Checking for Application Log Errors"
            $AppLog = Get-EventLog -Computername $Comp -LogName
    "Application" -EntryType Error,warning -After (Get-
    Date).AddDays(-1) |
                        Select-Object EntryType, Source, Message 
    |
    ConvertTo-
    Html -as table -Fragment -PreContent "<H2>Application Log
    Errors</H2>" |
    Out-String
            Write-Host "Checking for System Log Errors"
            $SysLog =  Get-EventLog -computername $Comp -LogName
    "System" -EntryType Error,warning -After (Get-Date).AddDays(-
    1) |
                        Select-Object EntryType, Source, Message |
    ConvertTo-
    Html -as Table -Fragment -PreContent "<H2>System Log
    Errors</H2>" |
    Out-String
            Write-Host "Saving Your Report for $comp"
                ConvertTo-Html -PostContent "$comptype $DriveSPC
    $HotfixCount $SVCFail $AppLog $SysLog" |
                                             Out-File test.htm
            Write-Host 'Ok done, Onto the next one (if any)'
    This is working ok but the areas where i have the "if" statements dont seem to be using the heading? any ideas on what im doing wrong?
    thanks

    You can modify the script as required. The below is a Querying general System Information. Worked in Win 7 and Win 2008 R2.
    Add-Content "$Filepath\style.CSS" -Value " body {
    font-family:Calibri;
    font-size:10pt;
    background-image:url('C:\Images\CookieAuth.jpg');
    th {
    background-color:black;
    color:white;
    td {
    background-color:#19fff0;
    color:black;
    Write-Host "CSS File Created Successfully... Executing Inventory Report!!! Please Wait !!!" -ForegroundColor Yellow
    #ReportDate
    $ReportDate = Get-Date | Select -Property DateTime |ConvertTo-Html -Fragment
    #General Information
    $ComputerSystem = Get-WmiObject -Class Win32_ComputerSystem |
    Select -Property Model , Manufacturer , Description , PrimaryOwnerName , SystemType |ConvertTo-Html -Fragment
    #Boot Configuration
    $BootConfiguration = Get-WmiObject -Class Win32_BootConfiguration |
    Select -Property Name , ConfigurationPath | ConvertTo-Html -Fragment
    #BIOS Information
    $BIOS = Get-WmiObject -Class Win32_BIOS | Select -Property PSComputerName , Manufacturer , Version | ConvertTo-Html -Fragment
    #Operating System Information
    $OS = Get-WmiObject -Class Win32_OperatingSystem | Select -Property Caption , CSDVersion , OSArchitecture , OSLanguage | ConvertTo-Html -Fragment
    #Time Zone Information
    $TimeZone = Get-WmiObject -Class Win32_TimeZone | Select Caption , StandardName |
    ConvertTo-Html -Fragment
    #Logical Disk Information
    $Disk = Get-WmiObject -Class Win32_LogicalDisk -Filter DriveType=3 |
    Select SystemName , DeviceID , @{Name=”size(GB)”;Expression={“{0:N1}” -f($_.size/1gb)}}, @{Name=”freespace(GB)”;Expression={“{0:N1}” -f($_.freespace/1gb)}} |
    ConvertTo-Html -Fragment
    #CPU Information
    $SystemProcessor = Get-WmiObject -Class Win32_Processor |
    Select SystemName , Name , MaxClockSpeed , Manufacturer , status |ConvertTo-Html -Fragment
    #Memory Information
    $PhysicalMemory = Get-WmiObject -Class Win32_PhysicalMemory |
    Select -Property Tag , SerialNumber , PartNumber , Manufacturer , DeviceLocator , @{Name="Capacity(GB)";Expression={"{0:N1}" -f ($_.Capacity/1GB)}} | ConvertTo-Html -Fragment
    #Software Inventory
    $Software = Get-WmiObject -Class Win32_Product |
    Select Name , Vendor , Version , Caption | ConvertTo-Html -Fragment
    ConvertTo-Html -Body "<font color = blue><H4><B>Report Executed On</B></H4></font>$ReportDate
    <font color = blue><H4><B>General Information</B></H4></font>$ComputerSystem
    <font color = blue><H4><B>Boot Configuration</B></H4></font>$BootConfiguration
    <font color = blue><H4><B>BIOS Information</B></H4></font>$BIOS
    <font color = blue><H4><B>Operating System Information</B></H4></font>$OS
    <font color = blue><H4><B>Time Zone Information</B></H4></font>$TimeZone
    <font color = blue><H4><B>Disk Information</B></H4></font>$Disk
    <font color = blue><H4><B>Processor Information</B></H4></font>$SystemProcessor
    <font color = blue><H4><B>Memory Information</B></H4></font>$PhysicalMemory
    <font color = blue><H4><B>Software Inventory</B></H4></font>$Software" -CssUri "$filepath\style.CSS" -Title "Server Inventory" | Out-File "$FilePath\$ComputerName.html"
    Write-Host "Script Execution Completed" -ForegroundColor Yellow
    Invoke-Item -Path "$FilePath\$ComputerName.html"
    CSS file is for look and feel
    File looks like below
    Download Code
    Regards Chen V [MCTS SharePoint 2010]

  • Script to include error checking

    Hi All,
    Hopefully someone can help me with this.  I'm quite new to powershell and dont really know much about it.  A bit of background on what i want to achieve.  
    At the end of each server build (vm or physical), I would like to run a script which does a full inventory of our windows servers and checks for anything which is not configured / installed.  So for example once the server is build, I would like to
    check what windows features are installed / GPO's are applied / windows activation status etc and then i want the script to create a HTML report and highlight anything it finds which could be missing or not configured.  I understand this is quite vague
    but for the time being i would just like a generic check and then can fine tune it later.  I have managed to get the following script from another site and added a few modifications myself but need to now get it doing what i want:
    Set-ExecutionPolicy RemoteSigned -ErrorAction SilentlyContinue 
    $UserName = (Get-Item  env:\username).Value
    $ComputerName = (Get-Item env:\Computername).Value 
    #$filepath = (Get-ChildItem env:\userprofile).value
    $share = "\\files\general$\Operations\Build Reports"
    #ReportDate 
    $ReportDate = Get-Date | Select -Property DateTime |ConvertTo-Html -Fragment 
    #General Information 
    $ComputerSystem = Get-WmiObject -Class Win32_ComputerSystem |  
    Select -Property Model , Manufacturer , Description , PrimaryOwnerName , SystemType |ConvertTo-Html -Fragment 
    #Operating System Information 
    $OS = Get-WmiObject -Class Win32_OperatingSystem | Select -Property Caption , CSDVersion , OSArchitecture , OSLanguage | ConvertTo-Html -Fragment 
    #Windows Activation Status
    $Activation = Get-CimInstance -ClassName SoftwareLicensingProduct | where PartialProductKey | Select Name, @{Label="Grace period (days)"; Expression={ $_.graceperiodremaining / 1440}}, @{Label= "License Status"; Expression={switch (foreach
    {$_.LicenseStatus}) { 0 {"Unlicensed"} 1 {"Licensed"} 2 {"Out-Of-Box Grace Period"} 3 {"Out-Of-Tolerance Grace Period"} 4 {"Non-Genuine Grace Period"} 5 {"Notification Period"} 6 {"Extended Grace"}
    } } } | ConvertTo-Html -Fragment 
    #Logical Disk Information 
    $Disk = Get-WmiObject -Class Win32_LogicalDisk -Filter DriveType=3 | 
    Select SystemName , DeviceID , @{Name=”size(GB)”;Expression={“{0:N1}” -f($_.size/1gb)}}, @{Name=”freespace(GB)”;Expression={“{0:N1}” -f($_.freespace/1gb)}} | 
    ConvertTo-Html -Fragment 
    #Time Zone Information 
    $TimeZone = Get-WmiObject -Class Win32_TimeZone | Select Caption , StandardName | ConvertTo-Html -Fragment 
    #CPU Information 
    $SystemProcessor = Get-WmiObject -Class Win32_Processor  |  Select SystemName , Name , MaxClockSpeed , Manufacturer , status |ConvertTo-Html -Fragment
    #Memory Information 
    $PhysicalMemory = Get-WmiObject -Class Win32_PhysicalMemory | Select -Property Tag , SerialNumber , PartNumber , Manufacturer , DeviceLocator , @{Name="Capacity(GB)";Expression={"{0:N1}" -f ($_.Capacity/1GB)}} | ConvertTo-Html -Fragment 
    #Software Inventory 
    $Software = Get-WmiObject -Class Win32_Product | Select Name , Vendor , Version , Caption | ConvertTo-Html -Fragment  
    #Windows Features Inventory
    $Features = Get-WmiObject -query "select * from win32_optionalfeature where installstate=1" | select Name, Caption | ConvertTo-Html -Fragment
    ConvertTo-Html -Body "<font color = blue><H4><B>Report Executed On</B></H4></font>$ReportDate 
    <font color = blue><H4><B>Report Generated By</B></H4></font>$username
    <font color = blue><H4><B>General Information</B></H4></font>$ComputerSystem 
    <font color = blue><H4><B>Operating System Information</B></H4></font>$OS 
    <font color = blue><H4><B>Activation Status</B></H4></font>$Activation
    <font color = blue><H4><B>Time Zone Information</B></H4></font>$TimeZone 
    <font color = blue><H4><B>Disk Information</B></H4></font>$Disk 
    <font color = blue><H4><B>Processor Information</B></H4></font>$SystemProcessor 
    <font color = blue><H4><B>Memory Information</B></H4></font>$PhysicalMemory 
    <font color = blue><H4><B>Windows Features Iventory</B></H4></font>$Features
    <font color = blue><H4><B>Software Inventory</B></H4></font>$Software" -CssUri  "$share\style.CSS" -Title "Server Inventory" | Out-File "$share\$ComputerName.html" 
    Write-Host "Script Execution Completed" -ForegroundColor Yellow 
    Invoke-Item -Path "$share\$ComputerName.html"
    So what I would like is in the HTML report, anything that is not done right is highlighted in Red with a quick sentence at the end stating the issue.  So for example where this script checks the Windows Activation status, I would like that any status
    which is reported that is not "Licensed" is highlighted red in the HTML report and a sentence at the end of the report which reads out something like "Windows is not activated.  Please activate".  All our base build have a certain
    set of windows features installed, so the  script could reference a set of features installed on a current system (possibly output the windows features from a correctly built system which is output to a file and then compared on the newly built server)
    and check what is missing and again highlight in red (for example "Failover clustering is not Installed" etc.  
    I would appreciate any help that could be provided
    Thanks

    There are so many things that, in your environment, you might want to check to verify a server build that it is highly unlikely that anyone else does, or would want to do, the same tests.
    You will probably have better luck asking separate questions about how to do some of the specific checks you want to run, and, possibly, how to use colour-coding to highlight in HTML.
    I'll start you off by pointing out that what you make look complex can be done in a much simpler manner. For example, how you get the username from the username environment variable:
    PS C:\Users\Al> $UserName = (Get-Item env:\username).Value
    PS C:\Users\Al> $username | gm | select typename -first 1
    TypeName
    System.String
    PS C:\Users\Al>
    It is good that you are concerned with the type of value assigned, but there is a simpler way that works for all environment variables (all of which are strings):
    PS C:\Users\Al> $UserName = $env:username
    PS C:\Users\Al> $username | gm | select typename -first 1
    TypeName
    System.String
    PS C:\Users\Al>
    This also returns a string, but, in the process, the code is simpler and a bit more intuitive, at least in my opinion.
    Al Dunbar -- remember to 'mark or propose as answer' or 'vote as helpful' as appropriate.

  • Nvarchar column filter - SQL server

    Hello,
    I am using OBIEE 10.1.3.4.2 and I have problem with filtering data coming from SQL server 2008. I am using ODBC connection to access SQL server data. I can see results of my queries without any problem.
    But I have problem with filtering.
    My answer use these columns:
    Id (varchar(36))
    Code (nvarchar(256))
    Name (nvarchar(256))
    HappenedOn (date)
    Please look on this screenshost:
    http://img59.imageshack.us/img59/5242/obieenvarcharcolumn.jpg
    Screenshot
    I have problem when I want to use filter on Code column and use some non-english characters. Specifically Czech characters in windows1250 code page. With that filter I am getting "No result" view. But generated select is working in Microsoft SQL Server Management Studio.
    I think there is some problem with ODBC resource or BI configuration, but I can not find reason of this behaviour.
    Do I need to make some specific configuration to use NVARCHAR columns? Specifiy some encoding etc....
    Thank you

    Thank you Dpka...
    Checking UNICODE option on Write Back tab solved my problem. It is realy nice hidden property :-)
    But my fight is not over...
    Now I am getting error when I try to make join between table from Oracle and table from SQL server.
    It is a Bug ID 9147807 and I hope that Patch (9147807: INCORRECT SYNTAX NEAR 'SESSION' WHEN QUERYING FRAGMENTED LOGICAL FACT TABLE) will help me.

  • Get-WMI object exporting IP configuration to HTML only displays System.String[]

    Hi,
     I'm trying to customise a powershell script I found in the technet gallery for server inventory by adding reporting information for IP details. The disk sample works perfectly and I can export my data to an HTML file, but the IP address information
    I'm struggling with.
    The IP information displays:
    True
    System.String[]
    System.String[]
    System.String[]
    laptop-04
    00:DB:DF:0D:84:
    I can use the IP powershell ina for loop and display the IP details correctly, but in this format if I want to export it to a HTML it doesn't work, please advise.
    $IPInfo = Get-WmiObject -Class Win32_NetworkAdapterConfiguration -Filter IPEnabled=TRUE -ComputerName $ComputerName | Select-Object -Property [a-z]* -ExcludeProperty IPX*,WINS* |
    select DHCPEnabled, IPAddress, IPSubnet, DefaultIPGateway, DNSHostName, MACAddress | ConvertTo-Html -Fragment 
    #Logical Disk Information
    #the @Name below simply renames the size
    $Disk = Get-WmiObject -Class Win32_LogicalDisk -Filter DriveType=3 | 
    Select SystemName , DeviceID , @{Name=”size(GB)”;Expression={“{0:N1}” -f($_.size/1gb)}}, @{Name=”freespace(GB)”;Expression={“{0:N1}” -f($_.freespace/1gb)}} |
    ConvertTo-Html -Fragment
    Thanks in advance...
    IT Support/Everything

    jrv,
     Many thanks, much appreciated :-)
    I've used your format to get the following:
    $IPInfo = Get-WmiObject -Class Win32_NetworkAdapterConfiguration -Filter IPEnabled=TRUE -ComputerName $ComputerName | Select-Object -Property [a-z]* -ExcludeProperty IPX*,WINS* |
    select DHCPEnabled, @{N='IPAddress';E={$_.IPAddress -join '|'}}, @{N='IP Subnet';E={$_.IPSubnet -join '|'}}, @{N='Default IP Gateway';E={$_.DefaultIPGateway -join '|'}}, DNSHostName, MACAddress | ConvertTo-Html -Fragment 
    QQ - I get the @{N='IPAddress' is used to rename the IP Address, but does the 'E={$_.IPAddress -join '|'}}' do? I can guess it's an express to expand the $_.IPAddress and pipe all the results into a join, but I'm not sure as I've never seen the 'E=' format
    before.
    @{N='IPAddress';E={$_.IPAddress -join '|'}}
    Thanks again

  • How to call the Page Fragment in Page with Flow logic

    Hi,
        I am new to BSP, My requirement is to created 1 page fragment which contains the Logo.  and to create 2 pages in flow logic
    The  logo has to apper in Pages with flow logic Pages. My question is how to call the PAge fragment in the 1 &2 pagesin page with flow logic
    Thanks,
    suresh

    Suresh,
    There is a very enriching portal help.sap.com  where you can find all basic and good documentation .
    http://help.sap.com/saphelp_nw04/helpdata/en/77/8a54d7434ff34784272a3df98ab645/content.htm
    the above link is from that portal.
    Before asking such basic questions please at least try to find or do some research yourself.
    There are standard applications like HTMLB_SAMPLES and SBSEXT_HTMLB and more for sample applications.
    Regards,
    Anubhav

Maybe you are looking for

  • CMP 6.1 Entity bad performance.

    I'am using entity 1.1 EJB on WL 6.1 and facing very bad performances: around 150ms for an insert (i have 20 columns). When accessing an order interface to read 2 fields in a session bean method: around 90 ms. I'am very disapointed and confused. What

  • I cannot update Photoshop cc, Photoshop cc(2014), Bridge cc. (U43M1D204)

    I cannot update Photoshop cc, Photoshop cc(2014), Bridge cc. (U43M1D204) But I could do in Lightroom 5, Lightroom cc(2015). I've tried many times it comes out the same.

  • "Method Summary" sort order same as source?

    Is there a straightforward way to have the methods listed in the "Method Summary" section of a JavaDoc-generated class description listed in the same order as they appear in the source code? It appears that the "Method Detail" section they are listed

  • Acessing Cube tables outside BW

    Hello, I am trying to access the logical tables of a Sap Cube in SQL Server 2005. Is there any way to know what tables(fact and dimension) in SQL Server match the cube in BW? Can we know how the cube is stored in SQL Server? Thanks Edited by: nunocas

  • Issues after upgrade

    I know we are late to the party but we finally upgraded from CS3 to CS4. One of the first things I have been having problems with on my dual quad Mac is how much slower things are in CS4.  I've gone into the secret menu and made changes they mimic CS