Leta i den här bloggen

2010-05-05

11 bästa sakerna med Oracle 11g R2

Shayna Garlick har skrivit en artikel om Oracle 11g r2.

Min vana trogen så kommer här en Copy-Paste på denna också.

While analysts have noted that only about 10% to 15% of Oracle database users have upgraded to Release 1 of Oracle 11g, which was first shipped two years ago, Oracle OpenWorld attendees seemed very interested in learning about 11g Release 2.

In a packed session room at the end of the day on Tuesday, Oracle Architect Tom Kyte spoke to the crowd about 11 features he thinks are important in Oracle 11g R2. He joked that while they weren’t being presented in any order, he did “save the best one for last.”

Here’s a quick look at Kyte’s top 11 things about 11g R2 — some you may have heard of already and others are probably new:

1) Do it yourself Parallelism: Kyte says that in 11g R2 there is a ‘do- it- yourself’ parallel package that performs processes that used to be done manually. DBMS_PARALLEL_EXECUTE now automates the process of splitting up large tables using rowid or primary key ranges.

2) Analytics are the coolest thing to happen to SQL since the keyword SELECT: In Oracle 9i R2, Kyte introduced the STRAGG function, which helps perform string concatenation with user defined aggregates. But Kyte says 11g R2 makes this easier with the long-awaited LISTAGG analytic function.

3) EXECUTE on a directory: Directory objects can now be granted EXECUTE privileges in addition to READ and WRITE. EXECUTE can be granted to run a PREPROCESSOR program on an OS file.

4) Recursive subquery factoring: This is a new ANSI SQL statement that can be used as a replacement for CONNECT BY and is easier to understand, Kyte said, “unless you have been using CONNECT by for 22 years, in that case it’s confusing.”

5) Improved Time Travel: The usability of the flashback data archive, which can be found in previous versions of the Oracle database, is greatly enhanced in 11g R2, accommodating complex DDL changes such as table splits.

6) You’ve got mail: When a new file arrives in the system, a feature called file watchers creates an event that includes complex metadata about the incoming file. After a file watcher is created, you can create event-based jobs or schedules that reference it.

7) Deferred segment creation: When creating a table, this new 11g R2 feature allows you to put off the initial extent allocation until the first row is put into a segment. Deferred segment creation is useful for many third party apps that often create thousands of tables but only end up using 100 of them.

8.) Flash Cache: The flash cache works not only on Oracle databases, but on Enterprise Linux, Sparc Solaris or Solaris s86. It’s a transparent extension of the database buffer cache that uses solid state disk technology, allowing you to choose how buffers for a schema object are cached. Flash allows you to use fewer drives, enabling I/O throughput and completing large jobs faster.

9) Parallel Improved: A data warehouse with over 1,000 users can easily become overwhelmed as processes continue to pile on. In 11g R2, the DBA can set up the maximum number of parallel operations that can be happening at any time. When that number is reached, the processes go into a queue until the resources become available to perform them, giving all processes better response times.

10 and 11) Edition-based redefinition: “This thing is so cool, it’s both (number 10 and 11),” Kyte said about the “killer feature” of 11g R2 that comes built into the database. Edition-based redefinition allows you to upgrade an application while it’s in use, making data changes safely by writing only to new columns and tables not being used in an old edition.


At another OpenWorld session this week, which focused on best practices for Oracle backup and recovery, Oracle’s Timothy Chien acknowledged that what everyone was really waiting for was to learn about the new features in 11g R2. When talking about the new database version, Chien highlighted RMAN features such as improved automatic block repair, which allows corrupt clocks on the primary database to be automatically repaired from the physical standby database, as they are detected. Chien also discussed how in 11g R2, there is an Advanced Compression Option which offers multiple RMAN backup compression levels (high, medium and low) and you can choose your compression levels and backup throughput.

2010-05-04

Grafisk scriptmiljö för powershell i Windows 2008 R2

Att powershell konsolen ingår i Windows server 2008 R2 är väl inte direkt en hemlighet.
Men att det även följer med en grafisk scriptmiljö är inte nått som alla känner till och detta beror oftast på att den inte installeras som default.

Så hur gör man för att få denna fantastiska pryl då? Jo:
1. Klicka på "Server manager" på Quick launch (eller "Start" => "Administrative Tools" => "Server manager")
2. välj "Features" och klicka på "Add feature".
3. När dialogrutan kommer upp, scrolla ned och välj "Windows PowerShell Integrated Scripting Environment (ISE)"
4. klicka på Next och därefter Install.

*Häpp*

happy scripting. :)

2010-05-03

Konfa Windows 2008 att larma om vissa saker inträffar.

En bra artikel på Technet Magazine.

You can configure alerts to notify you when certain events occur or when certain performance thresholds are reached. You can send these alerts as network messages and as events that are logged in the application event log. You can also configure alerts to start applications and performance logs.


To configure an alert, follow these steps:

1. In Performance Monitor, under the Data Collector Sets node, right-click the User-Defined node in the left pane, point to New, and then choose Data Collector Set.

2. In the Create New Data Collector Set Wizard, type a name for the data collector, such as Processor Alert or Disk IO Alert.

3. Select the Create Manually option, and then click Next.

4. On the What Type Of Data Do You Want To Include page, select the Performance Counter Alert option, and then click Next.

5. On the Which Performance Counters Would You Like To Monitor page, click Add to display the Add Counters dialog box. This dialog box is identical to the Add Counters dialog box discussed previously. Use the dialog box to add counters that trigger the alert. Click OK when you have finished.

6. In the Performance Counters panel, select the first counter, and then use the Alert When Value Is text box to set the occasion when an alert for this counter is triggered. Alerts can be triggered when the counter is above or below a specific value. Select Above or Below, and then set the trigger value. The unit of measurement is whatever makes sense for the currently selected counter or counters. For example, to generate an alert if processor time is over 95 percent, select Over, and then type 95. Repeat this process to configure other counters you’ve selected.

7. On the Create Data Collector Set page, the Run As box lists to indicate that the log will run under the privileges and permissions of the default system account. To run the log with the privileges and permissions of another user, click Change. Type the user name and password for the account, and then click OK. User names can be entered in domain\username format, such as cpandl\williams for the Williams account in the Cpandl domain.

8. Select the Open Properties For This Data Collector Set option, and then click Finish. This saves the data collector set, closes the wizard, and then opens the related Properties dialog box.

9. By default, logging is configured to start manually. To configure a logging schedule, click the Schedule tab, and then click Add. You can now set the Active Range, Start Time, and run days for data collection.

10. By default, logging stops only if you set an expiration date as part of the logging schedule. Using the options on the Stop Condition tab, you can configure the log file to stop automatically after a specified period of time, such as seven days, or when the log file is full (if you’ve set a maximum size limit).

11. Click OK when you’ve finished setting the logging schedule and stop conditions.

2010-05-02

3 bra verktyg för att inventera windows 7 maskiner...

Dessa tre verktyg finns med från start i Windows 7.

Systeminfo
visar bland annat Windows version, BIOS, processor, minne, nätverks konfig och liknande.
Ett mycket enkelt sätt att samla in information om en dator. Speciellt som att man kan pipa det till en fil och sedan ha ett system som suger in informationen i en databas eller liknande.
Startas i kommandoprompten genom att man skriver "systeminfo" och trycker på Enter.
om man kör "systeminfo /?" får man upp information om vilka växlar som finns till programmet. Observer även att det går att få applikationen att skicka informationen som CSV eller Table-format också.
Med  "/S" kan man även inventera remote system på nätverket (så länge man har rätt behörigheter).


Windows Management Instrumentation Command-Line Utility

Heter normalt "Wmic.exe" (ett klart lättare namn att komma ihåg). Ligger under "windows\system32\wbem"-mappen.
Påminner en del om systeminfo, men är inte riktigt samma sak. kör "vmic /?" för en lisa över alla kommandon (dne är lång).
Som exempel. Genom att köra "wmic qfe list brief /format:htable > %temp%\hotfix.html" får man en HTML-fil med alla patchar som ligger på datorn.

System information.
Även kallad "msinfo32.exe" är fantastisk för att titta på hur en maskin är konfad. Den kan man dock inte scripta mot på samma sätt som de två första. Men msinfo32 tillsammans med "reliability monitor" (se posten från igår) ger en mycket bra bild av hur en maskin mår och vad som finns i den.

2010-05-01

Uppdatering av Best Practices Analyzer för Windows Server 2008 R2

Det har släppts ett gäng uppdateringar för olika versioner av BPA för Windows server 2008 R2.

De som uppdaterats är:
•Update for Best Practices Analyzer for HYPER-V for Windows Server 2008 R2

•Update for Best Practices Analyzer for Network Policy and Access Services for Windows Server 2008 R2
•Update for Best Practices Analyzer for Active Directory Rights Management Services for Windows Server 2008 R2
•Update for Best Practices Analyzer for Application Server for Windows Server 2008 R2
•Update for Best Practices Analyzer for File Services for Windows Server 2008 R2
•Update for Best Practices Analyzer for DHCP Server for Windows Server 2008 R2
•Update for Best Practices Analyzer for Windows Server Update Services for Windows Server 2008 R2


Här kan man ladda ned dessa.

Är man nyfiken på vad dessa applikationer gör så hittar man informationen här.

Tänk dock på att dessa enbart är för Windows 2008 R2.. :(
Related Posts Plugin for WordPress, Blogger...