MINI MINI MANI MO

Path : /opt/oracle/product/18c/dbhomeXE/R/library/OREbase/doc/man/ko/
File Upload :
Current File : //opt/oracle/product/18c/dbhomeXE/R/library/OREbase/doc/man/ko/ore.sync.Rd

%
% Copyright (c) 2012, 2014, Oracle and/or its affiliates. All rights reserved. 
%
\name{ore.sync}
\alias{ore.sync}
\title{
Oracle R Enterprise 객체 동기화 함수
}
\description{
Oracle R Enterprise 세션의 스키마에 대한
  \R \code{\linkS4class{ore.frame}} 내에서 데이터베이스 테이블, 뷰 및 질의를
  나타내는 \code{\link[base]{environment}} 객체를
  동기화합니다.
}
\usage{
ore.sync(schema, table = NULL, use.keys = TRUE, query = NULL)
}
\arguments{
  \item{schema}{
데이터베이스 스키마 이름을 지정하는 문자열입니다.
    \code{query} 인수와 함께 사용할 수 없습니다.
}
  \item{table}{
\code{\linkS4class{ore.frame}} 객체 생성에 사용할 데이터베이스 테이블 또는 뷰 이름을
    지정하는 선택적 문자 벡터입니다.
}
  \item{use.keys}{
기본 키(존재하는 경우)가 정렬된 \code{\linkS4class{ore.frame}} 객체 생성에
    사용되는지 여부를 지정하는
    논리 값입니다.
}
  \item{query}{
\code{\linkS4class{ore.frame}} 객체 생성에 사용할 질의를 지정하는 이름이 지정된 선택적
    문자 벡터입니다. 요소 이름은 기본
    스키마에 대한 \R \code{\linkS4class{ore.frame}}에서 \code{\link[base]{environment}} 객체의
    이름으로 사용됩니다.
}
}



\details{
Oracle R Enterprise는 \R에서 데이터베이스 스키마의 테이블 또는
  뷰에 해당하는 프록시 객체를 생성합니다. 이러한 프록시 객체에는
  투명성 층 기능을 제공하기 위해 Oracle R Enterprise에서 내부적으로
  사용되는 메타데이터가 포함됩니다.
  기본적으로 \code{ore.sync} 함수에는 \code{\link{ore.connect}} 시에 제공된 스키마가
  사용됩니다. \code{schema} 인수를 사용하면
  사용자에게 적합한 액세스 권한이 있는 다른 스키마를 선택할
  수 있습니다.
  \code{table} 인수와 \code{query} 인수가 모두 \code{NULL} 함수 호출에서 \code{ore.sync}인 경우
  이름에 \code{$}이(가) 없거나 이름이 \code{SYS_}(으)로 시작되지
  않는 모든 테이블 및 뷰가 선택됩니다.
  데이터베이스 스키마에서 모든 테이블을 선택하면 비용이
  많이 들 수 있으므로, Oracle R Enterprise 스키마 환경에서
  제공하는 테이블 및 뷰 수를 제한하도록 
  \code{table} 또는 \code{query} 인수를 설정하는 것이
  좋습니다.
  \code{use.keys} 인수가 \code{FALSE}(으)로 설정되었거나 테이블에
  기본 키가 없으면 해당 \code{\linkS4class{ore.frame}} 객체가
  정렬되지 않으며, 그렇지 않으면 객체가 정렬됩니다.
  \code{\linkS4class{ore.frame}} 객체의 많은 작업에서는(예: \code{colMeans})
  행 순서가 중요하지 않습니다. 하지만 행 정렬이
  필요한 작업의 경우(예: \code{diff}) 정렬 정보를
  사용할 수 없음을 지정하는 오류 메시지가
  발생합니다. \code{\linkS4class{ore.frame}} 객체에서는 해당 행 이름을
  하나 이상의 열로 설정하여 행 정렬을
  적용할 수 있습니다.
}
\references{
  \href{http://www.oracle.com/technetwork/database/database-technologies/r/r-enterprise/documentation/index.html}{Oracle R Enterprise}
}
\author{
  Oracle \email{oracle-r-enterprise@oracle.com}
}
\seealso{
  \code{\link{ore.attach}},
  \code{\link{ore.connect}},
  \code{\link{ore.exists}},
  \code{\link{ore.get}},
  \code{\link{ore.ls}},
  \code{\link{ore.rm}},
  \code{\link{row.names<-}}
}
\examples{
if (!interactive())
{
  ore.sync()
  ore.sync("RQUSER", use.keys = FALSE)
  ore.exec("create table TABLE1 as select * from dual")
  ore.exec("create table TABLE2 as select * from dual")
  ore.sync(table = c("TABLE1", "TABLE2"))
  ore.sync("RQUSER", table = c("TABLE1", "TABLE2"))
  ore.sync(query = c("QUERY1" = "select 0 X, 1 Y from dual",
                     "QUERY2" = "select 1 X, 0 Y from dual"))
  ore.drop("TABLE1")
  ore.drop("TABLE2")
}
}
\keyword{environment}
\keyword{database}
\keyword{ORE}

OHA YOOOO