Archive for the ‘disaster’ Category

Oracle Solaris Cluster 3.3 is now available

Март 18th, 2011
On September 8, 2010 Oracle announced the availability of Oracle Solaris Cluster 3.3

Oracle Solaris Cluster 3.3, built on the solid foundation of Oracle Solaris, offers the 
most extensive Oracle enterprise High Availability and Disaster Recovery solutions for the 
largest portfolio of mission-critical applications.

Integrated and thoroughly tested with Oracle's Sun servers, storage, connectivity 
solutions and Solaris 10 features, Oracle Solaris Cluster is now qualified with Solaris 
Trusted Extensions, supports Infiniband for general networking or storage usage, and can 
be deployed with Oracle Unified Storage in Campus Cluster configurations. It extends its 
applications support to new Oracle applications such as Oracle Business Intelligence, 
PeopleSoft, TimesTen, and MySQL Cluster.

The single, integrated HA and DR solution enables multi-tier deployments in virtualized 
environments. In this release, Oracle Solaris Containers clusters supports even more 
configurations including additional applications (Oracle WebLogic Server, Siebel CRM, and 
more) and integration with Oracle Solaris Cluster Geographic Edition.


Benefits:

    * Delivers unrivaled High Availability on Oracle Solaris OS for much faster failure 
detection and recovery

    * Enables cost-savings without performance compromise by integrating seamlessly with 
Oracle Solaris Containers for applications and databases consolidation

    * Out of the box support for a wide selection of applications

    * Certified with a broad range of storage arrays from Oracle and third parties on 
SPARC and x86 platforms


New features:

-------------

Availability:

- Active Monitoring of Storage Resources

- Flexible load distribution of application services



Virtualization:

- Extended Oracle Solaris Containers cluster support:

* NAS, GFS, RDSV1

* More applications : Oracle WebLogic Server, OBIEE, MySQL cluster,

 PeopleSoft, TimesTen



Hardware Integration:

- InfiniBand on public network and as storage connectivity



Application Integration

- New agents: Oracle Business Intelligence Enterprise Edition,

 PeopleSoft Enterprise, MySQL cluster, TimesTen

- Updates on Oracle E-Business Suite, WebLogic Server, MySQL, SAP

- Oracle 11gR2 database and RAC support


Disaster Recovery

- Containers cluster  with Geographic Edition

- Sun Unified Storage 7xxxx in campus cluster


Security

- Solaris Trusted Extensions



Ease of use

- Wizards for ASM configurations set-up

- GUI and CLI performance improvements

- Power Management User interface

- Node rename



Compatibility information

--------------------------

Supported Solaris release: Solaris 10 10/09, Solaris 10 9/10



Media Kit and downloads

-----------------------------------

Software is available through

- OTN (for evaluation and tests)

http://www.oracle.com/technetwork/server-storage/solaris-cluster/downloads/index.html


- e-delivery (for production use - requires purchase of commercial license)

http://edelivery.oracle.com

Select Product Pack:  Oracle Solaris

From results pick:  Oracle Solaris Cluster 3.3 Media Pack


Documentation

---------------------

* Oracle Solaris Cluster 3.3 Documentation Center:

http://www.oracle.com/technetwork/documentation/solaris-cluster-33-192999.html


* Release Notes Information:

http://wikis.sun.com/display/SunCluster/Release+Notes+Information

The Release Notes documents on this site are regularly updated with new

documentation to support new features, hardware qualifications, bug

workarounds, and other late-breaking information. Check the Release

Notes or Release Notes Supplement for your release before installing the

cluster or performing any maintenance.



Web site

----------------

http://www.oracle.com/technetwork/server-storage/solaris-cluster/overview/index.html



PlanetMySQL Voting: Vote UP / Vote DOWN

Calculating your database size

Сентябрь 25th, 2009

I generally use the following MySQL INFORMATION_SCHEMA (I_S) query to Calculate Your MySQL Database Size. This query and most others that access the MySQL INFORMATION_SCHEMA can be very slow to execute because they are not real tables and are not governed by physical data, memory buffers and indexes for example but rather internal MySQL data structures.

Mark Leith indicates in his post on innodb_stats_on_metadata that Innodb performs 8 random(ish) dives in to the index, when anybody accesses any of SHOW TABLE STATUS, SHOW INDEX, INFORMATION_SCHEMA.TABLES,INFORMATION_SCHEMA.STATISTICS for InnoDB tables. This can have an effect on performance, especially with a large number of Innodb tables, and a poor ratio of innodb_buffer_pool_size to disk data+index footprint.

What is even more incredible is when the result of this apparently harmless query causes the mysqld process to actual crash with a core dump due to these random index dives. The following core dump analysis highlights my query as the cause of the problem. This has happened now at least twice in for recent core crashes on a production environment.

(gdb) bt
#0 0x000000327280b6b2 in pthread_kill () from ./lib64/libpthread.so.0
#1 0x000000000055b136 in handle_segfault ()
#2 
#3 0x00000000007e1c21 in rec_get_offsets_func ()
#4 0x0000000000766007 in btr_estimate_number_of_different_key_vals ()
#5 0x000000000070d4c2 in dict_update_statistics_low ()
#6 0x000000000061fa84 in ha_innobase::info ()
#7 0x0000000000636972 in fill_schema_charsets ()
#8 0x0000000000639a66 in get_all_tables ()
#9 0x0000000000634633 in get_schema_tables_result ()
#10 0x00000000005bde37 in JOIN::exec ()
#11 0x00000000005bf7a7 in mysql_select ()
#12 0x00000000005c0127 in handle_select ()
#13 0x000000000056fcf0 in mysql_execute_command ()
#14 0x0000000000574c83 in mysql_parse ()
#15 0x00000000005751a0 in dispatch_command ()
#16 0x0000000000576483 in do_command ()
#17 0x0000000000577002 in handle_one_connection ()
#18 0x0000003272806367 in start_thread () from ./lib64/libpthread.so.0
#19 0x0000003271cd30ad in clone () from ./lib64/libc.so.6
Cannot access memory at address 0x3271cd3040 

This is an information_schema query that caused innodb to open a table.
This is totally normal. On first open, innodb tables get automatically  analyzed.
This analyze process crashed in innodb. 

This exact query *provoked* a crash: 

(gdb) x/1s 0x00002aaabc961dd0
0x2aaabc961dd0: "SELECT table_schema,table_name,engine,row_format,
table_rows, avg_row_length,
(data_length+index_length)/1024/1024 as total_mb,
(data_length)/1024/1024 as data_mb,
(index_length)/1024/1024 as index_mb,
CURDATE() AS today
FROM information_schema.tables
WHERE table_schema=@schema
ORDER BY 7 DESC"

The issue however is which table is the problem? How widespread is the corruption. Would an ALTER TABLE ENGINE=Innodb rebuild the table and eliminate the problem. Would an ANALYZE on an Innodb table identify the problem? (I doubt this second point). The problem however is even more significant due to the actual system. The largest single table of this 1TB database is 500GB. The impact of performing the ALTER, the time to undertake this blocking operation, the increase in the Innodb data file that can’t be reclaimed are just two factors that the inexperienced may fall victim of.

A saying I use is “Disaster is inevitable”. In this situation the disaster appears to not be significant but the ramifications due to the lack of appropriate and expert architectural design considerations to correct the problem are.

Is your environment capable of supporting this maintenance requirement? If not, then is the decision maker in your organization worried enough to seek the expert advice to address pro actively or will it be too late.


PlanetMySQL Voting: Vote UP / Vote DOWN