Download - MySQL - Resumen

Transcript
  • MySQL TomadodelaWikipediaMySQLisarelationaldatabasemanagementsystem(RDBMS),andshipswithnoGUItoolstoadministerMySQLdatabasesormanagedatacontainedwithinthedatabases.Usersmayusetheincludedcommandlinetools,oruseMySQL"frontends",desktopsoftwareandwebapplicationsthatcreateandmanageMySQLdatabases,builddatabasestructures,backupdata,inspectstatus,andworkwithdatarecords.TheofficialsetofMySQLfrontendtools,MySQLWorkbenchisactivelydevelopedbyOracle,andisfreelyavailableforuse.

    Tools for administering MySQL

    AdminerafreeMySQLfrontendwritteninonePHPscript,capableofmanagingmultipledatabases,withmanyCSSskinsavailable.

    DBEditafreefrontendforMySQLandotherdatabases. HeidiSQLafullfeaturedfreefrontendthatrunsonWindows,andcanconnecttolocal

    orremoteMySQLserverstomanagedatabases,tables,columnstructure,andindividualdatarecords.AlsosupportsspecialisedGUIfeaturesfordate/timefieldsandenumeratedmultiplevaluefields.

    LibreOfficeBaseLibreOfficeBaseallowsthecreationandmanagementofdatabases,preparationofformsandreportsthatprovideenduserseasyaccesstodata.LikeMicrosoftAccess,itcanbeusedasafrontendforvariousdatabasesystems,includingAccessdatabases(JET),ODBCdatasources,andMySQLorPostgreSQL.

    Navicataseriesofproprietarygraphicaldatabasemanagementapplications,developedforWindows,MacintoshandLinux.

    OpenOffice.orgOpenOffice.orgBasecanmanageMySQLdatabasesiftheentiresuiteisinstalled.Freeandopensource.

    phpMyAdminafreeWebbasedfrontendwidelyinstalledbywebhosts,sinceitisdevelopedinPHPandisincludedintheLAMPstack,MAMP,XAMPPandWAMPsoftwarebundleinstallers.

    WebminafreeWebbasedmanagementutilityandaMySQLfrontend,developedinPerlwithsomepartswritteninJava.

    SQLBuddyafreeWebbasedfrontend,developedinPHP. SQLyogcommercial,butthereisalsoafree'community'editionavailable. ToadforMySQLafreedevelopmentandadministrationfrontendforMySQLfrom

    QuestSoftware

    DocumentocreadoporFranciscoQuintero

  • Features

    Crossplatformsupport Storedprocedures,usingaprocedurallanguagethatcloselyadherestoSQL/PSM. Triggers Cursors Updatableviews Informationschema Independentstorageengines(MyISAMforreadspeed,InnoDBfortransactionsand

    referentialintegrity,MySQLArchiveforstoringhistoricaldatainlittlespace) SSLsupport Querycaching SubSELECTs(i.e.nestedSELECTs) Replicationsupport(i.e.MasterMasterReplication&MasterSlaveReplication)withone

    masterperslave,manyslavespermaster.MultimasterreplicationisprovidedinMySQLCluster,andmultimastersupportcanbeaddedtounclusteredconfigurationsusingGaleraCluster.

    Embeddeddatabaselibrary ACIDcompliancewhenusingtransactioncapablestorageengines(InnoDBandCluster) Multiplestorageengines,allowingonetochoosetheonethatismosteffectiveforeach

    tableintheapplication Commitgrouping,gatheringmultipletransactionsfrommultipleconnectionstogetherto

    increasethenumberofcommitspersecond.(PostgreSQLhasanadvancedformofthisfunctionality)

    Definiciones Views Aviewistheresultsetofastoredqueryonthedata,whichthedatabaseuserscanqueryjustastheywouldinapersistentdatabasecollectionobject.Thispreestablishedquerycommandiskeptinthedatabasedictionary.Unlikeordinarybasetablesinarelationaldatabase,aviewdoesnotformpartofthephysicalschema:asaresultset,itisavirtualtablecomputedorcollateddynamicallyfromdatainthedatabasewhenaccesstothatviewisrequested.

    Cursor Adatabasecursorisacontrolstructurethatenablestraversalovertherecordsinadatabase.Cursorsfacilitatesubsequentprocessinginconjunctionwiththetraversal,suchasretrieval,

    DocumentocreadoporFranciscoQuintero

  • additionandremovalofdatabaserecords.Thedatabasecursorcharacteristicoftraversalmakescursorsakintotheprogramminglanguageconceptofiterator.

    Store Procedure Astoredprocedureisasubroutineavailabletoapplicationsthataccessarelationaldatabasesystem.Astoredprocedureisactuallystoredinthedatabasedatadictionary.

    Triggers Adatabasetriggerisproceduralcodethatisautomaticallyexecutedinresponsetocertaineventsonaparticulartableorviewinadatabase.Thetriggerismostlyusedformaintainingtheintegrityoftheinformationonthedatabase.

    Fuentes y enlaces tiles VistasProcedimientoalmacenadoDisparadoresCursoresSentenciasparaprocedimientosalmacenadositerateandleaveSentenciascompuestasTutorialdeProcedimientosAlmacenadosMySQLvsPostgreSQL

    DocumentocreadoporFranciscoQuintero