Learning Documentation Community Open Exchange Global Masters Certification Partner Directory Ideas Portal
Developer Community
  • Posts
    • InterSystems Official
    • Articles
    • Questions
    • Announcements
    • Discussions
    • Tags
  • Events
    • Tech Article Contest
    • Programming Contest
    • InterSystems Ideas Contest
    • Event Calendar
  • Products
    • InterSystems IRIS
    • InterSystems IRIS for Health
    • HealthShare
    • TrakCare
    • Caché
    • Ensemble
    • InterSystems Analytics (DeepSee)
    • InterSystems Text Analytics (iKnow)
  • Jobs
    • Job Opportunity
    • Job Wanted
  • Members
  • About
    • About Us
    • FAQ
    • Feedback
    • Report an Issue
    • Share an Idea
    • Code of Conduct
    • Contact Us

EN

Search by posts, members, tags
Language
EN|
ESPTJPCNFREN
New post
  • Profile page
  • Posts (13)
  • Replies (22)
  • Mentions (0)
  • Official certification & Credly badges (0)
  • Global Masters badges (0)
  • Followers (1)
  • Following (0)
AllAccepted answers
    go to post
wx fg · Jul 9, 2018

thanks.   But the error is   "set gid failure: Operation not permitted" when I execute "cctontrol stop cache" after I have modified the user's group to cacheusr.

0 0 https://community.intersystems.com/post/how-grant-startstoprestore-privilege-user-who-not-root#comment-53441
    go to post
wx fg · Nov 20, 2017

no locks in the view locks.   I backuped with 

BACKUP^^DBACK("","F","backup","tplusn_db.cbk","Y","%bakPath%\backup.log", "NOISY","Y","Y","",60, "F")

and restored with 

do EXTSELCT^DBREST(1,0,"plusn_db.cbk","list.txt",4,"","")

 

and do not appy Journal Files

0 0 https://community.intersystems.com/post/how-release-row-lock#comment-39361
    go to post
wx fg · Jul 23, 2017

there is no index on this column and I test for rebuilding all the index  of this table but can't resolve this issue.

0 0 https://community.intersystems.com/post/select-sql-error#comment-31081
    go to post
wx fg · Jul 22, 2017

hi everyone

  thanks for your help.   I replace the jdbc driver with version 2017.1 and then this issue  looks like be resolved .

Thanks again!

0 0 https://community.intersystems.com/post/how-release-memory-process#comment-96346
    go to post
wx fg · Jul 22, 2017

  I found this issue maybe resolved when I replace the jdbc driver with version 2017.1.  thanks

0 0 https://community.intersystems.com/post/how-release-memory-process#comment-31051
    go to post
wx fg · Jul 21, 2017

great! the new jdbc driver has resolved my issue!  Thanks!

0 0 https://community.intersystems.com/post/how-release-memory-process#comment-31031
    go to post
wx fg · Jul 21, 2017

I think upgrade is impossible for me.   Is there a patch for this issue?

0 0 https://community.intersystems.com/post/how-release-memory-process#comment-30996
    go to post
wx fg · Jul 21, 2017

I have pasted the demo code.  very simple,  I  get the same error every time when I run this code ( 16M-->100,000 rows   49M->300,000 Rows).

0 0 https://community.intersystems.com/post/how-release-memory-process#comment-30896
    go to post
wx fg · Jul 21, 2017

I have tested this code ,but the result was same with my demo code.

0 0 https://community.intersystems.com/post/how-release-memory-process#comment-30991
    go to post
wx fg · Jul 20, 2017

My code is in java and query with JDBC

0 0 https://community.intersystems.com/post/how-release-memory-process#comment-30986
    go to post
wx fg · Jul 20, 2017
String sql="Select ID,Text from eprinstance.isegment";
  Statement st = dbconn.createStatement();

  java.sql.ResultSet rs = st.executeQuery(sql);
  
while(  rs.next()){

     String c=rs.getString("Text");
    System.out.println( c);
}

  st.close();
  rs.close();

  dbconn.close();

this is the demo code.   the "Text" column type is longvarchar

0 0 https://community.intersystems.com/post/how-release-memory-process#comment-30891
    go to post
wx fg · Jul 20, 2017

Yes, I read rows one by one, the query include longvarchar column.  I can read about 100,000 rows when process memory size is 16m; and about 300,000 rows when process memory size is 49M

0 0 https://community.intersystems.com/post/how-release-memory-process#comment-30886
    go to post
wx fg · Jul 20, 2017

not recursive. only so much rows, and include longvarchar column.

0 0 https://community.intersystems.com/post/how-release-memory-process#comment-30881
    go to post
wx fg · Jul 20, 2017

the query include longvarchar column. when the process memory (bbsize) is  16M by default, I can read about 100,000 rows and then prompt <store> error.  

After I change the process memory to 49M(the max size in version 2010.2), I can read about 300,000 row and then prompt <store> error.

So I need some method to release the memory for process

0 0 https://community.intersystems.com/post/how-release-memory-process#comment-30876
    go to post
wx fg · Jul 18, 2017

Is there some method for release the memory used for the rows that I have read because I read the records of resultset  one by one and forward only.   

0 0 https://community.intersystems.com/post/how-release-memory-process#comment-30566
    go to post
wx fg · Jul 12, 2017

Thanks

0 0 https://community.intersystems.com/post/how-create-method-script#comment-30151
    go to post
wx fg · Jul 5, 2017

I found that there were some CRC check error for some blocks when I restored again,   I will backup  again and restore it .

Thanks!

0 0 https://community.intersystems.com/post/select-some-rows-table-return-error#comment-95911
    go to post
wx fg · Jul 5, 2017

thanks!   for 2010 version,   ##class(%SQL.Statement).%ExecDirect()   for executing sql

0 0 https://community.intersystems.com/post/execute-sql-cach%C3%A9-terminal-command-line-prompt-error-executesystemsql#comment-29876
    go to post
wx fg · Apr 24, 2017

thanks! But rs.Get("NewValue") returns   string not list

I convert it to list like this:

 set columnValues= $EXTRACT(s,5,*) //remove the header
  set delimiter=$CHAR(4)_$CHAR(1)
  set columnCount= $LENGTH(columnValues, delimiter)
  SET list=$LISTFROMSTRING(columnValues,delimiter)

Is there other better method for convert to list?

0 0 https://community.intersystems.com/post/how-judge-one-journal-record-insertupdatedelete-operation-one-table#comment-25866
    go to post
wx fg · Apr 23, 2017

thanks very much!   

Now I can get the records by your answer, and I  can get the old/new value for each record  like this 

  w rs.Get("NewValue")

 

the output likes this,   aa  jj is the value of 2 columns in my table

 

my question is: How to split these old/new value  to each column?

0 0 https://community.intersystems.com/post/how-judge-one-journal-record-insertupdatedelete-operation-one-table#comment-25766
  • 1
  • 2
  • next ›
  • last
wx fg
@wx.fg
Follow

User statistics

Posts
13
Replies
22
Likes
1
Applications
0
Badges
0
Followers
1
People reached
11K
Accepted answers
3
  • Privacy & Terms
  • Guarantee
  • Section 508
  • Contest Terms
  • Cookies Settings
© 2025 InterSystems Corporation, Cambridge, MA. All rights reserved.

Log in or sign up

Log in or create a new account to continue

Log inSign up

Log in or sign up

Log in or create a new account to continue

Log inSign up

Log in or sign up

Log in or create a new account to continue

Log inSign up

Log in or sign up

Log in or create a new account to continue

Log inSign up