GithubHelp home page GithubHelp logo

Comments (15)

liangyanghe avatar liangyanghe commented on July 25, 2024

hi,这个是不支持的

from mango.

oawang avatar oawang commented on July 25, 2024

还有解决方案吗。。我有看到你的提供的Interceptor接口,,参否能这接口里面加个方法上下文

from mango.

liangyanghe avatar liangyanghe commented on July 25, 2024

请考虑下面的问题:
order表在db1
sub_order表在db2
他们是不可以进行join查询的

from mango.

oawang avatar oawang commented on July 25, 2024

嗯。。你说的这个肯定是不可以,但也有这样的规则,就是每个用户一生成的时候,同时也生成对应的分库分表下标,例如分表下标分别是1,则order和sub_order是在同一库上,分表都是1

from mango.

oawang avatar oawang commented on July 25, 2024

设计上已经把order 和 sub_order指定在同一库上,至于在哪个库,是由生成用户的时候一并生成出来的,此时就已经知道该用户是哪个库哪个表下标

from mango.

oawang avatar oawang commented on July 25, 2024

还有个问题就是,能否参考一下spring的扩展性,XxxFactory一般都是可以让开发人员设置进来的,没有设置才会使用默认XxxFactory

from mango.

liangyanghe avatar liangyanghe commented on July 25, 2024

最好的办法就是分两次读出表数据,然后在应用服务器中进行内存中计算,高并发的服务理应是杜绝join语句的。

from mango.

liangyanghe avatar liangyanghe commented on July 25, 2024

请问一下XxxFactory是什么?

from mango.

oawang avatar oawang commented on July 25, 2024

高并发的服务理应是杜绝join语句的???求大师分析,这个还不太明白

from mango.

oawang avatar oawang commented on July 25, 2024

哦,参考shiro框架,扩展性很好

from mango.

liangyanghe avatar liangyanghe commented on July 25, 2024

join会过多的占用数据库的cpu和内存资源

from mango.

oawang avatar oawang commented on July 25, 2024

不Join的话。就会多执行几次sql,这样不会更容易造成数据的问题吗

from mango.

liangyanghe avatar liangyanghe commented on July 25, 2024

还是有区别的,具体可以询问一下你们公司的DBA

from mango.

oawang avatar oawang commented on July 25, 2024

好的,你能开源一下词法jj文件吗

from mango.

liangyanghe avatar liangyanghe commented on July 25, 2024

请看这里 https://github.com/jfaster/mango/blob/master/src/main/jjtree/parser.jjt

from mango.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.