English 中文(简体)
从C++进入SQL B-tree
原标题:Accessing the mySQL B-tree from C++
  • 时间:2011-11-13 19:52:46
  •  标签:
  • c++
  • mysql

Trees are allocated in the Heap. Hence, there should be a pointer to the root node.

If mySQL takes indexed rows, identifed by the Primary Key and stores them in a B - Tree, is there a way I can access the B-Tree via a C++ interface?

这是学习过程的一部分,我很奇怪,如果我能够在某种程度上了解某个表格的B-Tree的根基点?

问题回答

这些指数储存在磁盘上,不一定是记忆中。 如果他们记得的话,那将是mysqld,而不是您的申请。 如果你想要使用索引,则先使用MySQL储存发动机代码,先打开文档。

你的问题似乎显示混淆不清(除非你在

mysql(几乎总是)用作服务器方案。 你的admin正在配置,使你能够与这一服务器互动(经常、th、 T/笔记本,并使用未经编辑的规程)。

作为一个天花的用户或开发商,你只是向MySQL服务器发出要求,并从中得到了答复。 因此,你在记忆犹豫不决过程中不关心B-tree,因为你与MySQL互动的唯一途径是切断与它联系的网络联系,使之与要求和答复。

或许我误解了你的问题。





相关问题
Undefined reference

I m getting this linker error. I know a way around it, but it s bugging me because another part of the project s linking fine and it s designed almost identically. First, I have namespace LCD. Then I ...

C++ Equivalent of Tidy

Is there an equivalent to tidy for HTML code for C++? I have searched on the internet, but I find nothing but C++ wrappers for tidy, etc... I think the keyword tidy is what has me hung up. I am ...

Template Classes in C++ ... a required skill set?

I m new to C++ and am wondering how much time I should invest in learning how to implement template classes. Are they widely used in industry, or is this something I should move through quickly?

Print possible strings created from a Number

Given a 10 digit Telephone Number, we have to print all possible strings created from that. The mapping of the numbers is the one as exactly on a phone s keypad. i.e. for 1,0-> No Letter for 2->...

typedef ing STL wstring

Why is it when i do the following i get errors when relating to with wchar_t? namespace Foo { typedef std::wstring String; } Now i declare all my strings as Foo::String through out the program, ...

C# Marshal / Pinvoke CBitmap?

I cannot figure out how to marshal a C++ CBitmap to a C# Bitmap or Image class. My import looks like this: [DllImport(@"test.dll", CharSet = CharSet.Unicode)] public static extern IntPtr ...

Window iconification status via Xlib

Is it possible to check with the means of pure X11/Xlib only whether the given window is iconified/minimized, and, if it is, how?

热门标签