Friday, 19 February 2016

[JDBC] Vertica JDBC Driver Properties

Vertica JDBC Driver

Property NameDescriptionReqiredChoicesSample Value
autocommitIf false, the connection will start with autocommit disabledfalse
false
true
null
backupservernodeA comma separated list of host:port pairs to use if primary server is unavailablefalse
?
null
connectionloadbalanceIf true, use native load balancingfalse
false
true
null
connsettingsSQL to run after a connection is established to change session properties on the serverfalse
?
null
directbatchinsertIf true, batch insert data is written directly to the ROSfalse
false
true
null
enableroutablequeriesIf true, connections returned will implement VerticaRoutableConnection and provide access to the VGet APIfalse
false
true
null
failonmultinodeplansIf true, VGet operations that require more than a single node's resources are disallowedfalse
false
true
null
jaasconfignameThe name of a JAAS configuration that the driver should use when performing GSS authenticationfalse
?
null
kerberoshostnameThe host name portion of the kerberos service principal that identifies the Vertica serverfalse
?
null
kerberosservicenameThe service name portion of the kerberos service principal that identifies the Vertica serverfalse
?
null
logintimeoutThe amount of time to spend establishing a connection before giving upfalse
?
null
loglevelThe amount of detail to include in log messagesfalse
error
trace
off
debug
warning
info
null
lognamespaceA package name to restrict logging tofalse
?
null
logpathThe directory to store the log file infalse
?
null
maxpooledconnectionsThe maximum number of connections allowed in the VerticaRoutableConnection's connection poolfalse
?
null
maxpooledconnectionspernodeThe maximum number of connections allowed to a single node in the VerticaRoutableConnection's connection poolfalse
?
null
maxpooledconnectionusesThe maximum number of times to use a pooled connection before closing itfalse
?
null
metadatacachelifetimeTime in seconds to cache table and projection metadata used during VGet operationsfalse
?
null
nodedownwaittimeTime in seconds to wait before attemptng a new connection to a node after a connection failure occursfalse
?
null
preferredaddressfamilyThe address family type to prefer when resolving hostnamesfalse
ipv6
ipv4
none
null
readonlyIf true, commands that modify the database in any way will result in an errorfalse
false
true
null
resultbuffersizeThe size in bytes of the client side result cache (one per ResultSet)false
?
null
sessionlabelA string to identify the JDBC connection's session on the serverfalse
?
null
sslIf true, connect using SSLfalse
false
true
null
streamingbatchinsertIf true, send PreparedStatement batch insert data to the server as it arrives via addBatch() instead of holding in memory until executeBatch(). Streaming is faster and uses less memory, but while a streaming batch insert is in progress PreparedStatement.clearBatch() is disabled and other connection operations are not allowedfalse
false
true
null
threepartnamingIf true, use the database name as the catalog name when reporting metadatafalse
false
true
null
transactionisolationThe default transaction isolation level to usefalse
2
0
8
null

No comments:

Post a Comment