Re: RLC

Hi frnds,
I designed RLC circuit using labview. Everything is working fine but still I couldn't see any waveform in the XY graph.
kindly help m to fix this issue.
For your reference i attach my RLC vi. please have a look and let me you if there is any correction
Solved!
Go to Solution.
Attachments:
RLC.vi ‏43 KB

You forget to make 'RESET' false (which is by default TRUE).
Also there is direct function available for 'Square'... by mistake I mentioned it as 'Use SQUARE ROOT function'... just ignore it...
Also find attached edited VI.
I am not allergic to Kudos, in fact I love Kudos.
 Make your LabVIEW experience more CONVENIENT.
Attachments:
RLC_EDITED.vi ‏44 KB

Similar Messages

  • RLC circuit AC simulation result does not match transient analysis result at resonant frequency!

    Hi,
    It is a very basic series RLC circuit. (R=0.1 Ohm, L=10mH, C=100nF) which is excited by a sine wave voltage source (100mV peak, 5032 Hz).
    AC analysis is in-line with hand calculations and shows a peak current of 1A at 5032.9 Hz. Once we do a transient analysis at this frequency, the current is way lower; instead if we change the frequency down to 4968 Hz, it gives the maximum current (appx. 1A). Note that all the components are ideal and both amplitudes of the voltage source set at 100mV. I must be missing something very basic.
    The attached file shows it clearer.
    Thanks,
    Attachments:
    AC_vs_Transient_at_res.png ‏63 KB

    It is basically caused by numerical error in high-Q circuits around resonance.
    Here it is the link to similar discussion that I just found.
    Click here to open the related post.

  • Transient Analysis RLC circuit problem?

    I am conducting a transient analysis of a series RLC circuit in multisim.
    Using a 10VDC power supply, a switch, a 10 Henry inductor, a 10 Ohm resistor, and a 5 nF capacitor.
    My calculations show that ILmax is 223uA at 700uS.
    When I perform the transient analysis I am having the following problems:
    If I choose "Automatically determine input conditions" then IL peaks at 700uS, but it peaks at 35pA instead of 223uA?
    If I choose "User defined" as the initial condition then IL peaks at 223uA, but it occurs at 250uS instead of 700uS?
    What am I doing wrong here?
    I should be getting 223uA at 700uS???
    Attachments:
    transient analysis.png ‏5 KB
    Transient RLC multisim.png ‏31 KB

    Hi there,
    How did you calculate ILmax (time and current)? What's your Multisim version?
    Regards,
    Fernando D.
    National Instruments

  • Offset problem in simulating current and voltage phase relation of parallel rlc circuit, Is it a bug ?

     tested multisim for Parallel RLC Circuit with voltage source as in 
    http://www.electronics-tutorials.ws/accircuits/parallel-circuit.html
    But the current flows through the inductance L has DC component as in the picture attached (the red sine wave).  Is it  a bug ?, please tell me how to correct it.
    Attachments:
    phasor.jpg ‏183 KB

    Hi there,
    As strange as this may sound, this is not a bug. OK, this sounds really funny, but I am totally serious, and I am going to explain why:
    In a circuit energy must be conserved.
    An inductor is a purely reactive component, that is, it does not dissipate any power.
    When simulation starts, Multisim assumes the inductor current to be 0, which may seem reasonable. The voltage across the inductor is also 0 at this point. This is the initial condition.
    The voltage across the inductor increases, and thus, the current increases. The current keeps increasing during the first 2 quadrants of the sinusoidal phase output.
    The current never decreases until the voltage drop is negative.
    But by the time an entire cycle is over, the current is back to 0. This makes sense as energy is conserved and the inductor is not absorbing any energy.
    OK. Now look at what happened. During the whole cycle, the current was positive only! The current increased during the first half of the cycle and returned to 0 during the second half. This is because of the fluke of initial conditions! In fact, a good circuit simulator will maintain the DC offset for a long duration. The DC offset may drift because of rounding errors and the like.
    This will never be observed in real life as real inductors have winding resistance and other problems.
    OK, so, if you would like to see no DC offset, do the following:
    Run your simulation
    Record the DC offset that you want to eliminate
    Stop your simulation
    Double click the offending inductor in the Multisim schematic
    Click on the Value tab
    Check the Initial conditions box under Additional SPICE simulation parameters
    Enter the negative of the DC offset that you recorded in step 2 into the box right next to it
    Start your simulation. Did your offset go away? Or did it double?
    If your offset doubled, take away the sign from the DC offset that you entered in step 7. I bet you know why.
    It took me a while to figure this one out. Hope that helps!
    Yi
    Software Developer
    National Instruments - Electronics Workbench Group

  • RLC delete log

    Hi All,
    I have a problem to see the details of the transaction data deleted when i run this program in background.
    in Foreground i can see the details  however the unable to see the details after running this in background mode.
    any thing i need to set or check.
    -Shri

    Hi Shridhar,
    In the RLC delete screen, if you press Ctrl + F1, it will show the detailed log of the transactional data deleted.
    Hope this will solve your query.
    Please confirm.
    Regards
    R. Senthil Mareeswaran.

  • Calculate Impedance, Power Factor & Type Of Power In RLC Circuit

    Good Evening 
    No suprises to what im looking to investigate today. 
    I have a initial circuit which contains a AC supply, Resistor and Inductor only, I must calculate the impedance, supply current, power factor & angle, and type of power that is consumed in the circuit. 
    I must then create a modified circuit in which i must improve the power factor to 0.95 and specify the value of capacitance required!
    I must then calculate the impedance, supply current, power factor & angle and the type of power consumed in the circuit. 
    I have never really used multisim before, just want to make sure my calculations are correct as the values I have been given to work with are producing tedious amounts of impedance. My XL=24kOhm 
    I have tried to use the impedometer but not quiet sure how to wire it correctly. Same goes for the watt meter not sure how to wire the terminals for V and I. 
    Appreciate any help and advice I have provided some images of my initial circuit I have not specified the value of C as im not sure what it must be to give me a PF of 0.95. 
    Regards 
    Ps pardon the amatuer mistake forgot to add a ground (fool)
    Carl
    Attachments:
    INITIAL.png ‏44 KB
    MOD.png ‏44 KB

    Hi Hass,
    Here is an article on Calculating the Impedance in Multisim.
    http://digital.ni.com/public.nsf/allkb/9F8D30235DE3EC0186257592006B23A2
    Similarly, you can add Expression to Calculate the Power Factor or other circuit parameters.
    Hope this helps!
    Regards,
    Chen_T
    National Instruments

  • Problem With httpd.conf and mod_rewrite rules Apache 2.2

    I have some RewriteRules that are working on my Leopard Client Apache 2.2 machine - but when I try to implement them on Leopard Server Apache 2.2, they don't work. I don't get any errors, they just won't execute.
    Could somebody with Leopard Server help me out using the below info?
    Here are the rules I am trying to add: (below is the httpd.conf file)
    ======RULES========
    RewriteEngine On
    Options +FollowSymLinks
    RewriteRule ^(.+)/$ http://%{HTTP_HOST}$1 [R=301, L]
    # Remove ".php"
    RewriteCond %{THE_REQUEST} ^GET\ ([^\?]+)\.php(.*)\ HTTP
    RewriteRule (.+)\.php(.*)$ $1$2 [R, L]
    # Remove ".asp"
    RewriteCond %{THE_REQUEST} ^GET\ ([^\?]+)\.asp(.*)\ HTTP
    RewriteRule (.+)\.asp(.*)$ $1$2 [R, L]
    # Remove ".aspx"
    RewriteCond %{THE_REQUEST} ^GET\ ([^\?]+)\.aspx(.*)\ HTTP
    RewriteRule (.+)\.aspx(.*)$ $1$2 [R, L]
    # Remove ".htm" and ".html"
    RewriteCond %{THE_REQUEST} ^GET\ ([^\?]+)\.htm.(.)\ HTTP
    RewriteRule (.+)\.htm.(.)$ $1$2 [R, L]
    # Remove ".cfm"
    RewriteCond %{THE_REQUEST} ^GET\ ([^\?]+)\.cfm(.*)\ HTTP
    RewriteRule (.+)\.cfm(.*)$ $1$2 [R, L]
    # Remove ".bak"
    RewriteCond %{THE_REQUEST} ^GET\ ([^\?]+)\.bak(.*)\ HTTP
    RewriteRule (.+)\.bak(.*)$ $1$2 [R, L]
    # Remove ".inc"
    RewriteCond %{THE_REQUEST} ^GET\ ([^\?]+)\.inc(.*)\ HTTP
    RewriteRule (.+)\.inc(.*)$ $1$2 [R, L]
    # Remove ".*"
    RewriteCond %{THE_REQUEST} ^GET\ ([^\?]+)\..(.)\ HTTP
    RewriteRule (.+)\..(.)$ $1$2 [R, L]
    =====RULES============
    =========HTTPD.CONF=============
    #### Default httpd.conf for Mac OS X Server, Apache 2.2
    #### This httpd.conf differs from the httpd.conf distributed
    #### with Apache and the httpd.conf present on Mac OS X.
    #### Feel free to edit this; the Server Admin app also edits this file but will
    #### respect your changes unless noted below. See also ReadMe.txt.
    ## ServerRoot: The top of the directory tree under which the server's
    ## configuration, error, and log files are kept.
    ## NOTE! If you intend to place this on an NFS (or otherwise network)
    ## mounted filesystem then please read the LockFile documentation
    ## (available at <URL:<a class="jive-link-external-small" href="http://">http://www.apache.org/docs/mod/core.html#lockfile>);
    ## you will save yourself a lot of trouble.
    ## Do NOT add a slash at the end of the directory path.
    ServerRoot "/usr"
    ## PidFile: The file in which the server should record its process
    ## identification number when it starts.
    PidFile /var/run/httpd.pid
    ## ScoreBoardFile: File used to store internal server process information.
    ## Not all architectures require this. But if yours does (you'll know because
    ## this file will be created when you run Apache) then you must ensure that
    ## no two invocations of Apache share the same scoreboard file.
    #ScoreBoardFile "/var/run/apache2runtimestatus"
    ## Server-pool size regulation. Rather than making you guess how many
    ## server processes you need, Apache dynamically adapts to the load it
    ## sees --- that is, it tries to maintain enough server processes to
    ## handle the current load, plus a few spare servers to handle transient
    ## load spikes (e.g., multiple simultaneous requests from a single
    ## Netscape browser).
    ## It does this by periodically checking how many servers are waiting
    ## for a request. If there are fewer than MinSpareServers, it creates
    ## a new spare. If there are more than MaxSpareServers, some of the
    ## spares die off. The default values are probably OK for most sites.
    MinSpareServers 1
    MaxSpareServers 1
    ## Number of servers to start initially --- should be a reasonable ballpark
    ## figure.
    StartServers 1
    ## MaxRequestsPerChild: the number of requests each child process is
    ## allowed to process before the child dies. The child will exit so
    ## as to avoid problems after prolonged use when Apache (and maybe the
    ## libraries it uses) leak memory or other resources. On most systems, this
    ## isn't really needed, but a few (such as Solaris) do have notable leaks
    ## in the libraries. For these platforms, set to something like 10000
    ## or so; a setting of 0 means unlimited.
    ## NOTE: This value does not include keepalive requests after the initial
    ## request per connection. For example, if a child process handles
    ## an initial request and 10 subsequent "keptalive" requests, it
    ## would only count as 1 request towards this limit.
    MaxRequestsPerChild 100000
    ## Dynamic Shared Object (DSO) Support
    ## To be able to use the functionality of a module which was built as a DSO you
    ## have to place corresponding `LoadModule' lines at this location so the
    ## directives contained in it are actually available before they are used.
    ## Please read the file http://httpd.apache.org/docs/dso.html for more
    ## details about the DSO mechanism and run `httpd -l' for the list of already
    ## built-in (statically linked and thus always available) modules in your httpd
    ## binary.
    ## Note: The order in which modules are loaded is important. Don't change
    ## the order below without expert advice.
    ## Example:
    ## LoadModule foo_module libexec/mod_foo.so
    #### For Mac OS X Server: Note that the Server Admin application
    #### and the apxs utility enable and disable modules
    #### by removing and adding a comment character.
    LoadModule authnfilemodule libexec/apache2/modauthnfile.so
    #LoadModule authndbmmodule libexec/apache2/modauthndbm.so
    #LoadModule authnanonmodule libexec/apache2/modauthnanon.so
    #LoadModule authndbdmodule libexec/apache2/modauthndbd.so
    #LoadModule authndefaultmodule libexec/apache2/modauthndefault.so
    LoadModule authzhostmodule libexec/apache2/modauthzhost.so
    #LoadModule authzgroupfilemodule libexec/apache2/modauthzgroupfile.so
    #LoadModule authzusermodule libexec/apache2/modauthzuser.so
    #LoadModule authzdbmmodule libexec/apache2/modauthzdbm.so
    #LoadModule authzownermodule libexec/apache2/modauthzowner.so
    #LoadModule authzdefaultmodule libexec/apache2/modauthzdefault.so
    #LoadModule authbasicmodule libexec/apache2/modauthbasic.so
    #LoadModule authdigest_applemodule libexec/apache2/modauth_digestapple.so
    LoadModule cache_module libexec/apache2/mod_cache.so
    LoadModule memcachemodule libexec/apache2/modmemcache.so
    LoadModule diskcachemodule libexec/apache2/moddiskcache.so
    #LoadModule dbd_module libexec/apache2/mod_dbd.so
    LoadModule dumpio_module libexec/apache2/mod_dumpio.so
    LoadModule extfiltermodule libexec/apache2/modextfilter.so
    LoadModule include_module libexec/apache2/mod_include.so
    LoadModule filter_module libexec/apache2/mod_filter.so
    LoadModule deflate_module libexec/apache2/mod_deflate.so
    LoadModule logconfigmodule libexec/apache2/modlogconfig.so
    LoadModule logio_module libexec/apache2/mod_logio.so
    LoadModule env_module libexec/apache2/mod_env.so
    LoadModule expires_module libexec/apache2/mod_expires.so
    LoadModule headers_module libexec/apache2/mod_headers.so
    LoadModule ident_module libexec/apache2/mod_ident.so
    LoadModule setenvif_module libexec/apache2/mod_setenvif.so
    LoadModule proxy_module libexec/apache2/mod_proxy.so
    #LoadModule proxyconnectmodule libexec/apache2/modproxyconnect.so
    #LoadModule proxyftpmodule libexec/apache2/modproxyftp.so
    LoadModule proxyhttpmodule libexec/apache2/modproxyhttp.so
    #LoadModule proxyajpmodule libexec/apache2/modproxyajp.so
    LoadModule proxybalancermodule libexec/apache2/modproxybalancer.so
    LoadModule ssl_module libexec/apache2/mod_ssl.so
    LoadModule mime_module libexec/apache2/mod_mime.so
    #LoadModule mimemagicmodule libexec/apache2/modmimemagic.so
    #LoadModule dav_module libexec/apache2/mod_dav.so
    LoadModule status_module libexec/apache2/mod_status.so
    LoadModule autoindex_module libexec/apache2/mod_autoindex.so
    LoadModule asis_module libexec/apache2/mod_asis.so
    LoadModule info_module libexec/apache2/mod_info.so
    LoadModule cgi_module libexec/apache2/mod_cgi.so
    #LoadModule davfsmodule libexec/apache2/moddavfs.so
    LoadModule vhostaliasmodule libexec/apache2/modvhostalias.so
    LoadModule negotiation_module libexec/apache2/mod_negotiation.so
    LoadModule dir_module libexec/apache2/mod_dir.so
    LoadModule imagemap_module libexec/apache2/mod_imagemap.so
    LoadModule actions_module libexec/apache2/mod_actions.so
    LoadModule speling_module libexec/apache2/mod_speling.so
    LoadModule userdir_module libexec/apache2/mod_userdir.so
    LoadModule alias_module libexec/apache2/mod_alias.so
    LoadModule rewrite_module libexec/apache2/mod_rewrite.so
    #LoadModule php5_module libexec/apache2/libphp5.so
    #LoadModule encoding_module libexec/apache2/mod_encoding.so
    #LoadModule jk_module libexec/apache2/mod_jk.so
    #LoadModule applespotlightmodule libexec/apache2/modspotlightapple.so
    #LoadModule bonjour_module libexec/apache2/mod_bonjour.so
    LoadModule appleauthmodule libexec/apache2/modauthapple.so
    LoadModule spnegoauthmodule libexec/apache2/modspnegoapple.so
    LoadModule appledigestmodule libexec/apache2/moddigestapple.so
    LoadModule hfsapplemodule libexec/apache2/modhfsapple.so
    #LoadModule fastcgi_module libexec/apache2/mod_fastcgi.so
    #LoadModule scgipubsubmodule libexec/apache2/modscgipubsub.so
    #LoadModule davsvnmodule libexec/apache2/moddavsvn.so
    #LoadModule authzsvnmodule libexec/apache2/modauthzsvn.so
    ## If you wish httpd to run as a different user or group, you must run
    ## httpd as root initially and it will switch.
    ## User/Group: The name (or #number) of the user/group to run httpd as.
    ## It is usually good practice to create a dedicated user and group for
    ## running httpd, as with most system services.
    User www
    Group www
    ## Each directory to which Apache has access, can be configured with respect
    ## to which services and features are allowed and/or disabled in that
    ## directory (and its subdirectories).
    ## First, we configure the "default" to be a very restrictive set of
    ## features.
    <Directory />
    Options FollowSymLinks
    AllowOverride None
    </Directory>
    ## UserDir: The name of the directory which is appended onto a user's home
    ## directory if a ~user request is received.
    #### For Mac OS X Server: Note that
    #### personal websharing is not supported on Mac OS X Server.
    <IfModule mod_userdir.c>
    UserDir Sites
    </IfModule>
    ## AccessFileName: The name of the file to look for in each directory
    ## for access control information.
    AccessFileName .htaccess
    ## The following lines prevent .htaccess files from being viewed by
    ## Web clients.
    #### For Mac OS X Server: Note the case-insensitive pattern, which protects
    #### .htaccess fils on HFS volumes.
    #### (Note: Denying .DS_S* may interfere with Finder WebDAV operation)
    <Files ~ "^\.([Hh][Tt]|[Dd][Ss]_[Ss])">
    Order allow,deny
    Deny from all
    Satisfy All
    </Files>
    #### Block attempts to circumvent access controls by requesting forks.
    <Files "rsrc">
    Order allow,deny
    Deny from all
    Satisfy All
    </Files>
    <DirectoryMatch ".*\.\.namedfork">
    Order allow,deny
    Deny from all
    Satisfy All
    </DirectoryMatch>
    ## DefaultType is the default MIME type the server will use for a document
    ## if it cannot otherwise determine one, such as from filename extensions.
    ## If your server contains mostly text or HTML documents, "text/plain" is
    ## a good value. If most of your content is binary, such as applications
    ## or images, you may want to use "application/octet-stream" instead to
    ## keep browsers from trying to display binary files as though they are
    ## text.
    DefaultType text/plain
    <IfModule mod_mime.c>
    # TypesConfig points to the file containing the list of mappings from
    # filename extension to MIME-type.
    TypesConfig /dev/null
    #AddType application/x-gzip .tgz
    # AddEncoding allows you to have certain browsers uncompress
    # information on the fly. Note: Not all browsers support this.
    #AddEncoding x-compress .Z
    #AddEncoding x-gzip .gz .tgz
    # Filters allow you to process content before it is sent to the client.
    # To parse .shtml files for server-side includes (SSI):
    # (You will also need to add "Includes" to the "Options" directive.)
    #AddOutputFilter INCLUDES .shtml
    ## Although mod_mime may support several extensions following a single
    ## mime type (ex: "AddType video/quicktime qt mov"), the parser used
    ## by the Server Admin application expects only one extension per line.
    AddHandler send-as-is asis
    AddHandler cgi-script cgi
    AddHandler fastcgi-script fcgi
    AddHandler imap-file map
    AddHandler server-parsed shtml
    AddHandler type-map var
    AddHandler spotlight-search spotlight
    AddType application/andrew-inset ez
    AddType application/atom+xml atom
    AddType application/atomcat+xml atomcat
    AddType application/atomsvc+xml atomsvc
    AddType application/ccxml+xml ccxml
    AddType application/davmount+xml davmount
    AddType application/ecmascript ecma
    AddType application/font-tdpfr pfr
    AddType application/hyperstudio stk
    AddType application/javascript js
    AddType application/json json
    AddType application/mac-binhex40 hqx
    AddType application/mac-compactpro cpt
    AddType application/marc mrc
    AddType application/mathematica ma
    AddType application/mathematica mb
    AddType application/mathematica nb
    AddType application/mathml+xml mathml
    AddType application/mbox mbox
    AddType application/mediaservercontrol+xml mscml
    AddType application/mp4 mp4s
    AddType application/msword doc
    AddType application/msword dot
    AddType application/mxf mxf
    AddType application/octet-stream bin
    AddType application/octet-stream bpk
    AddType application/octet-stream class
    AddType application/octet-stream dist
    AddType application/octet-stream distz
    AddType application/octet-stream dmg
    AddType application/octet-stream dms
    AddType application/octet-stream dump
    AddType application/octet-stream elc
    AddType application/octet-stream iso
    AddType application/octet-stream lha
    AddType application/octet-stream lzh
    AddType application/octet-stream scpt
    AddType application/octet-stream so
    AddType application/oda oda
    AddType application/ogg ogg
    AddType application/pdf pdf
    AddType application/pgp-encrypted pgp
    AddType application/pgp-signature asc
    AddType application/pgp-signature sig
    AddType application/pics-rules prf
    AddType application/pkcs10 p10
    AddType application/pkcs7-mime p7c
    AddType application/pkcs7-mime p7m
    AddType application/pkcs7-signature p7s
    AddType application/pkix-cert cer
    AddType application/pkix-crl crl
    AddType application/pkix-pkipath pkipath
    AddType application/pkixcmp pki
    AddType application/pls+xml pls
    AddType application/postscript ai
    AddType application/postscript eps
    AddType application/postscript ps
    AddType application/prs.cww cww
    AddType application/rdf+xml rdf
    AddType application/reginfo+xml rif
    AddType application/relax-ng-compact-syntax rnc
    AddType application/resource-lists+xml rl
    AddType application/rls-services+xml rs
    AddType application/rsd+xml rsd
    AddType application/rss+xml rss
    AddType application/rtf rtf
    AddType application/sbml+xml sbml
    AddType application/sdp sdp
    AddType application/set-payment-initiation setpay
    AddType application/set-registration-initiation setreg
    AddType application/shf+xml shf
    AddType application/smil+xml smi
    AddType application/smil+xml smil
    AddType application/srgs gram
    AddType application/srgs+xml grxml
    AddType application/ssml+xml ssml
    AddType application/vnd.3gpp.pic-bw-large plb
    AddType application/vnd.3gpp.pic-bw-small psb
    AddType application/vnd.3gpp.pic-bw-var pvb
    AddType application/vnd.3m.post-it-notes pwn
    AddType application/vnd.accpac.simply.aso aso
    AddType application/vnd.accpac.simply.imp imp
    AddType application/vnd.acucobol acu
    AddType application/vnd.acucorp acutc
    AddType application/vnd.acucorp atc
    AddType application/vnd.adobe.xdp+xml xdp
    AddType application/vnd.adobe.xfdf xfdf
    AddType application/vnd.amiga.ami ami
    AddType application/vnd.anser-web-certificate-issue-initiation cii
    AddType application/vnd.anser-web-funds-transfer-initiation fti
    AddType application/vnd.antix.game-component atx
    AddType application/vnd.apple.installer+xml mpkg
    AddType application/vnd.apple.installer+xml pkg
    AddType application/vnd.audiograph aep
    AddType application/vnd.blueice.multipass mpm
    AddType application/vnd.bmi bmi
    AddType application/vnd.businessobjects rep
    AddType application/vnd.chemdraw+xml cdxml
    AddType application/vnd.chipnuts.karaoke-mmd mmd
    AddType application/vnd.cinderella cdy
    AddType application/vnd.claymore cla
    AddType application/vnd.clonk.c4group c4d
    AddType application/vnd.clonk.c4group c4f
    AddType application/vnd.clonk.c4group c4g
    AddType application/vnd.clonk.c4group c4p
    AddType application/vnd.clonk.c4group c4u
    AddType application/vnd.commonspace csp
    AddType application/vnd.commonspace cst
    AddType application/vnd.contact.cmsg cdbcmsg
    AddType application/vnd.cosmocaller cmc
    AddType application/vnd.crick.clicker clkx
    AddType application/vnd.crick.clicker.keyboard clkk
    AddType application/vnd.crick.clicker.palette clkp
    AddType application/vnd.crick.clicker.template clkt
    AddType application/vnd.crick.clicker.wordbank clkw
    AddType application/vnd.criticaltools.wbs+xml wbs
    AddType application/vnd.ctc-posml pml
    AddType application/vnd.cups-ppd ppd
    AddType application/vnd.curl curl
    AddType application/vnd.data-vision.rdz rdz
    AddType application/vnd.denovo.fcselayout-link fe_launch
    AddType application/vnd.dna dna
    AddType application/vnd.dolby.mlp mlp
    AddType application/vnd.dpgraph dpg
    AddType application/vnd.dreamfactory dfac
    AddType application/vnd.ecowin.chart mag
    AddType application/vnd.enliven nml
    AddType application/vnd.epson.esf esf
    AddType application/vnd.epson.msf msf
    AddType application/vnd.epson.quickanime qam
    AddType application/vnd.epson.salt slt
    AddType application/vnd.epson.ssf ssf
    AddType application/vnd.eszigno3+xml es3 et3
    AddType application/vnd.ezpix-album ez2
    AddType application/vnd.ezpix-package ez3
    AddType application/vnd.fdf fdf
    AddType application/vnd.flographit gph
    AddType application/vnd.fluxtime.clip ftc
    AddType application/vnd.framemaker fm
    AddType application/vnd.framemaker frame
    AddType application/vnd.framemaker maker
    AddType application/vnd.frogans.fnc fnc
    AddType application/vnd.frogans.ltf ltf
    AddType application/vnd.fsc.weblaunch fsc
    AddType application/vnd.fujitsu.oasys oas
    AddType application/vnd.fujitsu.oasys2 oa2
    AddType application/vnd.fujitsu.oasys3 oa3
    AddType application/vnd.fujitsu.oasysgp fg5
    AddType application/vnd.fujitsu.oasysprs bh2
    AddType application/vnd.fujixerox.ddd ddd
    AddType application/vnd.fujixerox.docuworks xdw
    AddType application/vnd.fujixerox.docuworks.binder xbd
    AddType application/vnd.fuzzysheet fzs
    AddType application/vnd.genomatix.tuxedo txd
    AddType application/vnd.google-earth.kml+xml kml
    AddType application/vnd.google-earth.kmz kmz
    AddType application/vnd.grafeq gqf
    AddType application/vnd.grafeq gqs
    AddType application/vnd.groove-account gac
    AddType application/vnd.groove-help ghf
    AddType application/vnd.groove-identity-message gim
    AddType application/vnd.groove-injector grv
    AddType application/vnd.groove-tool-message gtm
    AddType application/vnd.groove-tool-template tpl
    AddType application/vnd.groove-vcard vcg
    AddType application/vnd.handheld-entertainment+xml zmm
    AddType application/vnd.hbci hbci
    AddType application/vnd.hhe.lesson-player les
    AddType application/vnd.hp-hpgl hpgl
    AddType application/vnd.hp-hpid hpid
    AddType application/vnd.hp-hps hps
    AddType application/vnd.hp-jlyt jlt
    AddType application/vnd.hp-pcl pcl
    AddType application/vnd.hp-pclxl pclxl
    AddType application/vnd.hzn-3d-crossword x3d
    AddType application/vnd.ibm.minipay mpy
    AddType application/vnd.ibm.modcap afp
    AddType application/vnd.ibm.modcap list3820
    AddType application/vnd.ibm.modcap listafp
    AddType application/vnd.ibm.rights-management irm
    AddType application/vnd.ibm.secure-container sc
    AddType application/vnd.igloader igl
    AddType application/vnd.immervision-ivp ivp
    AddType application/vnd.immervision-ivu ivu
    AddType application/vnd.intercon.formnet xpw
    AddType application/vnd.intercon.formnet xpx
    AddType application/vnd.intu.qbo qbo
    AddType application/vnd.intu.qfx qfx
    AddType application/vnd.ipunplugged.rcprofile rcprofile
    AddType application/vnd.irepository.package+xml irp
    AddType application/vnd.is-xpr xpr
    AddType application/vnd.jam jam
    AddType application/vnd.jcp.javame.midlet-rms rms
    AddType application/vnd.jisp jisp
    AddType application/vnd.kahootz ktr
    AddType application/vnd.kahootz ktz
    AddType application/vnd.kde.karbon karbon
    AddType application/vnd.kde.kchart chrt
    AddType application/vnd.kde.kformula kfo
    AddType application/vnd.kde.kivio flw
    AddType application/vnd.kde.kontour kon
    AddType application/vnd.kde.kpresenter kpr
    AddType application/vnd.kde.kpresenter kpt
    AddType application/vnd.kde.kspread ksp
    AddType application/vnd.kde.kword kwd
    AddType application/vnd.kde.kword kwt
    AddType application/vnd.kenameaapp htke
    AddType application/vnd.kidspiration kia
    AddType application/vnd.kinar kne
    AddType application/vnd.kinar knp
    AddType application/vnd.koan skd
    AddType application/vnd.koan skm
    AddType application/vnd.koan skp
    AddType application/vnd.koan skt
    AddType application/vnd.llamagraphics.life-balance.desktop lbd
    AddType application/vnd.llamagraphics.life-balance.exchange+xml lbe
    AddType application/vnd.lotus-1-2-3 123
    AddType application/vnd.lotus-approach apr
    AddType application/vnd.lotus-freelance pre
    AddType application/vnd.lotus-notes nsf
    AddType application/vnd.lotus-organizer org
    AddType application/vnd.lotus-screencam scm
    AddType application/vnd.lotus-wordpro lwp
    AddType application/vnd.macports.portpkg portpkg
    AddType application/vnd.mcd mcd
    AddType application/vnd.medcalcdata mc1
    AddType application/vnd.mediastation.cdkey cdkey
    AddType application/vnd.mfer mwf
    AddType application/vnd.mfmp mfm
    AddType application/vnd.micrografx.flo flo
    AddType application/vnd.micrografx.igx igx
    AddType application/vnd.mif mif
    AddType application/vnd.mobius.daf daf
    AddType application/vnd.mobius.dis dis
    AddType application/vnd.mobius.mbk mbk
    AddType application/vnd.mobius.mqy mqy
    AddType application/vnd.mobius.msl msl
    AddType application/vnd.mobius.plc plc
    AddType application/vnd.mobius.txf txf
    AddType application/vnd.mophun.application mpn
    AddType application/vnd.mophun.certificate mpc
    AddType application/vnd.mozilla.xul+xml xul
    AddType application/vnd.ms-artgalry cil
    AddType application/vnd.ms-asf asf
    AddType application/vnd.ms-cab-compressed cab
    AddType application/vnd.ms-excel xla
    AddType application/vnd.ms-excel xlc
    AddType application/vnd.ms-excel xlm
    AddType application/vnd.ms-excel xls
    AddType application/vnd.ms-excel xlt
    AddType application/vnd.ms-excel xlw
    AddType application/vnd.ms-fontobject eot
    AddType application/vnd.ms-htmlhelp chm
    AddType application/vnd.ms-ims ims
    AddType application/vnd.ms-lrm lrm
    AddType application/vnd.ms-powerpoint pot
    AddType application/vnd.ms-powerpoint pps
    AddType application/vnd.ms-powerpoint ppt
    AddType application/vnd.ms-project mpp
    AddType application/vnd.ms-project mpt
    AddType application/vnd.ms-works wcm
    AddType application/vnd.ms-works wdb
    AddType application/vnd.ms-works wks
    AddType application/vnd.ms-works wps
    AddType application/vnd.ms-wpl wpl
    AddType application/vnd.ms-xpsdocument xps
    AddType application/vnd.mseq mseq
    AddType application/vnd.musician mus
    AddType application/vnd.neurolanguage.nlu nlu
    AddType application/vnd.noblenet-directory nnd
    AddType application/vnd.noblenet-sealer nns
    AddType application/vnd.noblenet-web nnw
    AddType application/vnd.nokia.n-gage.data ngdat
    AddType application/vnd.nokia.n-gage.symbian.install n-gage
    AddType application/vnd.nokia.radio-preset rpst
    AddType application/vnd.nokia.radio-presets rpss
    AddType application/vnd.novadigm.edm edm
    AddType application/vnd.novadigm.edx edx
    AddType application/vnd.novadigm.ext ext
    AddType application/vnd.oasis.opendocument.chart odc
    AddType application/vnd.oasis.opendocument.chart-template otc
    AddType application/vnd.oasis.opendocument.formula odf
    AddType application/vnd.oasis.opendocument.formula-template otf
    AddType application/vnd.oasis.opendocument.graphics odg
    AddType application/vnd.oasis.opendocument.graphics-template otg
    AddType application/vnd.oasis.opendocument.image odi
    AddType application/vnd.oasis.opendocument.image-template oti
    AddType application/vnd.oasis.opendocument.presentation odp
    AddType application/vnd.oasis.opendocument.presentation-template otp
    AddType application/vnd.oasis.opendocument.spreadsheet ods
    AddType application/vnd.oasis.opendocument.spreadsheet-template ots
    AddType application/vnd.oasis.opendocument.text odt
    AddType application/vnd.oasis.opendocument.text-master otm
    AddType application/vnd.oasis.opendocument.text-template ott
    AddType application/vnd.oasis.opendocument.text-web oth
    AddType application/vnd.olpc-sugar xo
    AddType application/vnd.oma.dd2+xml dd2
    AddType application/vnd.openofficeorg.extension oxt
    AddType application/vnd.osgi.dp dp
    AddType application/vnd.palm oprc
    AddType application/vnd.palm pdb
    AddType application/vnd.palm pqa
    AddType application/vnd.palm prc
    AddType application/vnd.pg.format str
    AddType application/vnd.pg.osasli ei6
    AddType application/vnd.picsel efif
    AddType application/vnd.pocketlearn plf
    AddType application/vnd.powerbuilder6 pbd
    AddType application/vnd.previewsystems.box box
    AddType application/vnd.proteus.magazine mgz
    AddType application/vnd.publishare-delta-tree qps
    AddType application/vnd.pvi.ptid1 ptid
    AddType application/vnd.quark.quarkxpress qwd
    AddType application/vnd.quark.quarkxpress qwt
    AddType application/vnd.quark.quarkxpress qxb
    AddType application/vnd.quark.quarkxpress qxd
    AddType application/vnd.quark.quarkxpress qxl
    AddType application/vnd.quark.quarkxpress qxt
    AddType application/vnd.recordare.musicxml mxl
    # AddType application/vnd.rn-realmedia rm
    AddType application/vnd.seemail see
    AddType application/vnd.sema sema
    AddType application/vnd.semd semd
    AddType application/vnd.semf semf
    AddType application/vnd.shana.informed.formdata ifm
    AddType application/vnd.shana.informed.formtemplate itp
    AddType application/vnd.shana.informed.interchange iif
    AddType application/vnd.shana.informed.package ipk
    AddType application/vnd.simtech-mindmapper twd
    AddType application/vnd.simtech-mindmapper twds
    AddType application/vnd.smaf mmf
    AddType application/vnd.solent.sdkm+xml sdkd
    AddType application/vnd.solent.sdkm+xml sdkm
    AddType application/vnd.spotfire.dxp dxp
    AddType application/vnd.spotfire.sfs sfs
    AddType application/vnd.sus-calendar sus
    AddType application/vnd.sus-calendar susp
    AddType application/vnd.svd svd
    AddType application/vnd.syncml+xml xsm
    AddType application/vnd.syncml.dm+wbxml bdm
    AddType application/vnd.syncml.dm+xml xdm
    AddType application/vnd.tao.intent-module-archive tao
    AddType application/vnd.tmobile-livetv tmo
    AddType application/vnd.trid.tpt tpt
    AddType application/vnd.triscape.mxs mxs
    AddType application/vnd.trueapp tra
    AddType application/vnd.ufdl ufd
    AddType application/vnd.ufdl ufdl
    AddType application/vnd.uiq.theme utz
    AddType application/vnd.umajin umj
    AddType application/vnd.unity unityweb
    AddType application/vnd.uoml+xml uoml
    AddType application/vnd.vcx vcx
    AddType application/vnd.visio vsd
    AddType application/vnd.visio vss
    AddType application/vnd.visio vst
    AddType application/vnd.visio vsw
    AddType application/vnd.visionary vis
    AddType application/vnd.vsf vsf
    AddType application/vnd.wap.wbxml wbxml
    AddType application/vnd.wap.wmlc wmlc
    AddType application/vnd.wap.wmlscriptc wmlsc
    AddType application/vnd.webturbo wtb
    AddType application/vnd.wordperfect wpd
    AddType application/vnd.wqd wqd
    AddType application/vnd.wt.stf stf
    AddType application/vnd.xara xar
    AddType application/vnd.xfdl xfdl
    AddType application/vnd.yamaha.hv-dic hvd
    AddType application/vnd.yamaha.hv-script hvs
    AddType application/vnd.yamaha.hv-voice hvp
    AddType application/vnd.yamaha.smaf-audio saf
    AddType application/vnd.yamaha.smaf-phrase spf
    AddType application/vnd.yellowriver-custom-menu cmp
    AddType application/vnd.zzazz.deck+xml zaz
    AddType application/voicexml+xml vxml
    AddType application/winhlp hlp
    AddType application/wsdl+xml wsdl
    AddType application/wspolicy+xml wspolicy
    AddType application/x-ace-compressed ace
    AddType application/x-bcpio bcpio
    AddType application/x-bittorrent torrent
    AddType application/x-bzip bz
    AddType application/x-bzip2 boz
    AddType application/x-bzip2 bz2
    AddType application/x-cdlink vcd
    AddType application/x-chat chat
    AddType application/x-chess-pgn pgn
    AddType application/x-cpio cpio
    AddType application/x-csh csh
    AddType application/x-director dcr
    AddType application/x-director dir
    AddType application/x-director dxr
    AddType application/x-director fgd
    AddType application/x-dvi dvi
    AddType application/x-futuresplash spl
    AddType application/x-gtar gtar
    AddType application/x-hdf hdf
    AddType application/x-httpd-php php
    AddType application/x-httpd-php-source phps
    AddType application/x-httpd-php3 php3
    AddType application/x-java-jnlp-file jnlp
    AddType application/x-latex latex
    AddType application/x-ms-wmd wmd
    AddType application/x-ms-wmz wmz
    AddType application/x-msaccess mdb
    AddType application/x-msbinder obd
    AddType application/x-mscardfile crd
    AddType application/x-msclip clp
    AddType application/x-msdownload bat
    AddType application/x-msdownload com
    AddType application/x-msdownload dll
    AddType application/x-msdownload exe
    AddType application/x-msdownload msi
    AddType application/x-msmediaview m13
    AddType application/x-msmediaview m14
    AddType application/x-msmediaview mvb
    AddType application/x-msmetafile wmf
    AddType application/x-msmoney mny
    AddType application/x-mspublisher pub
    AddType application/x-msschedule scd
    AddType application/x-msterminal trm
    AddType application/x-mswrite wri
    AddType application/x-netcdf cdf
    AddType application/x-netcdf nc
    AddType application/x-pkcs12 p12
    AddType application/x-pkcs12 pfx
    AddType application/x-pkcs7-certificates p7b
    AddType application/x-pkcs7-certificates spc
    AddType application/x-pkcs7-certreqresp p7r
    AddType application/x-quicktimeplayer qtl
    AddType application/x-rar-compressed rar
    AddType application/x-sh sh
    AddType application/x-shar shar
    AddType application/x-shockwave-flash swf
    AddType application/x-stuffit sit
    AddType application/x-stuffitx sitx
    AddType application/x-sv4cpio sv4cpio
    AddType application/x-sv4crc sv4crc
    AddType application/x-tar tar
    AddType application/x-tar tgz
    AddType application/x-tcl tcl
    AddType application/x-tex tex
    AddType application/x-texinfo texi
    AddType application/x-texinfo texinfo
    AddType application/x-ustar ustar
    AddType application/x-wais-source src
    AddType application/x-x509-ca-cert crt
    AddType application/x-x509-ca-cert der
    AddType application/xenc+xml xenc
    AddType application/xhtml+xml xht
    AddType application/xhtml+xml xhtm
    AddType application/xhtml+xml xhtml
    AddType application/xml xml
    AddType application/xml xsl
    AddType application/xml-dtd dtd
    AddType application/xop+xml xop
    AddType application/xslt+xml xslt
    AddType application/xspf+xml xspf
    AddType application/xv+xml mxml
    AddType application/xv+xml xhvml
    AddType application/xv+xml xvm
    AddType application/xv+xml xvml
    AddType application/zip zip
    AddType audio/basic au
    AddType audio/basic snd
    AddType audio/midi kar
    AddType audio/midi mid
    AddType audio/midi midi
    AddType audio/midi rmi
    AddType audio/mp4 mp4a
    AddType audio/mp4a-latm m4a
    AddType audio/mp4a-latm m4p
    AddType audio/mpeg m2a
    AddType audio/mpeg m3a
    AddType audio/mpeg mp2
    AddType audio/mpeg mp2a
    AddType audio/mpeg mp3
    AddType audio/mpeg mpga
    AddType audio/vnd.digital-winds eol
    AddType audio/vnd.lucent.voice lvp
    AddType audio/vnd.nuera.ecelp4800 ecelp4800
    AddType audio/vnd.nuera.ecelp7470 ecelp7470
    AddType audio/vnd.nuera.ecelp9600 ecelp9600
    AddType audio/wav wav
    AddType audio/x-aiff aif
    AddType audio/x-aiff aifc
    AddType audio/x-aiff aiff
    AddType audio/x-m4a m4a
    AddType audio/x-mpegurl m3u
    AddType audio/x-ms-wax wax
    AddType audio/x-ms-wma wma
    AddType audio/x-pn-realaudio ra
    AddType audio/x-pn-realaudio ram
    AddType audio/x-pn-realaudio rm
    AddType audio/x-pn-realaudio-plugin rmp
    AddType audio/x-scpls pls
    AddType audio/x-wav wav
    AddType chemical/x-cdx cdx
    AddType chemical/x-cif cif
    AddType chemical/x-cmdf cmdf
    AddType chemical/x-cml cml
    AddType chemical/x-csml csml
    AddType chemical/x-pdb pdb
    AddType chemical/x-xyz xyz
    AddType image/bmp bmp
    AddType image/cgm cgm
    AddType image/g3fax g3
    AddType image/gif gif
    AddType image/ief ief
    AddType image/jp2 jp2
    AddType image/jpeg jpe
    AddType image/jpeg jpeg
    AddType image/jpeg jpg
    AddType image/pict pct
    AddType image/pict pic
    AddType image/pict pict
    AddType image/png png
    AddType image/prs.btif btif
    AddType image/svg+xml svg
    AddType image/svg+xml svgz
    AddType image/tiff tif
    AddType image/tiff tiff
    AddType image/vnd.adobe.photoshop psd
    AddType image/vnd.djvu djv
    AddType image/vnd.djvu djvu
    AddType image/vnd.dwg dwg
    AddType image/vnd.dxf dxf
    AddType image/vnd.fastbidsheet fbs
    AddType image/vnd.fpx fpx
    AddType image/vnd.fst fst
    AddType image/vnd.fujixerox.edmics-mmr mmr
    AddType image/vnd.fujixerox.edmics-rlc rlc
    AddType image/vnd.microsoft.icon ico
    AddType image/vnd.ms-modi mdi
    AddType image/vnd.net-fpx npx
    AddType image/vnd.wap.wbmp wbmp
    AddType image/vnd.xiff xif
    AddType image/x-cmu-raster ras
    AddType image/x-cmx cmx
    AddType image/x-macpaint mac
    AddType image/x-macpaint pnt
    AddType image/x-macpaint pntg
    AddType image/x-pcx pcx
    AddType image/x-pict pct
    AddType image/x-pict pic
    AddType image/x-portable-anymap pnm
    AddType image/x-portable-bitmap pbm
    AddType image/x-portable-graymap pgm
    AddType image/x-portable-pixmap ppm
    AddType image/x-quicktime qti
    AddType image/x-quicktime qtif
    AddType image/x-rgb rgb
    AddType image/x-xbitmap xbm
    AddType image/x-xpixmap xpm
    AddType image/x-xwindowdump xwd
    AddType message/rfc822 eml
    AddType message/rfc822 mime
    AddType model/iges iges
    AddType model/iges igs
    AddType model/mesh mesh
    AddType model/mesh msh
    AddType model/mesh silo
    AddType model/vnd.dwf dwf
    AddType model/vnd.gdl gdl
    AddType model/vnd.gtw gtw
    AddType model/vnd.mts mts
    AddType model/vnd.vtu vtu
    AddType model/vrml vrml
    AddType model/vrml wrl
    AddType text/calendar ics
    AddType text/calendar ifb
    AddType text/css css
    AddType text/csv csv
    AddType text/html htm
    AddType text/html html
    AddType text/html shtml
    AddType text/plain asc
    AddType text/plain conf
    AddType text/plain def
    AddType text/plain in
    AddType text/plain list
    AddType text/plain log
    AddType text/plain text
    AddType text/plain txt
    AddType text/prs.lines.tag dsc
    AddType text/richtext rtx
    AddType text/rtf rtf
    AddType text/sgml sgm
    AddType text/sgml sgml
    AddType text/tab-separated-values tsv
    AddType text/troff man
    AddType text/troff me
    AddType text/troff ms
    AddType text/troff roff
    AddType text/troff t
    AddType text/troff tr
    AddType text/uri-list uri
    AddType text/uri-list uris
    AddType text/uri-list urls
    AddType text/vnd.fly fly
    AddType text/vnd.fmi.flexstor flx
    AddType text/vnd.in3d.3dml 3dml
    AddType text/vnd.in3d.spot spot
    AddType text/vnd.sun.j2me.app-descriptor jad
    AddType text/vnd.wap.wml wml
    AddType text/vnd.wap.wmlscript wmls
    AddType text/x-asm s
    AddType text/x-asm sm
    AddType text/x-c c
    AddType text/x-c cc
    AddType text/x-c cpp
    AddType text/x-c cxx
    AddType text/x-c dic
    AddType text/x-c h
    AddType text/x-c hh
    AddType text/x-fortran f
    AddType text/x-fortran f77
    AddType text/x-fortran f90
    AddType text/x-fortran for
    AddType text/x-java-source java
    AddType text/x-pascal p
    AddType text/x-pascal pas
    AddType text/x-setext etx
    AddType text/x-uuencode uu
    AddType text/x-vcalendar vcs
    AddType text/x-vcard vcf
    AddType video/3gp2 3gp2
    AddType video/3gpp 3gp
    AddType video/3gpp 3gpp
    AddType video/3gpp2 3g2
    AddType video/h261 h261
    AddType video/h263 h263
    AddType video/h264 h264
    AddType video/jpeg jpgv
    AddType video/jpm jpgm
    AddType video/jpm jpm
    AddType video/mj2 mj2
    AddType video/mj2 mjp2
    AddType video/mp4 m4v
    AddType video/mp4 mp4
    AddType video/mp4 mp4v
    AddType video/mp4 mpg4
    AddType video/mpeg m1v
    AddType video/mpeg m2v
    AddType video/mpeg mpe
    AddType video/mpeg mpeg
    AddType video/mpeg mpg
    AddType video/quicktime mov
    AddType video/quicktime qt
    AddType video/vnd.fvt fvt
    AddType video/vnd.mpegurl m4u
    AddType video/vnd.mpegurl mxu
    AddType video/vnd.vivo viv
    AddType video/x-dv dif
    AddType video/x-dv dv
    AddType video/x-fli fli
    AddType video/x-ms-asf asf
    AddType video/x-ms-asf asx
    AddType video/x-ms-wm wm
    AddType video/x-ms-wmv wmv
    AddType video/x-ms-wmx wmx
    AddType video/x-ms-wvx wvx
    AddType video/x-msvideo avi
    AddType video/x-sgi-movie movie
    AddType x-conference/x-cooltalk ice
    # Settings for hosting different languages.
    # Required modules: mod_mime, mod_negotiation
    # DefaultLanguage and AddLanguage allows you to specify the language of
    # a document. You can then use content negotiation to give a browser a
    # file in a language the user can understand.
    # Specify a default language. This means that all data
    # going out without a specific language tag (see below) will
    # be marked with this one. You probably do NOT want to set
    # this unless you are sure it is correct for all cases.
    # * It is generally better to not mark a page as
    # * being a certain language than marking it with the wrong
    # * language!
    # DefaultLanguage nl
    # Note 1: The suffix does not have to be the same as the language
    # keyword --- those with documents in Polish (whose net-standard
    # language code is pl) may wish to use "AddLanguage pl .po" to
    # avoid the ambiguity with the common suffix for perl scripts.
    # Note 2: The example entries below illustrate that in some cases
    # the two character 'Language' abbreviation is not identical to
    # the two character 'Country' code for its country,
    # E.g. 'Danmark/dk' versus 'Danish/da'.
    # Note 3: In the case of 'ltz' we violate the RFC by using a three char
    # specifier. There is 'work in progress' to fix this and get
    # the reference data for rfc1766 cleaned up.
    # Catalan (ca) - Croatian (hr) - Czech (cs) - Danish (da) - Dutch (nl)
    # English (en) - Esperanto (eo) - Estonian (et) - French (fr) - German (de)
    # Greek-Modern (el) - Hebrew (he) - Italian (it) - Japanese (ja)
    # Korean (ko) - Luxembourgeois* (ltz) - Norwegian Nynorsk (nn)
    # Norwegian (no) - Polish (pl) - Portugese (pt)
    # Brazilian Portuguese (pt-BR) - Russian (ru) - Swedish (sv)
    # Simplified Chinese (zh-CN) - Spanish (es) - Traditional Chinese (zh-TW)
    AddLanguage ca .ca
    AddLanguage cs .cz .cs
    AddLanguage da .dk
    AddLanguage de .de
    AddLanguage el .el
    AddLanguage en .en
    AddLanguage eo .eo
    AddLanguage es .es
    AddLanguage et .et
    AddLanguage fr .fr
    AddLanguage he .he
    AddLanguage hr .hr
    AddLanguage it .it
    AddLanguage ja .ja
    AddLanguage ko .ko
    AddLanguage ltz .ltz
    AddLanguage nl .nl
    AddLanguage nn .nn
    AddLanguage no .no
    AddLanguage pl .po
    AddLanguage pt .pt
    AddLanguage pt-BR .pt-br
    AddLanguage ru .ru
    AddLanguage sv .sv
    AddLanguage zh-CN .zh-cn
    AddLanguage zh-TW .zh-tw
    # LanguagePriority allows you to give precedence to some languages
    # in case of a tie during content negotiation.
    # Just list the languages in decreasing order of preference. We have
    # more or less alphabetized them here. You probably want to change this.
    LanguagePriority en ca cs da de el eo es et fr he hr it ja ko ltz nl nn no pl pt pt-BR ru sv zh-CN zh-TW
    # ForceLanguagePriority allows you to serve a result page rather than
    # MULTIPLE CHOICES (Prefer) [in case of a tie] or NOT ACCEPTABLE (Fallback)
    # [in case no accepted languages matched the available variants]
    ForceLanguagePriority Prefer Fallback
    # Commonly used filename extensions to character sets. You probably
    # want to avoid clashes with the language extensions, unless you
    # are good at carefully testing your setup after each change.
    # See http://www.iana.org/assignments/character-sets for the
    # official list of charset names and their respective RFCs.
    AddCharset us-ascii.ascii .us-ascii
    AddCharset ISO-8859-1 .iso8859-1 .latin1
    AddCharset ISO-8859-2 .iso8859-2 .latin2 .cen
    AddCharset ISO-8859-3 .iso8859-3 .latin3
    AddCharset ISO-8859-4 .iso8859-4 .latin4
    AddCharset ISO-8859-5 .iso8859-5 .cyr .iso-ru
    AddCharset ISO-8859-6 .iso8859-6 .arb .arabic
    AddCharset ISO-8859-7 .iso8859-7 .grk .greek
    AddCharset ISO-8859-8 .iso8859-8 .heb .hebrew
    AddCharset ISO-8859-9 .iso8859-9 .latin5 .trk
    AddCharset ISO-8859-10 .iso8859-10 .latin6
    AddCharset ISO-8859-13 .iso8859-13
    AddCharset ISO-8859-14 .iso8859-14 .latin8
    AddCharset ISO-8859-15 .iso8859-15 .latin9
    AddCharset ISO-8859-16 .iso8859-16 .latin10
    AddCharset ISO-2022-JP .iso2022-jp .jis
    AddCharset ISO-2022-KR .iso2022-kr .kis
    AddCharset ISO-2022-CN .iso2022-cn .cis
    AddCharset Big5.Big5 .big5 .b5
    AddCharset cn-Big5 .cn-big5
    # For russian, more than one charset is used (depends on client, mostly):
    AddCharset WINDOWS-1251 .cp-1251 .win-1251
    AddCharset CP866 .cp866
    AddCharset KOI8 .koi8
    AddCharset KOI8-E .koi8-e
    AddCharset KOI8-r .koi8-r .koi8-ru
    AddCharset KOI8-U .koi8-u
    AddCharset KOI8-ru .koi8-uk .ua
    AddCharset ISO-10646-UCS-2 .ucs2
    AddCharset ISO-10646-UCS-4 .ucs4
    AddCharset UTF-7 .utf7
    AddCharset UTF-8 .utf8
    AddCharset UTF-16 .utf16
    AddCharset UTF-16BE .utf16be
    AddCharset UTF-16LE .utf16le
    AddCharset UTF-32 .utf32
    AddCharset UTF-32BE .utf32be
    AddCharset UTF-32LE .utf32le
    AddCharset euc-cn .euc-cn
    AddCharset euc-gb .euc-gb
    AddCharset euc-jp .euc-jp
    AddCharset euc-kr .euc-kr
    #Not sure how euc-tw got in - IANA doesn't list it???
    AddCharset EUC-TW .euc-tw
    AddCharset gb2312 .gb2312 .gb
    AddCharset iso-10646-ucs-2 .ucs-2 .iso-10646-ucs-2
    AddCharset iso-10646-ucs-4 .ucs-4 .iso-10646-ucs-4
    AddCharset shift_jis .shift_jis .sjis
    </IfModule>
    ## The modmimemagic module allows the server to use various hints from the
    ## contents of the file itself to determine its type. The MIMEMagicFile
    ## directive tells the module where the hint definitions are located.
    <IfModule modmimemagic.c>
    MIMEMagicFile /etc/apache2/magic
    </IfModule>
    ## HostnameLookups: Log the names of clients or just their IP addresses
    ## e.g., www.apache.org (on) or 204.62.129.132 (off).
    ## The default is off because it'd be overall better for the net if people
    ## had to knowingly turn this feature on, since enabling it means that
    ## each client request will result in AT LEAST one lookup request to the
    ## nameserver.
    HostnameLookups Off
    ## LogLevel: Control the number of messages logged to the error_log.
    ## Possible values include: debug, info, notice, warn, error, crit,
    ## alert, emerg.
    LogLevel warn
    <IfModule modlogconfig.c>
    # The following directives define some format nicknames for use with
    # a CustomLog directive (see below).
    LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined
    LogFormat "%h %l %u %t \"%r\" %>s %b" common
    LogFormat "%{Referer}i -> %U" referer
    LogFormat "%{User-agent}i" agent
    <IfModule mod_logio.c>
    # You need to enable mod_logio.c to use %I and %O
    LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" %I %O" combinedio
    </IfModule>
    # The location and format of the access logfile (Common Logfile Format).
    # If you do not define any access logfiles within a <VirtualHost>
    # container, they will be logged here. Contrariwise, if you do
    # define per-<VirtualHost> access logfiles, transactions will be
    # logged therein and not in this file.
    #### For Mac OS X Server: Server Admin manages CustomLog directives
    #### on a virtual host basis.
    #CustomLog /var/log/apache2/access_log common
    # If you prefer a logfile with access, agent, and referer information
    # (Combined Logfile Format) you can use the following directive.
    #CustomLog /var/log/apache2/access_log combined
    </IfModule>
    ## Optionally add a line containing the server version and virtual host
    ## name to server-generated pages (error documents, FTP directory listings,
    ## mod_status and mod_info output etc., but not CGI generated documents).
    ## Set to "EMail" to also include a mailto: link to the ServerAdmin.
    ## Set to one of: On | Off | EMail
    ServerSignature On
    UseCanonicalName Off
    ## Aliases: Add here as many aliases as you need (with no limit). The format is
    ## Alias fakename realname
    <IfModule mod_alias.c>
    # Redirect: Allows you to tell clients about documents that used to
    # exist in your server's namespace, but do not anymore. The client
    # will make a new request for the document at its new location.
    # Example:
    # Redirect permanent /foo http://www.example.com/bar
    # Alias: Maps web paths into filesystem paths and is used to
    # access content that does not live under the DocumentRoot.
    # Example:
    # Alias /webpath /full/filesystem/path
    # If you include a trailing / on /webpath then the server will
    # require it to be present in the URL. You will also likely
    # need to provide a <Directory> section to allow access to
    # the filesystem path.
    # ScriptAlias: This controls which directories contain server scripts.
    # ScriptAliases are essentially the same as Aliases, except that
    # documents in the target directory are treated as applications and
    # run by the server when requested rather than as documents sent to the
    # client. The same rules about trailing "/" apply to ScriptAlias
    # directives as to Alias.
    ScriptAliasMatch ^/cgi-bin/((?!(?i:webobjects)).*$) "/Library/WebServer/CGI-Executables/$1"
    #### For Mac OS X Server: Uncomment this line to enable web-based
    #### configuration of mailman:
    #Include /etc/apache2/httpd_mailman.conf
    <IfModule mod_setenvif.c>
    <IfModule mod_negotiation.c>
    # Allow convenient access to Apache manual
    AliasMatch ^/manual(?:/(?:de|en|es|fr|ja|ko|pt-br|ru))?(/.*)?$ "/Library/WebServer/share/httpd/manual$1"
    <Directory "/Library/WebServer/share/httpd/manual">
    Options Indexes
    AllowOverride None
    Order allow,deny
    Allow from all
    <Files *.html>
    SetHandler type-map
    </Files>
    SetEnvIf Request_URI ^/manual/(de|en|es|fr|ja|ko|pt-br|ru)/ prefer-language=$1
    RedirectMatch 301 ^/manual(?:/(de|en|es|fr|ja|ko|pt-br|ru)){2,}(/.*)?$ /manual/$1$2
    LanguagePriority en de es fr ja ko pt-br ru ForceLanguagePriority Prefer Fallback
    </Directory>
    </IfModule>
    </IfModule>
    </IfModule>
    ## Directives controlling the display of server-generated directory listings.
    #### For Mac OS X Server: Note that indexing is further controlled
    #### by the Server Admin application, which adds "Options +/-Indexes
    #### in the virtual host scope.
    <IfModule mod_autoindex.c>
    ## FancyIndexing is whether you want fancy directory indexing or standard
    IndexOptions FancyIndexing
    ## AddIcon* directives tell the server which icon to show for different
    ## files or filename extensions. These are only displayed for
    ## FancyIndexed directories.
    AddIconByEncoding (CMP,/icons/compressed.gif) x-compress x-gzip
    AddIconByType (TXT,/icons/text.gif) text/*
    AddIconByType (IMG,/icons/image2.gif) image/*
    AddIconByType (SND,/icons/sound2.gif) audio/*
    AddIconByType (VID,/icons/movie.gif) video/*
    AddIcon /icons/binary.gif .bin .exe
    AddIcon /icons/binhex.gif .hqx
    AddIcon /icons/tar.gif .tar
    AddIcon /icons/world2.gif .wrl .wrl.gz .vrml .vrm .iv
    AddIcon /icons/compressed.gif .Z .z .tgz .gz .zip
    AddIcon /icons/a.gif .ps .ai .eps
    AddIcon /icons/layout.gif .html .shtml .htm .pdf
    AddIcon /icons/text.gif .txt
    AddIcon /icons/c.gif .c
    AddIcon /icons/p.gif .pl .py
    AddIcon /icons/f.gif .for
    AddIcon /icons/dvi.gif .dvi
    AddIcon /icons/uuencoded.gif .uu
    AddIcon /icons/script.gif .conf .sh .shar .csh .ksh .tcl
    AddIcon /icons/tex.gif .tex
    AddIcon /icons/bomb.gif core
    AddIcon /icons/back.gif ..
    AddIcon /icons/hand.right.gif README
    AddIcon /icons/folder.gif ^^DIRECTORY^^
    AddIcon /icons/blank.gif ^^BLANKICON^^
    ## DefaultIcon is which icon to show for files which do not have an icon
    ## explicitly set.
    DefaultIcon /icons/unknown.gif
    ## AddDescription allows you to place a short description after a file in
    ## server-generated indexes. These are only displayed for FancyIndexed
    ## directories.
    ## Format: AddDescription "description" filename
    #AddDescription "GZIP compressed document" .gz
    #AddDescription "tar archive" .tar
    #AddDescription "GZIP compressed tar archive" .tgz
    #AddDescription "Mac OS Disk Image file" .dmg
    ## ReadmeName is the name of the README file the server will look for by
    ## default, and append to directory listings.
    ## HeaderName is the name of a file which should be prepended to
    ## directory indexes.
    ## If MultiViews are amongst the Options in effect, the server will
    ## first look for name.html and include it if found. If name.html
    ## doesn't exist, the server will then look for name.txt and include
    ## it as plaintext if found.
    ReadmeName README
    HeaderName HEADER
    ## IndexIgnore is a set of filenames which directory indexing should ignore
    ## and not include in the listing. Shell-style wildcarding is permitted.
    IndexIgnore .??* *~ *# HEADER* README* RCS CVS *,v *,t
    </IfModule>
    ## MetaDir: specifies the name of the directory in which Apache can find
    ## meta information files. These files contain additional HTTP headers
    ## to include when sending the document
    #MetaDir .web
    ## MetaSuffix: specifies the file name suffix for the file containing the
    ## meta information.
    #MetaSuffix .meta
    # Customizable error responses come in three flavors:
    # 1) plain text 2) local redirects 3) external redirects
    # Some examples:
    #ErrorDocument 500 "The server made a boo boo."
    #ErrorDocument 404 /missing.html
    #ErrorDocument 404 "/cgi-bin/missing_handler.pl"
    #ErrorDocument 402 http://www.example.com/subscription_info.html
    # The configuration below implements multi-language error documents through
    # content-negotiation, and via the default Alias for /error in the vhost config file.
    <Directory "/usr/share/httpd/error">
    AllowOverride None
    Options IncludesNoExec
    AddOutputFilter Includes html
    AddHandler type-map var
    Order allow,deny
    Allow from all
    LanguagePriority en cs de es fr it ja ko nl pl pt-br ro sv tr
    ForceLanguagePriority Prefer Fallback
    </Directory>
    ErrorDocument 400 /error/HTTPBADREQUEST.html.var
    ErrorDocument 401 /error/HTTP_UNAUTHORIZED.html.var
    ErrorDocument 403 /error/HTTP_FORBIDDEN.html.var
    ErrorDocument 404 /error/HTTPNOTFOUND.html.var
    ErrorDocument 405 /error/HTTPMETHOD_NOTALLOWED.html.var
    ErrorDocument 408 /error/HTTPREQUEST_TIMEOUT.html.var
    ErrorDocument 410 /error/HTTP_GONE.html.var
    ErrorDocument 411 /error/HTTPLENGTHREQUIRED.html.var
    ErrorDocument 412 /error/HTTPPRECONDITIONFAILED.html.var
    ErrorDocument 413 /error/HTTPREQUEST_ENTITY_TOOLARGE.html.var
    ErrorDocument 414 /error/HTTPREQUEST_URI_TOOLARGE.html.var
    ErrorDocument 415 /error/HTTPUNSUPPORTED_MEDIATYPE.html.var
    ErrorDocument 500 /error/HTTPINTERNAL_SERVERERROR.html.var
    ErrorDocument 501 /error/HTTPNOTIMPLEMENTED.html.var
    ErrorDocument 502 /error/HTTPBADGATEWAY.html.var
    ErrorDocument 503 /error/HTTPSERVICEUNAVAILABLE.html.var
    ErrorDocument 506 /error/HTTPVARIANT_ALSOVARIES.html.var
    # Allow server status reports generated by mod_status,
    # with the URL of http://servername/server-status
    <IfModule mod_status.c>
    <Location /server-status>
    SetHandler server-status
    Order deny,allow
    Deny from all
    Allow from 127.0.0.1
    </Location>
    # ExtendedStatus controls whether Apache will generate "full" status
    # information (ExtendedStatus On) or just basic information (ExtendedStatus
    # Off) when the "server-status" handler is called. The default is Off.
    ExtendedStatus On
    </IfModule>
    # Allow remote server configuration reports, with the URL of
    # http://servername/server-info (requires that mod_info.c be loaded).
    #<IfModule mod_info.c>
    # <Location /server-info>
    # SetHandler server-info
    # Order deny,allow
    # Deny from all
    # Allow from .your-domain.com
    # </Location>
    #</IfModule>
    ## Proxy Server directives.
    <IfModule mod_proxy.c>
    ProxyRequests Off
    <IfModule moddiskcache.c>
    CacheEnable disk /
    CacheRoot "/var/run/proxy"
    </IfModule>
    </IfModule>
    ## SSL stuff
    <IfModule mod_ssl.c>
    SetEnvIf User-Agent ".MSIE." nokeepalive ssl-unclean-shutdown
    SSLPassPhraseDialog exec:/etc/apache2/getsslpassphrase
    SSLSessionCache shmcb:/var/run/ssl_scache(512000)
    SSLSessionCacheTimeout 300
    SSLMutex file:/var/log/apache2/ssl_mutex
    SSLRandomSeed startup builtin
    SSLRandomSeed connect builtin
    AddType application/x-x509-ca-cert crt
    AddType application/x-pkcs7-crl crl
    </IfModule>
    <IfModule mod_jk.c>
    JkWorkersFile /etc/apache2/workers.properties
    JkLogFile /var/log/apache2/mod_jk.log
    JkLogLevel error
    JkMount /*.jsp JBoss1
    JkMount /servlet/* JBoss1
    JkMount /examples/* JBoss1
    </IfModule>
    ## The default server is used for status on a special port
    #ServerName www.example.com
    Listen 127.0.0.1:9010
    DocumentRoot "/var/empty"
    ErrorLog "/var/log/apache2/error_log"
    <Directory /var/empty>
    Order Deny,Allow
    Deny from All
    </Directory>
    <IfModule modspotlightapple2.c>
    Spotlight On
    </IfModule>
    <IfModule modauth_digestapple.c>
    BrowserMatch "MSIE" AuthDigestEnableQueryStringHack=On
    </IfModule>
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteCond %{REQUEST_METHOD} ^TRACE
    RewriteRule .* - [F]
    </IfModule>
    <IfModule mod_headers.c>
    Header add MS-Author-Via "DAV"
    RequestHeader set XFORWARDEDPROTO 'https' env=https
    </IfModule>
    <IfModule mod_encoding.c>
    EncodingEngine on
    NormalizeUsername on
    DefaultClientEncoding UTF-8
    # Windows XP?
    AddClientEncoding "Microsoft-WebDAV-MiniRedir/" MSUTF-8
    # Windows 2K SP2 with .NET
    AddClientEncoding "(Microsoft .* DAV\$)" MSUTF-8
    # Windows 2K SP2/Windows XP
    AddClientEncoding "(Microsoft .* DAV 1.1)" CP932
    # Windows XP?
    AddClientEncoding "Microsoft-WebDAV*" CP932
    # RealPlayer
    AddClientEncoding "RMA/*" CP932
    # MacOS X webdavfs
    AddClientEncoding "WebDAVFS" UTF-8
    # cadaver
    AddClientEncoding "cadaver/" EUC-JP
    </IfModule>
    RLimitNPROC max max
    ExtendedStatus On
    Timeout 300
    KeepAlive On
    MaxKeepAliveRequests 500
    KeepAliveTimeout 15
    # As of Mac OS X Server 10.5, the compiled-in server limit is 2048
    ServerLimit 2048
    # Server Admin manages ListenBackLog as a function of MaxClients: min(511, MaxClients/2)
    MaxClients 1024
    ListenBackLog 512
    # Including WebObjects Configs
    Include /System/Library/WebObjects/Adaptors/Apache2.2/apache.conf
    #### The following Include directive is essential for the virtual hosts to be usable.
    Include "/etc/apache2/sites/*.conf"
    ========HTTPD.CONF==========

    I am modifying the correct httpd.conf file on the server, it just doesn't seem to work. - If I put the rewrite rules in the <Directory /> the rewrite works but it adds /Library/WebServer/Documents to the URL.
    I also tried putting the rewrite rules in <IfModule mod_rewrite.c> but that did not work either.
    mod_rewrite is enabled and running on the server.
    I will post the rewrite rules again in the code brackets. Sorry for the long post. - If some one can try them out on their Leopard Server to see if they can get them to work, it would be much appreciated. Again, these work on my Leopard Client but I can't get them to work on Server.
    -- The httpd.conf file posted above is just the default conf file found in /private/etc/apache2/
    <code>
    RewriteEngine On
    Options +FollowSymLinks
    RewriteRule ^(.+)/$ http://%{HTTP_HOST}$1 [R=301, L]
    RewriteCond %{THE_REQUEST} ^GET\ ([^\?]+)\.php(.*)\ HTTP
    RewriteRule (.+)\.php(.*)$ $1$2 [R, L]]
    RewriteCond %{THE_REQUEST} ^GET\ ([^\?]+)\.asp(.*)\ HTTP
    RewriteRule (.+)\.asp(.*)$ $1$2 [R, L]]
    RewriteCond %{THE_REQUEST} ^GET\ ([^\?]+)\.aspx(.*)\ HTTP
    RewriteRule (.+)\.aspx(.*)$ $1$2 [R, L]]
    RewriteCond %{THE_REQUEST} ^GET\ ([^\?]+)\.htm.(.)\ HTTP
    RewriteRule (.+)\.htm.(.)$ $1$2 [R, L]]
    RewriteCond %{THE_REQUEST} ^GET\ ([^\?]+)\.cfm(.*)\ HTTP
    RewriteRule (.+)\.cfm(.*)$ $1$2 [R, L]]
    RewriteCond %{THE_REQUEST} ^GET\ ([^\?]+)\.bak(.*)\ HTTP
    RewriteRule (.+)\.bak(.*)$ $1$2 [R, L]]
    RewriteCond %{THE_REQUEST} ^GET\ ([^\?]+)\.inc(.*)\ HTTP
    RewriteRule (.+)\.inc(.*)$ $1$2 [R, L]]
    RewriteCond %{THE_REQUEST} ^GET\ ([^\?]+)\..(.)\ HTTP
    RewriteRule (.+)\..(.)$ $1$2 [R, L]]
    <code>

  • Performance of query in report..

    Hi All,
    We have the below SQL which is taking 6-8 hrs to execute. Of which 'analysis_results_details' is huge table with 329 million records, its "IOT - TOP" [index oraganised] table.
    Can you please suggest some idea how to improve the performance of the query... Apologies if the format is correct tried my best
    DB details :- 10g (10.1.0.5.0) - 64 bit.
    SELECT   CASE
                WHEN UPPER (a.NAME) LIKE 'PCSUM%UK%RUNOFF%'
                   THEN 'UK/Ireland'
                ELSE ctr.region
             END AS region_name,
             t.reinsurance_treatment_desc AS reinsurance_treatment,
             CASE
                WHEN UPPER (a.NAME) LIKE 'PCSUM%UK%RUNOFF%'
                   THEN 'UK Runoff'
                ELSE rlc.country_code
             END AS country_code,       
             ars.currency_code, rln.management_line_of_business AS aog_line,
             rln.reserving_class, rln.reserving_line, rln.reserving_line_id,
            CASE
                WHEN UPPER (a.NAME) NOT LIKE 'PCSUMM%'
                   THEN ''
                ELSE CASE
                WHEN UPPER (a.NAME) LIKE 'PCSUMM1 %'
                   THEN 'Attritional'
                WHEN UPPER (a.NAME) LIKE 'PCSUMM2 %'
                   THEN 'Large Loss'
                WHEN UPPER (a.NAME) LIKE 'PCSUMM4 %'
                   THEN 'Total'
                ELSE 'Cat'
             END
             END AS claim_type,
            CASE
                WHEN MOD (ard.exposure_period, 100) IN (1, 2, 3)
                   THEN TO_DATE
                          (TO_CHAR (TRUNC (ard.exposure_period / 100)) || '0101',
                           'yyyymmdd'
                WHEN MOD (ard.exposure_period, 100) IN (4, 5, 6)
                   THEN TO_DATE (   TO_CHAR (TRUNC (ard.exposure_period / 100))
                                 || '0401',
                                 'yyyymmdd'
                WHEN MOD (ard.exposure_period, 100) IN (7, 8, 9)
                   THEN TO_DATE (   TO_CHAR (TRUNC (ard.exposure_period / 100))
                                 || '0701',
                                 'yyyymmdd'
                WHEN MOD (ard.exposure_period, 100) IN (10, 11, 12)
                   THEN TO_DATE (   TO_CHAR (TRUNC (ard.exposure_period / 100))
                                 || '1001',
                                 'yyyymmdd'
             END AS origin_date,
            CASE
                WHEN MOD (ard.evaluation_period, 100) IN
                                                   (1, 2, 3)
                   THEN TO_DATE
                          (TO_CHAR (TRUNC (ard.evaluation_period / 100)) || '0331',
                           'yyyymmdd'
                WHEN MOD (ard.evaluation_period, 100) IN (4, 5, 6)
                   THEN TO_DATE (   TO_CHAR (TRUNC (ard.evaluation_period / 100))
                                 || '0630',
                                 'yyyymmdd'
                WHEN MOD (ard.evaluation_period, 100) IN (7, 8, 9)
                   THEN TO_DATE (   TO_CHAR (TRUNC (ard.evaluation_period / 100))
                                 || '0930',
                                 'yyyymmdd'
                WHEN MOD (ard.evaluation_period, 100) IN (10, 11, 12)
                   THEN TO_DATE (   TO_CHAR (TRUNC (ard.evaluation_period / 100))
                                 || '1231',
                                 'yyyymmdd'
             END AS development_date,
             SUM (DECODE (ars.data_type_id, 1, NVL (ard.VALUE, 0), 0)
                 ) AS earned_premium,
             SUM (DECODE (ars.data_type_id, 12, NVL (ard.VALUE, 0), 0)
                 ) AS paid_losses_and_alae,
             SUM (DECODE (ars.data_type_id, 27, NVL (ard.VALUE, 0), 0)
                 ) AS total_incurred_losses_inc_alae,
             SUM (DECODE (ars.data_type_id, 6, NVL (ard.VALUE, 0), 0)
                 ) AS paid_loss_total,
             SUM (DECODE (ars.data_type_id, 9, NVL (ard.VALUE, 0), 0)
                 ) AS alae_total,
             SUM (DECODE (ars.data_type_id, 13, NVL (ard.VALUE, 0), 0)
                 ) AS case_os_total,
             SUM (DECODE (ars.data_type_id, 3, NVL (ard.VALUE, 0), 0)
                 ) AS written_premium,                       
             SUM (DECODE (ars.data_type_id, 33, NVL (ard.VALUE, 0), 0)
                 ) AS total_claim_counts,                 
             SUM (DECODE (ars.data_type_id, 31, NVL (ard.VALUE, 0), 0)
                 ) AS open_claim_counts,                 
             SUM (DECODE (ars.data_type_id, 32, NVL (ard.VALUE, 0), 0)
                 ) AS closed_claim_counts,               
             SUM (DECODE (ars.data_type_id, 21, NVL (ard.VALUE, 0), 0)
                 ) AS total_case_inc_loss,                     
             SYSDATE AS export_date
        FROM res_line_country rlc,
             res_line_names rln,
             risk_history.analysis_results_criteria arc,
             (SELECT   al.analysis_id,
                       MAX (al.lob_type_id) AS lob_type_id
                  FROM analysis_lobs al
              GROUP BY analysis_id) al_types,
             analyses a,
             treatments t,
             risk_history.analysis_lobs al,
             analysis_results_summary ars,
             analysis_results_details ard,
             countries_to_regions ctr,
                      --Created Seperate Table to materialize the inline view - VM
             country_to_bu_map ctbm
       WHERE rlc.lob_value = rln.lob_value
         AND rlc.lob_value = arc.lob_value
         AND al_types.lob_type_id = rln.lob_type_id
         AND a.analysis_id = al_types.analysis_id
         AND a.analysis_id = arc.analysis_id
         AND a.analysis_id = t.analysis_id
         AND al.analysis_id = arc.analysis_id
         AND arc.lob_value = al.lob_value
         AND arc.analysis_criteria_id = ars.analysis_criteria_id
         AND ars.analysis_results_id = ard.analysis_results_id
         AND ctr.country_code = rlc.country_code
         AND ctbm.business_unit = arc.business_unit
         AND rlc.country_code = ctbm.country_code
         AND a.run_frequency !=2
         AND ars.is_non_zero_triangle = 'Y'   
         AND ars.data_type_id IN (1, 12, 27, 6, 9, 13, 3, 33, 31, 32, 21)
         AND NOT UPPER (a.NAME) LIKE 'PCSUMM88%'
         AND arc.lob_value NOT IN  ('ALL', 'SEL') -- get data only for the actual reserving lines
         AND al_types.lob_type_id IN (2, 4)
         AND arc.management_unit != 'SEL'
         AND arc.business_unit NOT IN  ('ALL', 'SEL')
         AND arc.rcc = 'ALL'                    
    GROUP BY CASE
                WHEN UPPER (a.NAME) LIKE 'PCSUM%UK%RUNOFF%'
                   THEN 'UK/Ireland'
                ELSE ctr.region
             END,
             t.reinsurance_treatment_desc,
             CASE
                WHEN UPPER (a.NAME) LIKE 'PCSUM%UK%RUNOFF%'
                   THEN 'UK Runoff'
                ELSE rlc.country_code
             END,
             ars.currency_code,
             rln.management_line_of_business,
             rln.reserving_class,
             rln.reserving_line,
             rln.reserving_line_id,
             CASE
                WHEN UPPER (a.NAME) NOT LIKE 'PCSUMM%'
                   THEN ''
                ELSE CASE
                WHEN UPPER (a.NAME) LIKE 'PCSUMM1 %'
                   THEN 'Attritional'
                WHEN UPPER (a.NAME) LIKE 'PCSUMM2 %'
                   THEN 'Large Loss'
                WHEN UPPER (a.NAME) LIKE 'PCSUMM4 %'
                   THEN 'Total'
                ELSE 'Cat'
             END
             END,
             CASE
                WHEN MOD (ard.exposure_period, 100) IN (1, 2, 3)
                   THEN TO_DATE (   TO_CHAR (TRUNC (ard.exposure_period / 100))
                                 || '0101',
                                 'yyyymmdd'
                WHEN MOD (ard.exposure_period, 100) IN (4, 5, 6)
                   THEN TO_DATE (   TO_CHAR (TRUNC (ard.exposure_period / 100))
                                 || '0401',
                                 'yyyymmdd'
                WHEN MOD (ard.exposure_period, 100) IN (7, 8, 9)
                   THEN TO_DATE (   TO_CHAR (TRUNC (ard.exposure_period / 100))
                                 || '0701',
                                 'yyyymmdd'
                WHEN MOD (ard.exposure_period, 100) IN (10, 11, 12)
                   THEN TO_DATE (   TO_CHAR (TRUNC (ard.exposure_period / 100))
                                 || '1001',
                                 'yyyymmdd'
             END,                                             
             CASE
                WHEN MOD (ard.evaluation_period, 100) IN (1, 2, 3)
                   THEN TO_DATE (   TO_CHAR (TRUNC (ard.evaluation_period / 100))
                                 || '0331',
                                 'yyyymmdd'
                WHEN MOD (ard.evaluation_period, 100) IN (4, 5, 6)
                   THEN TO_DATE (   TO_CHAR (TRUNC (ard.evaluation_period / 100))
                                 || '0630',
                                 'yyyymmdd'
                WHEN MOD (ard.evaluation_period, 100) IN (7, 8, 9)
                   THEN TO_DATE (   TO_CHAR (TRUNC (ard.evaluation_period / 100))
                                 || '0930',
                                 'yyyymmdd'
                WHEN MOD (ard.evaluation_period, 100) IN (10, 11, 12)
                   THEN TO_DATE (   TO_CHAR (TRUNC (ard.evaluation_period / 100))
                                 || '1231',
                                 'yyyymmdd') END,SYSDATE
      HAVING (   SUM (DECODE (ars.data_type_id, 1, NVL (ard.VALUE, 0), 0)) <> 0
              OR SUM (DECODE (ars.data_type_id, 12, NVL (ard.VALUE, 0), 0)) <>0
              OR SUM (DECODE (ars.data_type_id, 27, NVL (ard.VALUE, 0), 0)) <>0
              OR SUM (DECODE (ars.data_type_id, 6, NVL (ard.VALUE, 0), 0)) <> 0
              OR SUM (DECODE (ars.data_type_id, 9, NVL (ard.VALUE, 0), 0)) <> 0
              OR SUM (DECODE (ars.data_type_id, 13, NVL (ard.VALUE, 0), 0)) <> 0
              OR SUM (DECODE (ars.data_type_id, 3, NVL (ard.VALUE, 0), 0)) <>0
              OR SUM (DECODE (ars.data_type_id, 33, NVL (ard.VALUE, 0), 0)) <>0
              OR SUM (DECODE (ars.data_type_id, 31, NVL (ard.VALUE, 0), 0)) <>0
              OR SUM (DECODE (ars.data_type_id, 32, NVL (ard.VALUE, 0), 0)) <>0
              OR SUM (DECODE (ars.data_type_id, 21, NVL (ard.VALUE, 0), 0)) <> 0 )
    Below is the EXPLAIN PLAN for it
    PLAN_TABLE_OUTPUT
    Plan hash value: 771711397
    | Id  | Operation                                | Name                         | Rows  | Bytes | Cost (%CPU)| Time     |
    |   0 | SELECT STATEMENT                         |                              |     1 |   256 |   356   (5)| 00:00:03 |
    |*  1 |  FILTER                                  |                              |       |       |            |          |
    |   2 |   SORT GROUP BY                          |                              |     1 |   256 |   356   (5)| 00:00:03 |
    |   3 |    NESTED LOOPS                          |                              |     1 |   256 |   355   (4)| 00:00:03 |
    |   4 |     NESTED LOOPS                         |                              |     1 |   234 |   355   (4)| 00:00:03 |
    |   5 |      NESTED LOOPS                        |                              |     1 |   217 |   355   (4)| 00:00:03 |
    |   6 |       NESTED LOOPS                       |                              |     2 |   318 |   355   (5)| 00:00:03 |
    |   7 |        NESTED LOOPS                      |                              |     1 |   139 |   142  (10)| 00:00:02 |
    |   8 |         NESTED LOOPS                     |                              |     1 |   131 |   142  (10)| 00:00:02 |
    |   9 |          NESTED LOOPS                    |                              |     1 |   121 |   141  (10)| 00:00:02 |
    |* 10 |           HASH JOIN                      |                              |     1 |   111 |   140  (10)| 00:00:02 |
    |* 11 |            TABLE ACCESS BY INDEX ROWID   | ANALYSES                     |     1 |    43 |     0   (0)| 00:00:01 |
    |  12 |             NESTED LOOPS                 |                              |     1 |    94 |   115   (8)| 00:00:01 |
    |  13 |              NESTED LOOPS                |                              |     1 |    51 |   115   (8)| 00:00:01 |
    |* 14 |               TABLE ACCESS FULL          | ANALYSIS_RESULTS_SUMMARY     |     1 |    22 |   114   (8)| 00:00:01 |
    |* 15 |               TABLE ACCESS BY INDEX ROWID| ANALYSIS_RESULTS_CRITERIA    |     1 |    29 |     1   (0)| 00:00:01 |
    |* 16 |                INDEX UNIQUE SCAN         | ANALYSIS_RESULTS_CRITERIA_PK |     1 |       |     0   (0)| 00:00:01 |
    |* 17 |              INDEX RANGE SCAN            | ANALYSES_PK                  |     1 |       |     0   (0)| 00:00:01 |
    |  18 |            VIEW                          |                              |    14 |   238 |    24  (13)| 00:00:01 |
    |* 19 |             FILTER                       |                              |       |       |            |          |
    |  20 |              SORT GROUP BY               |                              |    14 |    98 |    24  (13)| 00:00:01 |
    |  21 |               TABLE ACCESS FULL          | ANALYSIS_LOBS                | 22909 |   156K|    21   (0)| 00:00:01 |
    |* 22 |           INDEX RANGE SCAN               | ANALYSIS_LOBS_PK             |     1 |    10 |     1   (0)| 00:00:01 |
    |* 23 |          INDEX FULL SCAN                 | COUNTRY_TO_BU_MAP_PK         |     1 |    10 |     1   (0)| 00:00:01 |
    |* 24 |         INDEX UNIQUE SCAN                | RES_LINE_COUNTRY_PK          |     1 |     8 |     0   (0)| 00:00:01 |
    |* 25 |        INDEX RANGE SCAN                  | ANALYSIS_RESULTS_DETAILS_PK  | 59280 |  1157K|   213   (1)| 00:00:02 |
    |* 26 |       TABLE ACCESS BY INDEX ROWID        | RES_LINE_NAMES               |     1 |    58 |     1   (0)| 00:00:01 |
    |* 27 |        INDEX UNIQUE SCAN                 | RES_LINE_NAME_PK             |     1 |       |     0   (0)| 00:00:01 |
    |  28 |      TABLE ACCESS BY INDEX ROWID         | COUNTRIES_TO_REGIONS         |     1 |    17 |     0   (0)| 00:00:01 |
    |* 29 |       INDEX UNIQUE SCAN                  | COUNTRIES_TO_REG_PK          |     1 |       |     0   (0)| 00:00:01 |
    |  30 |     TABLE ACCESS BY INDEX ROWID          | TREATMENTS                   |     1 |    22 |     0   (0)| 00:00:01 |
    |* 31 |      INDEX UNIQUE SCAN                   | PK_ANALYSIS_ID               |     1 |       |     0   (0)| 00:00:01 |
    Predicate Information (identified by operation id):
       1 - filter(SUM(DECODE("ARS"."DATA_TYPE_ID",1,NVL("ARD"."VALUE",0),0))<>0 OR
                  SUM(DECODE("ARS"."DATA_TYPE_ID",12,NVL("ARD"."VALUE",0),0))<>0 OR
                  SUM(DECODE("ARS"."DATA_TYPE_ID",27,NVL("ARD"."VALUE",0),0))<>0 OR
                  SUM(DECODE("ARS"."DATA_TYPE_ID",6,NVL("ARD"."VALUE",0),0))<>0 OR
                  SUM(DECODE("ARS"."DATA_TYPE_ID",9,NVL("ARD"."VALUE",0),0))<>0 OR
                  SUM(DECODE("ARS"."DATA_TYPE_ID",13,NVL("ARD"."VALUE",0),0))<>0 OR
                  SUM(DECODE("ARS"."DATA_TYPE_ID",3,NVL("ARD"."VALUE",0),0))<>0 OR
                  SUM(DECODE("ARS"."DATA_TYPE_ID",33,NVL("ARD"."VALUE",0),0))<>0 OR
                  SUM(DECODE("ARS"."DATA_TYPE_ID",31,NVL("ARD"."VALUE",0),0))<>0 OR
                  SUM(DECODE("ARS"."DATA_TYPE_ID",32,NVL("ARD"."VALUE",0),0))<>0 OR
                  SUM(DECODE("ARS"."DATA_TYPE_ID",21,NVL("ARD"."VALUE",0),0))<>0)
      10 - access("A"."ANALYSIS_ID"="AL_TYPES"."ANALYSIS_ID")
      11 - filter("A"."RUN_FREQUENCY"<>2 AND UPPER("A"."NAME") NOT LIKE 'PCSUMM88%')
      14 - filter("ARS"."IS_NON_ZERO_TRIANGLE"='Y' AND ("ARS"."DATA_TYPE_ID"=1 OR "ARS"."DATA_TYPE_ID"=3 OR
                  "ARS"."DATA_TYPE_ID"=6 OR "ARS"."DATA_TYPE_ID"=9 OR "ARS"."DATA_TYPE_ID"=12 OR "ARS"."DATA_TYPE_ID"=13 OR
                  "ARS"."DATA_TYPE_ID"=21 OR "ARS"."DATA_TYPE_ID"=27 OR "ARS"."DATA_TYPE_ID"=31 OR "ARS"."DATA_TYPE_ID"=32 OR
                  "ARS"."DATA_TYPE_ID"=33))
      15 - filter("ARC"."BUSINESS_UNIT"<>'ALL' AND "ARC"."BUSINESS_UNIT"<>'SEL' AND "ARC"."LOB_VALUE"<>'SEL' AND
                  "ARC"."MANAGEMENT_UNIT"<>'SEL' AND "ARC"."LOB_VALUE"<>'ALL' AND "ARC"."RCC"='ALL')
      16 - access("ARC"."ANALYSIS_CRITERIA_ID"="ARS"."ANALYSIS_CRITERIA_ID")
      17 - access("A"."ANALYSIS_ID"="ARC"."ANALYSIS_ID")
      19 - filter(MAX("AL"."LOB_TYPE_ID")=2 OR MAX("AL"."LOB_TYPE_ID")=4)
      22 - access("AL"."ANALYSIS_ID"="ARC"."ANALYSIS_ID" AND "ARC"."LOB_VALUE"="AL"."LOB_VALUE")
           filter("AL"."LOB_VALUE"<>'ALL' AND "AL"."LOB_VALUE"<>'SEL' AND "ARC"."LOB_VALUE"="AL"."LOB_VALUE")
      23 - access("CTBM"."BUSINESS_UNIT"="ARC"."BUSINESS_UNIT")
           filter("CTBM"."BUSINESS_UNIT"<>'ALL' AND "CTBM"."BUSINESS_UNIT"<>'SEL' AND
                  "CTBM"."BUSINESS_UNIT"="ARC"."BUSINESS_UNIT")
      24 - access("RLC"."LOB_VALUE"="ARC"."LOB_VALUE" AND "RLC"."COUNTRY_CODE"="CTBM"."COUNTRY_CODE")
           filter("RLC"."LOB_VALUE"<>'ALL' AND "RLC"."LOB_VALUE"<>'SEL')
      25 - access("ARS"."ANALYSIS_RESULTS_ID"="ARD"."ANALYSIS_RESULTS_ID")
      26 - filter((TO_NUMBER("RLN"."LOB_TYPE_ID")=4 OR TO_NUMBER("RLN"."LOB_TYPE_ID")=2) AND
                  "AL_TYPES"."LOB_TYPE_ID"=TO_NUMBER("RLN"."LOB_TYPE_ID"))
      27 - access("RLN"."LOB_VALUE"=TO_NUMBER("RLC"."LOB_VALUE"))
      29 - access("CTR"."COUNTRY_CODE"="RLC"."COUNTRY_CODE")
      31 - access("A"."ANALYSIS_ID"="T"."ANALYSIS_ID")Regards,
    Sundeep K
    Edited by: kangula on Jan 21, 2011 4:34 PM
    Edited by: kangula on Jan 21, 2011 4:36 PM

    Hi Boneist,
    I have checked query and it doesnt change much... execution time is same.
    Hi Charles,
    I have tried using the hint /*+ GATHER_PLAN_STATISTICS */ as below, the query is still executing. Its taking more than 4 hrs... Is there any other way i can get these..
    set serveroutput off
    SELECT  /*+ GATHER_PLAN_STATISTICS */ CASE
                WHEN UPPER (a.NAME) LIKE 'PCSUM%UK%RUNOFF%'
                   THEN 'UK/Ireland'
                ELSE ctr.region
             END AS region_name,
             t.reinsurance_treatment_desc AS reinsurance_treatment,
             CASE
                WHEN UPPER (a.NAME) LIKE 'PCSUM%UK%RUNOFF%'Will let u know if i get these. In mean time have added new where clause [highlighted below] in query and it took 35 mins to execute. Please find it below along with plan.
    explain plan for
    SELECT  CASE
                WHEN UPPER (a.NAME) LIKE 'PCSUM%UK%RUNOFF%'
                   THEN 'UK/Ireland'
                ELSE ctr.region
             END AS region_name,
             t.reinsurance_treatment_desc AS reinsurance_treatment,
             CASE
                WHEN UPPER (a.NAME) LIKE 'PCSUM%UK%RUNOFF%'
                   THEN 'UK Runoff'
                ELSE rlc.country_code
             END AS country_code,       
             ars.currency_code, rln.management_line_of_business AS aog_line,
             rln.reserving_class, rln.reserving_line, rln.reserving_line_id,
            CASE
                WHEN UPPER (a.NAME) NOT LIKE 'PCSUMM%'
                   THEN ''
                ELSE CASE
                WHEN UPPER (a.NAME) LIKE 'PCSUMM1 %'
                   THEN 'Attritional'
                WHEN UPPER (a.NAME) LIKE 'PCSUMM2 %'
                   THEN 'Large Loss'
                WHEN UPPER (a.NAME) LIKE 'PCSUMM4 %'
                   THEN 'Total'
                ELSE 'Cat'
             END
             END AS claim_type,
            CASE
                WHEN MOD (ard.exposure_period, 100) IN (1, 2, 3)
                   THEN TO_DATE
                          (TO_CHAR (TRUNC (ard.exposure_period / 100)) || '0101',
                           'yyyymmdd'
                WHEN MOD (ard.exposure_period, 100) IN (4, 5, 6)
                   THEN TO_DATE (   TO_CHAR (TRUNC (ard.exposure_period / 100))
                                 || '0401',
                                 'yyyymmdd'
                WHEN MOD (ard.exposure_period, 100) IN (7, 8, 9)
                   THEN TO_DATE (   TO_CHAR (TRUNC (ard.exposure_period / 100))
                                 || '0701',
                                 'yyyymmdd'
                WHEN MOD (ard.exposure_period, 100) IN (10, 11, 12)
                   THEN TO_DATE (   TO_CHAR (TRUNC (ard.exposure_period / 100))
                                 || '1001',
                                 'yyyymmdd'
             END AS origin_date,
            CASE
                WHEN MOD (ard.evaluation_period, 100) IN
                                                   (1, 2, 3)
                   THEN TO_DATE
                          (TO_CHAR (TRUNC (ard.evaluation_period / 100)) || '0331',
                           'yyyymmdd'
                WHEN MOD (ard.evaluation_period, 100) IN (4, 5, 6)
                   THEN TO_DATE (   TO_CHAR (TRUNC (ard.evaluation_period / 100))
                                 || '0630',
                                 'yyyymmdd'
                WHEN MOD (ard.evaluation_period, 100) IN (7, 8, 9)
                   THEN TO_DATE (   TO_CHAR (TRUNC (ard.evaluation_period / 100))
                                 || '0930',
                                 'yyyymmdd'
                WHEN MOD (ard.evaluation_period, 100) IN (10, 11, 12)
                   THEN TO_DATE (   TO_CHAR (TRUNC (ard.evaluation_period / 100))
                                 || '1231',
                                 'yyyymmdd'
             END AS development_date,
             SUM (DECODE (ars.data_type_id, 1, NVL (ard.VALUE, 0), 0)
                 ) AS earned_premium,
             SUM (DECODE (ars.data_type_id, 12, NVL (ard.VALUE, 0), 0)
                 ) AS paid_losses_and_alae,
             SUM (DECODE (ars.data_type_id, 27, NVL (ard.VALUE, 0), 0)
                 ) AS total_incurred_losses_inc_alae,
             SUM (DECODE (ars.data_type_id, 6, NVL (ard.VALUE, 0), 0)
                 ) AS paid_loss_total,
             SUM (DECODE (ars.data_type_id, 9, NVL (ard.VALUE, 0), 0)
                 ) AS alae_total,
             SUM (DECODE (ars.data_type_id, 13, NVL (ard.VALUE, 0), 0)
                 ) AS case_os_total,
             SUM (DECODE (ars.data_type_id, 3, NVL (ard.VALUE, 0), 0)
                 ) AS written_premium,                       
             SUM (DECODE (ars.data_type_id, 33, NVL (ard.VALUE, 0), 0)
                 ) AS total_claim_counts,                 
             SUM (DECODE (ars.data_type_id, 31, NVL (ard.VALUE, 0), 0)
                 ) AS open_claim_counts,                 
             SUM (DECODE (ars.data_type_id, 32, NVL (ard.VALUE, 0), 0)
                 ) AS closed_claim_counts,               
             SUM (DECODE (ars.data_type_id, 21, NVL (ard.VALUE, 0), 0)
                 ) AS total_case_inc_loss,                     
             SYSDATE AS export_date
        FROM res_line_country rlc,
             res_line_names rln,
             risk_history.analysis_results_criteria arc,
             (SELECT   al.analysis_id,
                       MAX (al.lob_type_id) AS lob_type_id
                  FROM analysis_lobs al
              GROUP BY analysis_id) al_types,
             analyses a,
             treatments t,
             risk_history.analysis_lobs al,
             analysis_results_summary ars,
             analysis_results_details ard,
             countries_to_regions ctr,
                      --Created Seperate Table to materialize the inline view - VM
             country_to_bu_map ctbm
       WHERE rlc.lob_value = rln.lob_value
         AND rlc.lob_value = arc.lob_value
         AND al_types.lob_type_id = rln.lob_type_id
         AND a.analysis_id = al_types.analysis_id
         AND a.analysis_id = arc.analysis_id
         AND a.analysis_id = t.analysis_id
         AND al.analysis_id = arc.analysis_id
         AND arc.lob_value = al.lob_value
         AND arc.analysis_criteria_id = ars.analysis_criteria_id
         AND ars.analysis_results_id = ard.analysis_results_id
         AND ctr.country_code = rlc.country_code
         AND ctbm.business_unit = arc.business_unit
         AND rlc.country_code = ctbm.country_code
         AND a.run_frequency !=2
         AND ars.is_non_zero_triangle = 'Y'   
         AND ars.data_type_id IN (1, 12, 27, 6, 9, 13, 3, 33, 31, 32, 21)
         AND NOT UPPER (a.NAME) LIKE 'PCSUMM88%'
         AND arc.lob_value NOT IN  ('ALL', 'SEL') -- get data only for the actual reserving lines
         AND al_types.lob_type_id IN (2, 4)
         AND arc.management_unit != 'SEL'
         AND arc.business_unit NOT IN  ('ALL', 'SEL')
         AND arc.rcc = 'ALL' 
         +*AND ard.VALUE <>0*+         
    GROUP BY CASE
                WHEN UPPER (a.NAME) LIKE 'PCSUM%UK%RUNOFF%'
                   THEN 'UK/Ireland'
                ELSE ctr.region
             END,
             t.reinsurance_treatment_desc,
             CASE
                WHEN UPPER (a.NAME) LIKE 'PCSUM%UK%RUNOFF%'
                   THEN 'UK Runoff'
                ELSE rlc.country_code
             END,
             ars.currency_code,
             rln.management_line_of_business,
             rln.reserving_class,
             rln.reserving_line,
             rln.reserving_line_id,
             CASE
                WHEN UPPER (a.NAME) NOT LIKE 'PCSUMM%'
                   THEN ''
                ELSE CASE
                WHEN UPPER (a.NAME) LIKE 'PCSUMM1 %'
                   THEN 'Attritional'
                WHEN UPPER (a.NAME) LIKE 'PCSUMM2 %'
                   THEN 'Large Loss'
                WHEN UPPER (a.NAME) LIKE 'PCSUMM4 %'
                   THEN 'Total'
                ELSE 'Cat'
             END
             END,
             CASE
                WHEN MOD (ard.exposure_period, 100) IN (1, 2, 3)
                   THEN TO_DATE (   TO_CHAR (TRUNC (ard.exposure_period / 100))
                                 || '0101',
                                 'yyyymmdd'
                WHEN MOD (ard.exposure_period, 100) IN (4, 5, 6)
                   THEN TO_DATE (   TO_CHAR (TRUNC (ard.exposure_period / 100))
                                 || '0401',
                                 'yyyymmdd'
                WHEN MOD (ard.exposure_period, 100) IN (7, 8, 9)
                   THEN TO_DATE (   TO_CHAR (TRUNC (ard.exposure_period / 100))
                                 || '0701',
                                 'yyyymmdd'
                WHEN MOD (ard.exposure_period, 100) IN (10, 11, 12)
                   THEN TO_DATE (   TO_CHAR (TRUNC (ard.exposure_period / 100))
                                 || '1001',
                                 'yyyymmdd'
             END,
             CASE
                WHEN MOD (ard.evaluation_period, 100) IN (1, 2, 3)
                   THEN TO_DATE (   TO_CHAR (TRUNC (ard.evaluation_period / 100))
                                 || '0331',
                                 'yyyymmdd'
                WHEN MOD (ard.evaluation_period, 100) IN (4, 5, 6)
                   THEN TO_DATE (   TO_CHAR (TRUNC (ard.evaluation_period / 100))
                                 || '0630',
                                 'yyyymmdd'
                WHEN MOD (ard.evaluation_period, 100) IN (7, 8, 9)
                   THEN TO_DATE (   TO_CHAR (TRUNC (ard.evaluation_period / 100))
                                 || '0930',
                                 'yyyymmdd'
                WHEN MOD (ard.evaluation_period, 100) IN (10, 11, 12)
                   THEN TO_DATE (   TO_CHAR (TRUNC (ard.evaluation_period / 100))
                                 || '1231',
                                 'yyyymmdd') END,SYSDATE
    HAVING   (SUM (DECODE (ars.data_type_id, 1, NVL (ard.VALUE, 0), 
                                          12, NVL (ard.VALUE, 0),
                                          27, NVL (ard.VALUE, 0),
                                           6, NVL (ard.VALUE, 0),
                                           9, NVL (ard.VALUE, 0),
                                          13, NVL (ard.VALUE, 0),
                                           3, NVL (ard.VALUE, 0),
                                          33, NVL (ard.VALUE, 0),
                                          31, NVL (ard.VALUE, 0),
                                          32, NVL (ard.VALUE, 0),
                                          21, NVL (ard.VALUE, 0), 0)) != 0 );
    select * from table (dbms_xplan.DISPLAY)
    PLAN_TABLE_OUTPUT
    Plan hash value: 2043043506
    | Id  | Operation                                | Name                         | Rows  | Bytes | Cost (%CPU)| Time     |
    |   0 | SELECT STATEMENT                         |                              |     1 |   256 |   355   (5)| 00:00:03 |
    |*  1 |  FILTER                                  |                              |       |       |            |          |
    |   2 |   SORT GROUP BY                          |                              |     1 |   256 |   355   (5)| 00:00:03 |
    |   3 |    NESTED LOOPS                          |                              |     1 |   256 |   354   (4)| 00:00:03 |
    |   4 |     NESTED LOOPS                         |                              |     1 |   198 |   354   (5)| 00:00:03 |
    |   5 |      NESTED LOOPS                        |                              |     1 |   188 |   354   (5)| 00:00:03 |
    |   6 |       NESTED LOOPS                       |                              |     1 |   166 |   354   (5)| 00:00:03 |
    |   7 |        NESTED LOOPS                      |                              |     1 |   149 |   354   (5)| 00:00:03 |
    |   8 |         NESTED LOOPS                     |                              |     1 |   129 |   141  (10)| 00:00:02 |
    |   9 |          NESTED LOOPS                    |                              |     1 |   121 |   141  (10)| 00:00:02 |
    |* 10 |           HASH JOIN                      |                              |     1 |   111 |   140  (10)| 00:00:02 |
    |* 11 |            TABLE ACCESS BY INDEX ROWID   | ANALYSES                     |     1 |    43 |     0   (0)| 00:00:01 |
    |  12 |             NESTED LOOPS                 |                              |     1 |    94 |   115   (8)| 00:00:01 |
    |  13 |              NESTED LOOPS                |                              |     1 |    51 |   115   (8)| 00:00:01 |
    |* 14 |               TABLE ACCESS FULL          | ANALYSIS_RESULTS_SUMMARY     |     1 |    22 |   114   (8)| 00:00:01 |
    |* 15 |               TABLE ACCESS BY INDEX ROWID| ANALYSIS_RESULTS_CRITERIA    |     1 |    29 |     1   (0)| 00:00:01 |
    |* 16 |                INDEX UNIQUE SCAN         | ANALYSIS_RESULTS_CRITERIA_PK |     1 |       |     0   (0)| 00:00:01 |
    |* 17 |              INDEX RANGE SCAN            | ANALYSES_PK                  |     1 |       |     0   (0)| 00:00:01 |
    |  18 |            VIEW                          |                              |    14 |   238 |    24  (13)| 00:00:01 |
    |* 19 |             FILTER                       |                              |       |       |            |          |
    |  20 |              SORT GROUP BY               |                              |    14 |    98 |    24  (13)| 00:00:01 |
    |  21 |               TABLE ACCESS FULL          | ANALYSIS_LOBS                | 22909 |   156K|    21   (0)| 00:00:01 |
    |* 22 |           INDEX FULL SCAN                | COUNTRY_TO_BU_MAP_PK         |     1 |    10 |     1   (0)| 00:00:01 |
    |* 23 |          INDEX UNIQUE SCAN               | RES_LINE_COUNTRY_PK          |     1 |     8 |     0   (0)| 00:00:01 |
    |* 24 |         INDEX RANGE SCAN                 | ANALYSIS_RESULTS_DETAILS_PK  |  2964 | 59280 |   213   (1)| 00:00:02 |
    |  25 |        TABLE ACCESS BY INDEX ROWID       | COUNTRIES_TO_REGIONS         |     1 |    17 |     0   (0)| 00:00:01 |
    |* 26 |         INDEX UNIQUE SCAN                | COUNTRIES_TO_REG_PK          |     1 |       |     0   (0)| 00:00:01 |
    |  27 |       TABLE ACCESS BY INDEX ROWID        | TREATMENTS                   |     1 |    22 |     0   (0)| 00:00:01 |
    |* 28 |        INDEX UNIQUE SCAN                 | PK_ANALYSIS_ID               |     1 |       |     0   (0)| 00:00:01 |
    |* 29 |      INDEX RANGE SCAN                    | ANALYSIS_LOBS_PK             |     1 |    10 |     1   (0)| 00:00:01 |
    |* 30 |     TABLE ACCESS BY INDEX ROWID          | RES_LINE_NAMES               |     1 |    58 |     1   (0)| 00:00:01 |
    |* 31 |      INDEX UNIQUE SCAN                   | RES_LINE_NAME_PK             |     1 |       |     0   (0)| 00:00:01 |
    Predicate Information (identified by operation id):
       1 - filter(SUM(DECODE("ARS"."DATA_TYPE_ID",1,NVL("ARD"."VALUE",0),12,NVL("ARD"."VALUE",0),27,NVL("ARD"."VALUE"
                  ,0),6,NVL("ARD"."VALUE",0),9,NVL("ARD"."VALUE",0),13,NVL("ARD"."VALUE",0),3,NVL("ARD"."VALUE",0),33,NVL("ARD"."VA
                  LUE",0),31,NVL("ARD"."VALUE",0),32,NVL("ARD"."VALUE",0),21,NVL("ARD"."VALUE",0),0))<>0)
      10 - access("A"."ANALYSIS_ID"="AL_TYPES"."ANALYSIS_ID")
      11 - filter("A"."RUN_FREQUENCY"<>2 AND UPPER("A"."NAME") NOT LIKE 'PCSUMM88%')
      14 - filter("ARS"."IS_NON_ZERO_TRIANGLE"='Y' AND ("ARS"."DATA_TYPE_ID"=1 OR "ARS"."DATA_TYPE_ID"=3 OR
                  "ARS"."DATA_TYPE_ID"=6 OR "ARS"."DATA_TYPE_ID"=9 OR "ARS"."DATA_TYPE_ID"=12 OR "ARS"."DATA_TYPE_ID"=13 OR
                  "ARS"."DATA_TYPE_ID"=21 OR "ARS"."DATA_TYPE_ID"=27 OR "ARS"."DATA_TYPE_ID"=31 OR "ARS"."DATA_TYPE_ID"=32 OR
                  "ARS"."DATA_TYPE_ID"=33))
      15 - filter("ARC"."BUSINESS_UNIT"<>'ALL' AND "ARC"."BUSINESS_UNIT"<>'SEL' AND "ARC"."LOB_VALUE"<>'SEL' AND
                  "ARC"."MANAGEMENT_UNIT"<>'SEL' AND "ARC"."LOB_VALUE"<>'ALL' AND "ARC"."RCC"='ALL')
      16 - access("ARC"."ANALYSIS_CRITERIA_ID"="ARS"."ANALYSIS_CRITERIA_ID")
      17 - access("A"."ANALYSIS_ID"="ARC"."ANALYSIS_ID")
      19 - filter(MAX("AL"."LOB_TYPE_ID")=2 OR MAX("AL"."LOB_TYPE_ID")=4)
      22 - access("CTBM"."BUSINESS_UNIT"="ARC"."BUSINESS_UNIT")
           filter("CTBM"."BUSINESS_UNIT"<>'ALL' AND "CTBM"."BUSINESS_UNIT"<>'SEL' AND
                  "CTBM"."BUSINESS_UNIT"="ARC"."BUSINESS_UNIT")
      23 - access("RLC"."LOB_VALUE"="ARC"."LOB_VALUE" AND "RLC"."COUNTRY_CODE"="CTBM"."COUNTRY_CODE")
           filter("RLC"."LOB_VALUE"<>'ALL' AND "RLC"."LOB_VALUE"<>'SEL')
      24 - access("ARS"."ANALYSIS_RESULTS_ID"="ARD"."ANALYSIS_RESULTS_ID")
           filter("ARD"."VALUE"<>0)
      26 - access("CTR"."COUNTRY_CODE"="RLC"."COUNTRY_CODE")
      28 - access("A"."ANALYSIS_ID"="T"."ANALYSIS_ID")
      29 - access("AL"."ANALYSIS_ID"="ARC"."ANALYSIS_ID" AND "ARC"."LOB_VALUE"="AL"."LOB_VALUE")
           filter("AL"."LOB_VALUE"<>'ALL' AND "AL"."LOB_VALUE"<>'SEL' AND "ARC"."LOB_VALUE"="AL"."LOB_VALUE")
      30 - filter((TO_NUMBER("RLN"."LOB_TYPE_ID")=4 OR TO_NUMBER("RLN"."LOB_TYPE_ID")=2) AND
                  "AL_TYPES"."LOB_TYPE_ID"=TO_NUMBER("RLN"."LOB_TYPE_ID"))
      31 - access("RLN"."LOB_VALUE"=TO_NUMBER("RLC"."LOB_VALUE"))Kindly let me know how to go forward with this.
    Regards,
    Sunny

  • How to measure the phase shift using AC analysis?

    Hi,
    I have a simple RLC circuit consisting of no more than 4 components. If i hook up the network analyser function to the circuit and read the S11 values, i can see a change in the input impedance and a phase shift when i run it across a range of frequencies.
    I am trying to do the same with the AC analysis tool. I've placed a probe on the positive input line. Using the AC analysis i've obtained the input impedance by using the expression mag(V(Probe1))/mag(I(Probe1)). Everything looks fine but i just can't seem to obtain the correct expression to gain the phase shift. All of the values i get out seem to flat line.
    It would be great help if someone could point me in the right direction, as i'm running out of ideas.
    Thanks for the help.
    Attachments:
    M1.png ‏3155 KB
    m2.png ‏618 KB

    Hi 08Ultrasound,
    You need to measure the voltage phase difference over a load as the voltage source is ideal so will always be in phase.
    Regards,
    Adam Brown
    Applications Engineer
    National Instruments UK

  • Switchover problem after upgrade from 11.2.0.1 to 11.2.0.2

    Hello
    I succesfull upgraded my database from 11.2.0.1 to 11.2.0.2 on my test enviroment.
    My enviroment works with dataguard configuration.
    Data Guard management is dgmgrl.
    OS is Linux Redhat x86_64
    I have problem with switchover operation:
    During switchover operation (with dgmgrl) new primary database is switched succesfull but problem is with new standby database, I have message:
    ORA-10458: standby database requires recovery
    ORA-01194: datafile 1, needs more recovery to be consistent
    ORA-01110: datafile 1: '/u01/app/oracle/oradata/DB1/system01.dbf'
    To end switchover operation I should start new standby instance. But if i try startup It i have:
    ORA-00845: MEMORY_TARGET not supported on this system
    In alert log new standby database I have:
    Completed: ALTER DATABASE COMMIT TO SWITCHOVER TO PHYSICAL STANDBY WITH SESSION SHUTDOWN
    Wed Jan 19 08:15:00 2011
    Performing implicit shutdown abort due to switchover to physical standby
    Shutting down instance (abort)
    License high water mark = 20
    USER (ospid: 13290): terminating the instance
    Instance terminated by USER, pid = 13290
    Wed Jan 19 08:15:02 2011
    Instance shutdown complete
    ORA-1092 : opitsk aborting process
    Wed Jan 19 08:15:06 2011
    Starting ORACLE instance (normal)
    WARNING! Recovering data file 1 from a fuzzy file. If not the current file
    it might be an online backup taken without entering the begin backup command.
    WARNING! Recovering data file 2 from a fuzzy file. If not the current file
    it might be an online backup taken without entering the begin backup command.
    WARNING! Recovering data file 3 from a fuzzy file. If not the current file
    it might be an online backup taken without entering the begin backup command.
    WARNING! Recovering data file 4 from a fuzzy file. If not the current file
    it might be an online backup taken without entering the begin backup command..
    ARC9: Archival started
    ARC0: STARTING ARCH PROCESSES COMPLETE
    Media Recovery Log /u01/app/oracle/redologs2/archiveredolog/DB1/1_194_739556401.dbf
    Identified End-Of-Redo for thread 1 sequence 194
    Wed Jan 19 08:15:20 2011
    Using STANDBY_ARCHIVE_DEST parameter default value as /u01/app/oracle/oradata/DB1/archivelog/
    RFS[1]: Assigned to RFS process 13553
    RFS[1]: Identified database type as 'physical standby': Client is ARCH pid 3536
    Starting Data Guard Broker (DMON)
    Wed Jan 19 08:15:21 2011
    INSV started with pid=32, OS id=13555
    RFS[1]: Selected log 4 for thread 1 sequence 197 dbid 1279411810 branch 739556401
    Archived Log entry 44349 added for thread 1 sequence 197 ID 0x4f8d3d29 dest 1:
    Archived Log entry 44350 added for thread 1 sequence 197 ID 0x4f8d3d29 dest 2:
    Archived Log entry 44351 added for thread 1 sequence 197 ID 0x4f8d3d29 dest 3:
    Wed Jan 19 08:15:24 2011
    Resetting standby activation ID 0 (0x0)
    Media Recovery End-Of-Redo indicator encountered
    Media Recovery Applied until change 972405267
    Completed standby crash recovery.
    Errors in file /u01/app/oracle/diag/rdbms/tdb1nod1/DB1/trace/DB1_ora_13451.trc:
    ORA-10458: standby database requires recovery
    ORA-01194: plik 1, aby byl spojny, wymaga dalszego przywracania
    ORA-01110: plik danych 1: '/u01/app/oracle/oradata/DB1/system01.dbf'
    ORA-10458 signalled during: alter database open...
    Wed Jan 19 08:15:25 2011
    RFS[2]: Assigned to RFS process 13603
    RFS[2]: Identified database type as 'physical standby': Client is ARCH pid 3532
    Wed Jan 19 08:15:26 2011
    RFS[3]: Assigned to RFS process 13619
    RFS[3]: Identified database type as 'physical standby': Client is ARCH pid 3536
    RFS[3]: Opened log for thread 1 sequence 196 dbid 1279411810 branch 739556401
    Wed Jan 19 08:15:26 2011
    RFS[4]: Assigned to RFS process 13617
    RFS[4]: Identified database type as 'physical standby': Client is ARCH pid 3534
    Archived Log entry 44352 added for thread 1 sequence 196 rlc 739556401 ID 0x4f8d3d29 dest 4:
    RFS[4]: Opened log for thread 1 sequence 195 dbid 1279411810 branch 739556401
    Archived Log entry 44353 added for thread 1 sequence 195 rlc 739556401 ID 0x4f8d3d29 dest 4:
    Wed Jan 19 08:15:29 2011
    RFS[5]: Assigned to RFS process 13643
    RFS[5]: Identified database type as 'physical standby': Client is LGWR ASYNC pid 7251
    Primary database is in MAXIMUM PERFORMANCE mode
    RFS[5]: Selected log 4 for thread 1 sequence 199 dbid 1279411810 branch 739556401
    Wed Jan 19 08:15:30 2011
    RFS[6]: Assigned to RFS process 13645
    RFS[6]: Identified database type as 'physical standby': Client is ARCH pid 3536
    RFS[6]: Selected log 5 for thread 1 sequence 198 dbid 1279411810 branch 739556401
    Wed Jan 19 08:15:31 2011
    Archived Log entry 44354 added for thread 1 sequence 198 ID 0x4f8d3d29 dest 1:
    Archived Log entry 44355 added for thread 1 sequence 198 ID 0x4f8d3d29 dest 2:
    Archived Log entry 44356 added for thread 1 sequence 198 ID 0x4f8d3d29 dest 3:
    Wed Jan 19 08:15:45 2011
    RFS[7]: Assigned to RFS process 13699
    RFS[7]: Identified database type as 'physical standby': Client is ARCH pid 3532
    Wed Jan 19 08:16:47 2011
    RFS[7]: Assigned to RFS process 13699
    RFS[7]: Identified database type as 'physical standby': Client is ARCH pid 3532
    Wed Jan 19 08:16:47 2011
    Starting ORACLE instance (normal)
    WARNING: You are trying to use the MEMORY_TARGET feature. This feature requires the /dev/shm file system to be mounted for at least 2147483648 bytes. /dev/shm is either not mounted or is mounted with available space less than this size. Please fix this so that MEMORY_TARGET can work as expected. Current available is 1586806784 and used is 3781902336 bytes. Ensure that the mount point is /dev/shm for this directory.
    memory_target needs larger /dev/shm
    Wed Jan 19 08:30:17 2011
    db_recovery_file_dest_size of 102400 MB is 0.00% used. This is a
    user-specified limit on the amount of space that will be used by this
    database for recovery-related files, and does not reflect the amount of
    space available in the underlying filesystem or ASM diskgroup.
    It is look like the instance proseses was not shutdown during operation shutdown abort.
    If I connect to instance with sqlplus i have message:
    Connected with idle instance
    Proceses are still active.
    Output linux statement ps -aux | grep oracle:
    root 13032 0.0 0.0 88060 3248 ? Ss 08:13 0:00 sshd: oracle [priv]
    oracle 13039 0.0 0.0 88060 1860 ? S 08:13 0:00 sshd: oracle@pts/1
    oracle 13040 0.0 0.0 68248 1676 pts/1 Ss 08:13 0:00 -bash
    oracle 13402 0.0 0.3 2328080 22220 ? Ss 08:15 0:00 ora_pmon_DB1
    oracle 13404 0.0 0.2 2325832 15536 ? Ss 08:15 0:00 ora_vktm_DB1
    oracle 13408 0.0 0.2 2325832 15584 ? Ss 08:15 0:00 ora_gen0_DB1
    oracle 13412 0.0 0.2 2325832 15468 ? Ss 08:15 0:00 ora_diag_DB1
    oracle 13414 0.0 0.2 2325832 15584 ? Ss 08:15 0:00 ora_dbrm_DB1
    oracle 13416 0.0 0.2 2325832 15680 ? Ss 08:15 0:00 ora_psp0_DB1
    oracle 13419 0.1 0.4 2327368 25688 ? Ss 08:15 0:08 ora_dia0_DB1
    oracle 13422 0.0 0.8 2325832 49152 ? Ss 08:15 0:02 ora_mman_DB1
    oracle 13425 0.0 0.4 2332100 27344 ? Ss 08:15 0:00 ora_dbw0_DB1
    oracle 13427 0.0 0.2 2325832 16648 ? Ss 08:15 0:00 ora_lgwr_DB1
    oracle 13432 0.0 0.3 2325832 21524 ? Ss 08:15 0:00 ora_ckpt_DB1
    oracle 13434 0.0 0.2 2325832 17600 ? Ss 08:15 0:00 ora_smon_DB1
    oracle 13436 0.0 0.2 2325832 15604 ? Ss 08:15 0:00 ora_reco_DB1
    oracle 13438 0.0 0.4 2326468 27976 ? Ss 08:15 0:00 ora_mmon_DB1
    oracle 13440 0.0 0.3 2325832 22120 ? Ss 08:15 0:00 ora_mmnl_DB1
    oracle 13442 0.0 0.2 2331932 15764 ? Ss 08:15 0:00 ora_d000_DB1
    oracle 13444 0.0 0.2 2326896 14784 ? Ss 08:15 0:00 ora_s000_DB1
    oracle 13447 0.0 0.2 2325852 16628 ? Ss 08:15 0:00 ora_dmon_DB1
    oracle 13527 0.0 0.8 2357896 48984 ? Ss 08:15 0:00 ora_arc0_DB1
    oracle 13530 0.0 0.5 2341496 31832 ? Ss 08:15 0:00 ora_arc1_DB1
    oracle 13532 0.0 0.8 2359596 50968 ? Ss 08:15 0:00 ora_arc2_DB1
    oracle 13534 0.0 0.7 2357896 48844 ? Ss 08:15 0:00 ora_arc3_DB1
    oracle 13536 0.0 0.8 2357896 48860 ? Ss 08:15 0:00 ora_arc4_DB1
    oracle 13538 0.0 0.5 2341384 31524 ? Ss 08:15 0:00 ora_arc5_DB1
    oracle 13540 0.0 0.5 2341384 31536 ? Ss 08:15 0:00 ora_arc6_DB1
    oracle 13542 0.0 0.5 2341384 31536 ? Ss 08:15 0:00 ora_arc7_DB1
    oracle 13545 0.0 0.5 2341384 31536 ? Ss 08:15 0:00 ora_arc8_DB1
    oracle 13547 0.0 0.5 2341384 31536 ? Ss 08:15 0:00 ora_arc9_DB1
    oracle 13555 0.0 0.2 2325852 16168 ? Ss 08:15 0:00 ora_insv_DB1
    root 18288 0.0 0.0 88060 3240 ? Ss 08:30 0:00 sshd: oracle [priv]
    oracle 18290 0.0 0.0 88200 2012 ? S 08:30 0:00 sshd: oracle@notty
    oracle 18291 0.0 0.0 54004 2232 ? Ss 08:30 0:00 /usr/libexec/openssh/sftp-server
    oracle 18336 0.0 0.2 87132 13336 ? Ssl 08:41 0:00 /u01/app/oracle/product/11.2.0/db_2/bin/tnslsnr LISTENER -inherit
    oracle 18607 0.1 0.6 2350168 39972 ? Ss 09:37 0:00 oracleDB1 (LOCAL=NO)
    oracle 18609 0.1 1.4 2395944 85880 ? Ss 09:37 0:00 oracleDB1 (LOCAL=NO)
    oracle 18611 0.0 0.5 2346216 36100 ? Ss 09:37 0:00 oracleDB1 (LOCAL=NO)
    oracle 18615 0.1 0.2 2331228 18136 ? Ss 09:38 0:00 oracleDB1 (LOCAL=NO)
    oracle 18617 0.1 0.3 2332184 21508 ? Ss 09:38 0:00 oracleDB1 (LOCAL=NO)
    oracle 18619 0.0 0.0 65556 940 pts/1 R+ 09:38 0:00 ps -aux
    oracle 18620 0.0 0.0 61160 736 pts/1 S+ 09:38 0:00 grep oracle
    Shared memory is still allocated for instance:
    df -h /dev/shm
    System plików rozm. użyte dost. %uż. zamont. na
    tmpfs 5,0G 2,0G 3,1G 39% /dev/shm
    Please for help.
    Regards
    Karol

    It is lool like the new standby database is started from old home:
    alert log:
    Starting up:
    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options.
    Using parameter settings in server-side spfile /u01/app/oracle/product/11.2.0/db_1/dbs/spfileDB1.ora
    System parameters with non-default values:
    My old home (11.2.0.1) u01/app/oracle/product/11.2.0/db_1
    My new home (11.2.0.2) u01/app/oracle/product/11.2.0/db_2
    previous start this database:
    alert log:
    Starting up:
    Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options.
    Using parameter settings in server-side spfile /u01/app/oracle/product/11.2.0/db_2/dbs/spfileDB1.ora
    System parameters with non-default values:
    Why database is starting from old home?
    I Changed directories in .bash_profile oracle OS user.

  • ORA-00349: failure obtaining block size for '+Z'  in Oracle XE

    Hello,
    I am attempting to move the online redo log files to a new flash recovery area location created on network drive "Z" ( Oracle Database 10g Express Edition Release 10.2.0.1.0).
    When I run @?/sqlplus/admin/movelogs; in SQL*Plus as a local sysdba, I get the following errors:
    ERROR at line 1:
    ORA-00349: failure obtaining block size for '+Z'
    ORA-06512: at line 14
    Please let me know how to go about resolving this issue.
    Thank you.
    See below for detail:
    Connected.
    SQL> @?/sqlplus/admin/movelogs;
    SQL> Rem
    SQL> Rem $Header: movelogs.sql 19-jan-2006.00:23:11 banand Exp $
    SQL> Rem
    SQL> Rem movelogs.sql
    SQL> Rem
    SQL> Rem Copyright (c) 2006, Oracle. All rights reserved.
    SQL> Rem
    SQL> Rem NAME
    SQL> Rem movelogs.sql - move online logs to new Flash Recovery Area
    SQL> Rem
    SQL> Rem DESCRIPTION
    SQL> Rem This script can be used to move online logs from old online
    log
    SQL> Rem location to Flash Recovery Area. It assumes that the database
    SQL> Rem instance is started with new Flash Recovery Area location.
    SQL> Rem
    SQL> Rem NOTES
    SQL> Rem For use to rename online logs after moving Flash Recovery
    Area.
    SQL> Rem The script can be executed using following command
    SQL> Rem sqlplus '/ as sysdba' @movelogs.sql
    SQL> Rem
    SQL> Rem MODIFIED (MM/DD/YY)
    SQL> Rem banand 01/19/06 - Created
    SQL> Rem
    SQL>
    SQL> SET ECHO ON
    SQL> SET FEEDBACK 1
    SQL> SET NUMWIDTH 10
    SQL> SET LINESIZE 80
    SQL> SET TRIMSPOOL ON
    SQL> SET TAB OFF
    SQL> SET PAGESIZE 100
    SQL> declare
    2 cursor rlc is
    3 select group# grp, thread# thr, bytes/1024 bytes_k
    4 from v$log
    5 order by 1;
    6 stmt varchar2(2048);
    7 swtstmt varchar2(1024) := 'alter system switch logfile';
    8 ckpstmt varchar2(1024) := 'alter system checkpoint global';
    9 begin
    10 for rlcRec in rlc loop
    11 stmt := 'alter database add logfile thread ' ||
    12 rlcRec.thr || ' size ' ||
    13 rlcRec.bytes_k || 'K';
    14 execute immediate stmt;
    15 begin
    16 stmt := 'alter database drop logfile group ' || rlcRec.grp;
    17 execute immediate stmt;
    18 exception
    19 when others then
    20 execute immediate swtstmt;
    21 execute immediate ckpstmt;
    22 execute immediate stmt;
    23 end;
    24 execute immediate swtstmt;
    25 end loop;
    26 end;
    27 /
    declare
    ERROR at line 1:
    ORA-00349: failure obtaining block size for '+Z'
    ORA-06512: at line 14
    Can someone point me in the right direction as to what I may be doing wrong here - Thank you!

    888442 wrote:
    I am trying to drop and recreate ONLINE redo logs on my STANDB DATABASE (11.1.0.7)., but i am getting the below error.
    On primary, we have done the changes., ie we added new logfile with bigger size and 3 members. When trying to do the same on Standby we are getting this error.
    Our database is in Active DG Read only mode and the oracle version is 11.1.0.7.
    I have deffered the log apply and cancelled the managed recovery, and dg is in manual mode.
    SQL> alter database Add LOGFILE GROUP 4 ('+DT_DG1','+DT_DG2','+DT_DG3') SIZE 1024M;
    alter database Add LOGFILE GROUP 4 ('+DT_DG1','+DT_DG2','+DT_DG3') SIZE 1024M
    ERROR at line 1:
    ORA-00349: failure obtaining block size for '+DT_DG1'First why you are dropping & recreating online redo log files on standby.
    On standby only standby redo log files will be used. Not sure what you are trying to do.
    here is example how to create online redo log files, Check that diskgroup is mounted and have sufficient space to create.
    sys@ORCL> select member from v$logfile;
    MEMBER
    C:\ORACLE\ORADATA\ORCL\REDO03.LOG
    C:\ORACLE\ORADATA\ORCL\REDO02.LOG
    C:\ORACLE\ORADATA\ORCL\REDO01.LOG
    sys@ORCL> alter database add logfile group 4 (
      2     'C:\ORACLE\ORADATA\ORCL\redo_g01a.log',
      3     'C:\ORACLE\ORADATA\ORCL\redo_g01b.log',
      4     'C:\ORACLE\ORADATA\ORCL\redo_g01c.log') size 10m;
    Database altered.
    sys@ORCL> select member from v$logfile;
    MEMBER
    C:\ORACLE\ORADATA\ORCL\REDO03.LOG
    C:\ORACLE\ORADATA\ORCL\REDO02.LOG
    C:\ORACLE\ORADATA\ORCL\REDO01.LOG
    C:\ORACLE\ORADATA\ORCL\REDO_G01A.LOG
    C:\ORACLE\ORADATA\ORCL\REDO_G01B.LOG
    C:\ORACLE\ORADATA\ORCL\REDO_G01C.LOG
    6 rows selected.
    sys@ORCL>
    Your profile:-
    888442      
         Newbie
    Handle:      888442
    Status Level:      Newbie
    Registered:      Sep 29, 2011
    Total Posts:      12
    Total Questions:      8 (7 unresolved)
    Close the threads if answered, Keep the forum clean.

  • My Active dataguard is not applying archives.

    Dears,
    Following is my setup
    =====================
    Primary:
    prod on RAC with 2 nodes
    Database : Oracle 11.2.0.3
    OS OEL 5.7
    storage : ASM
    +DATADG
    +FLASHDG
    Standby:
    sync on single node
    Database : Oracle 11.2.0.3
    storage : ASM
    +DATADG
    +FLASHDG
    I've configured Active dataguard successfully and was able to apply archivelogs successfully instantly.
    Archive log locations are +FLASHDG/prod/ARCHIVELOG/ AND /u02/arch  --- on primary
    Archive log locations are +FLASHDG/stby/ARCHIVELOG/ AND /u02/arch  --- on standby
    On Standby
    ===========
    SQL> select 'Using Active Data Guard' ADG from v$managed_standby m,v$database d where m.process like 'MRP%' ;
    ADG
    Using Active Data Guard
    SQL> select open_mode,database_role,PROTECTION_MODE,PROTECTION_LEVEL from v$database;
    OPEN_MODE DATABASE_ROLE PROTECTION_MODE PROTECTION_LEVEL
    READ ONLY WITH APPLY PHYSICAL STANDBY MAXIMUM PERFORMANCE MAXIMUM PERFORMANCE
    SQL>
    Upto now everything is ok, means same data is sync on primary and standby. As my archive location was getting full, i've used this SQL query to clean them
    SELECT 'alter diskgroup '||dg.name||' drop file
    ''+'||dg.name||''||SYS_CONNECT_BY_PATH(al.name,'/')||''';'
    FROM v$asm_alias al, v$asm_file fi, v$asm_diskgroup dg
    WHERE al.file_number = fi.file_number(+)
    AND al.group_number = dg.group_number
    AND fi.type = 'ARCHIVELOG'
    START WITH alias_index = 0
    CONNECT BY PRIOR al.reference_index = al.parent_index;
    SELECT 'alter diskgroup '||dg.name||' drop file
    ''+'||dg.name||''||SYS_CONNECT_BY_PATH(al.name,'/')||''';'
    FROM v$asm_alias al, v$asm_file fi, v$asm_diskgroup dg
    WHERE al.file_number = fi.file_number(+)
    AND al.group_number = dg.group_number
    AND fi.type = 'BACKUPSET'
    START WITH alias_index = 0
    CONNECT BY PRIOR al.reference_index = al.parent_index;
    In order to delete ARCHIVE logs which are stored in ASM FLASHDG, which will have a type of "ARCHIVELOG" and "BACKUPSET" i've used this above two queries.
    After performing this steps , my Active dataguard is not applying archives.
    On the primary server, check the latest archived redo log
    SELECT sequence#, first_time, next_time
    FROM v$archived_log
    ORDER BY sequence#;
    2809 16-APR-13 16-APR-13
    2809 16-APR-13 16-APR-13
    2809 16-APR-13 16-APR-13
    2810 16-APR-13 16-APR-13
    2810 16-APR-13 16-APR-13
    2810 16-APR-13 16-APR-13
    2811 16-APR-13 16-APR-13
    2811 16-APR-13 16-APR-13
    2811 16-APR-13 16-APR-13
    2812 16-APR-13 16-APR-13
    2812 16-APR-13 16-APR-13
    2812 16-APR-13 16-APR-13
    2813 16-APR-13 16-APR-13
    2813 16-APR-13 16-APR-13
    2814 16-APR-13 16-APR-13
    2814 16-APR-13 16-APR-13
    2815 16-APR-13 16-APR-13
    2815 16-APR-13 16-APR-13
    2816 16-APR-13 16-APR-13
    2816 16-APR-13 16-APR-13
    2817 16-APR-13 16-APR-13
    2817 16-APR-13 16-APR-13
    2818 16-APR-13 16-APR-13
    2818 16-APR-13 16-APR-13
    2819 16-APR-13 16-APR-13
    2819 16-APR-13 16-APR-13
    2820 16-APR-13 16-APR-13
    2820 16-APR-13 16-APR-13
    2821 16-APR-13 16-APR-13
    2821 16-APR-13 16-APR-13
    2822 16-APR-13 16-APR-13
    2822 16-APR-13 16-APR-13
    2823 16-APR-13 16-APR-13
    2823 16-APR-13 16-APR-13
    2824 16-APR-13 16-APR-13
    2824 16-APR-13 16-APR-13
    2825 16-APR-13 16-APR-13
    2825 16-APR-13 16-APR-13
    2826 16-APR-13 16-APR-13
    2826 16-APR-13 16-APR-13
    2827 16-APR-13 16-APR-13
    2827 16-APR-13 16-APR-13
    2828 16-APR-13 16-APR-13
    2828 16-APR-13 16-APR-13
    2829 16-APR-13 16-APR-13
    2829 16-APR-13 16-APR-13
    2830 16-APR-13 16-APR-13
    2830 16-APR-13 16-APR-13
    2831 16-APR-13 16-APR-13
    2831 16-APR-13 16-APR-13
    2832 16-APR-13 16-APR-13
    2832 16-APR-13 16-APR-13
    2833 16-APR-13 16-APR-13
    2833 16-APR-13 16-APR-13
    2834 16-APR-13 16-APR-13
    2834 16-APR-13 16-APR-13
    2835 16-APR-13 16-APR-13
    2835 16-APR-13 16-APR-13
    2836 16-APR-13 16-APR-13
    2836 16-APR-13 16-APR-13
    2837 16-APR-13 16-APR-13
    2837 16-APR-13 16-APR-13
    2838 16-APR-13 16-APR-13
    2838 16-APR-13 16-APR-13
    2839 16-APR-13 16-APR-13
    2839 16-APR-13 16-APR-13
    2840 16-APR-13 16-APR-13
    2840 16-APR-13 16-APR-13
    2841 16-APR-13 16-APR-13
    2841 16-APR-13 16-APR-13
    2842 16-APR-13 16-APR-13
    2842 16-APR-13 16-APR-13
    2843 16-APR-13 16-APR-13
    2843 16-APR-13 16-APR-13
    2844 16-APR-13 16-APR-13
    2844 16-APR-13 16-APR-13
    2845 16-APR-13 16-APR-13
    2845 16-APR-13 16-APR-13
    2846 16-APR-13 16-APR-13
    2846 16-APR-13 16-APR-13
    Check the new archived redo log has arrived at the standby server and been applied.
    SELECT sequence#, first_time, next_time, applied
    FROM v$archived_log
    ORDER BY sequence#;
    2801 15-APR-13 15-APR-13 YES
    2801 15-APR-13 15-APR-13 YES
    2802 15-APR-13 15-APR-13 YES
    2802 15-APR-13 15-APR-13 YES
    2803 15-APR-13 15-APR-13 YES
    2803 15-APR-13 15-APR-13 YES
    2804 15-APR-13 15-APR-13 YES
    2804 15-APR-13 15-APR-13 YES
    2805 15-APR-13 15-APR-13 YES
    2805 15-APR-13 15-APR-13 YES
    2806 15-APR-13 15-APR-13 YES
    2806 15-APR-13 15-APR-13 YES
    2807 15-APR-13 15-APR-13 YES
    2807 15-APR-13 15-APR-13 YES
    2808 15-APR-13 16-APR-13 YES
    2808 15-APR-13 16-APR-13 YES
    2809 16-APR-13 16-APR-13 YES
    2809 16-APR-13 16-APR-13 YES
    2810 16-APR-13 16-APR-13 YES
    2810 16-APR-13 16-APR-13 YES
    2811 16-APR-13 16-APR-13 YES
    2811 16-APR-13 16-APR-13 YES
    2812 16-APR-13 16-APR-13 IN-MEMORY
    2812 16-APR-13 16-APR-13 YES
    So could anyone help me to resolve this issue. Anticipating your response at the earliest.
    Regards,
    VIKHAR
    Edited by: VIKHARAHMED on Apr 16, 2013 9:38 AM

    Here is the alert log file
    Media Recovery Log +FLASHDG/stby/archivelog/2013_04_16/thread_2_seq_1476.1987.812900733
    Tue Apr 16 18:56:42 2013
    Primary database is in MAXIMUM PERFORMANCE mode
    RFS[1]: Assigned to RFS process 16803
    RFS[1]: Selected log 12 for thread 2 sequence 1485 dbid 220323208 branch 808484882
    Tue Apr 16 18:56:42 2013
    RFS[2]: Assigned to RFS process 16807
    RFS[2]: Opened log for thread 2 sequence 1484 dbid 220323208 branch 808484882
    Archived Log entry 6324 added for thread 2 sequence 1484 rlc 808484882 ID 0xd21a288 dest 10:
    Tue Apr 16 19:09:02 2013
    RFS[1]: Selected log 11 for thread 2 sequence 1486 dbid 220323208 branch 808484882
    Tue Apr 16 19:09:02 2013
    Archived Log entry 6325 added for thread 2 sequence 1485 ID 0xd21a288 dest 1:
    Archived Log entry 6326 added for thread 2 sequence 1485 ID 0xd21a288 dest 2:
    Tue Apr 16 19:12:23 2013
    RFS[1]: Selected log 12 for thread 2 sequence 1487 dbid 220323208 branch 808484882
    Tue Apr 16 19:12:23 2013
    Archived Log entry 6327 added for thread 2 sequence 1486 ID 0xd21a288 dest 1:
    Archived Log entry 6328 added for thread 2 sequence 1486 ID 0xd21a288 dest 2:
    Tue Apr 16 19:14:41 2013
    "alert_stby.log" 845L, 33990C 782,1 94%
    Tue Apr 16 19:17:27 2013
    Archived Log entry 6331 added for thread 2 sequence 1488 ID 0xd21a288 dest 1:
    Archived Log entry 6332 added for thread 2 sequence 1488 ID 0xd21a288 dest 2:
    Tue Apr 16 19:25:51 2013
    RFS[1]: Selected log 11 for thread 2 sequence 1490 dbid 220323208 branch 808484882
    Tue Apr 16 19:25:51 2013
    Archived Log entry 6333 added for thread 2 sequence 1489 ID 0xd21a288 dest 1:
    Archived Log entry 6334 added for thread 2 sequence 1489 ID 0xd21a288 dest 2:
    Tue Apr 16 19:51:02 2013
    RFS[1]: Selected log 12 for thread 2 sequence 1491 dbid 220323208 branch 808484882
    Tue Apr 16 19:51:02 2013
    Archived Log entry 6335 added for thread 2 sequence 1490 ID 0xd21a288 dest 1:
    Archived Log entry 6336 added for thread 2 sequence 1490 ID 0xd21a288 dest 2:
    Tue Apr 16 20:37:12 2013
    RFS[1]: Selected log 11 for thread 2 sequence 1492 dbid 220323208 branch 808484882
    Tue Apr 16 20:37:12 2013
    Archived Log entry 6337 added for thread 2 sequence 1491 ID 0xd21a288 dest 1:
    Archived Log entry 6338 added for thread 2 sequence 1491 ID 0xd21a288 dest 2:
    Tue Apr 16 21:08:23 2013
    RFS[1]: Selected log 12 for thread 2 sequence 1493 dbid 220323208 branch 808484882
    Tue Apr 16 21:08:23 2013
    Archived Log entry 6339 added for thread 2 sequence 1492 ID 0xd21a288 dest 1:
    Archived Log entry 6340 added for thread 2 sequence 1492 ID 0xd21a288 dest 2:
    Tue Apr 16 22:16:06 2013
    RFS[1]: Selected log 11 for thread 2 sequence 1494 dbid 220323208 branch 808484882
    Tue Apr 16 22:16:06 2013
    Archived Log entry 6341 added for thread 2 sequence 1493 ID 0xd21a288 dest 1:
    Archived Log entry 6342 added for thread 2 sequence 1493 ID 0xd21a288 dest 2:
    Tue Apr 16 22:31:46 2013
    RFS[1]: Selected log 12 for thread 2 sequence 1495 dbid 220323208 branch 808484882
    Tue Apr 16 22:31:46 2013
    Archived Log entry 6343 added for thread 2 sequence 1494 ID 0xd21a288 dest 1:
    Archived Log entry 6344 added for thread 2 sequence 1494 ID 0xd21a288 dest 2:
    Wed Apr 17 09:31:59 2013
    RFS[1]: Selected log 11 for thread 2 sequence 1496 dbid 220323208 branch 808484882
    Wed Apr 17 09:32:00 2013
    Archived Log entry 6345 added for thread 2 sequence 1495 ID 0xd21a288 dest 1:
    Archived Log entry 6346 added for thread 2 sequence 1495 ID 0xd21a288 dest 2:

  • Help to troubleshoot a 3G connection.

    Hello!
    I need help to troubleshoot a 3G connection.
    It's a CISCO2921/K9 with UC license and a 3G Interface.
    I used the manual to make the configuration, step by step, I can send and receive SMS by 3G network, and connect, take a IP, DNS etc, but I don't able to ping or send and receive data with the 3G connection.
    See the information:
    show ip int br
    Interface                  IP-Address      OK? Method Status                Protocol
    Embedded-Service-Engine0/0 unassigned      YES NVRAM  administratively down down    
    GigabitEthernet0/0         192.168.50.1    YES NVRAM  up                    up      
    GigabitEthernet0/1         192.168.6.253   YES DHCP   up                    up      
    GigabitEthernet0/2         unassigned      YES NVRAM  administratively down down    
    Cellular0/0/0              unassigned      YES NVRAM  up                    up      
    Cellular0/0/1              unassigned      YES unset  down                  down    
    Dialer1                    191.27.49.172   YES IPCP   up                    up      
    NVI0                       192.168.50.1    YES unset  up                    up      
    I have a radio ISP connected on interface G0/1 and my internal network is connected in G0/0 on a Layer 3 Switch.
    3G configuration:
    chat-script hspa-R7 "" "AT!SCACT=1,1" TIMEOUT 60 "OK"
    cellular 0/0/0 gsm profile create 1 zap.vivo.com.br PAP vivo vivo
    interface Cellular0/0/0
     ip address negotiated
     ip nat outside
     ip virtual-reassembly in
     encapsulation slip
     dialer persitent
     dialer pool-member 1
     async mode interactive
    interface Dialer1
     ip address negotiated
     ip nat outside
     ip virtual-reassembly in
     encapsulation slip
     dialer pool 1
     dialer idle-timeout 0
     dialer string hspa-R7
     dialer persistent
     dialer-group 99
    ip nat inside source list 1 interface GigabitEthernet0/1 overload
    ip nat inside source list 89 interface Cellular0/0/0 overload
    ip nat inside source list 90 interface Dialer1 overload
    access-list 1 permit any
    access-list 89 permit any
    access-list 90 permit any
    ip route 0.0.0.0 0.0.0.0 Dialer1
    ip route 0.0.0.0 0.0.0.0 192.168.6.1
    access-list 1 permit any
    access-list 89 permit any
    access-list 90 permit any
    line 0/0/0
     exec-timeout 0 0
     script dialer hspa-R7
     modem InOut
     no exec
     transport input all
    Dialer1 is up, line protocol is up (spoofing)
      Hardware is Unknown
      Internet address is 191.27.49.172/32
      MTU 1500 bytes, BW 56 Kbit/sec, DLY 20000 usec,
         reliability 255/255, txload 1/255, rxload 1/255
      Encapsulation SLIP, loopback not set
      Keepalive set (10 sec)
      DTR is pulsed for 1 seconds on reset
      Interface is bound to Ce0/0/0
      Last input never, output never, output hang never
      Last clearing of "show interface" counters 00:15:57
      Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0
      Queueing strategy: fifo
      Output queue: 0/40 (size/max)
      5 minute input rate 0 bits/sec, 0 packets/sec
      5 minute output rate 0 bits/sec, 0 packets/sec
         0 packets input, 0 bytes
         508 packets output, 41923 bytes
    Bound to:
    Cellular0/0/0 is up, line protocol is up
      Hardware is QuadBand HSPA+R7/HSPA/UMTS QuadBand EDGE/GPRS and GPS for AT&T
      Description: PrimaryWANDesc_
      Internet address will be assigned dynamically by the network
      MTU 1500 bytes, BW 5760 Kbit/sec, DLY 20000 usec,
         reliability 255/255, txload 1/255, rxload 1/255
      Encapsulation SLIP, loopback not set
      Keepalive not supported
      Interface is bound to Di1 (Encapsulation SLIP)
      Last input never, output never, output hang never
      Last clearing of "show interface" counters never
      Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0
      Queueing strategy: fifo
      Output queue: 0/10 (size/max)
      5 minute input rate 0 bits/sec, 0 packets/sec
      5 minute output rate 0 bits/sec, 0 packets/sec
         0 packets input, 0 bytes, 0 no buffer
         Received 0 broadcasts (0 IP multicasts)
         0 runts, 0 giants, 0 throttles
         0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort
         508 packets output, 41923 bytes, 0 underruns
         0 output errors, 0 collisions, 0 interface resets
         0 unknown protocol drops
         0 output buffer failures, 0 output buffers swapped out
         0 carrier transitions
         DCD=up  DSR=up  DTR=up  RTS=up  CTS=up
    Profile Information
    ====================
    Profile password Encryption level: 7
    Profile 1 = ACTIVE* **
    PDP Type = IPv4
    PDP address = 191.27.49.172
    Access Point Name (APN) = zap.vivo.com.br
    Authentication = PAP
    Username: vivo
    Password: 0870191E5D495746335B2E
        Primary DNS address = 187.100.246.254
        Secondary DNS address = 187.100.246.251
    Profile 2 = INACTIVE
    PDP Type = IPv4
    Access Point Name (APN) = wap.cingular
    Authentication = None
    Username:
    Password: 03
      * - Default profile
    Data Connection Information
    ===========================
    Data Transmitted = 41923 bytes, Received = 0 bytes
    Profile 1, Packet Session Status = ACTIVE
        IP address = 191.27.49.172
        Primary DNS address = 187.100.246.254
        Secondary DNS address = 187.100.246.251
        Negotiated QOS Parameters:
        Precedence = Normal Priority, Delay = Class 2
        Reliability = Unack GTP, LLC, Ack RLC, Protected data
        Peak = 256 kB/sec, Mean = 50000 kB/hr
        Traffic Class = Interactive
        Uplink Max = 11.5Mbps, Guaranteed = Subscribed
        Downlink Max = 42Mbps, Guaranteed = Subscribed
        Max SDU size = 1500 bytes
        SDU error ratio = 1E-4, BER = 1E-5
    Profile 2, Packet Session Status = INACTIVE
        Inactivity Reason = Normal inactivate state
    Profile 3, Packet Session Status = INACTIVE
        Inactivity Reason = Normal inactivate state
    Profile 4, Packet Session Status = INACTIVE
        Inactivity Reason = Normal inactivate state
    Profile 5, Packet Session Status = INACTIVE
        Inactivity Reason = Normal inactivate state
    Profile 6, Packet Session Status = INACTIVE
        Inactivity Reason = Normal inactivate state
    Profile 7, Packet Session Status = INACTIVE
        Inactivity Reason = Normal inactivate state
    Profile 8, Packet Session Status = INACTIVE
        Inactivity Reason = Normal inactivate state
    Profile 9, Packet Session Status = INACTIVE
        Inactivity Reason = Normal inactivate state
    Profile 10, Packet Session Status = INACTIVE
        Inactivity Reason = Normal inactivate state
    Profile 11, Packet Session Status = INACTIVE
        Inactivity Reason = Normal inactivate state
    Profile 12, Packet Session Status = INACTIVE
        Inactivity Reason = Normal inactivate state
    Profile 13, Packet Session Status = INACTIVE
        Inactivity Reason = Normal inactivate state
    Profile 14, Packet Session Status = INACTIVE
        Inactivity Reason = Normal inactivate state
    Profile 15, Packet Session Status = INACTIVE
        Inactivity Reason = Normal inactivate state
    Profile 16, Packet Session Status = INACTIVE
        Inactivity Reason = Normal inactivate state
    Network Information
    ===================
    Current Service Status = Normal, Service Error = None
    Current Service = Combined
    Packet Service = HSPA+ (Attached)
    Packet Session Status = Active
    Current Roaming Status = Home
    Network Selection Mode = Automatic
    Country = BRA, Network = VIVO
    Mobile Country Code (MCC) = 724
    Mobile Network Code (MNC) = 23
    Location Area Code (LAC) = 27135
    Routing Area Code (RAC) = 4
    Cell ID = 57743
    Primary Scrambling Code = 115
    PLMN Selection = Automatic
    Registered PLMN =  , Abbreviated =
    Service Provider = VIVO
    Radio Information
    =================
    Radio power mode = ON
    Current Band = WCDMA 850, Channel Number = 4385
    Current RSSI = -60 dBm
    Band Selected = Auto
    Number of nearby cells = 1
    Cell 1
        Primary Scrambling Code = 0x73
        RSCP = -63 dBm, ECIO = -7 dBm
    Modem Security Information
    ==========================
    Card Holder Verification (CHV1) = Disabled
    SIM Status = OK
    SIM User Operation Required = None
    Number of CHV1 Retries remaining = 3
    Incoming Message Information
    SMS stored in modem = 1
    SMS archived since booting up = 0
    Total SMS deleted since booting up = 0
    Storage records allocated = 30
    Storage records used = 1
    Number of callbacks triggered by SMS = 0
    Number of successful archive since booting up = 0
    Number of failed archive since booting up = 0

    Refer this URL for how to configure the modem through serial port
    http://docs.sun.com:80/ab2/coll.47.11/SYSADV2/@Ab2PageView/17395?DwebQuery=modem+configuration&Ab2Lang=C&Ab2Enc=iso-8859-1
    Thanks,
    Senthilkumar
    Developer Technical Support
    Sun Microsystems, Inc.
    http://www.sun.com/developers/support

  • Why can't I edit the Master Database

    Can someone from NI please explain the reasoning behind not letting the user edit the master database?  I want to do something simple like remove one of the redundant + and "dot" polarity indicators on some of the capacitor footprints without having to, one by one, change each capacitor to use my custom footprint.
    I have found several errors in the master database yet I can't fix those parts or footprints or remove them, thus increasing the likely hood that they will get used by mistake/unknowingly again.
    The only explanation that I can come up with is poor database design and fear of me "breaking" it.   Something as simple as editing a part through the GUI should be simple enough to do to, please let me.  No offense, but your master database is not good enough to warrant "no edits".  Most parts I use are from the local database, but that is not an option for special case parts like resistors and capacitors.
    Also, why I can't edit the database itself without using the GUI? (as is an option in all other CAD packages that I've used).  The GUI entry point is extremely time consuming and error prone when a database script can often easily create error/typo free part numbers using existing symbols and footprints.
    Greg

    There are several ways you can achieve the results you looking for with respect to RLCs.
    Ultiboard first searchs the User then Corporate the Master database when looking for footprints. So, if you want to make a modification to a footprint, make the copy the appropriate in Ultiboard into your User database. Then modify the footprint. When you transfer from Multisim to Ultiboard, Ultiboard will pick the footprint you customized (or fixed).
    One thing to watch out for is determining the correct name in Ultiboard. The name in Multisim is often not the name in Ultiboard. I don't know of any simple way of determing the mapping.
    Place the component with the footprint that you want to change (in Multisim)
    Double click the component, and click Edit Footprint on the Value page
    Click Select from Database. The footprint should be selected. The name in Ultiboard is the Ultiboard Footprint column (if it is blank, then the name in Multisim and Ultiboard is the same).
    You can add new footprints to the list in the Place Component dialog. You do this in the Database Manager.
    Go to Tools > Database > Database Manager
    Select the RLC Components tab
    Click the Add button to add a new definition. Note, the definition will appear for all components of the same type. Also watch out for the polarity of capacitors and other components where relevant.
    Garret
    Senior Software Developer
    National Instruments
    Circuit Design Community and Blog
    If someone helped you, let them know. Mark as solved or give a kudo.

  • E-Commerce/Shopping Cart

    I have a client that would like an e-commerce site for her
    business. I've searched various e-commerce web building sites and
    have found that the templates used are not sufficient nor
    attractive for me or the client.
    I like to do a lot of my web building using Dreamweaver 8,
    Frontpage, and Publisher. I would prefer to use Dreamweaver 8 and I
    have been searching tutorials, manuals, forums, etc. trying to find
    an answer.
    I'm not the "best" person when it comes to web designing, so
    therefore I would prefer an almost Step-by-Step Guide that I can
    read. Money is very scarce so going out and purchasing books or
    software really isn't an option as well.
    Can someone knowledgeable in this PLEASE, PLEASE help. I have
    been working on this for a week now. I need an answer ASAP as the
    site needs to be built and ready to be uploaded in 3 days.

    As time is of the essence, at this point, I would recommend
    using a prebuilt
    cart .. if there aren't too many products, you can use
    something like the
    PayPal shopping cart, which is free and there are
    instructions on the paypal
    site for getting started.
    Also see if your host has a shopping cart included .. many
    have a simple one
    already included with your package.
    Nancy Gill
    Adobe Community Expert
    Author: Dreamweaver 8 e-book for the DMX Zone
    Co-Author: Dreamweaver MX: Instant Troubleshooter (August,
    2003)
    Technical Editor: Dreamweaver CS3: The Missing Manual,
    DMX 2004: The Complete Reference, DMX 2004: A Beginner's
    Guide
    Mastering Macromedia Contribute
    Technical Reviewer: Dynamic Dreamweaver MX/DMX: Advanced PHP
    Web Development
    "NoonieB" <[email protected]> wrote in
    message
    news:f60kt6$rlc$[email protected]..
    >I have a client that would like an e-commerce site for
    her business. I've
    > searched various e-commerce web building sites and have
    found that the
    > templates used are not sufficient nor attractive for me
    or the client.
    >
    > I like to do a lot of my web building using Dreamweaver
    8, Frontpage, and
    > Publisher. I would prefer to use Dreamweaver 8 and I
    have been searching
    > tutorials, manuals, forums, etc. trying to find an
    answer.
    >
    > I'm not the "best" person when it comes to web
    designing, so therefore I
    > would
    > prefer an almost Step-by-Step Guide that I can read.
    Money is very scarce
    > so
    > going out and purchasing books or software really isn't
    an option as well.
    >
    > Can someone knowledgeable in this PLEASE, PLEASE help. I
    have been
    > working on
    > this for a week now. I need an answer ASAP as the site
    needs to be built
    > and
    > ready to be uploaded in 3 days.
    >

Maybe you are looking for

  • Message processing failed, FTP Receiver Adapter error...

    Hello all, We have a Idoc to File(FTP) scenario using PI. When PI try to send the file out to the FTP site, we get the following message in the communication channel monitoring and the file never reach the FTP site: Message processing failed. Cause:

  • A505-S6980 Monitor Went Black

    We have a Toshiba A505-S6980. The other night my girlfriend was working on a paper when the screen went black mid typing. She took the battery out and turned the computer back on. Viola the screen worked, then the next night it did the same thing, th

  • Internet issues, not seeing a thread like it

    So I've had my touch since launch and internet has been great. Although past 2 weeks I cannot connect to the internet at my house nor my friends house, only place i've been with it. It finds my router and says I have full wifi, although when i go to

  • Liquify Tool Not Working

    I have Photoshop CS6 Extended. I just want to do something like this. http://prntscr.com/2tk258 However, when I swipe across the text, NOTHING happens. I've been tearing my hair out for the past hour trying to find a reason and I am not able to. Here

  • Change UOM in MM

    Hi, I tried to change Base UOM for material in mass maintenance using MM17 but it gave me error when I execute it. The error msg say I need to remove stock from current and previous period but I don't understand this msg, can someone explain to me?