<?xml version="1.0" encoding="UTF-8" ?>
<feed xmlns="http://www.w3.org/2005/Atom">
   <title type="text">CUBRID Q&amp;A</title>
      <subtitle type="html">CUBRID Q&amp;amp;A</subtitle>
      <updated>2013-05-19T09:45:36-07:00</updated>
   <id>http://www.cubrid.org/questions/atom</id>
   <link rel="alternate" type="text/html" hreflang="en" href="http://www.cubrid.org/?mid=questions"/>
   <link rel="self" type="application/atom+xml" href="http://www.cubrid.org/questions/atom"/>
   <generator uri="http://www.xpressengine.com/" version="1.4.4.1">XpressEngine</generator>
   <entry>
      <title>Join between multiple Shard</title>
      <id>http://www.cubrid.org/617483</id>
      <published>2013-03-20T20:17:56-07:00</published>
      <updated>2013-03-20T21:07:09-07:00</updated>
      <link rel="alternate" type="text/html" href="http://www.cubrid.org/617483"/>
      <link rel="replies" type="text/html" href="http://www.cubrid.org/617483#comment"/>
      <author>
         <name>debluncz</name>
               </author>
            <content type="html">&lt;div class=&quot;xe_content&quot;&gt;&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I might miss this out when skimming tru the docs. How do we run query (join) accross multiple shard? if I had few tables in the join that is sharded and they are shard base on different columns, how will the performance like? any best practices or things to avoids?&lt;/p&gt;&lt;/div&gt;</content>
                  <category term="Sharding"/>
            
   </entry>
   <entry>
      <title>I forgot my DB password. How can I reset it?</title>
      <id>http://www.cubrid.org/615780</id>
      <published>2013-03-18T19:20:04-07:00</published>
      <updated>2013-03-18T20:02:00-07:00</updated>
      <link rel="alternate" type="text/html" href="http://www.cubrid.org/615780"/>
      <link rel="replies" type="text/html" href="http://www.cubrid.org/615780#comment"/>
      <author>
         <name>Laura Oh</name>
               </author>
            <content type="html">&lt;div class=&quot;xe_content&quot;&gt;&lt;p&gt;The previoud employee used auto-saveed DB&apos;s password in the client tool. Unfortunately he didn&apos;t tell me what it is.&lt;/p&gt;
&lt;p&gt;I cannot access a DB. On the console, is it possible to reset DB password? I know DBA is a username.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;/div&gt;</content>
                  <category term="password"/>
            
   </entry>
   <entry>
      <title>[CUBRID][ODBC CUBRID Driver][-1006]Server handle not found</title>
      <id>http://www.cubrid.org/615754</id>
      <published>2013-03-18T18:31:46-07:00</published>
      <updated>2013-03-18T18:44:46-07:00</updated>
      <link rel="alternate" type="text/html" href="http://www.cubrid.org/615754"/>
      <link rel="replies" type="text/html" href="http://www.cubrid.org/615754#comment"/>
      <author>
         <name>Laura Oh</name>
               </author>
            <content type="html">&lt;div class=&quot;xe_content&quot;&gt;&lt;p style=&quot;font: 11.81px/17.27px NanumGothic, 나눔고딕, &amp;quot;Malgun Gothic&amp;quot;, 맑은고딕, Dotum, 돋움; margin: 0px; padding: 0px; color: #000000; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; background-color: #ffffff;&quot;&gt;I am developing my application with CUBRID ODBC.&lt;/p&gt;
&lt;p style=&quot;font: 11.81px/17.27px NanumGothic, 나눔고딕, &amp;quot;Malgun Gothic&amp;quot;, 맑은고딕, Dotum, 돋움; margin: 0px; padding: 0px; color: #000000; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; background-color: #ffffff;&quot;&gt;When querying with SELECT, fetching the result works fine. When the last data doesn&apos;t exist, it should return False so to end up While loop, however it returns the following error after reader.Read()&lt;/p&gt;
&lt;p style=&quot;font: 11.81px/17.27px NanumGothic, 나눔고딕, &amp;quot;Malgun Gothic&amp;quot;, 맑은고딕, Dotum, 돋움; margin: 0px; padding: 0px; color: #000000; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; background-color: #ffffff;&quot;&gt;&amp;nbsp;&lt;/p&gt;
&lt;p jquery1363659892884=&quot;14&quot;&gt;&lt;span style=&quot;background-color: #c0c0c0;&quot;&gt;ERROR [HY000] [CUBRID][ODBC CUBRID  Driver][-1006]Server handle not found&lt;/span&gt;&lt;/p&gt;
&lt;p jquery1363659892884=&quot;15&quot;&gt;&lt;span style=&quot;background-color: #c0c0c0;&quot;&gt;ERROR [01000] [CUBRID][ODBC CUBRID Driver][0]Fetch  error&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot;font: 11.81px/17.27px NanumGothic, 나눔고딕, &amp;quot;Malgun Gothic&amp;quot;, 맑은고딕, Dotum, 돋움; margin: 0px; padding: 0px; color: #000000; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; background-color: #ffffff;&quot;&gt;&amp;nbsp;&lt;/p&gt;
&lt;p style=&quot;font: 11.81px/17.27px NanumGothic, 나눔고딕, &amp;quot;Malgun Gothic&amp;quot;, 맑은고딕, Dotum, 돋움; margin: 0px; padding: 0px; color: #000000; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; background-color: #ffffff;&quot;&gt;As I said, obtaining results is fine but that error seems a little uncomportable.&lt;/p&gt;
&lt;p style=&quot;font: 11.81px/17.27px NanumGothic, 나눔고딕, &amp;quot;Malgun Gothic&amp;quot;, 맑은고딕, Dotum, 돋움; margin: 0px; padding: 0px; color: #000000; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; background-color: #ffffff;&quot;&gt;&amp;nbsp;&lt;/p&gt;
&lt;p style=&quot;font: 11.81px/17.27px NanumGothic, 나눔고딕, &amp;quot;Malgun Gothic&amp;quot;, 맑은고딕, Dotum, 돋움; margin: 0px; padding: 0px; color: #000000; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; background-color: #ffffff;&quot;&gt;&amp;nbsp;&lt;/p&gt;&lt;/div&gt;</content>
                  <category term="Error Code"/>
            <category term="odbc"/>
            
   </entry>
   <entry>
      <title>I encountered Error code= -41 and Error code= -52 Internal error: object overflow address 0|760|-1 may be corrupted</title>
      <id>http://www.cubrid.org/583157</id>
      <published>2013-02-12T17:42:22-08:00</published>
      <updated>2013-02-13T17:16:08-08:00</updated>
      <link rel="alternate" type="text/html" href="http://www.cubrid.org/583157"/>
      <link rel="replies" type="text/html" href="http://www.cubrid.org/583157#comment"/>
      <author>
         <name>Laura Oh</name>
               </author>
            <content type="html">&lt;div class=&quot;xe_content&quot;&gt;&lt;p&gt;From today, all of sudden it is unable to select data.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;When tried the 1st query, the error was -493&lt;/p&gt;
&lt;p&gt;Error messages in a SQL log file: &lt;br /&gt;Syntax: Internal error: object overflow address 0|760|-1 may be corrupted. select * from scan_temp where (rownum between 1 and 5000)&lt;/p&gt;
&lt;p&gt;I searched how to handle this, and the link &lt;a href=&quot;http://www.cubrid.com/zbxe/346902&quot;&gt;http://www.cubrid.com/zbxe/346902&lt;/a&gt; said I should try &quot;cubrid checkdb&quot; so I did.&lt;/p&gt;
&lt;p&gt;
&lt;pre class=&quot;brush:plain&quot;  title=&quot;&quot;&gt;cubrid chckdb -S -r [databasename]&lt;/pre&gt;
&lt;br /&gt; &lt;br /&gt;then I have found different error codes(-41 and -52) the log file of [databasename]_checkdb :  &lt;br /&gt;Time: 02/07/13 10:36:29.408 - ERROR *** file ..&amp;#92;..&amp;#92;src&amp;#92;storage&amp;#92;file_manager.c, line 5089 ERROR CODE = -41 Tran = 1, EID = 1&lt;br /&gt;Internal error: Page 1|14377(volume &quot;C:&amp;#92;CUBRID&amp;#92;DATABA~1&amp;#92;EB_SCA~1&amp;#92;EB_SCAN_TR_x001&quot;) is not part of file VFID 0|9219(volume &quot;C:&amp;#92;CUBRID&amp;#92;DATABA~1&amp;#92;EB_SCA~1&amp;#92;EB_SCAN_TR&quot;).&lt;br /&gt; &lt;br /&gt;Time: 02/07/13 10:36:29.409 - ERROR *** file ..&amp;#92;..&amp;#92;src&amp;#92;storage&amp;#92;overflow_file.c, line 977 ERROR CODE = -52 Tran = 1, EID = 2&lt;br /&gt;Internal error: object overflow address 0|760|-1 may be corrupted.&lt;br /&gt; &lt;br /&gt;---------------------------&lt;br /&gt; &lt;br /&gt;I also tried to backup with cubrid backupdb utility, but failed.&lt;/p&gt;
&lt;p&gt;How should I do?&lt;/p&gt;&lt;/div&gt;</content>
                  <category term="Error Code"/>
            <category term="backupdb"/>
            <category term="checkdb"/>
            <category term="database volume"/>
            
   </entry>
   <entry>
      <title>Error: 13 An I/O error occurred while reading page 16384 of volume ..Invalid argument</title>
      <id>http://www.cubrid.org/583143</id>
      <published>2013-02-12T17:21:31-08:00</published>
      <updated>2013-02-12T17:30:43-08:00</updated>
      <link rel="alternate" type="text/html" href="http://www.cubrid.org/583143"/>
      <link rel="replies" type="text/html" href="http://www.cubrid.org/583143#comment"/>
      <author>
         <name>Laura Oh</name>
               </author>
            <content type="html">&lt;div class=&quot;xe_content&quot;&gt;&lt;p&gt;I am using CUBRID 2008 R2.2 version on Windows 2003 for years and recently the following error occurs :&lt;/p&gt;
&lt;p&gt;02/12/13 11:44:44.965  ERROR  -13  1  37  An I/O error occurred while reading page 16384 of volume &quot;C:&amp;#92;CUBRID&amp;#92;databases&amp;#92;SPOMS&amp;#92;SPOMS_data_x001&quot;.... Invalid argument&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I have seen many times these days. What happened in our CUBRID server and how can I solve the problem?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;/div&gt;</content>
                  <category term="Error Code"/>
            <category term="database volume"/>
            
   </entry>
   <entry>
      <title>Strange behavior in HA mode</title>
      <id>http://www.cubrid.org/541665</id>
      <published>2013-01-02T00:54:07-08:00</published>
      <updated>2013-01-07T20:46:17-08:00</updated>
      <link rel="alternate" type="text/html" href="http://www.cubrid.org/541665"/>
      <link rel="replies" type="text/html" href="http://www.cubrid.org/541665#comment"/>
      <author>
         <name>ghartz</name>
               </author>
            <content type="html">&lt;div class=&quot;xe_content&quot;&gt;&lt;p style=&quot;line-height: 1;&quot;&gt;Hi!&lt;/p&gt;

&lt;p style=&quot;line-height: 1;&quot;&gt;

&lt;/p&gt;

&lt;p style=&quot;line-height: 1;&quot;&gt;I setup a ha cluster with master+slave following this tutorial:&amp;nbsp;&lt;a href=&quot;/manual/843/en/CUBRID%20HA&quot; target=&quot;_self&quot;&gt;http://www.cubrid.org/manual/843/en/CUBRID%20HA&lt;/a&gt;.&lt;/p&gt;

&lt;p style=&quot;line-height: 1;&quot;&gt;

&lt;/p&gt;

&lt;p style=&quot;line-height: 1;&quot;&gt;I called my nodes : &lt;b&gt;cubrid&lt;/b&gt; and &lt;b&gt;cubrid2&lt;/b&gt;.&lt;/p&gt;

&lt;p style=&quot;line-height: 1;&quot;&gt;

&lt;/p&gt;

&lt;p style=&quot;line-height: 1;&quot;&gt;All nodes have this in &lt;i&gt;cubrid.conf&lt;/i&gt;:&lt;/p&gt;

&lt;p style=&quot;line-height: 1;&quot;&gt;

&lt;/p&gt;

&lt;p style=&quot;line-height: 1;&quot;&gt;&lt;/p&gt;

&lt;pre class=&quot;brush:plain&quot;  title=&quot;&quot;&gt;[@demodb]
ha_mode=on
force_remove_log_archives=no
log_max_archives=100&lt;/pre&gt;

&lt;p&gt;&lt;/p&gt;

&lt;p style=&quot;line-height: 1;&quot;&gt;&lt;i&gt;cubrid_ha.conf&lt;/i&gt;:&lt;/p&gt;

&lt;p&gt;&lt;/p&gt;

&lt;p style=&quot;line-height: 1;&quot;&gt;&lt;/p&gt;

&lt;pre class=&quot;brush:plain&quot;  title=&quot;&quot;&gt;[common]
ha_copy_sync_mode=sync:sync
ha_port_id=59901
ha_node_list=demodb@cubrid:cubrid2
ha_db_list=demodb
ha_apply_max_mem_size=500&lt;/pre&gt;

&lt;p&gt;&lt;/p&gt;

&lt;p style=&quot;line-height: 1;&quot;&gt;&lt;br /&gt;&lt;/p&gt;

&lt;p&gt;&lt;/p&gt;

&lt;p&gt;&lt;span style=&quot;line-height: 13px;&quot;&gt;&lt;/span&gt;&lt;/p&gt;

&lt;pre class=&quot;brush:bash&quot;  title=&quot;&quot;&gt;cubrid@cubrid:~$ cubrid heartbeat status
@ cubrid heartbeat list
 HA-Node Info (current cubrid, state master)
   Node cubrid2 (priority 2, state slave)
   Node cubrid (priority 1, state master)
 HA-Process Info (master 882, state master)
   Applylogdb demodb@localhost:/var/opt/cubrid/databases/demodb_cubrid2 (pid 3342, state registered)
   Copylogdb demodb@cubrid2:/var/opt/cubrid/databases/demodb_cubrid2 (pid 3340, state registered)
   Server demodb (pid 3123, state registered_and_active)


cubrid@cubrid2:~$ cubrid heartbeat status
@ cubrid heartbeat list

 HA-Node Info (current cubrid2, state slave)
   Node cubrid2 (priority 2, state slave)
   Node cubrid (priority 1, state master)
 HA-Process Info (master 2478, state slave)
   Applylogdb demodb@localhost:/var/opt/cubrid/databases/demodb_cubrid (pid 2704, state registered)
   Copylogdb demodb@cubrid:/var/opt/cubrid/databases/demodb_cubrid (pid 2702, state registered)
   Server demodb (pid 2485, state registered)&lt;/pre&gt;

&lt;p&gt;When I do some benchmark on the node &quot;cubrid2&quot;, I can see node &quot;cubrid&quot; sending the data to cubrid2 then cubrid2 to my client. Using &quot;top&quot; command I can see node &quot;cubrid&quot; becomes busy with many INSERT, where as node &quot;cubrid2&quot; idle.&lt;/p&gt;

&lt;p&gt;When I shutdown the node &quot;cubrid&quot;, &quot;cubrid2&quot; becomes the new master but I can&apos;t send any query to cubrid2, it times out (trying to fetch data from node &quot;cubrid&quot;). When node &quot;cubrid&quot; is back, cubrid2 answer (I have to reload the heartbeat).&lt;/p&gt;


&lt;p&gt;I&apos;m using CUBRID version 8.4.3 from Ubuntu (12.04) repository&lt;/p&gt;

&lt;p&gt;Thanks!&lt;/p&gt;&lt;/div&gt;</content>
                  <category term="HA"/>
            
   </entry>
   <entry>
      <title>비동기 질문</title>
      <id>http://www.cubrid.org/543339</id>
      <published>2013-01-03T20:25:25-08:00</published>
      <updated>2013-01-03T21:08:51-08:00</updated>
      <link rel="alternate" type="text/html" href="http://www.cubrid.org/543339"/>
      <link rel="replies" type="text/html" href="http://www.cubrid.org/543339#comment"/>
      <author>
         <name>webjjin</name>
               </author>
            <content type="html">&lt;div class=&quot;xe_content&quot;&gt;&lt;p&gt;node.js에서 node-cubrid를 이용 중인데요.&lt;/p&gt;

&lt;p&gt;한번에 여러 query()를 보내니, &apos;Another query is already in progress! - denying current query request.&apos; 라는 메시지가 나옵니다. 아무래도 비동기를 지원하지 않는 것 같은데요.&lt;/p&gt;

&lt;p&gt;node.js는 근본이 비동기인데, 쿼리 실행할때마다, 커넥션 새로 맺고 쿼리 실행하고 하면, 잘 버틸 수 있을지 의문이 들구요. 한가지 불편한 것은 비동기 방식으로 작성하다가, cubrid에서만 동기 방식으로 작성해야되니, 여러가지를 고려 안할 수가 없네요. mysql 모듈은 비동기를 잘 지원하던데, cubrid는 비동기 지원이 힘든건가요?&lt;/p&gt;&lt;/div&gt;</content>
                  <category term="nodejs"/>
            
   </entry>
   <entry>
      <title>CM returns: &quot;-2003 Cannot communicate with broker&quot;</title>
      <id>http://www.cubrid.org/487976</id>
      <published>2012-11-12T19:28:24-08:00</published>
      <updated>2012-12-24T00:10:14-08:00</updated>
      <link rel="alternate" type="text/html" href="http://www.cubrid.org/487976"/>
      <link rel="replies" type="text/html" href="http://www.cubrid.org/487976#comment"/>
      <author>
         <name>Laura Oh</name>
               </author>
            <content type="html">&lt;div class=&quot;xe_content&quot;&gt;&lt;p&gt;


I am using CUBRID Manager with CUBRID 2008 R2.2&amp;nbsp;version engine. &lt;br /&gt;When I trying to connect to a DB, I have encountered an error message as &quot;-2003 Cannot communicate with broker&quot;. &lt;br /&gt;How can I do? &lt;/p&gt;&lt;/div&gt;</content>
                  <category term="CM"/>
            <category term="broker"/>
            <category term="Error Code"/>
            
   </entry>
   <entry>
      <title>cubrid shard start: fail:   failed to connect database</title>
      <id>http://www.cubrid.org/507666</id>
      <published>2012-11-26T22:06:13-08:00</published>
      <updated>2012-11-26T23:28:28-08:00</updated>
      <link rel="alternate" type="text/html" href="http://www.cubrid.org/507666"/>
      <link rel="replies" type="text/html" href="http://www.cubrid.org/507666#comment"/>
      <author>
         <name>lzfcome</name>
               </author>
            <content type="html">&lt;div class=&quot;xe_content&quot;&gt;&lt;div&gt;&lt;div&gt;&lt;pre class=&quot;brush:bash&quot;  title=&quot;&quot;&gt;sh&amp;gt; cubrid shard start@ cubrid shard startfailed to connect database. [shard]
please check your $CUBRID/conf/shard.conf or database status.
[%shard]
SHARD_DB_NAME        = shard1
SHARD_DB_USER        = shard
++ cubrid shard start: fail&lt;/pre&gt;

&lt;/div&gt;

&lt;div&gt;&lt;/div&gt;

&lt;div&gt;&lt;br /&gt;&lt;/div&gt;

&lt;/div&gt;

&lt;div&gt;My&amp;nbsp;shard_connection.txt :&lt;/div&gt;

&lt;div&gt;&lt;br /&gt;&lt;/div&gt;

&lt;div&gt;&lt;pre class=&quot;brush:bash&quot;  title=&quot;&quot;&gt; # cubrid

0               shard1          10.34.64.220

1               shard1          10.34.64.220

2               shard1          localhost

3               shard1          localhost&lt;/pre&gt;

&lt;p&gt;The database shard1 in localhost and the&amp;nbsp;database &lt;b&gt;shard1&lt;/b&gt; in 10.4.64.220 are OK, &amp;nbsp;I can connect to either.&lt;/p&gt;

&lt;p&gt;The error_log/shard_1_0_1.err:&lt;/p&gt;

&lt;p&gt;&lt;/p&gt;

&lt;pre class=&quot;brush:bash&quot;  title=&quot;&quot;&gt;[tobi@NC-PL-DEV001 conf]$ tail ../log/broker/error_log/shard_1_1_1.err 

Server bit platform (64) is different from client bit platform (32).

Time: 05/15/06 04:28:50.048 - ERROR *** file ../../src/transaction/boot_cl.c, line 1453 ERROR CODE = -677 Tran = -1, EID = 206

Failed to connect to database server, &apos;shard1&apos;, on the following host(s): 10.34.64.220

Time: 05/15/06 04:28:50.048 - ERROR *** file ../../src/transaction/boot_cl.c, line 1468 ERROR CODE = -677 Tran = -1, EID = 207

Failed to connect to database server, &apos;shard1&apos;, on the following host(s): 10.34.64.220:10.34.64.220

*** The previous error message is the last one. ***&lt;/pre&gt;

&lt;p&gt;Can you help me? thanks.&lt;/p&gt;

&lt;/div&gt;&lt;/div&gt;</content>
                  <category term="HA"/>
            <category term="Sharding"/>
            
   </entry>
   <entry>
      <title>Error: The argument is invalid</title>
      <id>http://www.cubrid.org/490836</id>
      <published>2012-11-15T19:21:04-08:00</published>
      <updated>2012-11-15T21:35:54-08:00</updated>
      <link rel="alternate" type="text/html" href="http://www.cubrid.org/490836"/>
      <link rel="replies" type="text/html" href="http://www.cubrid.org/490836#comment"/>
      <author>
         <name>Laura Oh</name>
               </author>
            <content type="html">&lt;div class=&quot;xe_content&quot;&gt;&lt;p&gt;

When I execute a query &quot;SELECT * FROM t_info&quot; on Java application thru CUBRID JDBC, &lt;br /&gt;an error &quot;The argument is invalid&quot; popped up. I&apos;d like to know what&amp;nbsp;happened and how I handle. &lt;/p&gt;

&lt;p&gt;&amp;nbsp;&lt;/p&gt;

&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;/div&gt;</content>
                  <category term="SQL"/>
            <category term="Error Code"/>
            <category term="JDBC"/>
            <category term="Java"/>
            
   </entry>
   <entry>
      <title>Error: Your transaction has been unilaterally aborted by the system.</title>
      <id>http://www.cubrid.org/487996</id>
      <published>2012-11-12T20:00:06-08:00</published>
      <updated>2012-11-12T23:35:48-08:00</updated>
      <link rel="alternate" type="text/html" href="http://www.cubrid.org/487996"/>
      <link rel="replies" type="text/html" href="http://www.cubrid.org/487996#comment"/>
      <author>
         <name>Laura Oh</name>
               </author>
            <content type="html">&lt;div class=&quot;xe_content&quot;&gt;&lt;p&gt;&lt;span style=&quot;font-size: 13px;&quot;&gt;


When I insert records into CUBRID DB(2008 R3.0), the following error was popped up. &lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: 13px;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;font: 13px/normal 나눔고딕; text-align: left; color: rgb(0, 0, 0); text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; orphans: 2; widows: 2; font-size-adjust: none; font-stretch: normal; background-color: rgb(255, 255, 255); -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;&quot;&gt;ERROR&lt;span style=&quot;font-size: 13px;&quot; class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;CA001CUBRIDCUBRID ODBC Driver Transaction&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font: 13px/normal 나눔고딕; text-align: left; color: rgb(0, 0, 0); text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; orphans: 2; widows: 2; font-size-adjust: none; font-stretch: normal; background-color: rgb(255, 255, 255); -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;&quot;&gt;(index1, dba@localhost|20383) has been unilaterally aborted by the system&quot; &lt;br /&gt;What does it mean and what can I do? &lt;/span&gt;&lt;/p&gt;

&lt;p&gt;&lt;span style=&quot;font: small/normal 나눔고딕; text-align: left; color: rgb(0, 0, 0); text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; orphans: 2; widows: 2; font-size-adjust: none; font-stretch: normal; background-color: rgb(255, 255, 255); -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;&quot;&gt;&lt;/span&gt;&amp;nbsp;&lt;/p&gt;

&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;/div&gt;</content>
                  <category term="SQL"/>
            <category term="Error Code"/>
            
   </entry>
   <entry>
      <title>JDBC: Cannot coerce host var to type nchar</title>
      <id>http://www.cubrid.org/329488</id>
      <published>2012-04-18T07:01:55-07:00</published>
      <updated>2012-11-12T19:19:57-08:00</updated>
      <link rel="alternate" type="text/html" href="http://www.cubrid.org/329488"/>
      <link rel="replies" type="text/html" href="http://www.cubrid.org/329488#comment"/>
      <author>
         <name>vbergmann</name>
               </author>
            <content type="html">&lt;div class=&quot;xe_content&quot;&gt;I created a test table with all *char types supported by CUBRID.&lt;br /&gt;
&lt;br /&gt;
When using JDBC to persist a row in which each column is set to a string
 value containing only uppercase latin letters (e.g. char_col=KFX, 
varchar_col=J, nchar_col=XZDFOY, nchar_varying_col=YYCY), I get the 
following exception:&lt;br /&gt;
&lt;br /&gt;
&lt;pre class=&quot;brush:java&quot;  title=&quot;&quot;&gt;Caused by: cubrid.jdbc.driver.CUBRIDException: Semantic: Cannot coerce host var to type nchar.
    at cubrid.jdbc.driver.CUBRIDConnection.createCUBRIDException(CUBRIDConnection.java:829)
    at cubrid.jdbc.driver.CUBRIDStatement.checkExecuteError(CUBRIDStatement.java:941)
    at cubrid.jdbc.driver.CUBRIDStatement.executeCoreInternal(CUBRIDStatement.java:830)
    at cubrid.jdbc.driver.CUBRIDStatement.executeCore(CUBRIDStatement.java:791)
    at cubrid.jdbc.driver.CUBRIDPreparedStatement.executeUpdate(CUBRIDPreparedStatement.java:140)
    at org.databene.platform.db.DBSystem.persistOrUpdate(DBSystem.java:867)
    ... 44 more &lt;/pre&gt;

&lt;p&gt;The code that provoked the error was something like this:&lt;br /&gt;
&lt;/p&gt;

&lt;pre class=&quot;brush:java&quot;  title=&quot;&quot;&gt;            PreparedStatement statement = ...;
            statement.setObject(1, &quot;KFX&quot;);
            statement.setObject(2, &quot;J&quot;);
            statement.setObject(3, &quot;XZDFOY&quot;);
            statement.setObject(4, &quot;YYCY&quot;);
            int rowCount = statement.executeUpdate();&lt;/pre&gt;

&lt;p&gt;
&lt;/p&gt;

&lt;p&gt;The table definition is&lt;br /&gt;
&lt;/p&gt;

&lt;pre class=&quot;brush:sql&quot;  title=&quot;&quot;&gt;    create table chartest (
        char_col          char(4) not null,
        varchar_col       varchar(8) not null,
        nchar_col         nchar(6) not null,
        nchar_varying_col nchar varying(10) not null
    );&lt;/pre&gt;
&lt;br /&gt;
What&apos;s wrong?&lt;br /&gt;
&lt;br /&gt;
Regards, Volker&lt;/div&gt;</content>
                  <category term="JDBC"/>
            <category term="SQL"/>
            <category term="N"/>
            <category term="VAR"/>
            <category term="Error Code"/>
            
   </entry>
   <entry>
      <title>What does &quot;Error: CCI, -4, Cannot communicate with server&quot; mean?</title>
      <id>http://www.cubrid.org/295947</id>
      <published>2012-02-14T20:00:49-08:00</published>
      <updated>2012-11-12T17:28:26-08:00</updated>
      <link rel="alternate" type="text/html" href="http://www.cubrid.org/295947"/>
      <link rel="replies" type="text/html" href="http://www.cubrid.org/295947#comment"/>
      <author>
         <name>eye</name>
               </author>
            <content type="html">&lt;div class=&quot;xe_content&quot;&gt;&lt;p&gt;I installed CUBRID and the PHP API yesterday. Everything was working perfect. I was quite glad. I created some code and could work with CUBRID. But today in the morning I started my Web server, navigated to my site, and I saw this error:&lt;/p&gt;

&lt;p&gt;&lt;/p&gt;

&lt;pre class=&quot;brush:php&quot;  title=&quot;&quot;&gt;Error: CCI, -4, Cannot communicate with server&lt;/pre&gt;

&lt;p&gt;What does it mean, and how can I resolve it?&lt;/p&gt;&lt;/div&gt;</content>
                  <category term="PHP"/>
            <category term="Error Code"/>
            <category term="CCI"/>
            
   </entry>
   <entry>
      <title>Error -493 when saving</title>
      <id>http://www.cubrid.org/424221</id>
      <published>2012-09-07T07:24:54-07:00</published>
      <updated>2012-11-12T17:28:03-08:00</updated>
      <link rel="alternate" type="text/html" href="http://www.cubrid.org/424221"/>
      <link rel="replies" type="text/html" href="http://www.cubrid.org/424221#comment"/>
      <author>
         <name>nsawers</name>
               </author>
            <content type="html">&lt;div class=&quot;xe_content&quot;&gt;&lt;p&gt;


We are using Samsung HOTELTV and when we save a change to a page, we&apos;re getting the following error - anyone any suggestions?&lt;/p&gt;

&lt;pre class=&quot;brush:sql&quot;  title=&quot;&quot;&gt;A Database Error Occurred
Error Number: -493
Syntax: syntax error, unexpected &apos;,&apos; 
INSERT INTO sds_framecontents (men_idx, men_key, lay_idx, fra_idx, men_lang, regdate, editdate) 
VALUES (, 104, 1, , &apos;ENG&apos;, 1347031405, 1347031405)&lt;/pre&gt;&lt;/div&gt;</content>
                  <category term="Error Code"/>
            
   </entry>
   <entry>
      <title>&quot;ha_node_list&quot;: Unknown system parameter or bad value.</title>
      <id>http://www.cubrid.org/472808</id>
      <published>2012-10-29T22:45:26-07:00</published>
      <updated>2012-11-01T02:36:13-07:00</updated>
      <link rel="alternate" type="text/html" href="http://www.cubrid.org/472808"/>
      <link rel="replies" type="text/html" href="http://www.cubrid.org/472808#comment"/>
      <author>
         <name>pashkoff</name>
               </author>
            <content type="html">&lt;div class=&quot;xe_content&quot;&gt;&lt;div&gt;I&apos;am trying to configure HA with CentOS5/CUBRID 9.0 Beta. All configs are filled according to manual, but both servers print error on start:&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Time: 10/30/12 02:33:30.825 - ERROR *** file ../src/executables/master_heartbeat.c, line 3164 ERROR CODE = -839 Tran = -1, EID = 1&lt;/div&gt;&lt;div&gt;&quot;ha_node_list&quot;: Unknown system parameter or bad value.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;cubrid_ha.conf contains line:&lt;/div&gt;&lt;div&gt;ha_node_list=cubrid@nodeA:nodeB&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;nodeA and nodeB are described in /etc/hosts&lt;/div&gt;&lt;/div&gt;</content>
                  <category term="HA"/>
            
   </entry>
   <entry>
      <title>How do I SHOW CREATE TABLE in CUBRID?</title>
      <id>http://www.cubrid.org/242600</id>
      <published>2011-11-28T22:43:30-08:00</published>
      <updated>2012-10-30T03:56:41-07:00</updated>
      <link rel="alternate" type="text/html" href="http://www.cubrid.org/242600"/>
      <link rel="replies" type="text/html" href="http://www.cubrid.org/242600#comment"/>
      <author>
         <name>eye</name>
               </author>
            <content type="html">&lt;div class=&quot;xe_content&quot;&gt;&lt;p&gt;MySQL provides &lt;strong&gt;SHOW CREATE TABLE &lt;/strong&gt;syntax which shows the CREATE TABLE statement that creates the given table including all its CONSTRAINTS and INDEXes. How do I obtain the same information in CUBRID?&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Edit:&lt;/strong&gt; I need an SQL solution so that I can execute the query in scripting language such as PHP. So, CUBRID Manager solution is not exactly what I&amp;nbsp;am looking for.&lt;/p&gt;&lt;p&gt;Considering that $object_name = &apos;stadium&apos;, the following will be the output.&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;pre class=&quot;brush:sql&quot;  title=&quot;&quot;&gt;CREATE TABLE stadium(
    code INTEGER NOT NULL,
    nation_code CHAR NOT NULL,
    name VARCHAR(50) NOT NULL,
    area NUMERIC,
    seats INTEGER,
    address VARCHAR(100),
    CONSTRAINT pk_stadium_code PRIMARY KEY (code)
);&lt;/pre&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;Does anyone know pure PHP solution?&lt;/p&gt;&lt;/div&gt;</content>
                  <category term="SQL"/>
            <category term="schema"/>
            <category term="PHP"/>
            
   </entry>
   <entry>
      <title>Can I install and run two versions of CUBRID on the same machine?</title>
      <id>http://www.cubrid.org/325978</id>
      <published>2012-04-12T07:04:15-07:00</published>
      <updated>2012-10-17T03:39:42-07:00</updated>
      <link rel="alternate" type="text/html" href="http://www.cubrid.org/325978"/>
      <link rel="replies" type="text/html" href="http://www.cubrid.org/325978#comment"/>
      <author>
         <name>corina28</name>
               </author>
            <content type="html">&lt;div class=&quot;xe_content&quot;&gt;&lt;p&gt;I need to test my app against both versions and I&apos;m not sure if installing both would be a good idea.&amp;nbsp;&lt;/p&gt;&lt;p&gt;I&apos;m interested in knowing if this would work both on Windows and on Ubuntu.&lt;/p&gt;&lt;p&gt;Thanks!&lt;/p&gt;&lt;/div&gt;</content>
                  <category term="installation"/>
            <category term="Windows"/>
            <category term="Ubuntu"/>
            
   </entry>
   <entry>
      <title>How does CUBRID compare to Postgres in terms of security (brute force, sql injection, etc.)?</title>
      <id>http://www.cubrid.org/448072</id>
      <published>2012-10-11T21:25:19-07:00</published>
      <updated>2012-10-11T22:06:18-07:00</updated>
      <link rel="alternate" type="text/html" href="http://www.cubrid.org/448072"/>
      <link rel="replies" type="text/html" href="http://www.cubrid.org/448072#comment"/>
      <author>
         <name>norseman</name>
               </author>
            <content type="html">&lt;div class=&quot;xe_content&quot;&gt;&lt;p&gt;How does CUBRID compare to Postgres in terms of security (brute force, sql injections, etc.)? I am currently weighing my options right now and am impressed with CUBRID&apos;s speed but an concerned about security and data protection.&lt;/p&gt;&lt;/div&gt;</content>
                  <category term="security"/>
            
   </entry>
   <entry>
      <title>Does the CUBRID db supports the Grails Hibernate function?</title>
      <id>http://www.cubrid.org/444261</id>
      <published>2012-10-08T00:44:19-07:00</published>
      <updated>2012-10-10T18:34:09-07:00</updated>
      <link rel="alternate" type="text/html" href="http://www.cubrid.org/444261"/>
      <link rel="replies" type="text/html" href="http://www.cubrid.org/444261#comment"/>
      <author>
         <name>dhip</name>
               </author>
            <content type="html">&lt;div class=&quot;xe_content&quot;&gt;&lt;p&gt;Hi&amp;nbsp;&lt;/p&gt;&lt;p&gt;I am encountering big problem with the cubrid database and grails hibernate function. I have created the domain class and the mappings as follow.&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;pre class=&quot;brush:java&quot;  title=&quot;&quot;&gt;class DEvent {
    String city
    String name
    DUser organizer
    String venue
    Date startDate
    Date endDate
    String description
    
    static hasMany = [volunteers:DUser, sponsorships:SponsorShip, tasks:Task, messages:Message]
    
    String toString(){
        &quot;$name, $city&quot;
    }

    static constraints = {
        name()
        city()
        description(maxSize : 5000)
        organizer()
        venue()
        startDate()
        endDate()
        volunteers(nullable : true)
        sponsorships(nullable : true)
        tasks(nullable : true)
        messages(nullable : true)
    }&lt;/pre&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;And my DUser domain class look like this:&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;pre class=&quot;brush:java&quot;  title=&quot;&quot;&gt;class DUser {
    String fullName
    String userName
    String password
    String email
    String website
    String bio
    
    String toString(){ fullName}
    
    static constraints = {
        fullName()
        userName()
        email()
        website()
        bio(maxSize:5000)
    }
}&lt;/pre&gt;&lt;p&gt;When i try to run the grails application it prompted to a error message l&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;pre class=&quot;brush:java&quot;  title=&quot;&quot;&gt;Caused by MappingException: No Dialect mapping for JDBC type: 12
-&amp;gt;&amp;gt;  334 | innerRun  in java.util.concurrent.FutureTask$Sync
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
|    166 | run       in java.util.concurrent.FutureTask
|   1110 | runWorker in java.util.concurrent.ThreadPoolExecutor
|    603 | run       in java.util.concurrent.ThreadPoolExecutor$Worker
^    722 | run . . . in java.lang.Thread&lt;/pre&gt;&lt;p&gt;Please if you have any one have the answer please let me know. Thank you very much.&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;/div&gt;</content>
                  <category term="CRUD"/>
            <category term="grails"/>
            <category term="Hibernate"/>
            
   </entry>
   <entry>
      <title>How to connect the Grails web application with CUBRID database?</title>
      <id>http://www.cubrid.org/442881</id>
      <published>2012-10-05T00:36:13-07:00</published>
      <updated>2012-10-08T00:04:04-07:00</updated>
      <link rel="alternate" type="text/html" href="http://www.cubrid.org/442881"/>
      <link rel="replies" type="text/html" href="http://www.cubrid.org/442881#comment"/>
      <author>
         <name>dhip</name>
               </author>
            <content type="html">&lt;div class=&quot;xe_content&quot;&gt;&lt;p&gt;Hi,&lt;/p&gt;&lt;p&gt;I am creating web application with Grails web frame work. I have created the application and modify the DataSource.groovy file like this.&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;pre class=&quot;brush:java&quot;  title=&quot;&quot;&gt;dataSource {
    pooled = true
    driverClassName = &quot;cubrid.jdbc.driver.CUBRIDDriver&quot;
    username = &quot;dba&quot;
    password = &quot;123&quot;
}&lt;/pre&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;And my&amp;nbsp;environment&amp;nbsp;for the connection is development coded like this which connects my application to the CUBRID database.&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;pre class=&quot;brush:java&quot;  title=&quot;&quot;&gt;environments {
    development {
        dataSource {
            dbCreate = &quot;create&quot; // one of &apos;create&apos;, &apos;create-drop&apos;, &apos;update&apos;, &apos;validate&apos;, &apos;&apos;
            url = &quot;jdbc:cubrid://localhost:30000/grailsDB&quot;
        }
    }
}&lt;/pre&gt;&lt;p&gt;I tried several times with CUBRID bt its not work out. It populates the following error message.&lt;/p&gt;&lt;p&gt;Error creating bean with name &apos;transactionManagerPostProcessor&apos;: Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name &apos;transactionManager&apos;: Cannot resolve reference to bean &apos;sessionFactory&apos; while setting bean property &apos;sessionFactory&apos;; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name &apos;sessionFactory&apos;: Cannot resolve reference to bean &apos;hibernateProperties&apos; while setting bean property &apos;hibernateProperties&apos;; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name &apos;hibernateProperties&apos;: Cannot resolve reference to bean &apos;dialectDetector&apos; while setting bean property &apos;properties&apos; with key [hibernate.dialect]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name &apos;dialectDetector&apos;: Invocation of init method failed; nested exception is org.springframework.jdbc.support.MetaDataAccess Exception: Error while extracting DatabaseMetaData; nested exception is org.apache.commons.dbcp.SQLNestedException: Cannot load JDBC driver class &apos;cubrid.jdbc.driver.CUBRIDDriver&apos;.&lt;/p&gt;&lt;p&gt;&amp;nbsp;The driver is not supported (Cannot load JDBC driver class &apos;cubrid.jdbc.driver.CUBRIDDriver&apos; Error message) but the application is coded in Groovy language. Its well supported with Java language.&amp;nbsp;Please give a&amp;nbsp;solution&amp;nbsp;it would be a great help. Thank you.&lt;/p&gt;&lt;p&gt;Dhip.&lt;/p&gt;&lt;/div&gt;</content>
                  <category term="driver"/>
            <category term="grails"/>
            <category term="Java"/>
            
   </entry>
   <entry>
      <title>How can you catch an Exception in python using the CUBRIDdb driver?</title>
      <id>http://www.cubrid.org/442416</id>
      <published>2012-10-04T08:11:17-07:00</published>
      <updated>2012-10-04T17:33:40-07:00</updated>
      <link rel="alternate" type="text/html" href="http://www.cubrid.org/442416"/>
      <link rel="replies" type="text/html" href="http://www.cubrid.org/442416#comment"/>
      <author>
         <name>ovidiuv</name>
               </author>
            <content type="html">&lt;div class=&quot;xe_content&quot;&gt;&lt;p&gt;I want to catch the Error exception or a specific exception using the Python driver. I saw nothing related to this in the manuals.&lt;/p&gt;&lt;/div&gt;</content>
                  <category term="SQL"/>
            
   </entry>
   <entry>
      <title>port windows to linux</title>
      <id>http://www.cubrid.org/440252</id>
      <published>2012-10-01T17:14:37-07:00</published>
      <updated>2012-10-03T17:04:35-07:00</updated>
      <link rel="alternate" type="text/html" href="http://www.cubrid.org/440252"/>
      <link rel="replies" type="text/html" href="http://www.cubrid.org/440252#comment"/>
      <author>
         <name>gn3y1r5k</name>
               </author>
            <content type="html">&lt;div class=&quot;xe_content&quot;&gt;&lt;p&gt;


If I develop on Windows 64 bit can I port to a Linux 64 bit machine.&lt;/p&gt;&lt;p&gt;thank you,&lt;/p&gt;&lt;/div&gt;</content>
                  <category term="porting"/>
            <category term="migration"/>
            <category term="unloaddb"/>
            <category term="loaddb"/>
            
   </entry>
   <entry>
      <title>Does CUBRID support empty list in IN operators like &quot;WHERE id IN()&quot;?</title>
      <id>http://www.cubrid.org/235616</id>
      <published>2011-11-07T23:53:42-08:00</published>
      <updated>2012-09-26T02:46:39-07:00</updated>
      <link rel="alternate" type="text/html" href="http://www.cubrid.org/235616"/>
      <link rel="replies" type="text/html" href="http://www.cubrid.org/235616#comment"/>
      <author>
         <name>eye</name>
               </author>
            <content type="html">&lt;div class=&quot;xe_content&quot;&gt;&lt;p&gt;I am generating in the code an SQL statement which has &lt;strong&gt;IN&lt;/strong&gt; operator in the WHERE clause. &lt;strong&gt;IN&lt;/strong&gt; operator should received a list of record IDs. However what will happen if that list is just empty?&lt;/p&gt;
&lt;p&gt;MySQL correctly parses an empty IN() in which case it just says that nothing has been fond.&lt;/p&gt;
&lt;p&gt;Does CUBRID accept empty list in IN operator?&lt;/p&gt;&lt;/div&gt;</content>
                  <category term="SQL"/>
            <category term="IN"/>
            
   </entry>
   <entry>
      <title>How does CUBRID handle the case sensitivity of identifiers ?</title>
      <id>http://www.cubrid.org/435607</id>
      <published>2012-09-25T00:54:56-07:00</published>
      <updated>2012-09-25T03:04:39-07:00</updated>
      <link rel="alternate" type="text/html" href="http://www.cubrid.org/435607"/>
      <link rel="replies" type="text/html" href="http://www.cubrid.org/435607#comment"/>
      <author>
         <name>ovidiuv</name>
               </author>
            <content type="html">&lt;div class=&quot;xe_content&quot;&gt;&lt;p class=&quot;MsoPlainText&quot;&gt;I&apos;ve noticed that CUBRID is case insensitive in
regards to identifiers, which goes against the SQL standard, which requires
that quoted identifiers be handled in a case sensitive manner.&amp;nbsp;Is this the way CUBRID does it by default or can it be changed using a setting ?&lt;/p&gt;&lt;/div&gt;</content>
                  <category term="SQL"/>
            <category term="case-insensitive"/>
            
   </entry>
   <entry>
      <title>How do I drop a UNIQUE index ?</title>
      <id>http://www.cubrid.org/435654</id>
      <published>2012-09-25T01:45:01-07:00</published>
      <updated>2012-09-25T02:28:17-07:00</updated>
      <link rel="alternate" type="text/html" href="http://www.cubrid.org/435654"/>
      <link rel="replies" type="text/html" href="http://www.cubrid.org/435654#comment"/>
      <author>
         <name>ovidiuv</name>
               </author>
            <content type="html">&lt;div class=&quot;xe_content&quot;&gt;&lt;div&gt;I ran the following commands:&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;CREATE TABLE &quot;ITEMS&quot; (&quot;N&quot; integer, &quot;A&quot; integer);&lt;/div&gt;&lt;div&gt;CREATE UNIQUE INDEX &quot;test_index&quot; ON &quot;ITEMS&quot; (&quot;N&quot;);&lt;/div&gt;&lt;div&gt;ALTER TABLE &quot;ITEMS&quot; DROP INDEX &quot;
test_index&quot;;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;and I got the error:&lt;/div&gt;&lt;div&gt;&lt;div&gt;Error description:&lt;/div&gt;&lt;div&gt;Index &quot;test_index&quot; does not exist.&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;How can I remove this unique index ?&lt;/div&gt;&lt;/div&gt;</content>
                  <category term="index"/>
            <category term="drop unique index"/>
            <category term="ALTER TABLE"/>
            
   </entry>
   <entry>
      <title>Can&apos;t create composite foreign key with a different cardinality</title>
      <id>http://www.cubrid.org/435664</id>
      <published>2012-09-25T02:00:42-07:00</published>
      <updated>2012-09-25T02:27:24-07:00</updated>
      <link rel="alternate" type="text/html" href="http://www.cubrid.org/435664"/>
      <link rel="replies" type="text/html" href="http://www.cubrid.org/435664#comment"/>
      <author>
         <name>ovidiuv</name>
               </author>
            <content type="html">&lt;div class=&quot;xe_content&quot;&gt;&lt;div&gt;I can&apos;t create composite foreign key with a different cardinality&amp;nbsp;than the referenced table&apos;s primary key, even if there is a unique&amp;nbsp;index:&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;CREATE TABLE &quot;ITEMS&quot; (&lt;/div&gt;&lt;div&gt;&amp;nbsp; &quot;ID&quot; integer AUTO_INCREMENT PRIMARY KEY,&lt;/div&gt;&lt;div&gt;&amp;nbsp; &quot;ITEM_ID&quot; integer FOREIGN KEY REFERENCES &quot;ITEMS&quot;,&lt;/div&gt;&lt;div&gt;&amp;nbsp; UNIQUE (&quot;ITEM_ID&quot;, &quot;ID&quot;),&lt;/div&gt;&lt;div&gt;&amp;nbsp; FOREIGN KEY (&quot;ID&quot;, &quot;ITEM_ID&quot;) REFERENCES &quot;ITEMS&quot;(&quot;ITEM_ID&quot;, &quot;ID&quot;)&lt;/div&gt;&lt;div&gt;);&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;gives error:&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;The number of keys of the foreign key &apos;fk_items_id_item_id&apos; is different from that of the primary key &apos;pk_items_id&apos;.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;</content>
                  <category term="foreign key"/>
            <category term="cardinality"/>
            <category term="unique"/>
            <category term="primary key"/>
            
   </entry>
   <entry>
      <title>How can you get CUBRID system parameters using SQL ?</title>
      <id>http://www.cubrid.org/432659</id>
      <published>2012-09-20T04:01:22-07:00</published>
      <updated>2012-09-23T21:52:51-07:00</updated>
      <link rel="alternate" type="text/html" href="http://www.cubrid.org/432659"/>
      <link rel="replies" type="text/html" href="http://www.cubrid.org/432659#comment"/>
      <author>
         <name>ovidiuv</name>
               </author>
            <content type="html">&lt;div class=&quot;xe_content&quot;&gt;&lt;p&gt;In CSQL you can use the following function:&lt;/p&gt;&lt;p&gt;;Get system_parameter - get the value of a system parameter.&lt;/p&gt;&lt;p&gt;I need the same output as &quot;;Get ansi_quotes&quot; and &quot;;Get no_backslash_escapes&quot; in either SQL or using the Python Driver.&lt;/p&gt;&lt;p&gt;Basically, I need to know if ansi_quotes and no_backslash_escapes options are active within cubrid.conf. For other scenarios it would be good to be possible to obtain using SQL the values specified in the manual page:&lt;/p&gt;&lt;p&gt;&lt;a href=&quot;/manual/841/en/cubrid.conf%20Configuration%20File%20and%20Default%20Parameters&quot;&gt;http://www.cubrid.org/manual/841/en/cubrid.conf%20Configuration%20File%20and%20Default%20Parameters&lt;/a&gt;&amp;nbsp;&lt;/p&gt;&lt;/div&gt;</content>
                  <category term="python"/>
            
   </entry>
   <entry>
      <title>How can you get Collations list from the server ?</title>
      <id>http://www.cubrid.org/432590</id>
      <published>2012-09-20T02:14:25-07:00</published>
      <updated>2012-09-20T02:38:14-07:00</updated>
      <link rel="alternate" type="text/html" href="http://www.cubrid.org/432590"/>
      <link rel="replies" type="text/html" href="http://www.cubrid.org/432590#comment"/>
      <author>
         <name>ovidiuv</name>
               </author>
            <content type="html">&lt;div class=&quot;xe_content&quot;&gt;&lt;p&gt;In MySQL this can be obtained using &quot;SHOW COLLATION&quot; query. Is there a CUBRID equivalent ?&lt;/p&gt;&lt;/div&gt;</content>
                  <category term="SQL"/>
            
   </entry>
   <entry>
      <title>How to find out if the database is case sensitive or not regarding table names ?</title>
      <id>http://www.cubrid.org/432406</id>
      <published>2012-09-19T22:41:58-07:00</published>
      <updated>2012-09-19T22:54:59-07:00</updated>
      <link rel="alternate" type="text/html" href="http://www.cubrid.org/432406"/>
      <link rel="replies" type="text/html" href="http://www.cubrid.org/432406#comment"/>
      <author>
         <name>ovidiuv</name>
               </author>
            <content type="html">&lt;div class=&quot;xe_content&quot;&gt;&lt;p&gt;In MySQL, in order to find out if the database table names are case sensitive, you can use &quot;SHOW VARIABLES LIKE &apos;lower_case_table_names&apos; &quot;. What&apos;s the equivalent for CUBRID ?&lt;/p&gt;&lt;/div&gt;</content>
                  <category term="case-insensitive"/>
            <category term="SQL"/>
            <category term="identifiers"/>
            
   </entry>
   <entry>
      <title>Case-insensitive identifiers and object names</title>
      <id>http://www.cubrid.org/234837</id>
      <published>2011-11-04T01:27:11-07:00</published>
      <updated>2012-09-19T22:50:03-07:00</updated>
      <link rel="alternate" type="text/html" href="http://www.cubrid.org/234837"/>
      <link rel="replies" type="text/html" href="http://www.cubrid.org/234837#comment"/>
      <author>
         <name>impega</name>
               </author>
            <content type="html">&lt;div class=&quot;xe_content&quot;&gt;&lt;p&gt;


The object names in CUBRID are case-insesitive? Is there a parameter controlling this?&lt;/p&gt;&lt;p&gt;Does it make any difference in SQL and drivers what letters-case is used?&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;/div&gt;</content>
                  <category term="SQL"/>
            <category term="definition"/>
            <category term="identifiers"/>
            <category term="case-insensitive"/>
            
   </entry>
   <entry>
      <title>How can you get the transaction isolation level in CUBRID ?</title>
      <id>http://www.cubrid.org/432359</id>
      <published>2012-09-19T22:08:04-07:00</published>
      <updated>2012-09-19T22:30:55-07:00</updated>
      <link rel="alternate" type="text/html" href="http://www.cubrid.org/432359"/>
      <link rel="replies" type="text/html" href="http://www.cubrid.org/432359#comment"/>
      <author>
         <name>ovidiuv</name>
               </author>
            <content type="html">&lt;div class=&quot;xe_content&quot;&gt;&lt;p&gt;Hello,&lt;/p&gt;&lt;p&gt;I tried running the command &quot;GET TRANSACTION ISOLATION LEVEL;&quot; in CUBRID Manager and Python Driver. I followed the example below:&lt;/p&gt;&lt;p&gt;&lt;a href=&quot;/manual/841/en/GET%20TRANSACTION%20ISOLATION%20LEVEL&quot;&gt;http://www.cubrid.org/manual/841/en/GET%20TRANSACTION%20ISOLATION%20LEVEL&lt;/a&gt;
&lt;/p&gt;&lt;p&gt;Instead of getting the result, in Python Driver I obtained a &quot;None&quot; object, while in CUBRID Manager, the output was simply:&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;pre class=&quot;brush:sql&quot;  title=&quot;&quot;&gt;1&apos;th SQL successfully executed.[0.446 second]
GET TRANSACTION ISOLATION LEVEL;&lt;/pre&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;How can this command be ran correctly to obtain the isolation level ?&lt;/p&gt;&lt;p&gt;I checked now and in CSQL it works like this:&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;pre class=&quot;brush:bash&quot;  title=&quot;&quot;&gt;csql&amp;gt; GET TRANSACTION ISOLATION LEVEL;
=== &amp;lt;Result of GET ISOLATION LEVEL Command in Line 1&amp;gt; ===
       Result
=============
  REPEATABLE READ SCHEMA, READ UNCOMMITTED INSTANCES
Current transaction has been committed.
1 command(s) successfully processed.&lt;/pre&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;However, I need it to work in Python Driver and CUBRID Manager also.&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;Best regards,&lt;/p&gt;&lt;p&gt;Ovidiu&lt;/p&gt;&lt;/div&gt;</content>
                  <category term="python"/>
            <category term="isolation level"/>
            <category term="CM"/>
            
   </entry>
   <entry>
      <title>How to instal CUBRID server with .net aplications in windows 7</title>
      <id>http://www.cubrid.org/432328</id>
      <published>2012-09-19T21:50:03-07:00</published>
      <updated>2012-09-19T22:26:56-07:00</updated>
      <link rel="alternate" type="text/html" href="http://www.cubrid.org/432328"/>
      <link rel="replies" type="text/html" href="http://www.cubrid.org/432328#comment"/>
      <author>
         <name>ppsmenon</name>
               </author>
            <content type="html">&lt;div class=&quot;xe_content&quot;&gt;&lt;p&gt;


How to use CUBRID server as a database for .NET applications on Windows server? What are all the components I need to download. What&apos;s the order of installation? Are there any tutorial to work with CUBRID? How to write procedures as in SQL? How to connect to CUBRID server from a .net application?&lt;/p&gt;&lt;/div&gt;</content>
                  <category term="driver"/>
            <category term="Windows"/>
            <category term=".NET"/>
            
   </entry>
   <entry>
      <title>How can you get Server Info using Python Driver ?</title>
      <id>http://www.cubrid.org/431841</id>
      <published>2012-09-19T05:38:04-07:00</published>
      <updated>2012-09-19T17:53:47-07:00</updated>
      <link rel="alternate" type="text/html" href="http://www.cubrid.org/431841"/>
      <link rel="replies" type="text/html" href="http://www.cubrid.org/431841#comment"/>
      <author>
         <name>ovidiuv</name>
               </author>
            <content type="html">&lt;div class=&quot;xe_content&quot;&gt;&lt;p&gt;I want to obtain using the Python Driver the details regarding the CUBRID server version. The MySQL driver offers get_server_info() function to perform this task. &lt;/p&gt;&lt;p&gt;What can be done in CUBRID to obtain the information ?&lt;/p&gt;&lt;p&gt;&lt;p&gt;I saw here:&lt;/p&gt;&lt;p&gt;&lt;a href=&quot;http://packages.python.org/CUBRID-Python/&quot;&gt;http://packages.python.org/CUBRID-Python/&lt;/a&gt;&lt;/p&gt;&lt;p&gt;That the server_version() function exists for _cubrid connection object alongside many other functions. Why are these functions only working for _cubrid and not for CUBRIDdb also ?&lt;/p&gt;&lt;/p&gt;&lt;/div&gt;</content>
                  <category term="driver"/>
            <category term="server"/>
            <category term="python"/>
            <category term="meta info"/>
            
   </entry>
   <entry>
      <title>How to find out the Charset CUBRID uses ?</title>
      <id>http://www.cubrid.org/431786</id>
      <published>2012-09-19T04:54:59-07:00</published>
      <updated>2012-09-19T04:58:41-07:00</updated>
      <link rel="alternate" type="text/html" href="http://www.cubrid.org/431786"/>
      <link rel="replies" type="text/html" href="http://www.cubrid.org/431786#comment"/>
      <author>
         <name>ovidiuv</name>
               </author>
            <content type="html">&lt;div class=&quot;xe_content&quot;&gt;&lt;p&gt;Hello,&lt;/p&gt;&lt;p&gt;I want to find out the charset used in CUBRID using SQL. In MySQL it is possible to perform this operation by running &quot;SHOW VARIABLES LIKE &apos;character_set%&apos;&quot;. Is there anything similar for CUBRID ?&lt;/p&gt;&lt;p&gt;Best regards,&lt;/p&gt;&lt;p&gt;Ovidiu&lt;/p&gt;&lt;/div&gt;</content>
                  <category term="SQL"/>
            <category term="CUBRID"/>
            <category term="charset"/>
            
   </entry>
   <entry>
      <title>Does Cubrid support Master:Master replication</title>
      <id>http://www.cubrid.org/414266</id>
      <published>2012-08-23T04:01:50-07:00</published>
      <updated>2012-08-29T22:18:00-07:00</updated>
      <link rel="alternate" type="text/html" href="http://www.cubrid.org/414266"/>
      <link rel="replies" type="text/html" href="http://www.cubrid.org/414266#comment"/>
      <author>
         <name>dfonseca</name>
               </author>
            <content type="html">&lt;div class=&quot;xe_content&quot;&gt;&lt;p&gt;In my use case I require every node to be a master node, accept reads and writes is this possible with cubrid?&lt;/p&gt;&lt;p&gt;







&lt;p class=&quot;p1&quot;&gt;&lt;span class=&quot;s1&quot;&gt;As it says on&amp;nbsp;&lt;a href=&quot;/key_features&quot;&gt;&lt;span class=&quot;s2&quot;&gt;http://www.cubrid.org/key_features&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class=&quot;p2&quot;&gt;&quot;Reduced hardware costs with the configuration of multiple master&amp;nbsp;database&amp;nbsp;nodes and one or more slave database nodes.&quot;&lt;/p&gt;&lt;/p&gt;&lt;p&gt;Thanks,&lt;/p&gt;&lt;p&gt;Duarte&lt;/p&gt;&lt;/div&gt;</content>
                  <category term="HA"/>
            
   </entry>
   <entry>
      <title>How can you get the query string from a CUBRIDPreparedStatement?</title>
      <id>http://www.cubrid.org/412851</id>
      <published>2012-08-21T04:38:57-07:00</published>
      <updated>2012-08-21T22:50:47-07:00</updated>
      <link rel="alternate" type="text/html" href="http://www.cubrid.org/412851"/>
      <link rel="replies" type="text/html" href="http://www.cubrid.org/412851#comment"/>
      <author>
         <name>ovidiuv</name>
               </author>
            <content type="html">&lt;div class=&quot;xe_content&quot;&gt;&lt;div&gt;According to other websites, you can obtain the query string for a PreparedStatement using its toString method:&lt;/div&gt;&lt;div&gt;&lt;a href=&quot;http://stackoverflow.com/questions/2683214/get-query-from-java-sql-preparedstatement&quot; target=&quot;_self&quot;&gt;http://stackoverflow.com/questions/2683214/get-query-from-java-sql-preparedstatement&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;For CUBRID however, it only displays:&lt;/div&gt;&lt;div&gt;cubrid.jdbc.driver.CUBRIDPreparedStatement@500b73e5&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Is there a way to view the query that it contains (after variables have been binded for example) ?&lt;/div&gt;&lt;/div&gt;</content>
                  <category term="JDBC"/>
            
   </entry>
   <entry>
      <title>CUBRID &amp; highload?</title>
      <id>http://www.cubrid.org/407415</id>
      <published>2012-08-09T07:36:14-07:00</published>
      <updated>2012-08-16T18:16:02-07:00</updated>
      <link rel="alternate" type="text/html" href="http://www.cubrid.org/407415"/>
      <link rel="replies" type="text/html" href="http://www.cubrid.org/407415#comment"/>
      <author>
         <name>naquad</name>
               </author>
            <content type="html">&lt;div class=&quot;xe_content&quot;&gt;&lt;p&gt;Hi.&lt;/p&gt;&lt;p&gt;I have a banner network project. I need to INSERT up to 2k rows per second (thats a peak load) in one table and UPDATE up to 300 rows in another.&lt;/p&gt;&lt;p&gt;Table for INSERTs looks like this: id primary key, ip integer, date (date when record was added), user agent, referer, publisher_id (references row in another table), feed_id (references row in another table).&lt;/p&gt;&lt;p&gt;Table for UPDATEs has 12 fields and intentified by primary key id, only one of them (integer counter) is updated.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Also I need to do 2 SELECTs: one on INSERTs table and one on another table with ~10k records.&lt;/p&gt;&lt;p&gt;INSERTs table can have up to 10 million records (this is a log for views/clicks).&lt;/p&gt;&lt;p&gt;Currently I&apos;m using MySQL with Infobright extension, but I already see it doesn&apos;t handle load. Scaling MySQL is a problem, so I&apos;m looking for some alternative able to handle such load.&lt;/p&gt;&lt;p&gt;The question is: is CUBRID ready for this? Is it stable?&lt;br /&gt;&lt;/p&gt;&lt;/div&gt;</content>
                  <category term="migration"/>
            
   </entry>
   <entry>
      <title>Creating multiple tables using CUBRID Manager</title>
      <id>http://www.cubrid.org/389299</id>
      <published>2012-07-10T04:02:48-07:00</published>
      <updated>2012-07-19T17:10:10-07:00</updated>
      <link rel="alternate" type="text/html" href="http://www.cubrid.org/389299"/>
      <link rel="replies" type="text/html" href="http://www.cubrid.org/389299#comment"/>
      <author>
         <name>tanyona</name>
               </author>
            <content type="html">&lt;div class=&quot;xe_content&quot;&gt;&lt;p&gt;I&apos;m using CUBRID Manager 8.4.1.2019. I right-click on a database and select New Query Editor. I then paste the following SQL&lt;/p&gt;&lt;pre class=&quot;brush:sql&quot;  title=&quot;&quot;&gt;-- Create the ART Repository, version 2.3

-- IMPORTANT:
-- after running this script, ALSO RUN the tables_xxx.sql script for your database (found in the quartz directory)

-- NOTES:
-- for sql server, replace &quot;timestamp&quot; data type with &quot;datetime&quot;
-- for sql server 2000/2005 also replace &quot;date&quot; data type with &quot;datetime&quot;

-- UPGRADING:
-- if you are upgrading, don&apos;t use this script. run the scripts available in the upgrade directory
-- run the scripts one at a time to upgrade to newer versions. e.g. from 2.0 to 2.1, then 2.1 to 2.2 etc.

-- if you want to create a new repository in place of an existing one, uncomment the DROP statements
-- you can use a text editor to replace &quot;-- DROP&quot; with &quot;DROP&quot; to accomplish this

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



-- ART_SETTINGS
-- Stores miscellaneous settings

CREATE TABLE ART_SETTINGS
(  
	SETTING_NAME VARCHAR(50) NOT NULL,
	SETTING_VALUE VARCHAR(2000),  
	PRIMARY KEY (SETTING_NAME)
);

-- ART_USERS 
-- Stores user info

-- ADMIN_LEVEL: 0= normal user, 5 = normal user who can schedule jobs
-- 10 = junior admin, 30 = mid admin, 40 = admin, 80 = senior admin, 100 = super admin

CREATE TABLE ART_USERS
(
	USERNAME    VARCHAR(15) NOT NULL PRIMARY KEY,
	PASSWORD    VARCHAR(200) NOT NULL,
	HASHING_ALGORITHM VARCHAR(20) NOT NULL,
	FULL_NAME   VARCHAR(40),  
	EMAIL       VARCHAR(40),    
	ADMIN_LEVEL        INTEGER,
	DEFAULT_OBJECT_GROUP INTEGER,
	CAN_CHANGE_PASSWORD VARCHAR(1), 
	ACTIVE_STATUS    VARCHAR(1), 
	UPDATE_DATE    DATE  
);&lt;/pre&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;&lt;/span&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;The first table is created, but the second table is not created. The log only says &lt;span style=&quot;font-weight: bold;&quot;&gt;1&apos;th SQL create operation successfully completed.[0.009 second]&lt;/span&gt;. Would anyone know why the second create statement doesn&apos;t run?&lt;br /&gt;&lt;/p&gt;&lt;/div&gt;</content>
                  <category term="SQL"/>
            <category term="CM"/>
            
   </entry>
   <entry>
      <title>Does CUBRID include init.d script to autostart Server?</title>
      <id>http://www.cubrid.org/392033</id>
      <published>2012-07-12T23:11:48-07:00</published>
      <updated>2012-07-12T23:31:14-07:00</updated>
      <link rel="alternate" type="text/html" href="http://www.cubrid.org/392033"/>
      <link rel="replies" type="text/html" href="http://www.cubrid.org/392033#comment"/>
      <author>
         <name>eye</name>
               </author>
            <content type="html">&lt;div class=&quot;xe_content&quot;&gt;&lt;p&gt;Some time ago I&apos;ve installed CUBRID on Linux using one of the available&amp;nbsp;packages. I&apos;ve been using it for my personal home page.&amp;nbsp;Once in a while I need to restart the server and this is the point when it gets a little bit inconvenient because I need to run &lt;code&gt;cubrid service start&lt;/code&gt; every time manually in order to start CUBRID Service.&lt;/p&gt;&lt;p&gt;Therefore I wondered whether CUBRID installation package already comes with an init.d script to autostart the database server on reboot which I might have missed somehow? If not, is there a plan to include such a script for users&apos; convenience?&lt;/p&gt;&lt;/div&gt;</content>
                  <category term="installation"/>
            <category term="init.d"/>
            <category term="CUBRID Service"/>
            
   </entry>
   <entry>
      <title>CUBRID 64 bit with PHP x86 on Windows 7</title>
      <id>http://www.cubrid.org/388741</id>
      <published>2012-07-09T03:46:11-07:00</published>
      <updated>2012-07-09T18:09:20-07:00</updated>
      <link rel="alternate" type="text/html" href="http://www.cubrid.org/388741"/>
      <link rel="replies" type="text/html" href="http://www.cubrid.org/388741#comment"/>
      <author>
         <name>ovidiuv</name>
               </author>
            <content type="html">&lt;div class=&quot;xe_content&quot;&gt;&lt;p&gt;Hello,&lt;/p&gt;&lt;p&gt;I have installed CUBRID x64 bit and PHP x86 (official release) on Windows 7 64 bit. I tried to manually install the PHP API by adding the driver from here:&amp;nbsp;&lt;a href=&quot;/?mid=downloads&amp;amp;item=php_driver&amp;amp;os=windows&amp;amp;ostype=any&amp;amp;php=php53&amp;amp;driver_type=phpdr&quot;&gt;http://www.cubrid.org/?mid=downloads&amp;amp;item=php_driver&amp;amp;os=windows&amp;amp;ostype=any&amp;amp;php=php53&amp;amp;driver_type=phpdr&lt;/a&gt;&lt;/p&gt;&lt;p&gt;I have VC9 thread safe (TS) version of PHP 5.3.10. I added the lines&lt;/p&gt;&lt;p&gt;[PHP_CUBRID]&lt;/p&gt;&lt;p&gt;extension=php_cubrid.dll&lt;/p&gt;&lt;p&gt;to php.ini and the file php_cubrid.dll to ext folder. I have tried with any PHP driver version but it fails to load (php crashes and apache fails to start).&lt;/p&gt;&lt;p&gt;Is there a workaround ?&lt;/p&gt;&lt;/div&gt;</content>
                  <category term="PHP"/>
            <category term="driver"/>
            
   </entry>
   <entry>
      <title>How to navigate foreign key relationships using the dictionary views?</title>
      <id>http://www.cubrid.org/317560</id>
      <published>2012-03-29T08:54:05-07:00</published>
      <updated>2012-07-08T19:09:53-07:00</updated>
      <link rel="alternate" type="text/html" href="http://www.cubrid.org/317560"/>
      <link rel="replies" type="text/html" href="http://www.cubrid.org/317560#comment"/>
      <author>
         <name>lukaseder</name>
               </author>
            <content type="html">&lt;div class=&quot;xe_content&quot;&gt;&lt;p&gt;I am implementing a CUBRID integration for &lt;a target=&quot;_self&quot; href=&quot;http://www.jooq.org&quot;&gt;jOOQ&lt;/a&gt;, and I wonder how I can discover foreign key relationships using the dictionary views. Using the following query, I can discover foreign key columns:&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;pre class=&quot;brush:sql&quot;  title=&quot;&quot;&gt;select k.class_name, k.index_name, k.key_attr_name
from db_index  i
join db_index_key k
on i.index_name = k.index_name
and i.class_name = k.class_name
where is_foreign_key = &apos;YES&apos;
order by k.class_name, k.index_name, k.key_order&lt;/pre&gt;&lt;p&gt;Now, how can I discover which columns (or which primary key) is referenced? &lt;/p&gt;&lt;/div&gt;</content>
                  <category term="SQL"/>
            <category term="index"/>
            <category term="foreign key"/>
            
   </entry>
   <entry>
      <title>How can you safely delete log files ?</title>
      <id>http://www.cubrid.org/383594</id>
      <published>2012-06-28T06:23:56-07:00</published>
      <updated>2012-07-02T22:29:44-07:00</updated>
      <link rel="alternate" type="text/html" href="http://www.cubrid.org/383594"/>
      <link rel="replies" type="text/html" href="http://www.cubrid.org/383594#comment"/>
      <author>
         <name>ovidiuv</name>
               </author>
            <content type="html">&lt;div class=&quot;xe_content&quot;&gt;&lt;p&gt;Hello,&lt;/p&gt;&lt;p&gt;I have the following problem. For some reason, several hundred files with the name xe_lgar001,xe_lgar002,...,xlgar411 files have appeared in the folder for my database named &quot;xe&quot;. I have read that they are log files used for backup, but they keep appearing (about 1-2 per day) and each of them is about 40 MB. Also, none of them have disappeared and I even have files since December 16 last year. Is there a way to enable their automatic cleanup ?&lt;/p&gt;&lt;p&gt;Is there any way to safely delete the log files and limit their creation?&lt;/p&gt;&lt;p&gt;Ovidiu&lt;/p&gt;&lt;div id=&quot;endic_ext_wrapper&quot; style=&quot;display: none; &quot;&gt;&lt;/div&gt;&lt;div id=&quot;endic_ext_wrapper&quot; style=&quot;display: none; &quot;&gt;&lt;/div&gt;&lt;/div&gt;</content>
                  <category term="database volume"/>
            <category term="logs"/>
            
   </entry>
   <entry>
      <title>Guide: How to edit a Wiki page?</title>
      <id>http://www.cubrid.org/380389</id>
      <published>2012-06-21T22:14:27-07:00</published>
      <updated>2012-06-21T22:35:49-07:00</updated>
      <link rel="alternate" type="text/html" href="http://www.cubrid.org/380389"/>
      <link rel="replies" type="text/html" href="http://www.cubrid.org/380389#comment"/>
      <author>
         <name>CUBRID</name>
                  <uri>http://www.cubrid.org</uri>
               </author>
            <content type="html">&lt;div class=&quot;xe_content&quot;&gt;&lt;p&gt;More and more developers join our community site and want to contribute to our Wiki.&amp;nbsp;Please make sure you know the followings before you edit any Wiki page.&lt;/p&gt;&lt;p&gt;


&lt;/p&gt;&lt;div id=&quot;endic_ext_wrapper&quot; style=&quot;display: none; &quot;&gt;&lt;/div&gt;&lt;/div&gt;</content>
                  <category term="Wiki"/>
            <category term="HOWTO"/>
            
   </entry>
   <entry>
      <title>How do I move a CUBRID database with LOBS from one server to another, different locations</title>
      <id>http://www.cubrid.org/371675</id>
      <published>2012-06-06T04:05:41-07:00</published>
      <updated>2012-06-11T01:46:10-07:00</updated>
      <link rel="alternate" type="text/html" href="http://www.cubrid.org/371675"/>
      <link rel="replies" type="text/html" href="http://www.cubrid.org/371675#comment"/>
      <author>
         <name>andrevanzuydam</name>
               </author>
            <content type="html">&lt;div class=&quot;xe_content&quot;&gt;&lt;p&gt;Hi Everyone&lt;br /&gt;&lt;/p&gt;&lt;p&gt;I have a production server with an application running and the database there is installed to a certain path.&lt;/p&gt;&lt;p&gt;I have a development server where we have many other applications co-hosted, CUBRID is installed to another location.&lt;/p&gt;&lt;p&gt;I did a backup of the database on the production server which made a level 0 file in the backup folder.&amp;nbsp; I tried to no avail to restore this to my development server, it kept on complaining about the path being wrong.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Eventually I copied the whole database folder from live and overwrote the one on my development server.&amp;nbsp; The problem was that the lob information still pointed to the paths on the production server.&amp;nbsp; I had to also change &amp;lt;dbname&amp;gt;_vinf file to sort out the new paths, the lobs don&apos;t understand this.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;I had to make a folder of the same path on development and copy the lob sub folder there for the development database to register this.&amp;nbsp; &lt;br /&gt;&lt;/p&gt;&lt;p&gt;How should I have done this properly, I have already looked at these documents&lt;/p&gt;&lt;p&gt;&lt;a href=&quot;/cubrid_backup_restore&quot; target=&quot;_self&quot;&gt;http://www.cubrid.org/cubrid_backup_restore&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&lt;a href=&quot;http://http://www.cubrid.org/cubrid_backup_restore_2&quot; target=&quot;_self&quot;&gt;http://www.cubrid.org/cubrid_backup_restore_2&lt;/a&gt;&lt;/p&gt;&lt;p&gt;I&apos;m looking for a solution which backs up database_one_name to database_another_name_path if I need to.&amp;nbsp; I have no problem moving the lob data between servers but the database restore must change this relative to my new paths.&lt;/p&gt;&lt;p&gt;I did get what I wanted right but not in a way a general user will be able to handle by themselves, I tasked a junior developer with this task as I felt the GUI tools were quite simple to understand and to use, however it was not that simple.&lt;br /&gt;&lt;/p&gt;&lt;div id=&quot;endic_ext_wrapper&quot; style=&quot;display: none; &quot;&gt;&lt;/div&gt;&lt;/div&gt;</content>
                  <category term="migration"/>
            <category term="LOB"/>
            
   </entry>
   <entry>
      <title>Is CUBRID less RAM consuming than innodb?</title>
      <id>http://www.cubrid.org/373409</id>
      <published>2012-06-10T00:38:27-07:00</published>
      <updated>2012-06-10T22:49:28-07:00</updated>
      <link rel="alternate" type="text/html" href="http://www.cubrid.org/373409"/>
      <link rel="replies" type="text/html" href="http://www.cubrid.org/373409#comment"/>
      <author>
         <name>kubek</name>
               </author>
            <content type="html">&lt;div class=&quot;xe_content&quot;&gt;&lt;p&gt;Hello,&lt;/p&gt;&lt;p&gt;I have VPS with 1GB of RAM and few low traffic sites on it. But innodb is consuming a lot of RAM and my server sometimes shut down because of that. So I am wondering if CUBRID can help me.&lt;/p&gt;&lt;p&gt;Thank you for quick reply.&lt;/p&gt;&lt;/div&gt;</content>
                  <category term="memory"/>
            
   </entry>
   <entry>
      <title>How to lock the table?</title>
      <id>http://www.cubrid.org/247247</id>
      <published>2011-12-26T00:28:12-08:00</published>
      <updated>2012-05-31T07:26:16-07:00</updated>
      <link rel="alternate" type="text/html" href="http://www.cubrid.org/247247"/>
      <link rel="replies" type="text/html" href="http://www.cubrid.org/247247#comment"/>
      <author>
         <name>eye</name>
               </author>
            <content type="html">&lt;div class=&quot;xe_content&quot;&gt;&lt;p&gt;CUBRID provides database level lock like:&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;pre class=&quot;brush:plain&quot;  title=&quot;&quot;&gt;cubrid lockdb demodb&lt;/pre&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;But it locks the entire database.&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p style=&quot;margin-top: 7px; margin-right: 0px; margin-bottom: 7px; margin-left: 0px; &quot;&gt;I have already read&amp;nbsp;&lt;a href=&quot;/questions/236935&quot; target=&quot;_self&quot;&gt;Isolation Level&lt;/a&gt;&amp;nbsp;related&amp;nbsp;question&amp;nbsp;and&amp;nbsp;&lt;a href=&quot;/transaction_and_lock&quot; target=&quot;_self&quot;&gt;CUBRID Transaction and Lock&lt;/a&gt;&amp;nbsp;guide.&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;But Isolation Level, as I understand, locks the table only &lt;b&gt;during&lt;/b&gt; the transaction. But I have a series of transactions during which the table should not accept any UPDATE/INSERT/DELETE operations, including the time between these transactions.&lt;/p&gt;&lt;p&gt;What should I do to have the table locked until I manually unlock it?&lt;/p&gt;&lt;/div&gt;</content>
                  <category term="isolation level"/>
            <category term="transaction"/>
            <category term="table lock"/>
            
   </entry>
   <entry>
      <title>How can I export a database table to CSV programatically?</title>
      <id>http://www.cubrid.org/364625</id>
      <published>2012-05-24T02:44:41-07:00</published>
      <updated>2012-05-30T21:28:51-07:00</updated>
      <link rel="alternate" type="text/html" href="http://www.cubrid.org/364625"/>
      <link rel="replies" type="text/html" href="http://www.cubrid.org/364625#comment"/>
      <author>
         <name>corina</name>
               </author>
            <content type="html">&lt;div class=&quot;xe_content&quot;&gt;&lt;p&gt;I already know how to do this using CUBRID Manager, but is there a way to do it using CSQL?&lt;/p&gt;&lt;div id=&quot;endic_ext_wrapper&quot; style=&quot;display: none; &quot;&gt;&lt;/div&gt;&lt;div id=&quot;endic_ext_wrapper&quot; style=&quot;display: none; &quot;&gt;&lt;/div&gt;&lt;/div&gt;</content>
                  <category term="CSQL"/>
            <category term="export"/>
            <category term="CSV"/>
            
   </entry>
   <entry>
      <title>How can I export data from CUBRID to XML file using command line?</title>
      <id>http://www.cubrid.org/297639</id>
      <published>2012-02-16T21:45:00-08:00</published>
      <updated>2012-05-30T21:27:15-07:00</updated>
      <link rel="alternate" type="text/html" href="http://www.cubrid.org/297639"/>
      <link rel="replies" type="text/html" href="http://www.cubrid.org/297639#comment"/>
      <author>
         <name>eye</name>
               </author>
            <content type="html">&lt;div class=&quot;xe_content&quot;&gt;&lt;p&gt;I need to export the data from CUBRID database to XML file. Is there a way to accomplish this using the command line?&lt;/p&gt;&lt;div id=&quot;endic_ext_wrapper&quot; style=&quot;display: none; &quot;&gt;&lt;/div&gt;&lt;/div&gt;</content>
                  <category term="export"/>
            <category term="XML"/>
            <category term="command line"/>
            <category term="CSQL"/>
            
   </entry>
   <entry>
      <title>How to pass a custom Object to a Stored Procedure function?</title>
      <id>http://www.cubrid.org/365755</id>
      <published>2012-05-26T11:09:41-07:00</published>
      <updated>2012-05-30T21:21:09-07:00</updated>
      <link rel="alternate" type="text/html" href="http://www.cubrid.org/365755"/>
      <link rel="replies" type="text/html" href="http://www.cubrid.org/365755#comment"/>
      <author>
         <name>castle79</name>
               </author>
            <content type="html">&lt;div class=&quot;xe_content&quot;&gt;&lt;p&gt;


hi I have the following function.&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;pre class=&quot;brush:sql&quot;  title=&quot;&quot;&gt;CREATE FUNCTION &quot;tblpacientesinsertar&quot;(&quot;paciente&quot; OBJECT) RETURN STRING
AS LANGUAGE JAVA 
NAME &apos;TblPacientes.Insertar(cubrid.sql.CUBRIDOID) return java.lang.String&apos;&lt;/pre&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;I want to pass a custom object class, but I dont know if CUBRIDOID is the right type.&lt;/p&gt;&lt;p&gt;My custom type is &lt;strong&gt;&lt;span style=&quot;font-family: monospace; &quot;&gt;public class BoPacientes&lt;/span&gt;&lt;/strong&gt;.&lt;/p&gt;&lt;p&gt;My stored procedure is &lt;b&gt;&lt;span style=&quot;font-family: monospace; &quot;&gt;public static String Insertar(BoPacientes paciente)&lt;/span&gt;&lt;/b&gt;.&lt;/p&gt;&lt;p&gt;C# code looks like:&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;pre class=&quot;brush:csharp&quot;  title=&quot;&quot;&gt;public BoPacientes Insertar(BoPacientes objeto)
        {
            .....//code code                        CUBRIDCommand com = new CUBRIDCommand();
                        com.Connection = con;
                        com.CommandText = &quot;select tblpacientesinsertar(&quot; + objeto + &quot;)&quot;;
                        con.Open();       .......//some code logical       } &lt;/pre&gt;&lt;p&gt;The error I receive is:&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;pre class=&quot;brush:csharp&quot;  title=&quot;&quot;&gt;Semantic: Dev9.DataAccess.Pacientes.BoPacientes is not defined.
select tblpacientesinsertar(Dev9.DataAccess.Pacientes.BoPacientes) &lt;/pre&gt;&lt;p&gt;I have a java object called BoPacientes.Class registered in CUBRID.&lt;/p&gt;&lt;div id=&quot;endic_ext_wrapper&quot; style=&quot;display: none; &quot;&gt;&lt;/div&gt;&lt;/div&gt;</content>
                  <category term="Java"/>
            <category term="ADO.NET"/>
            <category term="Stored Procedure"/>
            
   </entry>
   <entry>
      <title>Is CUBRID cluster project suspended or dead?</title>
      <id>http://www.cubrid.org/364446</id>
      <published>2012-05-23T20:03:18-07:00</published>
      <updated>2012-05-30T21:15:34-07:00</updated>
      <link rel="alternate" type="text/html" href="http://www.cubrid.org/364446"/>
      <link rel="replies" type="text/html" href="http://www.cubrid.org/364446#comment"/>
      <author>
         <name>arissetyawan</name>
               </author>
            <content type="html">&lt;div class=&quot;xe_content&quot;&gt;&lt;p&gt;Hi,&lt;/p&gt;&lt;p&gt;Is CUBRID cluster project suspended or dead?&lt;/p&gt;&lt;p&gt;How is the development progress now?&lt;/p&gt;&lt;/div&gt;</content>
                  <category term="SQL"/>
            
   </entry>
</feed> 
